CN105490913B - Instant message processing method and device - Google Patents

Instant message processing method and device Download PDF

Info

Publication number
CN105490913B
CN105490913B CN201410472139.6A CN201410472139A CN105490913B CN 105490913 B CN105490913 B CN 105490913B CN 201410472139 A CN201410472139 A CN 201410472139A CN 105490913 B CN105490913 B CN 105490913B
Authority
CN
China
Prior art keywords
instant message
account
type
preset
identification information
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.)
Active
Application number
CN201410472139.6A
Other languages
Chinese (zh)
Other versions
CN105490913A (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

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an instant message processing method, which comprises the following steps: detecting an instant message sending request sent by a target account; the type of the instant message sending request comprises a display account information type and a hidden account information type; acquiring instant message content sent by the target account according to the instant message sending request; when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account; and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner. The invention also discloses a time message processing device. The invention realizes anonymous display, prevents loss of account information and improves the safety of account use.

Description

Instant message processing method and device
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for processing an instant message.
Background
With the rapid development of mobile intelligent terminals, information transmission through the intelligent terminals in an instant messaging manner has become the mainstream of the existing information transmission. For example, social network groups are used to send instant messages, thereby achieving wide-spread delivery of information. In the prior art, account information is usually displayed when an instant message is sent, so that the account information is easily identified by third-party software, loss of the account information is caused, and the use safety of the account is seriously affected.
Disclosure of Invention
The embodiment of the invention mainly aims to provide an instant message processing method and device, and aims to realize anonymous display, prevent loss of account information and improve the safety of account use.
In order to achieve the above object, an embodiment of the present invention provides an instant message processing method, including the following steps:
detecting an instant message sending request sent by a target account; the type of the instant message sending request comprises a display account information type and a hidden account information type;
acquiring instant message content sent by the target account according to the instant message sending request;
when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account;
and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner.
Further, an embodiment of the present invention further provides an instant message processing method, including the following steps:
providing an instant message interactive interface for displaying and inputting instant message contents;
receiving an instant message sending type instruction; the instant message sending type comprises a display account information type and a hidden account information type;
acquiring instant message content to be sent;
processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, sending the instant message content and the identification information to the target account and displaying the instant message content and the identification information in a message display window of the instant message interaction interface in a correlated manner;
and when the instant message sending type instruction is of the type of displaying account information, acquiring the account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in a message display window of the instant message interaction interface in a mutual correlation manner.
Further, an embodiment of the present invention further provides an instant message processing apparatus, including:
the detection module is used for detecting an instant message sending request sent by a target account; the type of the instant message sending request comprises a display account information type and a hidden account information type;
the message extraction module is used for acquiring the instant message content sent by the target account according to the instant message sending request;
the acquisition module is used for acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account when the type of the instant message sending request is a hidden account information type;
and the display module is used for displaying the instant message content and the identification information in a preset display window in a mutual correlation manner.
Further, an embodiment of the present invention further provides an instant message processing apparatus, including:
the display module is used for providing an instant message interactive interface for displaying and inputting instant message contents;
the receiving module is used for receiving the instant message sending type instruction; the instant message sending type comprises a display account information type and a hidden account information type;
the acquisition module is used for acquiring the content of the instant message to be sent;
the processing module is used for processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, sending the instant message content and the identification information to the target account and displaying the instant message content and the identification information in a message display window of the instant message interaction interface in a correlated manner;
and when the instant message sending type instruction is of the type of displaying account information, acquiring the account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in a message display window of the instant message interaction interface in a mutual correlation manner.
The embodiment of the invention detects the instant message sending request sent by the target account; acquiring instant message content sent by the target account according to the instant message sending request; when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account; and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner. Therefore, anonymous display is realized, loss of account information is prevented, and the use safety of the account is improved.
Drawings
FIG. 1 is a diagram of a hardware architecture of a first embodiment of an instant message processing apparatus according to the present invention;
FIG. 2 is a functional block diagram of a second embodiment of an instant message processing apparatus according to the present invention;
FIG. 3 is a functional block diagram of a third embodiment of an instant message processing apparatus according to the present invention;
FIG. 4 is a functional block diagram of an instant message processing device according to a fourth embodiment of the present invention;
fig. 5 is a functional block diagram of a fifth embodiment of the instant message processing device of the present invention;
fig. 6 is a functional block diagram of an instant message processing device according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a first embodiment of an instant message processing method in accordance with the present invention;
FIG. 8 is a flowchart illustrating a second embodiment of an instant message processing method in accordance with the present invention;
fig. 9 is a flowchart illustrating a third embodiment of an instant message processing method in accordance with the present invention;
fig. 10 is a flowchart illustrating a fourth embodiment of the instant message processing method of the present invention;
fig. 11 is a flowchart illustrating a fifth embodiment of the instant message processing method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical scheme of the invention is further explained by combining the drawings and the specific embodiments in the specification. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a first embodiment of an instant message processing apparatus according to the present invention is provided. In this embodiment, the instant message processing apparatus includes: a processor 111, a memory 112, a user interface 113, a network interface 114, and a communication bus 115. The communication bus 115 is used for communication among the components of the data server, and the user interface 113 is used for receiving information input by a user, and may be a wired interface or a wireless interface, such as a keyboard, a mouse, and the like. The network interface 114 is used for the data server to communicate with the outside, and the network interface 114 may also include a wired interface and a wireless interface. Memory 112 may include one or more computer-readable storage media, and includes not only internal memory, but also external memory. The memory stores an operating system, a message processing program, and the like. The processor 111 is configured to call the message handler in the memory 112 to perform the following operations:
receiving a user login account on a client through a user interface 113, and opening a social network group;
detecting an instant message sending request sent by a target account; the type of the instant message sending request comprises a display account information type and a hidden account information type;
acquiring instant message content sent by the target account according to the instant message sending request;
when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account;
and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner.
Further, the processor 111 is also configured to call the message handler in the memory 112 to perform the following operations:
receiving an instant message sending request type switching instruction, and switching the type of the instant message sending request according to the switching instruction.
Further, the processor 111 is also configured to call the message handler in the memory 112 to perform the following operations:
judging whether the target account exists in a preset authority table or not;
if so, acquiring account information of the target account, and displaying the instant message content and the account information in a mutual association manner in the preset display window;
if not, when the type of the instant message sending request is a hidden account information type, acquiring identification information corresponding to the target account, which is configured according to a preset configuration rule or randomly configured.
Further, the processor 111 is also configured to call the message handler in the memory 112 to perform the following operations:
storing the corresponding relation between the target account and the identification information into a preset relation table;
when the identification information meets a preset reporting condition, reporting the identification information to a preset server;
searching a corresponding account in the relation table according to the reported identification information;
and adding the searched account number into the preset authority table.
The preset reporting condition comprises that the matching degree of the instant message content corresponding to the identification information and the keywords in the preset database is greater than a preset value, or a message sending prohibition request sent by a preset account number to the identification information is received.
Further, the processor 111 is also configured to call the message handler in the memory 112 to perform the following operations:
and filling a preset background color into the display frame corresponding to the instant message content.
The embodiment of the invention detects the instant message sending request sent by the target account; acquiring instant message content sent by the target account according to the instant message sending request; when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account; and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner. Therefore, anonymous display is realized, loss of account information is prevented, and the use safety of the account is improved. In addition, because the personalized input of the instant message, the diversified information input and selection are realized, the personalized requirements of the user are met.
It can be understood that the sending of the instant message mainly includes the communication processing procedures between the client, the server and the application software running and on the client. Specifically, the instant message processing device can be applied to a server and also can be applied to a client.
Specifically, when the instant message processing apparatus is applied to a server, referring to fig. 2, in a second embodiment of the instant message processing apparatus of the present invention, the instant message processing apparatus includes:
a detecting module 110, configured to detect an instant message sending request sent by a target account; the type of the instant message sending request comprises a display account information type and a hidden account information type;
the instant message processing device provided by the embodiment is applied to the display processing of instant messages in a social network group by an instant messaging client; the target account is an account which is logged in at the instant client and used for sending the instant message. The types of the instant message sending request comprise a display account information type and a hidden account information type. Specifically, after a chat interface of a social network group is opened in an instant messaging client, an instant message content input frame, an instant message content display frame and an instant message sending request button are displayed in the chat interface; when the instant message sending request button is triggered, the target account generates an instant message sending request, wherein the instant message sending request comprises the type of the instant message sending request and the instant message content input in the instant message content input box.
A message extraction module 120, configured to obtain, according to the instant message sending request, an instant message content sent by the target account;
when an instant message sending request sent by a target account is received, extracting instant message content sent by the target account in the instant message sending request, wherein the instant message content comprises a character string input by a user in an instant message content input box.
An obtaining module 130, configured to, when the type of the instant message sending request is a hidden account information type, obtain identification information corresponding to the target account, where the identification information is configured according to a preset configuration rule or configured randomly;
in this embodiment, before sending the instant message sending request, the type of the instant message sending request sent at the current time may be set, and when the type of the instant message sending request is a hidden account information type, the target account is in an anonymous display mode to send the instant message; and when the type of the instant message sending request is the type of displaying the account information, the target account is in a real-name display mode to send the instant message. Specifically, when the type of the instant message sending request is the type of displaying account information, the instant message can be processed in a normal manner, that is, the account information of the target account is correspondingly associated with the content of the instant message sent at the current time and then is displayed in a preset display window, wherein the account information comprises a nickname, a head portrait and the like of the account; and when the type of the instant message sending request is the hidden account information type, configuring or randomly configuring identification information corresponding to the target account by the background system according to a preset configuration rule. Specifically, the instant messages sent by the host state (target account) and the instant messages sent by the guest state (other accounts) are arranged in a preset display window according to the sending time sequence; the identification information is mainly used for distinguishing instant messages sent by the target account and instant messages sent by other accounts so as to facilitate reading of the messages. The preset rules can be randomly distributed for the background system, and can also be configured by a preset relation corresponding table. The specific mode can be set according to actual needs as long as account information is not reflected; the identification information may include an avatar and/or a nickname, such as an avatar and nickname that may be randomly assigned by the backend system. It should be noted that each account may be correspondingly provided with one identification information, one identification information may also be provided in each social network group, one identification information may also be provided in each group every time online and offline, and a specific form may be set according to actual needs, which is not further limited herein.
The display module 140 is configured to display the instant message content and the identification information in a preset display window in a correlated manner.
In this embodiment, the preset display window is an instant message content display frame in the social network group chat interactive interface, and an instant message sent by a host status (target account) and an instant message sent by a guest status (other account) are displayed in the instant message content display frame according to a time sequence of sending the instant messages. Specifically, each instant message can be displayed through a message bubble, the identification information can be displayed beside the message bubble, and one identification information is correspondingly displayed beside each message bubble, so that the instant message content and the identification information are correlated with each other, and the anonymous display of the instant message is realized. Because only the identification information is displayed and the account information is not displayed when the instant message is displayed, the operations of viewing the data, adding friends, proposing a social network group and the like cannot be realized.
The embodiment of the invention detects the instant message sending request sent by the target account; acquiring instant message content sent by the target account according to the instant message sending request; when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account; and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner. Therefore, anonymous display is realized, loss of account information is prevented, and the use safety of the account is improved. In addition, because the personalized input of the instant message, the diversified information input and selection are realized, the personalized requirements of the user are met.
Further, referring to fig. 3, based on the second embodiment, in a third embodiment of the instant message processing apparatus according to the present invention, the instant message processing apparatus includes:
the switching module 150 is configured to receive an instant message sending request type switching instruction, and switch the type of the instant message sending request according to the switching instruction.
An instant message sending request type switching button is further arranged in the social network group chat interactive interface to realize type switching of the instant message sending request. For example, if the type of the current instant message sending request is a display account information type, an instant message sending request type switching instruction is generated when an instant message sending request type switching button is clicked, and the type of the current instant message sending request is switched to a hidden account information type according to the instant message sending request type switching instruction; and when the instant message sending request type switching button is clicked again, switching the type of the current instant message sending request to the type of the displayed account information again. The instant message sending request type switching button is arranged to receive the operation instruction of the user and generate the instant message sending request type switching instruction, so that the type switching of the instant message sending request is realized, the diversity change of the instant message sending is realized, and the operation difficulty of realizing the type switching of the instant message sending request is simplified.
Further, referring to fig. 4, based on the second or third embodiment, in a fourth embodiment of the instant message processing apparatus according to the present invention, the instant message processing apparatus further includes:
a judging module 160, configured to judge whether the target account exists in a preset authority table;
the display module 140 is further configured to, when the target account exists in a preset authority table, acquire account information of the target account, and display the instant message content and the account information in the preset display window in a correlated manner; and when the target account does not exist in a preset authority table and the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to preset configuration rules or configured randomly and corresponds to the target account.
The preset authority table is an authority table indicating whether an account can send an anonymous message in a social network group, and in this embodiment, the authority table is a blacklist table, that is, an account in the authority table cannot send an anonymous message, that is, when an instant message sending request is sent, an instant message must be sent in a type of displaying account information, and cannot be sent in a type of hiding account information. When the target account exists in the authority table, when the instant message sending request sent by the target account is of a hidden account information type or the instant message sending request type is switched, outputting prompt information to prompt a user that the instant message sending can be carried out only by the displayed account information type; when the instant message is sent, the target account can be obtained, whether the target account exists in the preset authority table or not is searched, and if yes, the instant message is displayed (real name display) according to the type of the displayed account information; if the current instant message does not exist in the preset authority list, judging the type of the instant message sending request sent by the target account, and sending the instant message according to the type of the instant message sending request.
Further, referring to fig. 5, based on the fourth embodiment, in this embodiment, the instant message processing apparatus further includes:
the storage module 170 is configured to store the corresponding relationship between the target account and the identification information in a preset relationship table;
a reporting module 180, configured to report the identifier information to a preset server when the identifier information meets a preset reporting condition;
the searching module 190 is configured to search a corresponding account in the relationship table according to the reported identification information;
and the processing module 200 is configured to add the searched account to the preset authority table.
In this embodiment, the preset reporting condition includes that a matching degree between the instant message content corresponding to the identifier and a keyword in a preset database is greater than a preset value, or a request for prohibiting sending a message, which is sent by a preset account to the identifier, is received. The preset account is an account with management authority in the social network group; the preset database may be a phishing database for checking phishing websites or an advertisement database for detecting whether the transmitted instant message is an advertisement promotion.
When the social network group is applied, each time the target account sends an instant message, whether the target account needs to be configured with identification information is checked, if the target account needs to be configured with the identification information, the identification information is configured, and a record is generated in a relation table according to the configured identification information and the target account. If no new identification information is configured, it indicates that the record exists in the relationship table. After the target sends the instant message, the background automatically detects whether the sent instant message content is a phishing website or an advertisement, if so, the identification information corresponding to the instant message content can be reported; according to the reported identification information, corresponding account numbers in the relation table; and then adding the account number with the searched relation to the preset authority table, thereby forbidding the account number to anonymously send the instant message.
When the instant message is applied to the social network group, if the instant message is not detected to be a phishing website or an advertisement, an administrator (namely the preset account) in the social network group can click the identification information and input a request for prohibiting sending the message, and at the moment, the identification information is reported. According to the reported identification information, corresponding account numbers in the relation table; and then adding the account number with the searched relation to the preset authority table, thereby forbidding the account number to anonymously send the instant message.
Further, referring to fig. 6, based on any one of the above embodiments, in this embodiment, the instant message processing apparatus further includes:
and a filling module 210, configured to fill a preset background color in the display frame corresponding to the instant message content.
In this embodiment, the content of the instant message is usually displayed by using a display box of a message bubble, so as to facilitate identifying whether the instant message is an anonymous message or a real-name message, and the display box of the content of the instant message corresponding to the anonymous message can be filled with a preset background color to achieve the purpose of reminding the user.
When the instant message processing device is applied to the client, the principle is basically consistent with that of the instant message processing device applied to the server, and specifically, the instant message processing device comprises:
the display module is used for providing an instant message interactive interface for displaying and inputting instant message contents;
the receiving module is used for receiving the instant message sending type instruction; the instant message sending type comprises a display account information type and a hidden account information type;
the acquisition module is used for acquiring the content of the instant message to be sent;
the processing module is used for processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, sending the instant message content and the identification information to the target account and displaying the instant message content and the identification information in a message display window of the instant message interaction interface in a correlated manner;
and when the instant message sending type instruction is of the type of displaying account information, acquiring the account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in a message display window of the instant message interaction interface in a mutual correlation manner.
Preferably, the instant message processing apparatus further comprises:
and the switching module is used for receiving the instant message sending type switching instruction and switching the instant message sending type according to the switching instruction.
Preferably, the instant message processing apparatus further comprises:
the judging module is used for judging whether a target account corresponding to the instant message sending type instruction exists in a preset authority list or not;
the processing module is further used for acquiring account information of the target account when the target account exists in a preset authority table, sending the instant message content and the account information to the target account and displaying the instant message content and the account information on a message display window of the instant message interaction interface; and when the target account does not exist in a preset authority table and the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, sending the instant message content and the identification information to the target account, and displaying the instant message content and the identification information in a message display window of the instant message interaction interface in a mutual association manner.
Preferably, the instant message processing apparatus further comprises:
the storage module is used for storing the corresponding relation between the target account and the identification information into a preset relation table;
the reporting module is used for reporting the identification information to a preset server when the identification information meets preset reporting conditions;
the searching module is used for searching a corresponding account in the relation table according to the reported identification information;
and the processing module is used for adding the searched account number into the preset authority table.
Preferably, the preset reporting condition includes that a matching degree between the instant message content corresponding to the identification information and a keyword in a preset database is greater than a preset value, or a message sending prohibition request sent by a preset account to the identification information is received.
Preferably, the instant message processing apparatus further comprises:
and the filling module is used for filling the preset background color into the display frame corresponding to the instant message content.
The invention further provides an instant message processing method. When the method is applied to a server, referring to fig. 7, the instant message processing method of this embodiment includes the steps of:
step S10, detecting an instant message sending request sent by a target account;
the instant message processing method provided by the embodiment is applied to the display processing of the instant message in the social network group by the instant communication client; the target account is an account which is logged in at the instant client and used for sending the instant message. The types of the instant message sending request comprise a display account information type and a hidden account information type. Specifically, after a chat interface of a social network group is opened in an instant messaging client, an instant message content input frame, an instant message content display frame and an instant message sending request button are displayed in the chat interface; when the instant message sending request button is triggered, the target account generates an instant message sending request, wherein the instant message sending request comprises the type of the instant message sending request and the instant message content input in the instant message content input box.
Step S11, according to the instant message sending request, obtaining the instant message content sent by the target account;
when an instant message sending request sent by a target account is received, extracting instant message content sent by the target account in the instant message sending request, wherein the instant message content comprises a character string input by a user in an instant message content input box.
Step S12, when the type of the instant message sending request is a hidden account information type, acquiring identification information corresponding to the target account, configured according to a preset configuration rule or configured randomly;
in this embodiment, before sending the instant message sending request, the type of the instant message sending request sent at the current time may be set, and when the type of the instant message sending request is a hidden account information type, the target account is in an anonymous display mode to send the instant message; and when the type of the instant message sending request is the type of displaying the account information, the target account is in a real-name display mode to send the instant message. Specifically, when the type of the instant message sending request is the type of displaying account information, the instant message can be processed in a normal manner, that is, the account information of the target account is correspondingly associated with the content of the instant message sent at the current time and then is displayed in a preset display window, wherein the account information comprises a nickname, a head portrait and the like of the account; and when the type of the instant message sending request is the hidden account information type, configuring or randomly configuring identification information corresponding to the target account by the background system according to a preset configuration rule. Specifically, the instant messages sent by the host state (target account) and the instant messages sent by the guest state (other accounts) are arranged in a preset display window according to the sending time sequence; the identification information is mainly used for distinguishing instant messages sent by the target account and instant messages sent by other accounts so as to facilitate reading of the messages. The preset rules can be randomly distributed for the background system, and can also be configured by a preset relation corresponding table. The specific mode can be set according to actual needs as long as account information is not reflected; the identification information may include an avatar and/or a nickname, such as an avatar and nickname that may be randomly assigned by the backend system. It should be noted that each account may be correspondingly provided with one identification information, one identification information may also be provided in each social network group, one identification information may also be provided in each group every time online and offline, and a specific form may be set according to actual needs, which is not further limited herein.
Step S13, displaying the instant message content and the identification information in a preset display window in a correlated manner.
In this embodiment, the preset display window is an instant message content display frame in the social network group chat interface, and an instant message sent by a host state (target account) and an instant message sent by a guest state (other account) are displayed in the instant message content display frame according to a time sequence of sending the instant messages. Specifically, each instant message can be displayed through a message bubble, the identification information can be displayed beside the message bubble, and one identification information is correspondingly displayed beside each message bubble, so that the instant message content and the identification information are correlated with each other, and the anonymous display of the instant message is realized. Because only the identification information is displayed and the account information is not displayed when the instant message is displayed, the operations of viewing the data, adding friends, proposing a social network group and the like cannot be realized.
The embodiment of the invention detects the instant message sending request sent by the target account; acquiring instant message content sent by the target account according to the instant message sending request; when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly configured and corresponds to the target account; and displaying the instant message content and the identification information in a preset display window in a mutual correlation manner. Therefore, anonymous display is realized, loss of account information is prevented, and the use safety of the account is improved. In addition, because the personalized input of the instant message, the diversified information input and selection are realized, the personalized requirements of the user are met.
Further, referring to fig. 8, based on the above embodiment, in the second embodiment of the instant message processing method according to the present invention, before the step S10, the method further includes:
step S14, receiving an instant message sending request type switching instruction, and switching the type of the instant message sending request according to the switching instruction.
An instant message sending request type switching button is further arranged in the social network group chat interface to realize type switching of the instant message sending request. For example, if the type of the current instant message sending request is a display account information type, an instant message sending request type switching instruction is generated when an instant message sending request type switching button is clicked, and the type of the current instant message sending request is switched to a hidden account information type according to the instant message sending request type switching instruction; and when the instant message sending request type switching button is clicked again, switching the type of the current instant message sending request to the type of the displayed account information again. The instant message sending request type switching button is arranged to receive the operation instruction of the user and generate the instant message sending request type switching instruction, so that the type switching of the instant message sending request is realized, the diversity change of the instant message sending is realized, and the operation difficulty of realizing the type switching of the instant message sending request is simplified.
Further, referring to fig. 9, based on any of the above embodiments, in a third embodiment of the instant message processing method according to the present invention, after step S11, the method further includes:
step S15, judging whether the target account exists in a preset authority list; if yes, go to step S16, otherwise go to step S12;
step S16, acquiring account information of the target account, and displaying the instant message content and the account information in the preset display window in a correlated manner.
The preset authority table is an authority table indicating whether an account can send an anonymous message in a social network group, and in this embodiment, the authority table is a blacklist table, that is, an account in the authority table cannot send an anonymous message, that is, when an instant message sending request is sent, an instant message must be sent in a type of displaying account information, and cannot be sent in a type of hiding account information. When the target account exists in the authority table, when the instant message sending request sent by the target account is of a hidden account information type or the instant message sending request type is switched, outputting prompt information to prompt a user that the instant message sending can be carried out only by the displayed account information type; when the instant message is sent, the target account can be obtained, whether the target account exists in the preset authority table or not is searched, and if yes, the instant message is displayed (real name display) according to the type of the displayed account information; if the current instant message does not exist in the preset authority list, judging the type of the instant message sending request sent by the target account, and sending the instant message according to the type of the instant message sending request.
Further, referring to fig. 10, based on the third embodiment, in a fourth embodiment of the instant message processing method according to the present invention, after step S12, the method further includes:
step S17, storing the corresponding relation between the target account and the identification information into a preset relation table;
step S13 is followed by:
step S18, when the identification information meets the preset report condition, reporting the identification information to a preset server;
step S19, searching an account in the relation table according to the reported identification information;
and step S20, adding the account obtained by searching into the preset authority table.
In this embodiment, the preset reporting condition includes that a matching degree between the instant message content corresponding to the identifier and a keyword in a preset database is greater than a preset value, or a request for prohibiting sending a message, which is sent by a preset account to the identifier, is received. The preset account is an account with management authority in the social network group; the preset database may be a phishing database for checking phishing websites or an advertisement database for detecting whether the transmitted instant message is an advertisement promotion.
When the social network group is applied, each time the target account sends an instant message, whether the target account needs to be configured with identification information is checked, if the target account needs to be configured with the identification information, the identification information is configured, and a record is generated in a relation table according to the configured identification information and the target account. If no new identification information is configured, it indicates that the record exists in the relationship table. After the target sends the instant message, the background automatically detects whether the sent instant message content is a phishing website or an advertisement, if so, the identification information corresponding to the instant message content can be reported; according to the reported identification information, corresponding account numbers in the relation table; and then adding the account number with the searched relation to the preset authority table, thereby forbidding the account number to anonymously send the instant message.
When the instant message is applied to the social network group, if the instant message is not detected to be a phishing website or an advertisement, an administrator (namely the preset account) in the social network group can click the identification information and input a request for prohibiting sending the message, and at the moment, the identification information is reported. According to the reported identification information, corresponding account numbers in the relation table; and then adding the account number with the searched relation to the preset authority table, thereby forbidding the account number to anonymously send the instant message.
Further, referring to fig. 11, based on any of the above embodiments, in a fourth embodiment of the instant message processing method according to the present invention, after step S13, the method further includes:
and step S21, filling a preset background color into the display frame corresponding to the instant message content.
In this embodiment, the content of the instant message is usually displayed by using a display box of a message bubble, so as to facilitate identifying whether the instant message is an anonymous message or a real-name message, and the display box of the content of the instant message corresponding to the anonymous message can be filled with a preset background color to achieve the purpose of reminding the user.
When the instant message processing method is applied to the client, the principle of the application of the instant message processing method to the server is basically consistent. Specifically, the instant message processing method comprises the following steps:
providing an instant message interactive interface for displaying and inputting instant message contents;
receiving an instant message sending type instruction; the instant message sending type comprises a display account information type and a hidden account information type;
acquiring instant message content to be sent;
processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, sending the instant message content and the identification information to the target account and displaying the instant message content and the identification information in a message display window of the instant message interaction interface in a correlated manner;
and when the instant message sending type instruction is of the type of displaying account information, acquiring the account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in a message display window of the instant message interaction interface in a mutual correlation manner.
Preferably, the receiving an instant messaging type instruction comprises:
receiving an instant message sending type switching instruction, and switching the type of instant message sending according to the switching instruction.
Preferably, after the obtaining of the content of the instant message to be sent, the method further includes:
judging whether a target account corresponding to the instant message sending type instruction exists in a preset authority table or not;
if so, acquiring account information of the target account, sending the instant message content and the account information to the target account and displaying the instant message content and the account information in a message display window of the instant message interaction interface;
if not, the step of acquiring the identification information corresponding to the target account configured according to the preset configuration rule or configured randomly when the instant message sending type instruction is the hidden account information type is executed.
Preferably, after acquiring the identification information corresponding to the target account configured according to the preset configuration rule or configured randomly, the method further includes:
storing the corresponding relation between the target account and the identification information into a preset relation table;
the sending the instant message content and the identification information to the target account and after the message display window of the instant message interaction interface is displayed, further comprising:
when the identification information meets a preset reporting condition, reporting the identification information to a preset server;
searching a corresponding account in the relation table according to the reported identification information;
and adding the searched account number into the preset authority table.
Preferably, the preset reporting condition includes that a matching degree between the instant message content corresponding to the identification information and a keyword in a preset database is greater than a preset value, or a message sending prohibition request sent by a preset account to the identification information is received.
Preferably, the sending the content of the instant message and the identification information to the target account and after the message display window of the instant message interaction interface is displayed further includes:
and filling a preset background color into the display frame corresponding to the instant message content.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes that can be directly or indirectly applied to other related technical fields using the contents of the present specification and the accompanying drawings are included in the scope of the present invention.

Claims (10)

1. An instant message processing method, comprising the steps of:
displaying an instant message content input frame, an instant message content display frame and an instant message sending request type switching button in a social network group chat interactive interface;
before sending the current instant message sending request, receiving a switching instruction of an instant message sending request type based on the triggering of the instant message sending request type switching button;
switching the type of the instant message sending request according to the switching instruction of the type of the instant message sending request; the type of the instant message sending request comprises a display account information type and a hidden account information type;
detecting an instant message sending request sent by a target account in the instant message content input box;
acquiring instant message content sent by the target account according to the instant message sending request;
if the target account exists in a preset authority table, acquiring account information of the target account, and displaying the instant message content and the account information in a preset display window in a mutual association manner;
if the target account does not exist in a preset authority table, when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account, and displaying the instant message content and the identification information in an instant message content display frame in a mutual association manner;
the identification information and the instant message content which are displayed in a correlated manner, and the account information and the instant message content which are displayed in a correlated manner are arranged in the preset display window according to the sending time sequence, and the preset background color is filled in the display frame corresponding to the instant message content which is correlated with the identification information, so as to highlight the instant message content which is correlated with the identification information.
2. The method for processing instant messages according to claim 1, wherein after acquiring the identification information corresponding to the target account configured according to the preset configuration rule or randomly configured, the method further comprises:
storing the corresponding relation between the target account and the identification information into a preset relation table;
after the instant message content and the identification information are displayed in a preset display window in a mutual correlation manner, the method further comprises the following steps:
when the identification information meets a preset reporting condition, reporting the identification information to a preset server;
searching a corresponding account in the relation table according to the reported identification information;
and adding the searched account number into the preset authority table.
3. The method as claimed in claim 2, wherein the preset reporting condition includes that a matching degree between the content of the instant message corresponding to the identification information and a keyword in a preset database is greater than a preset value, or a request for prohibiting sending the identification information is received from a preset account.
4. An instant message processing method, comprising the steps of:
providing an instant message interactive interface for displaying and inputting instant message contents, wherein the instant message interactive interface is a social network group chat interactive interface; displaying an instant message content input frame, an instant message content display frame and an instant message sending request type switching button in the social network group chat interactive interface;
before sending the current instant message sending request, receiving a switching instruction of an instant message sending request type based on the triggering of the instant message sending request type switching button;
switching the instant message sending type according to the switching instruction of the instant message sending request type; the instant message sending type comprises a display account information type and a hidden account information type;
receiving an instant message sending type instruction sent by a target account in the instant message content input box;
acquiring instant message content to be sent;
processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
if the target account exists in a preset authority table, acquiring account information of the target account, and displaying the instant message content and the account information in a preset display window in a mutual association manner;
if the target account does not exist in a preset authority table, when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or configured randomly and corresponds to the target account, sending the instant message content and the identification information to the target account, and displaying the instant message content and the identification information in an instant message content display frame in a mutual association manner;
when the instant message sending type instruction is of an account information display type, acquiring account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in an instant message content display frame in a mutual correlation manner;
the identification information and the instant message content which are displayed in a correlated manner, and the account information and the instant message content which are displayed in a correlated manner are arranged in the preset display window according to the sending time sequence, and the preset background color is filled in the display frame corresponding to the instant message content which is correlated with the identification information, so as to highlight the instant message content which is correlated with the identification information.
5. An instant message processing apparatus, comprising:
the display module is used for displaying an instant message content input frame, an instant message content display frame and an instant message sending request type switching button in the social network group chat interactive interface;
the switching module is used for receiving a switching instruction of an instant message sending request type based on the triggering of the instant message sending request type switching button before the current instant message sending request is sent, and switching the type of the instant message sending request according to the switching instruction of the instant message sending request type; the type of the instant message sending request comprises a display account information type and a hidden account information type;
the detection module is used for detecting an instant message sending request sent by the target account in the instant message content input box;
the message extraction module is used for acquiring the instant message content sent by the target account according to the instant message sending request;
the judging module is used for judging whether the target account exists in a preset authority table or not;
the acquisition module is used for acquiring identification information which is configured according to a preset configuration rule or randomly and corresponds to the target account when the type of the instant message sending request is a hidden account information type;
the display module is used for displaying the instant message content and the identification information in the instant message content display frame in a mutual correlation manner;
the display module is further used for acquiring account information of the target account when the target account exists in a preset authority table, and displaying the instant message content and the account information in a preset display window in a mutual association manner; when the target account does not exist in a preset authority table and when the type of the instant message sending request is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or configured randomly and corresponds to the target account;
the identification information and the instant message content which are displayed in a correlated manner, and the account information and the instant message content which are displayed in a correlated manner are arranged in the preset display window according to the sending time sequence;
and the filling module is used for filling a preset background color into the display frame corresponding to the instant message content associated with the identification information so as to highlight the instant message content associated with the identification information.
6. The instant message processing device of claim 5, wherein the instant message processing device further comprises:
the storage module is used for storing the corresponding relation between the target account and the identification information into a preset relation table;
the reporting module is used for reporting the identification information to a preset server when the identification information meets preset reporting conditions;
the searching module is used for searching a corresponding account in the relation table according to the reported identification information;
and the processing module is used for adding the searched account number into the preset authority table.
7. The instant message processing apparatus of claim 6, wherein the preset reporting condition includes that a matching degree between the instant message content corresponding to the identification information and a keyword in a preset database is greater than a preset value, or a request for prohibiting sending of the identification information is received from a preset account.
8. An instant message processing apparatus, comprising:
the display module is used for providing an instant message interactive interface for displaying and inputting instant message contents, and the instant message interactive interface is a social network group chat interactive interface; displaying an instant message content input frame, an instant message content display frame and an instant message sending request type switching button in the social network group chat interactive interface;
the switching module is used for receiving a switching instruction of the instant message sending request type based on the triggering of the instant message sending request type switching button before the current instant message sending request is sent, and switching the instant message sending type according to the switching instruction of the instant message sending request type; the instant message sending type comprises a display account information type and a hidden account information type;
the receiving module is used for receiving an instant message sending type instruction sent by the target account in the instant message content input box;
the acquisition module is used for acquiring the content of the instant message to be sent;
the processing module is used for processing the instant message content to be sent according to the selected instant message sending type instruction; wherein:
if the target account exists in a preset authority table, acquiring account information of the target account, and displaying the instant message content and the account information in a preset display window in a mutual association manner;
if the target account does not exist in a preset authority table, when the instant message sending type instruction is a hidden account information type, acquiring identification information which is configured according to a preset configuration rule or configured randomly and corresponds to the target account, sending the instant message content and the identification information to the target account, and displaying the instant message content and the identification information in an instant message content display frame in a mutual association manner;
when the instant message sending type instruction is of an account information display type, acquiring account information of the target account, sending the instant message content and the account information to the target account, and displaying the instant message content and the account information in an instant message content display frame in a mutual correlation manner;
the identification information and the instant message content which are displayed in a correlated manner, and the account information and the instant message content which are displayed in a correlated manner are arranged in the preset display window according to the sending time sequence, and the preset background color is filled in the display frame corresponding to the instant message content which is correlated with the identification information, so as to highlight the instant message content which is correlated with the identification information.
9. A storage medium, wherein a message processing program is stored in the storage medium; the message processing program when executed implements an instant message processing method as claimed in any one of claims 1 to 4.
10. An instant message processing device, comprising a processor and a memory;
wherein the memory is used for storing a message processing program;
the processor is configured to invoke a message handling program stored in the memory to perform the instant message handling method of any of claims 1-4.
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 CN105490913A (en) 2016-04-13
CN105490913B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510849B (en) * 2017-09-14 2021-06-25 腾讯科技(深圳)有限公司 Cloud-storage account authentication method and device
CN109995749B (en) * 2019-01-11 2021-08-17 刘高峰 User head portrait processing method, device and system
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

Family Cites Families (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
CN104038410B (en) * 2014-06-12 2017-04-05 上海高派信息科技有限公司 A kind of group member identity's information protecting method and system

Also Published As

Publication number Publication date
CN105490913A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN107645524B (en) Message pushing processing method and device
CN105704005B (en) Malicious user reporting method and device, and reported information processing method and device
US10491550B2 (en) Instant communication
US10291719B2 (en) Enabling communication while limiting access to user information
US20170041255A1 (en) Information transmission control method, apparatus, and system
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US11356498B2 (en) Method and a device for sharing a hosted application
WO2016153824A1 (en) Method and system for providing private chat within a group chat
CN107104874B (en) Resource sharing method, device, terminal and computer readable storage medium
CN109495467B (en) Method and device for updating interception rule and computer readable storage medium
CN105490913B (en) Instant message processing method and device
US10637805B2 (en) Instant messaging method, server, and storage medium
US9246925B2 (en) Method and system for third-party service platform login
US9633084B2 (en) Information searching method and device, and computer storage medium
US20210258271A1 (en) System and methods for integrating social network information
CN107659611B (en) Big data-based user head portrait generation method, device and system
CN106612226B (en) Instant messaging message processing method and device
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN103139257B (en) Sharing method in open platform and system
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
CN111084991A (en) Game-based chatting method, device, terminal and storage medium
WO2016202075A1 (en) Method and apparatus for sharing goods information
US20150149928A1 (en) Method, system and device for implementing an instant messaging application
CN105634882B (en) Network access equipment sharing method, device and system
CN104967525B (en) Method and device that news is shared, system

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