[go: up one dir, main page]

CN105490913A - Instant message processing method and device - Google Patents

Instant message processing method and device Download PDF

Info

Publication number
CN105490913A
CN105490913A CN201410472139.6A CN201410472139A CN105490913A CN 105490913 A CN105490913 A CN 105490913A CN 201410472139 A CN201410472139 A CN 201410472139A CN 105490913 A CN105490913 A CN 105490913A
Authority
CN
China
Prior art keywords
instant message
account
preset
type
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410472139.6A
Other languages
Chinese (zh)
Other versions
CN105490913B (en
Inventor
庄家琦
于健
吴哲惠
迟星德
黄佳洲
宁成功
黄雪珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410472139.6A priority Critical patent/CN105490913B/en
Publication of CN105490913A publication Critical patent/CN105490913A/en
Application granted granted Critical
Publication of CN105490913B publication Critical patent/CN105490913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an instant message processing method, and the method comprises the following steps: detecting an instant message transmitting request sent by a target account, wherein the type of the instant message transmitting request comprises the type of account information displaying and the type of account information hiding; obtaining the content of an instant message sent by the target account according to the instant message transmitting request; obtaining identification information which is configured according to a pre-configuration rule or configured randomly and is corresponding to the target account when the type of the instant message transmitting request is the type of account information hiding; and carrying out the correlated displaying of the content of the instant message and the identification information in a preset display window. The invention also discloses an instant message processing device. The method and device achieve the anonymous display, prevent account information from being leaked, and improve the use safety of an account.

Description

Instant message processing method and device
Technical field
The present invention relates to networking technology area, particularly relate to instant message processing method and device.
Background technology
Along with the fast development of mobile intelligent terminal, carry out by the mode of intelligent terminal employing instant messaging the main flow that information transmission has become existing information transmission.Such as adopt social networks group to transfer immediate news, thus reach the extensive transmission of information.In prior art, when transferring immediate news, usually show account information, thus make account information easily by third party software identification, cause the loss of account information, have a strong impact on account safety in utilization.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of instant message processing method and device, is intended to realize anonymous display, prevents the loss of account information, improves the fail safe that account uses.
For achieving the above object, embodiments provide a kind of instant message processing method, comprise the following steps:
The instant message that detecting target account sends sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
Send request according to described instant message, obtain the instant message content that described target account sends;
When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
The interrelated display in preset display window by described instant message content and described identification information.
Further, the embodiment of the present invention additionally provides a kind of instant message processing method, comprises the following steps:
There is provided an instant message interactive interface, in order to display and input instant message content;
Receive the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Obtain instant message content to be sent;
According to the described instant message transmission types instruction chosen, described instant message content to be sent is processed; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
Further, the embodiment of the present invention additionally provides a kind of instant message processing unit, comprising:
Detecting module, the instant message sent for detecting target account sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
Message extraction module, for sending request according to described instant message, obtains the instant message content that described target account sends;
Acquisition module, for when the type that described instant message sends request is for hiding account information type, obtains the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
Display module, for the interrelated display in preset display window by described instant message content and described identification information.
Further, the embodiment of the present invention additionally provides a kind of instant message processing unit, comprising:
Display module, for providing an instant message interactive interface, in order to display and input instant message content;
Receiver module, for receiving the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Acquisition module, for obtaining instant message content to be sent;
Processing module, for the instant message transmission types instruction chosen described in basis, processes described instant message content to be sent; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
The instant message that the embodiment of the present invention is sent by detecting target account sends request; Send request according to described instant message, obtain the instant message content that described target account sends; When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement; The interrelated display in preset display window by described instant message content and described identification information.Thus achieve anonymous display, prevent the loss of account information, improve the fail safe that account uses.
Accompanying drawing explanation
Fig. 1 is the hardware structure schematic diagram of instant message processing unit first embodiment of the present invention;
Fig. 2 is the high-level schematic functional block diagram of instant message processing unit second embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of instant message processing unit the 3rd embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of instant message processing unit the 4th embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of instant message processing unit the 5th embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of instant message processing unit the 6th embodiment of the present invention;
Fig. 7 is the schematic flow sheet of instant message processing method first embodiment of the present invention;
Fig. 8 is the schematic flow sheet of instant message processing method second embodiment of the present invention;
Fig. 9 is the schematic flow sheet of instant message processing method the 3rd embodiment of the present invention;
Figure 10 is the schematic flow sheet of instant message processing method the 4th embodiment of the present invention;
Figure 11 is the schematic flow sheet of instant message processing method the 5th embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to Fig. 1, instant message processing unit first embodiment of the present invention is proposed.In this embodiment, this instant message processing unit comprises: processor 111, memory 112, user interface 113, network interface 114 and communication bus 115.Communication bus 115 is for the communication between building block each in data server, and user interface 113 is for receiving the information of user's input, and this user interface can be wireline interface and wave point, such as keyboard, mouse etc.Network interface 114 communicates mutually with outside for data server, and this network interface 114 also can include line interface and wave point.Memory 112 can comprise one or more computer-readable recording mediums, and it not only comprises internal storage, also comprises external memory storage.Operating system and message processing program etc. is stored in this memory.Processor 111 for calling the message processing program in memory 112, to perform following operation:
Receive user's login account on the client by user interface 113, and open social networks group;
The instant message that detecting target account sends sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
Send request according to described instant message, obtain the instant message content that described target account sends;
When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
The interrelated display in preset display window by described instant message content and described identification information.
Further, processor 111 also for calling the message processing program in memory 112, to perform following operation:
Receive instant message and send request type switching command, according to the type that described switching command switching instant message sends request.
Further, processor 111 also for calling the message processing program in memory 112, to perform following operation:
Judge whether described target account is present in preset authority list;
If so, the account information of described target account is then obtained, and the interrelated display in described preset display window by described instant message content and described account information;
If not, then performing described when the type of instant message send request is for hiding account information type, obtaining and operating according to the identification information corresponding with described target account of preset configuration rule configuration or random arrangement.
Further, processor 111 also for calling the message processing program in memory 112, to perform following operation:
Described target account and described identification information corresponding relation are stored in preset relation table;
When described identification information meets preset report condition, by described identification-information reporting to preset service device;
In described relation table, corresponding account is searched according to the described identification information reported;
The account of searching acquisition is added in described preset authority list.
The keyword match degree that described preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.
Further, processor 111 also for calling the message processing program in memory 112, to perform following operation:
Display box corresponding for described instant message content is filled preset background color.
The instant message that the embodiment of the present invention is sent by detecting target account sends request; Send request according to described instant message, obtain the instant message content that described target account sends; When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement; The interrelated display in preset display window by described instant message content and described identification information.Thus achieve anonymous display, prevent the loss of account information, improve the fail safe that account uses.In addition, owing to achieving the personalization input of instant message, diversified information input and selection, meet the demand of user individual.
Be understandable that, the transmission of instant message mainly comprises Communication processing process between the application software in client, server end and operation and client.Particularly, instant message processing unit of the present invention can be applied in server, also can in applications client.
Particularly, when instant message processing apparatus is applied in server, with reference to Fig. 2, in instant message processing unit second embodiment of the present invention, instant message processing unit comprises:
Detecting module 110, the instant message sent for detecting target account sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
The instant message processing unit that the present embodiment provides is applied to the Graphics Processing of instant communication client to instant message in social networks group; Above-mentioned target account is log in and account for transferring immediate news in instant client.The type that above-mentioned instant message sends request comprises display account information type and hiding account information type.Particularly, open the chat interface of social networking group in instant communication client after, in this chat interface, show instant message content input frame, instant message content display box, instant message send request button; When instant message send request button is triggered, generation instant message sends request by target account, and this instant message sends request and comprises the type that instant message sends request and the instant message content inputted in instant message content input frame.
Message extraction module 120, for sending request according to described instant message, obtains the instant message content that described target account sends;
When the instant message receiving the transmission of target account sends request, extract the instant message content that this instant message sends request the transmission of middle target account, this instant message content comprises the character string that user inputs in instant message content input frame.
Acquisition module 130, for when the type that described instant message sends request is for hiding account information type, obtains the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
In the present embodiment, before transferring immediate news and sending request, can arrange the type sent request when the secondary instant message sent, when the type of instant message send request is for hiding account information type, described target account is in anonymous display mode and transfers immediate news; When the type of instant message send request is for display account information type, described target account is in real name display mode and transfers immediate news.Particularly, when the type of instant message send request is for display account information type, can according to normal mode to instant message process, by target account account information with when the instant message content time to send is corresponding associate after, be presented in preset display window, wherein account information comprises the pet name and head portrait etc. of account; When the type of instant message send request is for hiding account information type, by by with the described target account corresponding identification information of background system according to preset configuration rule configuration or random arrangement.Particularly, the instant message that the instant message that sends of owner's state (target account) and guest's state (other accounts) send all is arranged in a preset display window according to the time sequencing sent; Above-mentioned identification information is mainly used in distinguishing the instant message of described target account transmission and the instant message of other accounts transmission, to facilitate the reading carrying out message.Above-mentioned presetting rule can be distributed at random for background system, also can be configured by preset relation correspondence table.Mode can be arranged according to actual needs particularly, only otherwise reflection account information; Above-mentioned identification information can comprise head portrait and/or the pet name, such as can by the head portrait of background system Random assignment and the pet name.Should be noted that, each account may correspond to and arranges an identification information, also an identification information can be set in each social networks group, roll off the production line on can also not having in same group and once an identification information is all set, concrete form can be arranged according to actual needs, does not limit further at this.
Display module 140, for the interrelated display in preset display window by described instant message content and described identification information.
In the present embodiment, above-mentioned preset display window is the instant message content display box in social networks group chatting interactive interface, and the time sequencing sent according to instant message in this instant message content display box shows instant message that owner's state (target account) sends and the instant message that guest's state (other accounts) sends.Particularly, each instant message shows by a message bubble, above-mentioned identification information can be shown in the side of message bubble, and the side of each message bubble all corresponding display one identification informations, thus make instant message content and identification information interrelated, realize instant message anonymity display.Due to when instant message shows, only show identification information, do not show account information, thus the operations such as the data of checking, plusing good friend and proposition social networks group cannot be realized.
The instant message that the embodiment of the present invention is sent by detecting target account sends request; Send request according to described instant message, obtain the instant message content that described target account sends; When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement; The interrelated display in preset display window by described instant message content and described identification information.Thus achieve anonymous display, prevent the loss of account information, improve the fail safe that account uses.In addition, owing to achieving the personalization input of instant message, diversified information input and selection, meet the demand of user individual.
Further, with reference to Fig. 3, based on above-mentioned second embodiment, in instant message processing unit the 3rd embodiment of the present invention, above-mentioned instant message processing unit comprises:
Handover module 150, sends request type switching command for receiving instant message, according to the type that described switching command switching instant message sends request.
Also be provided with instant message in above-mentioned social networks group chatting interactive interface and send request type switching push button, spend the type switching realizing instant message and send request.The type that such as current instant message sends request is display account information type, produce instant message when then click instant message sends request type switching push button and send request type switching command, send request type switching command according to this instant message and the type that current instant message sends request is switched to hiding account information type; Send request type switching push button when again clicking instant message, then again the type that current instant message sends request is switched to display account information type.The operational order that type switching push button receives user is sent request owing to arranging instant message, and produce instant message and send request type switching command, thus realize the type that instant message sends request and switch, thus realize the diversity change of instant message transmission, simplify the operation easier realizing the type switching that instant message sends request.
Further, with reference to Fig. 4, based on above-mentioned second or the 3rd embodiment, in instant message processing unit the 4th embodiment of the present invention, above-mentioned instant message processing unit also comprises:
Judge module 160, for judging whether described target account is present in preset authority list;
Described display module 140 also for, when described target account is present in preset authority list, obtain the account information of described target account, and the interrelated display in described preset display window by described instant message content and described account information; When described target account is not present in preset authority list, and when the type of instant message send request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement.
Above-mentioned preset authority list is the authority list whether account can send anonymous message in social networks group, in the present embodiment, this authority list is a blacklist table, namely exist and cannot send anonymous message with the account in this authority list, namely transfer immediate news when sending request, instant message transmission must be carried out with the type showing account information, cannot send with the type of hiding account information.When target account is present in this authority list, transfer immediate news in target account and send request for hiding account information type or when switching instant message and sending request type, export information prompting user and only can carry out instant message transmission to show account information type; And when carrying out instant message and sending, target account can be obtained, and search target account and whether be present in above-mentioned preset authority list, if so, then carry out instant message display (real name display) to show account information type; If be not present in above-mentioned preset authority list, then judge the type that the instant message that target account sends sends request, and transfer immediate news according to the type that this instant message sends request.
Further, with reference to Fig. 5, based on above-mentioned 4th embodiment, in the present embodiment, above-mentioned instant message processing unit also comprises:
Storage module 170, for being stored in preset relation table by described target account and described identification information corresponding relation;
Reporting module 180, for when described identification information meets preset report condition, by described identification-information reporting to preset service device;
Search module 190, for searching corresponding account in described relation table according to the described identification information reported;
Processing module 200, for being added into the account of searching acquisition in described preset authority list.
In the present embodiment, the keyword match degree that above-mentioned preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.This preset account is the account in social networks group with administration authority; Above-mentioned initialized data base can be fishing database or advertising database, and database of wherein going fishing, for checking fishing website, above-mentioned advertising database is for detecting whether the instant message of transmission is ad promotions.
When social networks group application, target account often sends an instant message, first checks the need of to this target account configuration identifier information, if desired configuration identifier information, then configuration identifier information, and in relation table, generate a record according to the identification information configured and target account.If do not configure new identification information, then represent to there is this record in relation table.After target transfers immediate news, whether the instant message content automatically detecting transmission is fishing website or advertising by backstage, if so, then can by identification-information reporting corresponding for this instant message content; According to the identification information reported, account corresponding in described relation table; Then will search acquisition relation account and be added into above-mentioned preset authority list, thus forbid that this account is carried out anonymity and transferred immediate news.
When social networks group application, if be not fishing website or advertising by above-mentioned instant message content detection to instant message, then can click identification information by the keeper's (i.e. above-mentioned preset account) in social networks group, and input inhibit sends message request, now, this identification information is reported.According to the identification information reported, account corresponding in described relation table; Then will search acquisition relation account and be added into above-mentioned preset authority list, thus forbid that this account is carried out anonymity and transferred immediate news.
Further, with reference to Fig. 6, based on above-mentioned any embodiment, in the present embodiment, above-mentioned instant message processing unit also comprises:
Packing module 210, for filling display box corresponding for described instant message content with preset background color.
In the present embodiment, above-mentioned instant message content adopts the display box of a message bubble to show usually, conveniently identify that instant message is anonymous message or real name message, the display box of instant message content corresponding for anonymous message can be filled preset background color, to reach the object of reminding user.
When instant message processing apparatus is applied in client, to be applied in the principle that server end realizes basically identical with instant message processing unit, and particularly, instant message processing unit comprises:
Display module, for providing an instant message interactive interface, in order to display and input instant message content;
Receiver module, for receiving the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Acquisition module, for obtaining instant message content to be sent;
Processing module, for the instant message transmission types instruction chosen described in basis, processes described instant message content to be sent; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
Preferably, described instant message processing unit also comprises:
Handover module, for receiving instant message transmission types switching command, switches the type of instant message transmission according to described switching command.
Preferably, described instant message processing unit also comprises:
Judge module, for judging whether target account corresponding to described instant message transmission types instruction is present in preset authority list;
Described processing module also for, when described target account is present in preset authority list, obtain the account information of described target account, described instant message content and described account information are sent to target account and show at the messaging display windows of described instant message interactive interface; When described target account is not present in preset authority list, and when the type of instant message send request is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process.
Preferably, described instant message processing unit also comprises:
Storage module, for being stored in preset relation table by described target account and described identification information corresponding relation;
Reporting module, for when described identification information meets preset report condition, by described identification-information reporting to preset service device;
Search module, for searching corresponding account in described relation table according to the described identification information reported;
Processing module, for being added into the account of searching acquisition in described preset authority list.
Preferably, the keyword match degree that described preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.
Preferably, described instant message processing unit also comprises:
Packing module, for filling display box corresponding for described instant message content with preset background color.
Present invention further proposes a kind of instant message processing method.When the method is applied in server, with reference to Fig. 7, the instant message processing method of this embodiment comprises the following steps:
Step S10, the instant message that detecting target account sends sends request;
The instant message processing method that the present embodiment provides is applied to the Graphics Processing of instant communication client to instant message in social networks group; Above-mentioned target account is log in and account for transferring immediate news in instant client.The type that above-mentioned instant message sends request comprises display account information type and hiding account information type.Particularly, open the chat interface of social networking group in instant communication client after, in this chat interface, show instant message content input frame, instant message content display box, instant message send request button; When instant message send request button is triggered, generation instant message sends request by target account, and this instant message sends request and comprises the type that instant message sends request and the instant message content inputted in instant message content input frame.
Step S11, sends request according to described instant message, obtains the instant message content that described target account sends;
When the instant message receiving the transmission of target account sends request, extract the instant message content that this instant message sends request the transmission of middle target account, this instant message content comprises the character string that user inputs in instant message content input frame.
Step S12, when the type that described instant message sends request is for hiding account information type, obtains the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
In the present embodiment, before transferring immediate news and sending request, can arrange the type sent request when the secondary instant message sent, when the type of instant message send request is for hiding account information type, described target account is in anonymous display mode and transfers immediate news; When the type of instant message send request is for display account information type, described target account is in real name display mode and transfers immediate news.Particularly, when the type of instant message send request is for display account information type, can according to normal mode to instant message process, by target account account information with when the instant message content time to send is corresponding associate after, be presented in preset display window, wherein account information comprises the pet name and head portrait etc. of account; When the type of instant message send request is for hiding account information type, by by with the described target account corresponding identification information of background system according to preset configuration rule configuration or random arrangement.Particularly, the instant message that the instant message that sends of owner's state (target account) and guest's state (other accounts) send all is arranged in a preset display window according to the time sequencing sent; Above-mentioned identification information is mainly used in distinguishing the instant message of described target account transmission and the instant message of other accounts transmission, to facilitate the reading carrying out message.Above-mentioned presetting rule can be distributed at random for background system, also can be configured by preset relation correspondence table.Mode can be arranged according to actual needs particularly, only otherwise reflection account information; Above-mentioned identification information can comprise head portrait and/or the pet name, such as can by the head portrait of background system Random assignment and the pet name.Should be noted that, each account may correspond to and arranges an identification information, also an identification information can be set in each social networks group, roll off the production line on can also not having in same group and once an identification information is all set, concrete form can be arranged according to actual needs, does not limit further at this.
Step S13, the interrelated display in preset display window by described instant message content and described identification information.
In the present embodiment, above-mentioned preset display window is the instant message content display box in social networks group chatting interface, and the time sequencing sent according to instant message in this instant message content display box shows instant message that owner's state (target account) sends and the instant message that guest's state (other accounts) sends.Particularly, each instant message shows by a message bubble, above-mentioned identification information can be shown in the side of message bubble, and the side of each message bubble all corresponding display one identification informations, thus make instant message content and identification information interrelated, realize instant message anonymity display.Due to when instant message shows, only show identification information, do not show account information, thus the operations such as the data of checking, plusing good friend and proposition social networks group cannot be realized.
The instant message that the embodiment of the present invention is sent by detecting target account sends request; Send request according to described instant message, obtain the instant message content that described target account sends; When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement; The interrelated display in preset display window by described instant message content and described identification information.Thus achieve anonymous display, prevent the loss of account information, improve the fail safe that account uses.In addition, owing to achieving the personalization input of instant message, diversified information input and selection, meet the demand of user individual.
Further, with reference to Fig. 8, based on above-described embodiment, in instant message processing method second embodiment of the present invention, also comprise before above-mentioned steps S10:
Step S14, receives instant message and sends request type switching command, according to the type that described switching command switching instant message sends request.
Also be provided with instant message in above-mentioned social networks group chatting interface and send request type switching push button, spend the type switching realizing instant message and send request.The type that such as current instant message sends request is display account information type, produce instant message when then click instant message sends request type switching push button and send request type switching command, send request type switching command according to this instant message and the type that current instant message sends request is switched to hiding account information type; Send request type switching push button when again clicking instant message, then again the type that current instant message sends request is switched to display account information type.The operational order that type switching push button receives user is sent request owing to arranging instant message, and produce instant message and send request type switching command, thus realize the type that instant message sends request and switch, thus realize the diversity change of instant message transmission, simplify the operation easier realizing the type switching that instant message sends request.
Further, with reference to Fig. 9, based on above-mentioned any embodiment, in instant message processing method the 3rd embodiment of the present invention, also comprise after above-mentioned steps S11:
Step S15, judges whether described target account is present in preset authority list; If so, then perform step S16, if not, then perform step S12;
Step S16, obtains the account information of described target account, and the interrelated display in described preset display window by described instant message content and described account information.
Above-mentioned preset authority list is the authority list whether account can send anonymous message in social networks group, in the present embodiment, this authority list is a blacklist table, namely exist and cannot send anonymous message with the account in this authority list, namely transfer immediate news when sending request, instant message transmission must be carried out with the type showing account information, cannot send with the type of hiding account information.When target account is present in this authority list, transfer immediate news in target account and send request for hiding account information type or when switching instant message and sending request type, export information prompting user and only can carry out instant message transmission to show account information type; And when carrying out instant message and sending, target account can be obtained, and search target account and whether be present in above-mentioned preset authority list, if so, then carry out instant message display (real name display) to show account information type; If be not present in above-mentioned preset authority list, then judge the type that the instant message that target account sends sends request, and transfer immediate news according to the type that this instant message sends request.
Further, with reference to Figure 10, based on above-mentioned 3rd embodiment, in instant message processing method the 4th embodiment of the present invention, also comprise after above-mentioned steps S12:
Step S17, is stored in preset relation table by described target account and described identification information corresponding relation;
Also comprise after above-mentioned steps S13:
Step S18, when described identification information meets preset report condition, by described identification-information reporting to preset service device;
Step S19, the described identification information according to reporting searches account in described relation table;
Step S20, is added into the account of searching acquisition in described preset authority list.
In the present embodiment, the keyword match degree that above-mentioned preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.This preset account is the account in social networks group with administration authority; Above-mentioned initialized data base can be fishing database or advertising database, and database of wherein going fishing, for checking fishing website, above-mentioned advertising database is for detecting whether the instant message of transmission is ad promotions.
When social networks group application, target account often sends an instant message, first checks the need of to this target account configuration identifier information, if desired configuration identifier information, then configuration identifier information, and in relation table, generate a record according to the identification information configured and target account.If do not configure new identification information, then represent to there is this record in relation table.After target transfers immediate news, whether the instant message content automatically detecting transmission is fishing website or advertising by backstage, if so, then can by identification-information reporting corresponding for this instant message content; According to the identification information reported, account corresponding in described relation table; Then will search acquisition relation account and be added into above-mentioned preset authority list, thus forbid that this account is carried out anonymity and transferred immediate news.
When social networks group application, if be not fishing website or advertising by above-mentioned instant message content detection to instant message, then can click identification information by the keeper's (i.e. above-mentioned preset account) in social networks group, and input inhibit sends message request, now, this identification information is reported.According to the identification information reported, account corresponding in described relation table; Then will search acquisition relation account and be added into above-mentioned preset authority list, thus forbid that this account is carried out anonymity and transferred immediate news.
Further, with reference to Figure 11, based on above-mentioned any embodiment, in instant message processing method the 4th embodiment of the present invention, also comprise after above-mentioned steps S13:
Step S21, fills display box corresponding for described instant message content with preset background color.
In the present embodiment, above-mentioned instant message content adopts the display box of a message bubble to show usually, conveniently identify that instant message is anonymous message or real name message, the display box of instant message content corresponding for anonymous message can be filled preset background color, to reach the object of reminding user.
When instant message treatment method is applied in client, to be applied in the principle that server end realizes basically identical with instant message processing method.Particularly, instant message processing method, comprises the following steps:
There is provided an instant message interactive interface, in order to display and input instant message content;
Receive the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Obtain instant message content to be sent;
According to the described instant message transmission types instruction chosen, described instant message content to be sent is processed; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
Preferably, comprise before the instruction of described reception instant message transmission types:
Receive instant message transmission types switching command, switch the type of instant message transmission according to described switching command.
Preferably, also comprise after the instant message content that described acquisition is to be sent:
Judge whether target account corresponding to described instant message transmission types instruction is present in preset authority list;
If so, then obtain the account information of described target account, described instant message content and described account information are sent to target account and show at the messaging display windows of described instant message interactive interface;
If not, then perform described when the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement treatment step.
Preferably, described described instant message content to be sent also to be comprised according to after preset configuration rule configuration or random arrangement process:
Described target account and described identification information corresponding relation are stored in preset relation table;
Described instant message content and described identification information are sent to target account and described instant message interactive interface messaging display windows display after also comprise:
When described identification information meets preset report condition, by described identification-information reporting to preset service device;
In described relation table, corresponding account is searched according to the described identification information reported;
The account of searching acquisition is added in described preset authority list.
Preferably, the keyword match degree that described preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.
Preferably, described instant message content and described identification information are sent to target account and described instant message interactive interface messaging display windows display after also comprise:
Display box corresponding for described instant message content is filled preset background color.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (14)

1. an instant message processing method, is characterized in that, comprises the following steps:
The instant message that detecting target account sends sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
Send request according to described instant message, obtain the instant message content that described target account sends;
When the type that described instant message sends request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
The interrelated display in preset display window by described instant message content and described identification information.
2. instant message processing method as claimed in claim 1, is characterized in that, comprises before the instant message that described detecting target account sends sends request:
Receive instant message and send request type switching command, according to the type that described switching command switching instant message sends request.
3. instant message processing method as claimed in claim 1, is characterized in that, describedly sends request according to instant message, also comprises after obtaining the instant message content that described target account sends:
Judge whether described target account is present in preset authority list;
If so, the account information of described target account is then obtained, and the interrelated display in described preset display window by described instant message content and described account information;
If not, then performing described when the type of instant message send request is for hiding account information type, obtaining the identification information step corresponding with described target account according to preset configuration rule configuration or random arrangement.
4. instant message processing method as claimed in claim 3, is characterized in that, also comprises after the identification information corresponding with described target account of described acquisition according to preset configuration rule configuration or random arrangement:
Described target account and described identification information corresponding relation are stored in preset relation table;
Described control instant message content and described identification information also comprise after interrelated display in preset display window:
When described identification information meets preset report condition, by described identification-information reporting to preset service device;
In described relation table, corresponding account is searched according to the described identification information reported;
The account of searching acquisition is added in described preset authority list.
5. instant message processing method as claimed in claim 4, it is characterized in that, the keyword match degree that described preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.
6. the instant message processing method according to any one of claim 1 to 5, is characterized in that, describedly instant message content and described identification information is also comprised after interrelated display in preset display window:
Display box corresponding for described instant message content is filled preset background color.
7. an instant message processing method, is characterized in that, comprises the following steps:
There is provided an instant message interactive interface, in order to display and input instant message content;
Receive the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Obtain instant message content to be sent;
According to the described instant message transmission types instruction chosen, described instant message content to be sent is processed; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
8. an instant message processing unit, is characterized in that, comprising:
Detecting module, the instant message sent for detecting target account sends request; The type that described instant message sends request comprises display account information type and hiding account information type;
Message extraction module, for sending request according to described instant message, obtains the instant message content that described target account sends;
Acquisition module, for when the type that described instant message sends request is for hiding account information type, obtains the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement;
Display module, for the interrelated display in preset display window by described instant message content and described identification information.
9. instant message processing unit as claimed in claim 8, it is characterized in that, described instant message processing unit comprises:
Handover module, sends request type switching command for receiving instant message, according to the type that described switching command switching instant message sends request.
10. instant message processing unit as claimed in claim 8, it is characterized in that, described instant message processing unit also comprises:
Judge module, for judging whether described target account is present in preset authority list;
Described display module also for, when described target account is present in preset authority list, obtain the account information of described target account, and the interrelated display in described preset display window by described instant message content and described account information; When described target account is not present in preset authority list, and when the type of instant message send request is for hiding account information type, obtain the identification information corresponding with described target account according to preset configuration rule configuration or random arrangement.
11. instant message processing unit as claimed in claim 10, it is characterized in that, described instant message processing unit also comprises:
Storage module, for being stored in preset relation table by described target account and described identification information corresponding relation;
Reporting module, for when described identification information meets preset report condition, by described identification-information reporting to preset service device;
Search module, for searching corresponding account in described relation table according to the described identification information reported;
Processing module, for being added into the account of searching acquisition in described preset authority list.
12. instant message processing unit as claimed in claim 11, it is characterized in that, the keyword match degree that described preset report condition comprises in instant message content corresponding to described identification information and initialized data base is greater than preset value, or receive preset account to described identification information send forbid send message request.
13. instant message processing unit according to any one of claim 8 to 12, it is characterized in that, described instant message processing unit also comprises:
Packing module, for filling display box corresponding for described instant message content with preset background color.
14. 1 kinds of instant message processing unit, is characterized in that, comprising:
Display module, for providing an instant message interactive interface, in order to display and input instant message content;
Receiver module, for receiving the instruction of instant message transmission types; Described instant message transmission types comprises display account information type and hiding account information type;
Acquisition module, for obtaining instant message content to be sent;
Processing module, for the instant message transmission types instruction chosen described in basis, processes described instant message content to be sent; Wherein:
When the instruction of described instant message transmission types is for hiding account information type, to described instant message content to be sent according to preset configuration rule configuration or random arrangement process;
When the instruction of described instant message transmission types is for display account information type, described instant message content and described identification information is sent to target account and shows at the messaging display windows of described instant message interactive interface.
CN201410472139.6A 2014-09-16 2014-09-16 Instant message processing method and device Active CN105490913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410472139.6A CN105490913B (en) 2014-09-16 2014-09-16 Instant message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410472139.6A CN105490913B (en) 2014-09-16 2014-09-16 Instant message processing method and device

Publications (2)

Publication Number Publication Date
CN105490913A true CN105490913A (en) 2016-04-13
CN105490913B CN105490913B (en) 2020-08-21

Family

ID=55677646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410472139.6A Active CN105490913B (en) 2014-09-16 2014-09-16 Instant message processing method and device

Country Status (1)

Country Link
CN (1) CN105490913B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510849A (en) * 2017-09-14 2019-03-22 腾讯科技(深圳)有限公司 The account number method for authenticating and device of cloud storage
CN109995749A (en) * 2019-01-11 2019-07-09 刘高峰 A kind of user's head portrait processing method, apparatus and system
CN110351278A (en) * 2019-07-12 2019-10-18 河北冀联人力资源服务集团有限公司 Service connection method and device
CN111158809A (en) * 2019-12-12 2020-05-15 北京达佳互联信息技术有限公司 Message interface display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394762A (en) * 2011-11-01 2012-03-28 陈晓亮 Many-people-involved on-line communication system method
CN103605690A (en) * 2013-11-04 2014-02-26 北京奇虎科技有限公司 Device and method for recognizing advertising messages in instant messaging
CN104038410A (en) * 2014-06-12 2014-09-10 上海高派信息科技有限公司 Group member identity information protection method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394762A (en) * 2011-11-01 2012-03-28 陈晓亮 Many-people-involved on-line communication system method
CN103605690A (en) * 2013-11-04 2014-02-26 北京奇虎科技有限公司 Device and method for recognizing advertising messages in instant messaging
CN104038410A (en) * 2014-06-12 2014-09-10 上海高派信息科技有限公司 Group member identity information protection method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
手机世界: "手机QQ群匿名聊天功能如何使用", 《2345软件教程,HTTP://M.DUOTE.COM/TECH/TENGXUNQQ/78604.HTML》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510849A (en) * 2017-09-14 2019-03-22 腾讯科技(深圳)有限公司 The account number method for authenticating and device of cloud storage
US11265306B2 (en) 2017-09-14 2022-03-01 Tencent Technology (Shenzhen) Company Ltd Account authentication method for cloud storage, and server
CN109995749A (en) * 2019-01-11 2019-07-09 刘高峰 A kind of user's head portrait processing method, apparatus and system
CN109995749B (en) * 2019-01-11 2021-08-17 刘高峰 User head portrait processing method, device and system
CN110351278A (en) * 2019-07-12 2019-10-18 河北冀联人力资源服务集团有限公司 Service connection method and device
CN110351278B (en) * 2019-07-12 2020-05-26 河北冀联人力资源服务集团有限公司 Service connection method and device
CN111158809A (en) * 2019-12-12 2020-05-15 北京达佳互联信息技术有限公司 Message interface display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105490913B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
US10834031B2 (en) Information exchange method, client, and apparatus
US10063547B2 (en) Authorization authentication method and apparatus
CN104144420B (en) A kind of radio switch-in method and relevant device, system
EP2770788A1 (en) Notification push method, device, and system
CN105871666A (en) Method and device for adding ZigBee device
CN111447133B (en) Message transmission method and device, storage medium and electronic device
CN103414740B (en) A kind of private cloud account configuration method and device
CN104125485B (en) A kind of user profile shared method, equipment and system
CN102281309B (en) The dissemination method of the network information and the delivery system of the network information and client
CN102752313B (en) The method of the many identity of user and device in a kind of JICQ
CN105681154A (en) Method and device for sending message in instant messaging software
CN104809369A (en) Method, client, server and system for grouping device access permissions
CN104320863B (en) Wireless network access method and mobile terminal applied to mobile terminal
CN105099858A (en) Network instant messaging session method and system
CN105490913A (en) Instant message processing method and device
WO2016134608A1 (en) Method and apparatus for identifying pseudo base station
CN107820237B (en) A data transmission method and device under a WIFI network
CN107508747A (en) Group communication method, server and computer storage medium for converged communication
CN104750723A (en) File sharing method, system, browser and server
CN104967525B (en) Method and device that news is shared, system
CN109743329B (en) Account processing method and device
EP4102808A1 (en) Data processing method and apparatus based on instant messaging, device, and medium
CN105634882B (en) Network access equipment sharing method, device and system
CN104202432B (en) Remote web management system and management method
CN102629919A (en) Method, client and system for adding contact persons in instant messaging (IM)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant