CN108462626B - Instant messaging information processing method, device and system - Google Patents

Instant messaging information processing method, device and system Download PDF

Info

Publication number
CN108462626B
CN108462626B CN201710090570.8A CN201710090570A CN108462626B CN 108462626 B CN108462626 B CN 108462626B CN 201710090570 A CN201710090570 A CN 201710090570A CN 108462626 B CN108462626 B CN 108462626B
Authority
CN
China
Prior art keywords
information
instant messaging
logic
logic setting
contact
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
CN201710090570.8A
Other languages
Chinese (zh)
Other versions
CN108462626A (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 CN201710090570.8A priority Critical patent/CN108462626B/en
Publication of CN108462626A publication Critical patent/CN108462626A/en
Application granted granted Critical
Publication of CN108462626B publication Critical patent/CN108462626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/226Delivery according to priorities

Abstract

The embodiment of the invention discloses a method, a device and a system for processing instant messaging information; after the instant messaging information is obtained, if the client corresponding to the recipient information is determined to be in the preset state, the contact list corresponding to the state can be obtained according to the recipient information, when the contact list contains the sender information, the logic setting information corresponding to the contact list is obtained, and then the logic setting information and the instant messaging information are sent to the client so that the client can process the instant messaging information according to the logic setting information; the scheme can greatly improve the flexibility of operation and avoid the missing of important information.

Description

Instant messaging information processing method, device and system
Technical Field
The invention relates to the technical field of communication, in particular to a method, a device and a system for processing instant messaging information.
Background
With the development of communication technology and the popularization of mobile terminals, communication modes among people are more and more diversified, and information transmission through an instant messaging tool is one of the ways.
In order to avoid disturbance of excessive information to users, most of existing instant messaging tools provide a "do not disturb" function, that is, a user can set a "do not disturb" time period, and during the "do not disturb" time period, if instant messaging information is received, a client can shield the instant messaging information, or receive the instant messaging information but not remind the user, and the like, so that the user is not disturbed by the instant messaging information during the time period. In addition, after the disturbance-free period, the user can be reminded, and a corresponding interface for viewing the shielded information is provided for the user.
During the research and practice process of the prior art, the inventor of the present invention finds that although the prior art has poor flexibility, for example, although it can reduce the harassment of the user by too much information to a certain extent, it is very easy to cause the situation that the user receives important instant messaging information too much, and so on.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for processing instant messaging information, which can improve the flexibility of operation and avoid the missing of important information.
The embodiment of the invention provides a method for processing instant messaging information, which comprises the following steps:
acquiring instant communication information, wherein the instant communication information comprises sender information and receiver information;
when the client corresponding to the recipient information is determined to be in a preset state, acquiring a contact list corresponding to the state according to the recipient information;
when the contact person list is determined to contain the sender information, logic setting information corresponding to the contact person list is obtained;
and sending the logic setting information and the instant messaging information to the client so that the client processes the instant messaging information according to the logic setting information.
The embodiment of the invention also provides another processing method of instant messaging information, which comprises the following steps:
receiving logic setting information and instant messaging information sent by a server, wherein the logic setting information is obtained by the server according to the instant messaging information and a preset contact list;
acquiring a corresponding display strategy according to the logic setting information;
and displaying the instant messaging information based on the display strategy.
Correspondingly, an embodiment of the present invention further provides an apparatus for processing instant messaging information, including:
the information acquisition unit is used for acquiring instant messaging information, and the instant messaging information comprises sender information and receiver information;
the list acquisition unit is used for acquiring a contact list corresponding to the state according to the recipient information when the client corresponding to the recipient information is determined to be in the preset state;
the logic acquisition unit is used for acquiring logic setting information corresponding to the contact list when the contact list contains the sender information;
and the sending unit is used for sending the logic setting information and the instant messaging information to the client so that the client can process the instant messaging information according to the logic setting information.
Correspondingly, an embodiment of the present invention further provides a device for receiving instant messaging information, including:
the receiving unit is used for receiving logic setting information and instant messaging information sent by the server, wherein the logic setting information is obtained by the server according to the instant messaging information and a preset contact list;
the acquisition unit is used for acquiring a corresponding display strategy according to the logic setting information;
and the display unit is used for displaying the instant messaging information based on the display strategy.
In addition, the embodiment of the present invention further provides a system for processing an instant messaging message, which may include any one of the processing apparatuses for an instant messaging message and any one of the receiving apparatuses for an instant messaging message provided in the embodiment of the present invention.
According to the embodiment of the invention, the contact list is set in the server, so that when the client is in the preset state, the server can determine whether to perform distinguishing processing on the obtained instant messaging information according to the contact list, and when the fact that the instant messaging information needs to be distinguished is determined, the logic setting information corresponding to the contact list is obtained to be provided for the client, so that the client can process the instant messaging information based on the logic setting information, and therefore, the purpose of processing the instant messaging information of different contacts by adopting different logics in the preset state is achieved, the flexibility of operation is greatly improved, and the missing of important information is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic view of a scenario of a system for processing an instant messaging message according to an embodiment of the present invention;
fig. 1b is a flowchart of a method for processing an instant messaging message according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for processing an instant messaging message according to an embodiment of the present invention;
fig. 3a is a flow chart illustrating setting of an important contact list in a method for processing instant messaging information according to an embodiment of the present invention;
fig. 3b is a flowchart of information processing in the method for processing instant messaging information according to the embodiment of the present invention;
fig. 4a is a schematic structural diagram of an apparatus for processing an instant messaging message according to an embodiment of the present invention;
fig. 4b is another schematic structural diagram of an apparatus for processing an instant messaging message according to an embodiment of the present invention;
fig. 5a is a schematic structural diagram of an instant messaging information receiving apparatus according to an embodiment of the present invention;
fig. 5b is another schematic structural diagram of an instant messaging information receiving apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method, a device and a system for processing instant messaging information.
The instant messaging information processing system may include any one of the instant messaging information processing devices and the instant messaging information receiving devices provided in the embodiments of the present invention, and the instant messaging information processing device and the instant messaging information receiving device may be integrated in the server and the terminal, respectively.
For example, referring to fig. 1a, a contact list may be set in a server, so that when a recipient client is in a preset state, such as an undisturbed state, the server may determine whether to perform differentiated processing on the obtained instant messaging information (i.e. instant messaging information sent by a sender client) according to the contact list, for example, taking the contact list as an important contact list, if the important contact list includes the sender information of the instant messaging information, it may be determined that the sender is an important contact, and therefore, it is necessary to perform differentiated processing on the information, so that at this time, logic setting information corresponding to the contact list may be obtained, and then, the logic setting information and the instant messaging information are provided to the recipient client together, so that the recipient client may process the instant messaging information based on the logic setting information, for example, a corresponding display policy may be obtained according to the logic setting information, and the instant messaging information may be displayed based on the display policy, so as to achieve the purpose of processing the instant messaging information of different contacts by using different logics in the preset state.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
The first embodiment,
The present embodiment will be described from the perspective of an instant messaging information processing apparatus, which may be specifically integrated in a server or the like.
A processing method of instant messaging information comprises the following steps: the method comprises the steps of obtaining instant communication information, wherein the instant communication information comprises sender information and recipient information, obtaining a contact list corresponding to the state according to the recipient information when determining that a client corresponding to the recipient information is in a preset state, obtaining logic setting information corresponding to the contact list when determining that the contact list contains the sender information, and sending the logic setting information and the instant communication information to the client so that the client can process the instant communication information according to the logic setting information.
As shown in fig. 1b, a specific flow of the instant messaging information processing method may be as follows:
101. instant messaging information is obtained, wherein the instant messaging information can comprise sender information and recipient information.
For example, instant messaging information sent by a sender client, such as chat information of an instant chat application, private messages, or messages in other formats, etc., may be specifically received.
The sender information may include a user identifier and/or a terminal identifier of the sender, the recipient information may include a user identifier and/or a terminal identifier of the recipient, the user identifier may include a user name, an email account, and/or an instant messaging tool account, and the like, and the terminal identifier may include a Mobile Equipment International Identity Code (IMEI), a Mobile Equipment Network Code (MNC), and/or a Subscriber Identity Module (SIM) Code, and the like.
102. And when the client corresponding to the recipient information is determined to be in a preset state, acquiring a contact list corresponding to the state according to the recipient information.
For example, the contact list corresponding to the status may be specifically obtained from a local (i.e., server) storage space or other storage device according to the recipient information.
Optionally, in order to improve the reading and writing speed, a memory storage may be used to store the contact list, where the memory storage refers to storing the contact list in a memory of the server, that is, the step "obtaining the contact list corresponding to the state according to the recipient information" may specifically be:
and acquiring a contact list corresponding to the state from a memory storage according to the recipient information.
The preset state and the contact list can be set according to the requirements of practical application, the contact list can be single or multiple, for example, a corresponding contact list can be set for each state of the client, for example, in a 'disturbance-free' state or a 'break-for-a-moment' state, a corresponding important contact list can be set, so that instant messaging information of contacts in the important contact list is not shielded; for another example, in an "outdoor" state, a corresponding close contact list may be set, so that the prompt tone of the instant messaging information of the contact in the close contact list may be different from other information, and so on.
Optionally, the contact list may be pre-stored in the server, or may be set up and maintained by the user, that is, before the step "obtaining the corresponding contact list according to the recipient information", the method for processing the instant messaging information may further include:
receiving a contact person setting request sent by a client, and setting a contact person list according to the contact person setting request, wherein the contact person setting request can carry information such as user identification, state identification and contact person information required to be set.
The user identifier may include a user name, an email account, and/or an instant messaging tool account, the state identifier is used to indicate a current state of the client, such as a "do not disturb" state, a "rest" state, or an "outdoor" state, and the like, and the contact information may include a user identifier of the contact and/or an identifier of a terminal (i.e., a terminal identifier) where the used client is located.
For example, after receiving the contact setting request, the corresponding contact list may be obtained according to the user identifier and the state identifier carried in the contact setting request, and then the contact information that needs to be set may be added or deleted according to the request of the user. It should be noted that, if there is no corresponding contact list, the contact list may be established, which is not described herein again.
In addition, optionally, when the contact list is updated, the updated contact list may be synchronized with all the clients corresponding to the recipient information, for example, a user logs in through the same account on a plurality of clients, and then, when the user logs in through one of the clients a, the processing device (for example, a server) of the instant messaging information may synchronize the updated contact list with the client a, so that the user may also know the latest contact list on the client a.
103. When determining that the contact list contains the sender information, acquiring logic setting information corresponding to the contact list; for example, the following may be specifically mentioned:
and acquiring a logic setting information set corresponding to the recipient information, and selecting logic setting information corresponding to the contact list from the logic setting information set.
Wherein the set of logic setting information comprises at least one correspondence between the logic setting information and the contact list.
For example, if two contact lists are set under the user a account, one corresponding to the "do not disturb" state and one corresponding to the "outdoor" state, corresponding logic setting information may be set for the two contact lists, respectively, and the two logic setting information may be the same or different, for example, for the contact list in the "do not disturb" state, the processing logic indicated by the logic setting information may be: "for the instant messaging information sent by the contact in the contact list, the instant messaging information can be received in a non-disturbing state, and a preset special ring tone is adopted for notification"; and for the contact list of the "outdoor" state, the processing logic indicated by the logic setting information may be: "for the instant messaging information sent by the contact in the contact list, the instant messaging information can be received in an outdoor state, and the notification is carried out by adopting the ring tone with the maximum volume and vibration", and the like.
The logic setting information may be set according to the requirements of the actual application, the logic setting information may be pre-stored in the server, or may be set by the user, that is, before the step "obtaining the logic setting information corresponding to the contact list", the processing method of the instant messaging information may further include:
receiving a logic setting request sent by a client, wherein the logic setting request indicates a contact list needing to be processed with logic setting, and setting the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
104. And sending the logic setting information and the instant messaging information to the client so that the client processes the instant messaging information according to the logic setting information.
For example, the client may obtain a corresponding display policy according to the logic setting information, and display the instant messaging information based on the display policy, and the like.
Therefore, in this embodiment, by setting the contact list in the server, when the client is in the preset state, the server may determine whether to perform differentiated processing on the obtained instant messaging information according to the contact list, and when it is determined that the instant messaging information needs to be differentiated processed, obtain the logic setting information corresponding to the contact list, so as to provide the logic setting information to the client, so that the client may process the instant messaging information based on the logic setting information, thereby achieving the purpose of processing the instant messaging information of different contacts by using different logics in the preset state, greatly improving the flexibility of operation, and avoiding missing of important information.
Example II,
In this embodiment, a receiving apparatus of instant messaging information will be described from the perspective, where the receiving apparatus of instant messaging information may specifically be a client and integrated in a terminal and other devices, and the terminal may include a mobile phone, a tablet computer, a notebook computer, or a PC and other devices.
A processing method of instant messaging information comprises the following steps: receiving logic setting information and instant messaging information sent by a server, acquiring a corresponding display strategy according to the logic setting information, and displaying the instant messaging information based on the display strategy.
As shown in fig. 2, a specific flow of the instant messaging information processing method may be as follows:
201. and receiving logic setting information and instant messaging information sent by the server.
The logic setting information is obtained by the server according to the instant messaging information and the preset contact list, which may be specifically referred to in embodiment one and is not described herein again.
The contact list may be set according to the requirements of the actual application, may be pre-stored in the server, or may be set by the user, that is, optionally, before the step "receiving the logic setting information and the instant messaging information sent by the server", the processing method of the instant messaging information may further include:
and sending a contact person setting request to the server, wherein the contact person setting request carries a user identifier, a state identifier, contact person information to be set and the like, so that the server can set a contact person list according to the contact person setting request.
For example, a corresponding setting interface may be set in a display interface of a contact, such as a "contact details" interface, for a user to set the property of the contact, that is, the step "sending a contact setting request to a server" may include:
the method comprises the steps of displaying a display interface of a contact person needing to be set, wherein the display interface comprises a setting interface, acquiring a setting trigger instruction through the setting interface, generating a contact person setting request according to the setting trigger instruction, and sending the generated contact person setting request to a server.
Similarly, the content of the logic setting information may also be set according to the requirement of the actual application, and specifically may be pre-stored in the server, or may be set by the user, that is, optionally, before the step "receiving the logic setting information and the instant messaging information sent by the server", the processing method of the instant messaging information may further include:
and sending a logic setting request to the server, wherein the logic setting request indicates a contact list needing to be processed with logic setting, so that the server can set the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
202. And acquiring a corresponding display strategy according to the logic setting information.
The display policy may be set according to a requirement of an actual application, and specifically may include settings in aspects of a ringing mode, an information reminding mode, and/or an information display mode, that is, the step "obtaining a corresponding display policy according to the logic setting information" may include:
and acquiring a corresponding ringing mode, an information reminding mode, an information display mode and/or the like according to the logic setting information.
The ringing mode may include ringing, volume of ringing, whether to start vibration mode, etc.; the information reminding style can comprise whether the reminding message is displayed in the notification bar, whether the reminding message is displayed in the screen locking interface, the display position of the reminding message in the screen and the like; the message display style may include a font, a color, and whether to be highlighted in the screen, etc. of the instant messenger message. The ringing mode, the information reminding mode and/or the information display mode can be set according to the preference of the user, and are not described herein again.
203. And displaying the instant messaging information based on the display strategy.
For example, taking the display policy including a ring mode, an information reminding mode, and/or an information display mode as an example, at this time, the instant messaging information may be specifically displayed according to the ring mode, the information reminding mode, and/or the information display mode.
For example, the corresponding ring tone can be obtained according to the ringing mode, and the ring tone is played when the user is notified according to the information reminding pattern; and displaying the instant messaging information according to the information display style when the user views the instant messaging information, and the like.
Optionally, the contact list may be included in the receiving device of the instant messaging information for the user to view. In addition, if the contact list stored in the server is updated, the synchronization operation triggered by the server on the updated contact list can be received, so as to ensure that the contact list stored in the receiving device can be up-to-date.
As can be seen from the above, the embodiment can receive the logic setting information and the instant messaging information sent by the server, then obtain the corresponding display strategy according to the logic setting information, and display the instant messaging information based on the display strategy, thereby achieving the purpose that the instant messaging information for different contacts can be processed by adopting different logics, greatly improving the flexibility of the operation thereof, and avoiding the missing of important information; moreover, because the logic setting information is obtained by the server, the client only needs to execute the logic setting, so that the load of the equipment (namely the terminal) to which the client belongs can be greatly reduced, and the performance of the terminal is favorably improved.
Example III,
The method according to the embodiments one and two will be described in further detail below by way of example.
In this embodiment, an example will be described in which a processing device of the instant messaging information is specifically integrated in the server, a receiving device of the instant messaging information is specifically integrated in the client, and the preset state is specifically a "do not disturb" state, and the contact list is specifically an important contact list.
First, a contact list needs to be preset in the server, for example, taking an important contact list in a "do not disturb" state as an example, as shown in fig. 3a, in the processing method of instant messaging information, a setting flow of the important contact list may specifically be as follows:
a301, the client sends a contact person setting request to the server, and the contact person setting request can carry information such as user identification, state identification and contact person information needing to be set.
For example, a corresponding setting interface may be set up on a display interface of the contact, for example, a trigger key is set up in a "contact details" interface, and when the user selects the trigger key, the client generates a corresponding setting trigger instruction, and generates a contact setting request according to the setting trigger instruction.
And A302, after receiving the contact person setting request, the server sets an important contact person list according to the contact person setting request.
For example, a corresponding important contact list may be obtained according to the user identifier and the state identifier carried therein, and if the important contact list can be obtained, the contact information that needs to be set is added or deleted in the important contact list according to a request of the user; if the important contact list is not obtained, for example, the important contact list does not exist, the important contact list may be established, and the contact information that needs to be set may be added to the important contact list.
For example, if the user identifier is "account X", the status identifier indicates that the current status of the client is "do not disturb" status, the contact information to be set is zhang, and the phone number thereof is 123456789, for example, after receiving the contact setting request, the server may query all contact lists under "account X", determine a contact list corresponding to the "do not disturb" status from the found contact lists, obtain an important contact list, and then add or delete the contact information in the important contact list according to the request of the user, that is, add or delete zhang, and zhang's phone number 123456789, and so on.
In addition, optionally, when the important contact list is updated, the updated important contact list may be synchronized with all the clients corresponding to the recipient information, that is, the setting process may further include step a303, as follows:
and A303, the server synchronizes the updated important contact list with all the clients corresponding to the recipient information.
For example, if the user a has 3 clients, such as the client 1, the client 2, and the client 3, and the three clients all use the same account X for login, when the important contact list in the "do not disturb" state corresponding to the account X is updated, the server may synchronize the updated important contact list to the client 1, the client 2, and the client 3, respectively, and so on.
It should be noted that, if synchronization is not possible because one of the clients, for example, the client 1 is not logged in, the updated important contact list may be synchronized to the client 1 after the client 1 logs in.
Secondly, after the contact list is set, the server may process the instant messaging information sent to the client based on the contact list, for example, referring to fig. 3b, an information processing flow in the instant messaging information processing method may specifically be as follows:
b301, the server acquires instant messaging information, wherein the instant messaging information can comprise sender information and recipient information.
The sender information may include a user identifier and/or a terminal identifier of the sender, the recipient information may include a user identifier and/or a terminal identifier of the recipient, the user identifier may include a user name, an email account, and/or an instant messaging tool account, and the like, and the terminal identifier may include an IMEI, an MNC, and/or a SIM card number, and the like.
And B302, when the server determines that the client (namely the recipient client) corresponding to the recipient information is in the disturbance-free state, acquiring an important contact list from the memory storage according to the recipient information.
B303, the server determines whether the sender information of the instant messaging information is located in the important contact list, if yes, step B304 is executed, and if no, the instant messaging information is processed according to a preset policy, for example, the instant messaging information can be shielded or delayed to be sent, and the like.
For example, taking the case that the user a sets zhangsan (phone number 123456789) as an important contact, when the sender of the instant messaging message is zhangsan (e.g., phone number 123456789), since the zhangsan information is located in the important contact list, step B304 may be performed at this time, whereas if the sender of the instant messaging message is lie four (phone number 987654321), since there is no lie four information in the important contact list, at this time, the instant messaging message may be processed according to a preset policy, such as being able to be masked, or delayed to send, and so on.
The preset policy may be set according to the requirements of the actual application, and is not described herein again.
B304, the server acquires a logic setting information set corresponding to the recipient information, and selects logic setting information corresponding to the important contact list from the logic setting information set.
Wherein the set of logic setting information comprises at least one correspondence between the logic setting information and the contact list.
For example, if two contact lists are set under the user a account, one corresponding to the "do not disturb" state and the other corresponding to the "outdoor" state, corresponding logic setting information may be set for the two contact lists, respectively, as follows:
for the contact list in the "do not disturb" state (i.e. the important contact list), the processing logic indicated by the logic setting information may be: "for the instant messaging information sent by the contact in the contact list, the instant messaging information can be received in a non-disturbing state, and a preset special ring tone is adopted for notification".
And for the contact list of the "outdoor" state, the processing logic indicated by the logic setting information may be: "for the instant messaging information sent by the contact in the contact list, the instant messaging information can be received in an outdoor state, and the notification is carried out by adopting the ring tone with the maximum volume and vibration", and the like.
In this way, at this time, the logic setting information corresponding to the important contact list can be selected from the logic setting information set, that is, "the instant messaging information sent by the contacts in the contact list can be received in a non-disturbing state, and a preset special ring is adopted for notification".
The logic setting information may be set according to the requirements of the actual application, and the logic setting information may be stored in the server in advance, or may be set by the user, which may specifically refer to the foregoing embodiment, and is not described herein again.
B305, the server sends the logic setting information and the instant messaging information to the client corresponding to the recipient information.
After receiving the logic setting information and the instant messaging information, the client acquires a corresponding display strategy, such as a ringing mode, an information reminding mode, and/or an information display mode, according to the logic setting information.
The ringing mode may include ringing, volume of ringing, whether to start vibration mode, etc.; the information reminding style can comprise whether the reminding message is displayed in the notification bar, whether the reminding message is displayed in the screen locking interface, the display position of the reminding message in the screen and the like; the message display style may include a font, a color, and whether to be highlighted in the screen, etc. of the instant messenger message.
The ringing mode, the information reminding mode and/or the information display mode can be set according to the preference of the user, and are not described again here.
And B307, the client displays the instant messaging information according to the display strategy, such as according to the ringing mode, the information reminding mode and/or the information display mode.
For example, the corresponding ring tone can be obtained according to the ringing mode, and the ring tone is played when the user is notified according to the information reminding pattern; and displaying the instant messaging information according to the information display style when the user views the instant messaging information, and the like.
Therefore, in this embodiment, by setting the important contact list in the server, when the client is in the disturbance-free state, the server may determine whether the received instant messaging information is sent by the important contact according to the important contact list, and when it is determined that the received instant messaging information is sent by the important contact, obtain the logic setting information corresponding to the important contact list, so as to provide the received instant messaging information to the client, so that the client can perform special processing on the instant messaging information based on the logic setting information, thereby achieving the purpose of performing processing on the instant messaging information of different contacts by using different logics in the disturbance-free state, greatly improving the flexibility of operation thereof, avoiding missing of the important information, and facilitating improvement of user experience.
Example four,
In order to better implement the above method, an embodiment of the present invention further provides a processing apparatus for instant messaging information, which is referred to as a processing apparatus for short, and may be specifically integrated in a device such as a server.
As shown in fig. 4a, the processing apparatus includes an information acquisition unit 401, a list acquisition unit 402, a logic acquisition unit 403, and a transmission unit 404, as follows:
(1) an information acquisition unit 401;
an information obtaining unit 401, configured to obtain instant messaging information, where the instant messaging information includes sender information and recipient information.
The sender information may include a user identifier and/or a terminal identifier of the sender, the recipient information may include a user identifier and/or a terminal identifier of the recipient, the user identifier may include a user name, an email account, and/or an instant messaging tool account, and the like, and the terminal identifier may include an IMEI, an MNC, and/or a SIM code, and the like.
(2) A list acquisition unit 402;
a list obtaining unit 402, configured to obtain, according to the recipient information, a contact list corresponding to the state when it is determined that the client corresponding to the recipient information is in a preset state.
For example, the list obtaining unit 402 may be specifically configured to obtain, according to the recipient information, a contact list corresponding to the status from a local storage space or another storage device.
Optionally, in order to improve the read-write speed, the contact list may be stored by using a memory, that is:
the list obtaining unit 402 may be specifically configured to obtain the contact list corresponding to the state from the memory storage according to the recipient information.
For example, a corresponding contact list may be set for each state of the client, and so on, which may be specifically referred to in the foregoing embodiments and will not be described herein again.
(3) A logic acquisition unit 403;
a logic obtaining unit 403, configured to obtain logic setting information corresponding to the contact list when determining that the sender information is included in the contact list.
For example, the logic obtaining unit 403 may be specifically configured to obtain a logic setting information set corresponding to the recipient information, and select logic setting information corresponding to the contact list from the logic setting information set.
Wherein the set of logic setting information comprises at least one correspondence between the logic setting information and the contact list.
(4) A transmission unit 404;
a sending unit 404, configured to send the logic setting information and the instant messaging information to the client, so that the client processes the instant messaging information according to the logic setting information.
For example, the client may obtain a corresponding display policy according to the logic setting information, and display the instant messaging information based on the display policy, and the like.
The contact list and the logic setting information may be set according to the requirements of the actual application, the contact list may be pre-stored in the server, or may be set up and maintained by the user, that is, as shown in fig. 4b, the processing apparatus may further include a list setting unit 405, as follows:
the information obtaining unit 401 may further be configured to receive a contact setting request sent by the client, where the contact setting request carries the user identifier, the state identifier, and the contact information that needs to be set.
The user identifier may include a user name, an email account, and/or an instant messaging tool account, the state identifier is used to indicate a current state of the client, such as a "do not disturb" state, a "rest" state, or an "outdoor" state, and the like, and the contact information may include a user identifier of the contact and/or an identifier of a terminal (i.e., a terminal identifier) where the used client is located.
A list setting unit 405 may be configured to set the contact list according to the contact setting request.
In addition, optionally, when the contact list is updated, the list setting unit 405 may further synchronize the updated contact list with all clients corresponding to the recipient information, for details, see the foregoing embodiment, and no further description is given here.
Similar to the setting of the contact list, the logic setting information may be pre-stored in the server, or may be set by the user, that is, as shown in fig. 4b, the processing device may further include a logic setting unit 406, as follows:
the information obtaining unit 401 may further be configured to receive a logic setting request sent by the client, where the logic setting request indicates a contact list that needs to be processed for logic setting;
the logic setting unit 406 may be configured to set the processing logic of the indicated contact list according to the logic setting request, so as to obtain logic setting information.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in this embodiment, a contact list is set in a processing device (e.g., a server), so that when a client is in a preset state, the list obtaining unit 402 of the processing device can determine whether to perform differentiated processing on the obtained instant messaging information according to the contact list, and when it is determined that the instant messaging information needs to be processed differently, the logic obtaining unit 403 obtains logic setting information corresponding to the contact list, and the logic setting information is provided to the client through the sending unit 404, so that the client can process the instant messaging information based on the logic setting information, thereby achieving the purpose of processing the instant messaging information of different contacts by using different logics in the preset state, greatly improving flexibility of operation, and avoiding missing of important information.
Example V,
Correspondingly, an embodiment of the present invention further provides a receiving apparatus for instant messaging information, referred to as receiving apparatus for short, as shown in fig. 5a, the receiving apparatus includes a receiving unit 501, an obtaining unit 502, and a display unit 503, as follows:
(1) a receiving unit 501;
the receiving unit 501 is configured to receive logic setting information and instant messaging information sent by a server.
The logic setting information is obtained by the server according to the instant messaging information and the preset contact list, which may be referred to in the foregoing embodiments specifically, and is not described herein again.
(2) An acquisition unit 502;
an obtaining unit 502, configured to obtain a corresponding display policy according to the logic setting information.
For example, the obtaining unit 502 may be specifically configured to obtain a corresponding ringing mode, an information reminding mode, and/or an information display mode according to the logic setting information.
The ringing mode may include ringing, volume of ringing, whether to start vibration mode, etc.; the information reminding style can comprise whether the reminding message is displayed in the notification bar, whether the reminding message is displayed in the screen locking interface, the display position of the reminding message in the screen and the like; the message display style may include a font, a color, and whether to be highlighted in the screen, etc. of the instant messenger message. The ringing mode, the information reminding mode and/or the information display mode can be set according to the preference of the user, and are not described herein again.
(3) A display unit 503;
a display unit 503, configured to display the instant messaging information based on the display policy.
For example, taking the display policy including a ring mode, an information reminding pattern, and/or an information display pattern as an example, at this time:
the display unit 503 may be specifically configured to display the instant messaging information according to the ringing mode, the information reminding style, and/or the information display style, for example, specifically, the following may be used:
acquiring corresponding ring according to the ring mode, and playing the ring when notifying a user according to the information reminding style; and displaying the instant messaging information according to the information display style when the user views the instant messaging information.
Optionally, the contact list may be set by the user, i.e. as shown in fig. 5b, the receiving apparatus may further include a setting unit 504, as follows:
the setting unit 504 may be configured to send a contact setting request to the server, where the contact setting request carries a user identifier, a status identifier, contact information to be set, and the like, so that the server sets the contact list according to the contact setting request.
For example, a corresponding setting interface may be set in a display interface of a contact, such as a "contact details" interface, for a user to set the property of the contact, that is:
the setting unit 504 may be specifically configured to display a display interface of a contact person to be set, where the display interface includes a setting interface, and obtains a setting trigger instruction through the setting interface, generates a contact person setting request according to the setting trigger instruction, and sends the generated contact person setting request to the server.
Similarly, the content of the logic setting information may also be set by the user, that is:
the setting unit 504 may be further configured to send a logic setting request to the server, where the logic setting request indicates a contact list that needs to be processed with logic setting, so that the server sets the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The receiving apparatus may be specifically integrated in a terminal and the like, and the terminal may include a mobile phone, a tablet computer, a notebook computer, a PC and the like.
As can be seen from the above, the receiving unit 501 of the receiving apparatus of this embodiment can receive the logic setting information and the instant messaging information sent by the server, then the obtaining unit 502 obtains the corresponding display policy according to the logic setting information, and the display unit 503 displays the instant messaging information based on the display policy, so as to achieve the purpose that the instant messaging information for different contacts can be processed by using different logics, thereby greatly improving the flexibility of the operation thereof and avoiding the missing of important information; moreover, because the logic setting information is obtained by the server, the client only needs to execute the logic setting, so that the load of the equipment (namely the terminal) to which the client belongs can be greatly reduced, and the performance of the terminal is favorably improved.
Example six,
In addition, an embodiment of the present invention further provides a system for processing instant messaging information, which includes any one of the processing devices and the receiving device provided in the embodiment of the present invention, where the processing device may be specifically integrated in a device such as a server, and the receiving device may be specifically a client, and may be integrated in a terminal, for example, as follows:
the server is used for obtaining instant messaging information, the instant messaging information comprises addresser information and addressee information, when the client corresponding to the addressee information is determined to be in a preset state, the contact list corresponding to the state is obtained according to the addressee information, when the contact list contains the addresser information, the logic setting information corresponding to the contact list is obtained, and the logic setting information and the instant messaging information are sent to the client.
And the client is used for receiving the logic setting information and the instant messaging information sent by the server, acquiring a corresponding display strategy according to the logic setting information, and displaying the instant messaging information based on the display strategy.
The specific implementation of each device can be referred to the previous embodiment, and is not described herein again.
Since the processing system of the instant messaging information may include any processing device and receiving device provided in the embodiment of the present invention, beneficial effects that can be achieved by any processing device and receiving device provided in the embodiment of the present invention can be achieved.
Example seven,
An embodiment of the present invention further provides a server, as shown in fig. 6, which shows a schematic structural diagram of the server according to the embodiment of the present invention, specifically:
the server may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the server architecture shown in FIG. 6 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 601 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the server. Optionally, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
The server further includes a power supply 603 for supplying power to each component, and preferably, the power supply 603 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
The server may also include an input unit 604, which input unit 604 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. The input unit 604 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Although not shown, the server may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 601 in the server loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions as follows:
the method comprises the steps of obtaining instant communication information, wherein the instant communication information comprises sender information and recipient information, obtaining a contact list corresponding to the state according to the recipient information when determining that a client corresponding to the recipient information is in a preset state, obtaining logic setting information corresponding to the contact list when determining that the contact list contains the sender information, and sending the logic setting information and the instant communication information to the client so that the client can process the instant communication information according to the logic setting information.
Optionally, in order to improve the reading and writing speed, the contact list may be stored by using a memory, and in addition, both the preset state and the contact list may be set according to the requirements of the practical application, and the contact list may be single or multiple, for example, a corresponding contact list may be set for each state of the client, for example, in a "disturbance-free" state or a "rest for a moment" state, a corresponding important contact list may be set, so that the instant messaging information of the contacts in the important contact list is not shielded; for another example, in an "outdoor" state, a corresponding close contact list may be set, so that the prompt tone of the instant messaging information of the contact in the close contact list may be different from other information, and so on.
Optionally, the contact list and the logic setting information may be pre-stored in the server, and may also be set by the user, that is, the application program stored in the memory 602 may also implement the following functions:
receiving a contact person setting request sent by a client, and setting a contact person list according to the contact person setting request, wherein the contact person setting request can carry information such as user identification, state identification and contact person information required to be set.
And receiving a logic setting request sent by the client, wherein the logic setting request indicates a contact list needing to be processed with logic setting, and processing logic of the indicated contact list is set according to the logic setting request to obtain logic setting information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Therefore, in this embodiment, by setting the contact list in the server, when the client is in the preset state, the server may determine whether to perform differentiated processing on the obtained instant messaging information according to the contact list, and when it is determined that the instant messaging information needs to be differentiated processed, obtain the logic setting information corresponding to the contact list, so as to provide the logic setting information to the client, so that the client may process the instant messaging information based on the logic setting information, thereby achieving the purpose of processing the instant messaging information of different contacts by using different logics in the preset state, greatly improving the flexibility of operation, and avoiding missing of important information.
Example eight,
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 7, which may include Radio Frequency (RF) circuit 701, memory 702 including one or more computer-readable storage media, an input unit 703, a display unit 704, a sensor 705, an audio circuit 706, a Wireless Fidelity (WiFi) module 707, a processor 708 including one or more processing cores, and a power supply 709. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 708 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 701 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 701 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 702 may be used to store software programs and modules, and the processor 708 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 702 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 702 may also include a memory controller to provide the processor 708 and the input unit 703 access to the memory 702.
The input unit 703 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 703 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 708, and can receive and execute commands sent by the processor 708. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 703 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 704 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 704 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is communicated to the processor 708 to determine the type of touch event, and the processor 708 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 706, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 706 can transmit the electrical signal converted from the received audio data to a loudspeaker, and the electrical signal is converted into a sound signal by the loudspeaker and output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 706 and converted into audio data, which is then processed by the audio data output processor 708, and then transmitted to, for example, another terminal via the RF circuit 701, or the audio data is output to the memory 702 for further processing. The audio circuitry 706 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 707, and provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 707, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 708 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the handset. Optionally, processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 708.
The terminal also includes a power source 709 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 708 via a power management system that may be configured to manage charging, discharging, and power consumption. The power supply 709 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 708 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 708 runs the application programs stored in the memory 702, thereby implementing various functions:
receiving logic setting information and instant messaging information sent by a server, acquiring a corresponding display strategy according to the logic setting information, and displaying the instant messaging information based on the display strategy.
For example, the corresponding ringing mode, information reminding pattern, and/or information display pattern, etc. are obtained according to the logic setting information, and then the instant messaging information is displayed according to the ringing mode, the information reminding pattern, and/or the information display pattern.
For example, the corresponding ring tone can be obtained according to the ringing mode, and the ring tone is played when the user is notified according to the information reminding pattern; and displaying the instant messaging information according to the information display style when the user views the instant messaging information, and the like.
The logic setting information is obtained by the server according to the instant messaging information and the preset contact list, which may be referred to in the foregoing embodiments specifically, and is not described herein again.
Optionally, the application program stored in the memory 702 may also implement the following functions:
and sending a contact person setting request to the server, wherein the contact person setting request carries a user identifier, a state identifier, contact person information to be set and the like, so that the server can set a contact person list according to the contact person setting request.
For example, a display interface of a contact person to be set may be displayed, where the display interface includes a setting interface, a setting trigger instruction is obtained through the setting interface, a contact person setting request is generated according to the setting trigger instruction, and the generated contact person setting request is sent to the server.
Optionally, the application program stored in the memory 702 may also implement the following functions:
and sending a logic setting request to the server, wherein the logic setting request indicates a contact list needing to be processed with logic setting, so that the server can set the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the terminal of this embodiment can receive the logic setting information and the instant messaging information sent by the server, then obtain the corresponding display policy according to the logic setting information, and display the instant messaging information based on the display policy, thereby achieving the purpose that the instant messaging information for different contacts can be processed by using different logics, greatly improving the flexibility of operation thereof, and avoiding missing of important information; moreover, the logic setting information is acquired by the server, and the terminal only needs to execute the logic setting, so that the load of the terminal can be greatly reduced, and the performance of the terminal can be improved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the device and the system for processing the instant messaging information provided by the embodiment of the invention are described in detail, a specific embodiment is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for processing instant messaging information is characterized by comprising the following steps:
acquiring instant communication information, wherein the instant communication information comprises sender information and receiver information;
receiving a contact person setting request sent by a client, wherein the contact person setting request carries a user identifier, a state identifier and contact person information to be set, and setting a contact person list according to the contact person setting request;
when the contact list is updated, synchronizing the updated contact list with all clients corresponding to the recipient information;
when the client corresponding to the recipient information is determined to be in a preset state, acquiring a contact list corresponding to the state from a memory storage according to the recipient information, wherein the preset state comprises a plurality of states, different preset states correspond to different contact lists, and the contact lists are used for indicating that instant messaging information corresponding to different sender information is differentially processed in the preset state;
when the contact list is determined to contain the sender information, a logic setting information set corresponding to the receiver information is obtained, wherein the logic setting information set comprises at least one corresponding relation between logic setting information and the contact list;
selecting logic setting information corresponding to the contact list from the logic setting information set, wherein the logic setting information is acquired by a server;
and sending the logic setting information and the instant messaging information to the client so that the client processes the instant messaging information according to the logic setting information.
2. The method of claim 1, wherein before the obtaining of the logic setting information corresponding to the contact list, the method further comprises:
receiving a logic setting request sent by a client, wherein the logic setting request indicates a contact list needing to be processed with logic setting;
and setting the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
3. A method for processing instant messaging information is characterized by comprising the following steps:
sending a contact person setting request to a server, wherein the contact person setting request carries a user identifier, a state identifier and contact person information to be set, so that the server can set a contact person list according to the contact person setting request;
sending a logic setting request to a server, wherein the logic setting request indicates a contact list needing to be processed with logic setting, so that the server can set the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information;
receiving logic setting information and instant messaging information sent by a server, wherein the logic setting information is obtained by the server according to the instant messaging information and a preset contact list;
acquiring a corresponding ringing mode, an information reminding pattern and/or an information display pattern according to the logic setting information;
acquiring corresponding ring according to the ring mode, and playing the ring when notifying a user according to the information reminding pattern; and the number of the first and second groups,
and when the user checks the instant messaging information, displaying the instant messaging information according to the information display style.
4. The method of claim 3, wherein sending a contact setup request to a server comprises:
displaying a display interface of a contact person needing to be set, wherein the display interface comprises a setting interface;
acquiring a setting triggering instruction through the setting interface;
generating a contact person setting request according to the setting triggering instruction;
and sending the generated contact person setting request to a server.
5. An apparatus for processing instant messaging information, comprising:
the information acquisition unit is used for acquiring instant communication information, wherein the instant communication information comprises sender information and recipient information, and receiving a contact person setting request sent by a client, and the contact person setting request carries a user identifier, a state identifier and contact person information needing to be set;
the list setting unit is used for setting a contact list according to the contact setting request, and synchronizing the updated contact list with all clients corresponding to the recipient information when the contact list is updated;
the list acquisition unit is used for acquiring a contact list corresponding to the state from a memory storage according to the recipient information when the client corresponding to the recipient information is determined to be in a preset state, wherein the preset state comprises a plurality of states, different preset states correspond to different contact lists, and the contact lists are used for indicating that instant messaging information corresponding to different sender information is differentially processed in the preset state;
a logic obtaining unit, configured to obtain a logic setting information set corresponding to the recipient information when it is determined that the sender information is included in the contact list, where the logic setting information set includes a correspondence between at least one logic setting information and the contact list, and select a logic setting information corresponding to the contact list from the logic setting information set, where the logic setting information is obtained by a server;
and the sending unit is used for sending the logic setting information and the instant messaging information to the client so that the client can process the instant messaging information according to the logic setting information.
6. The apparatus of claim 5,
the logic acquiring unit is specifically configured to acquire a logic setting information set corresponding to the recipient information, where the logic setting information set includes a correspondence between at least one logic setting information and a contact list; and selecting logic setting information corresponding to the contact list from the logic setting information set.
7. The apparatus of claim 5 or 6, further comprising a logic setting unit;
the information acquisition unit is also used for receiving a logic setting request sent by a client, wherein the logic setting request indicates a contact list needing to be processed with logic setting;
and the logic setting unit is used for setting the processing logic of the indicated contact list according to the logic setting request to obtain logic setting information.
8. An instant messaging information receiving device, comprising:
the setting unit is used for sending a contact person setting request to the server, wherein the contact person setting request carries a user identifier, a state identifier and contact person information to be set, so that the server can set a contact person list according to the contact person setting request, and a logic setting request is sent to the server, and indicates the contact person list needing to be processed and logically set, so that the server can set the processing logic of the indicated contact person list according to the logic setting request to obtain logic setting information;
the receiving unit is used for receiving logic setting information and instant messaging information sent by the server, wherein the logic setting information is obtained by the server according to the instant messaging information and a preset contact list;
the acquisition unit is used for acquiring a corresponding ringing mode, an information reminding pattern and/or an information display pattern according to the logic setting information;
the display unit is used for acquiring the corresponding ring according to the ring mode and playing the ring when notifying a user according to the information reminding pattern; and displaying the instant messaging information according to the information display style when the user views the instant messaging information.
9. A system for processing instant messaging information, comprising the instant messaging information processing apparatus of any one of claims 5 to 7 and the instant messaging information receiving apparatus of claim 8.
10. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method for processing instant messaging information according to any one of claims 1 to 4.
CN201710090570.8A 2017-02-20 2017-02-20 Instant messaging information processing method, device and system Active CN108462626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710090570.8A CN108462626B (en) 2017-02-20 2017-02-20 Instant messaging information processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710090570.8A CN108462626B (en) 2017-02-20 2017-02-20 Instant messaging information processing method, device and system

Publications (2)

Publication Number Publication Date
CN108462626A CN108462626A (en) 2018-08-28
CN108462626B true CN108462626B (en) 2021-07-06

Family

ID=63229197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710090570.8A Active CN108462626B (en) 2017-02-20 2017-02-20 Instant messaging information processing method, device and system

Country Status (1)

Country Link
CN (1) CN108462626B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184264A (en) * 2007-11-27 2008-05-21 北京网秦天下科技有限公司 Mobile phone telephone and message anti-disturbance and private communication method and system
CN103069412A (en) * 2010-06-29 2013-04-24 诺基亚公司 Method and apparatus for context-based grouping
CN105812582A (en) * 2016-05-13 2016-07-27 广东欧珀移动通信有限公司 Instant messaging reminding method and device and mobile terminal
CN106027767A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Reminding method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040198303A1 (en) * 2003-01-02 2004-10-07 Chao-Cheng Chiang Ventilator having the incoming call and ringing doorbell notification functions
CN101610311B (en) * 2009-07-16 2016-03-09 华为终端有限公司 The reminding method of information and terminal
CN102143093A (en) * 2010-10-12 2011-08-03 华为技术有限公司 Instant messaging method, device and system
CN105827505A (en) * 2016-03-10 2016-08-03 广东欧珀移动通信有限公司 Notification method and apparatus for instant messaging, and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184264A (en) * 2007-11-27 2008-05-21 北京网秦天下科技有限公司 Mobile phone telephone and message anti-disturbance and private communication method and system
CN103069412A (en) * 2010-06-29 2013-04-24 诺基亚公司 Method and apparatus for context-based grouping
CN106027767A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Reminding method and device
CN105812582A (en) * 2016-05-13 2016-07-27 广东欧珀移动通信有限公司 Instant messaging reminding method and device and mobile terminal

Also Published As

Publication number Publication date
CN108462626A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
KR101978590B1 (en) Message updating method, device and terminal
CN107743086B (en) Message processing method and system, and message sending and receiving device
CN106059894B (en) Message processing method and device
US20150256492A1 (en) Method, Terminal and Computer Storage Medium for Group Sending Message in Instant Communication
WO2016150270A1 (en) Method and apparatus for processing group session message
US11579946B2 (en) Method for managing multiple operating systems in a terminal
US10652287B2 (en) Method, device, and system for managing information recommendation
CN106371964B (en) Method and device for prompting message
CN107786424B (en) Audio and video communication method, terminal and server
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN106293738B (en) Expression image updating method and device
CN106775262A (en) A kind of method and system of mark display management of not interpreting blueprints
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN108270764B (en) Application login method, server and mobile terminal
CN106789556B (en) Expression generation method and device
CN106302101B (en) Message reminding method, terminal and server
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN106682189B (en) File name display method and device
CN107872791B (en) Access point connection method and device
CN112333337B (en) Message checking method, device, equipment and storage medium
CN105991510B (en) Method, device and system for synchronizing session between multiple terminals
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
CN107148011B (en) Method, device and system for executing target service
CN108880787B (en) Information key processing method and related equipment

Legal Events

Date Code Title Description
PB01 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