State display method and device in instant messaging scene and medium
By obtaining the user's pre-operation to enable dialogue and querying the other party's status and automatic reply information in the instant messaging software, active reminders and permission control are achieved, and the problem of poor flexibility in passive reminders and status information is solved, improving user experience and privacy protection.
Patent Information
- Application Number
- CN202411187047.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-20
AI Technical Summary
The existing instant communication software has problems such as passive reminders and poor state information flexibility in instant communication scenarios. Users cannot judge the other party's status in advance, resulting in unconscious disturbances, and the status information cannot be flexibly set for different user groups.
By obtaining the pre-operation when the user wants to start a conversation with the other party, sending a query request to the server, obtaining the other party's preset status and automatic reply information, and displaying it on the client, actively reminding and permission control are implemented, allowing users to set according to the group Different statuses and automatic reply information take effect period.
It effectively avoids unconscious disturbance, enhances privacy protection and flexibility, enables users to know the other party's status before sending messages, improves user experience, and allows users to flexibly manage status information.
Smart Images

Figure CN119172340A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of instant messaging technology, and in particular to a status display method, device and medium in an instant messaging scenario. Background Art
[0002] Instant messaging software refers to software that allows users to communicate in real-time text, voice, video and other forms through the Internet. There are many common instant messaging software, including WeChat, QQ, DingTalk, WhatsApp, Facebook Messenger, etc. These software provide various types of messages such as text, voice, pictures, videos, files, as well as group chats, voice calls, video calls, screen sharing and other functions, which greatly facilitates people's lives and work.
[0003] However, in the process of studying and practicing the prior art, the inventors found that the current instant messaging software has at least the following status display methods in the instant messaging scenario:
[0004] The following disadvantages:
[0005] (1) Passive reminder: User A can only know the status of user B after sending a message. It is impossible to judge in advance whether it is appropriate to send a message, which may cause unintentional interruption.
[0006] (2) No permission control: User B’s status information is displayed uniformly to all contacts. It is not possible to set different status displays for different user groups, resulting in poor flexibility. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a status display method, device and medium in an instant messaging scenario in view of the above-mentioned deficiencies in the prior art, so as to solve the problems that the existing status display method in the instant messaging scenario has passive reminders, which easily cause unconscious interruptions, and the status information can only be displayed uniformly to all contacts, resulting in poor flexibility.
[0008] In a first aspect, the present invention provides a status display method in an instant messaging scenario, which is applied to a first client, and the method includes:
[0009] Obtaining a pre-operation triggered when a first user wishes to start a conversation with a second user, where the pre-operation is before the first user sends a message to the second user;
[0010] sending a request for querying preset data of the second user to the server according to the pre-operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user;
[0011] The status and / or automatic reply information of the second user is received, and the status and / or automatic reply information of the second user is displayed in the first client.
[0012] Furthermore, the pre-operation is any one of the following operations:
[0013] The first user opens a dialog box with the second user;
[0014] The first user moves the mouse pointer to the second user in the contact list;
[0015] The first user clicks an input box in a dialog box with the second user.
[0016] Further, if the preceding operation is that the first user opens a dialog box with the second user, or the first user clicks an input box in a dialog box with the second user, then displaying the status and / or automatic reply information of the second user in the first client specifically includes:
[0017] Displaying the status and / or automatic reply information of the second user in a dialog box between the first user and the second user on the first client;
[0018] If the preceding operation is that the first user moves the mouse pointer to the second user in the contact list, then displaying the status and / or automatic reply information of the second user in the first client specifically includes:
[0019] The status and / or automatic reply information of the second user is displayed on the second user in the contact list.
[0020] In a second aspect, the present invention provides a status display method in an instant messaging scenario, which is applied to a server, and the method comprises:
[0021] Receiving a request for querying preset data of a second user sent by a first client of a first user, wherein the request is sent by the first client according to the preceding operation after the first client obtains a preceding operation triggered when the first user wishes to start a conversation with the second user, wherein the preceding operation is before the first user sends a message to the second user;
[0022] Determining whether preset data exists for the second user;
[0023] In response to the existence of the preset data for the second user and the first user belonging to the group preset by the second user, the status and / or automatic reply information of the second user is sent to the first client, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
[0024] Furthermore, before receiving the request for querying the preset data of the second user sent by the first client of the first user, the method further includes:
[0025] The status and / or automatic reply information set by the second user on the second client and the group having the authority to obtain the status and / or automatic reply information are received.
[0026] Further, sending the second user's status and / or automatic reply information to the first client specifically includes:
[0027] If the current time is within the effective period of the status and / or automatic reply information preset by the second user, the status and / or automatic reply information of the second user is sent to the first client.
[0028] Furthermore, if the current time is within the effective period of the status and / or automatic reply information preset by the second user, before sending the status and / or automatic reply information of the second user to the first client, the method further includes:
[0029] Receiving the effective period, duration, or effective deadline set by the second client;
[0030] The effective period of the status and / or automatic reply information is obtained according to the set effective period, duration, or effective deadline.
[0031] In a third aspect, the present invention provides a status display device in an instant messaging scenario, which is arranged on a first client, and the device comprises:
[0032] A pre-operation acquisition module, used to acquire a pre-operation triggered when a first user wishes to start a conversation with a second user, the pre-operation being before the first user sends a message to the second user;
[0033] a query request sending module, connected to the pre-operation acquisition module, for sending a request for querying the preset data of the second user to the server according to the pre-operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user;
[0034] The status receiving and displaying module is connected to the query request sending module, and is used to receive the status and / or automatic reply information of the second user, and display the status and / or automatic reply information of the second user in the first client.
[0035] In a fourth aspect, the present invention provides a status display device in an instant messaging scenario, which is arranged on a first server, and the device comprises:
[0036] A query request receiving module, configured to receive a request sent by a first client of a first user for querying preset data of a second user, wherein the request is sent by the first client according to the preceding operation after the first client obtains a preceding operation triggered when the first user wishes to start a conversation with the second user, wherein the preceding operation is before the first user sends a message to the second user;
[0037] A preset data determination module, connected to the query request receiving module, for determining whether the second user has preset data;
[0038] A status information sending module is connected to the preset data judgment module and is used to send the status and / or automatic reply information of the second user to the first client in response to the existence of the preset data of the second user and the first user belonging to the group preset by the second user, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
[0039] In a fifth aspect, the present invention provides a status display device in an instant messaging scenario, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the status display method in the instant messaging scenario described in the first aspect or the second aspect above.
[0040] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the status display method in the instant messaging scenario described in the first aspect or the second aspect above is implemented.
[0041] The present invention provides a method, device and medium for displaying status in an instant communication scenario. First, a pre-operation triggered when a first user wants to start a conversation with a second user is obtained, and the pre-operation is before the first user sends a message to the second user; then, according to the pre-operation, a request for querying the preset data of the second user is sent to the server, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user; finally, the status and / or automatic reply information of the second user is received, and the status and / or automatic reply information of the second user is displayed in the first client. The present invention actively reminds the second user of the current status or automatic reply information before the first user wants to start a conversation with the second user and has not sent a message to the second user, so that the first user can temporarily not send a message after seeing the information, thereby avoiding unconscious disturbances. At the same time, privacy protection and flexibility are enhanced through permission control. The existing status display method in the instant communication scenario solves the problems that passive reminders are present, which are easy to cause unconscious disturbances, and the status information can only be uniformly displayed to all contacts, which has poor flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flow chart of a status display method in an instant messaging scenario according to Embodiment 1 of the present invention;
[0043] Figure 2 A schematic diagram of an interface for displaying the status of a second user and / or automatic reply information according to Embodiment 1 of the present invention;
[0044] Figure 3 This is another schematic diagram of an interface for displaying the status of a second user and / or automatic reply information according to Embodiment 1 of the present invention;
[0045] Figure 4 This is an interactive schematic diagram of a status display method in an instant messaging scenario according to Embodiment 1 of the present invention;
[0046] Figure 5 This is a flowchart of a status display method in an instant messaging scenario according to Embodiment 2 of the present invention;
[0047] Figure 6 This is a schematic diagram of the structure of a status display device in an instant messaging scenario according to Embodiment 3 of the present invention;
[0048] Figure 7 This is a schematic diagram of the structure of a status display device in an instant messaging scenario according to Embodiment 4 of the present invention;
[0049] Figure 8This is a structural diagram of a status display device in an instant messaging scenario according to Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0050] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0051] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.
[0052] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.
[0053] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.
[0054] It can be understood that the terms "first", "second", etc. in the embodiments of the present invention are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0055] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.
[0056] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.
[0057] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.
[0058] Embodiment 1:
[0059] This embodiment provides a status display method in an instant messaging scenario, which is applied to a first client, such as Figure 1 As shown, the method includes:
[0060] Step S101: obtaining a pre-operation triggered when a first user wishes to start a conversation with a second user, wherein the pre-operation is before the first user sends a message to the second user.
[0061] In this embodiment, the precondition for the first user to start a conversation with the second user includes any one of a series of operations from the first user moving the mouse pointer to the second user in the contact list to the first user sending a message to the second user.
[0062] It should be noted that, assuming that user A wants to start a conversation with user B, the first user is user A, and the instant messaging software client of user A is the first client; the second user is user B, and the instant messaging software client of user B is the second client.
[0063] Optionally, the pre-operation is any one of the following operations:
[0064] The first user opens a dialog box with the second user;
[0065] The first user moves the mouse pointer to the second user in the contact list;
[0066] The first user clicks an input box in a dialog box with the second user.
[0067] In this embodiment, the precondition for the first user to start a conversation with the second user is preferably: the first user opens a dialog box with the second user; or the first user moves the mouse pointer to the second user in the contact list; or the first user clicks an input box in the dialog box with the second user.
[0068] Step S102: Send a request for querying the preset data of the second user to the server according to the preceding operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
[0069] In this embodiment, the preset data is used to indicate the current status of the second user, including the status of the second user and / or automatic reply information, wherein the status of the second user can be, for example, "on vacation, please do not disturb", "taking a break, leave a message if you have anything to say", "in a meeting, unable to process messages at the moment", etc., and the automatic reply information can be, for example, "currently on vacation, sorry to disturb you, please contact me again on Monday, thank you!", etc.
[0070] In this embodiment, the second user sets the status and / or automatic reply information in advance on the second client, and the group that has the authority to obtain the status and / or automatic reply information. The server receives and stores the status and / or automatic reply information set by the second user on the second client, and the group that has the authority to obtain the status and / or automatic reply information. When receiving a request sent by the first client to query the preset data of the second user, the server determines whether the second user has the preset data, and in response to the second user having the preset data and the first user belonging to the group preset by the second user, sends the status and / or automatic reply information of the second user to the first client.
[0071] It should be noted that the second user can set valid group permissions or invalid group permissions for the status and / or automatic reply information, and the server obtains the group that has the permission to obtain the status and / or automatic reply information based on the valid group permissions or invalid group permissions set by the user.
[0072] It should be noted that the status and / or automatic reply information can take effect immediately when the second user sets it, and become invalid when the second user actively cancels the status and / or automatic reply information, that is, it is processed according to normal business processes.
[0073] In an optional embodiment, in order to solve the problem that the existing status display method in the instant messaging scenario cannot set the user status information to take effect at a scheduled time and can only be modified manually, causing inconvenience in use, the second user can set the effective period, or the duration, or the effective deadline on the second client, and the server obtains the effective period of the status and / or automatic reply information according to the set effective period, or the duration, or the effective deadline, so that when the second user has preset data and the first user belongs to the group preset by the second user, it is further determined whether the current time is within the effective period of the status and / or automatic reply information preset by the second user. If the current time is within the effective period of the status and / or automatic reply information preset by the second user, the status and / or automatic reply information of the second user is sent to the first client. Among them, if the second user sets the duration or the effective deadline, the current time at the time of setting is used as the starting time of the effective period, and the final effective period is determined according to the duration or the effective deadline.
[0074] Step S103: receiving the status and / or automatic reply information of the second user, and displaying the status and / or automatic reply information of the second user in the first client.
[0075] In this embodiment, by displaying the status and / or automatic reply information of the second user in the first client, the first user may temporarily refrain from sending messages after seeing the information, thereby avoiding unintentional interruptions.
[0076] Optionally, if the preceding operation is that the first user opens a dialog box with the second user, or the first user clicks an input box in a dialog box with the second user, then displaying the second user's status and / or automatic reply information in the first client specifically includes:
[0077] Displaying the status and / or automatic reply information of the second user in a dialog box between the first user and the second user on the first client;
[0078] If the preceding operation is that the first user moves the mouse pointer to the second user in the contact list, then displaying the status and / or automatic reply information of the second user in the first client specifically includes:
[0079] The status and / or automatic reply information of the second user is displayed on the second user in the contact list.
[0080] In this embodiment, when the first user opens a dialog box with the second user, or the first user clicks an input box in the dialog box with the second user, the server may display the status and / or automatic reply information of the second user in the dialog box between the first user and the second user. For example, the interface for displaying the status and / or automatic reply information of the second user may be Figure 2 As shown. Among them, only the status information can be displayed, or only the automatic reply information can be displayed, or they can be displayed simultaneously, or they can be displayed successively (for example, the status is displayed first, followed by an icon, and the automatic reply information is displayed when the mouse pointer moves over the icon). At the same time, the status and / or automatic reply information of the second user can be displayed at the top, middle or bottom of the dialog box, and can be displayed in the form of a pop-up window, a non-pop-up window, or a floating window.
[0081] In this embodiment, when the first user moves the mouse pointer to the second user in the contact list, the server may display the status and / or automatic reply information of the second user on the second user in the contact list. For example, the interface for displaying the status and / or automatic reply information of the second user may be: Figure 3 As shown. Among them, only the status information can be displayed, or only the automatic reply information can be displayed, or they can be displayed simultaneously, or they can be displayed one after another. At the same time, the status and / or automatic reply information of the second user can be displayed in the form of a pop-up window, or a non-pop-up window, or a suspended window.
[0082] It should be noted that, when the first user clicks the input box in the dialog box with the second user, the second user's status and / or automatic reply message is displayed, which can avoid the situation where the first user is not ready to send a message but just wants to view the historical conversation information.
[0083] It should be noted that the status display method in the instant messaging scenario provided by the present invention is intended to solve the problem that users are inconveniently disturbed in instant messaging software. On the basis of the existing technology, it introduces functions such as active reminders, permission control and time period control. Through the active reminder mechanism, users can obtain the other party's status information before sending messages, avoiding unnecessary disturbances, and improving user experience and satisfaction. At the same time, through the permission control and time period control functions, users can manage their status information and automatic reply content more flexibly, enhancing privacy protection. The present invention is applicable to various instant messaging platforms.
[0084] In a specific embodiment, let user A's instant messaging software client be TA, let user B's instant messaging software client be TB, and let the instant messaging software server be W. When user A opens a dialog box with user B, user A's client TA will send a request to server W to obtain user B's current status or automatic reply information. Server W returns corresponding information to client TA based on user B's preset status and permission settings, and displays a reminder in user A's dialog box. According to the needs of the business scenario, you can also choose whether to synchronize this reminder to user B. Figure 4 As shown, the status display method in the instant messaging scenario may include the following steps:
[0085] 1. The client TB sets the "status, automatic reply content, authority, effective period", etc. The server W stores the status, automatic reply content, authority, effective period and other data preset by the client TB.
[0086] (1) Status and automatic reply content setting: User B sets the current status of user B and the automatic reply content corresponding to the automatic reply information in the client TB.
[0087] (2) Permission setting: User B sets the status, valid group permissions or invalid group permissions for automatic reply messages in client TB.
[0088] Among them, the valid group and the invalid group can be members of a group chat, or they can be a label group marked by the user himself. In fact, there is no such group chat. For example, a group that you do not want to reply to messages. The valid group or invalid group is limited by the label marked by the user himself, and the other party is unaware of it.
[0089] (3) Time period setting: User B sets the duration or time period of the status or automatic reply message in the client TB.
[0090] 2. Status request: User A opens a dialog box with user B, triggering the operation of "obtaining user B's preset data". The client TA sends a request to the server W for querying user B's preset data.
[0091] 3. Status acquisition: Server W checks the status, automatic reply information, permissions and effective time period settings preset by user B.
[0092] Specifically, after receiving a request from user A to query user B's preset data, server W determines whether user B has preset data (i.e., whether he has a preset status or automatic reply message). If so, it determines whether user A belongs to the group preset by user B based on the permission setting. If so, it further determines whether the current time is within the effective period preset by user B based on the effective period.
[0093] 4. Information return: Server W sends the status or automatic reply information of user B back to client TA.
[0094] Specifically, when user B has preset data, and user A belongs to the group preset by user B, and the current time is within the effective period preset by user B, server W sends the status or automatic reply information of user B back to client TA.
[0095] 5. Reminder display: Client TA displays the preset status or automatic reply message of user B in the dialog box between user A and user B to remind user A.
[0096] It should be noted that, according to business needs, optional implementation methods can be added: one is that for such reminders given to A, B is not informed synchronously; another implementation method is that for such reminders given to A, B is also informed synchronously, that is, the status check notification is fed back to the setting user A.
[0097] In another specific embodiment, assume that user B sets a status of "on vacation, do not disturb", and sets this status to be effective only for the "colleagues" group, and effective from 6 pm to 9 am the next day. When user A (belonging to the colleagues group) opens a dialog box with user B at 7 pm (has not yet sent a message to user B), client TA will request user B's status information from server W. Server W returns user B's "on vacation, do not disturb" status information, and client TA displays a reminder in the dialog box. After seeing the reminder, user A decides not to send a message for the time being, so as to avoid disturbing B.
[0098] It should be noted that the status display method in the instant messaging scenario provided by the present invention has the following beneficial effects:
[0099] a) Active reminder: When user A opens a dialog box with user B, user A's client TA will actively request and display user B's current status or automatically reply to the message to avoid unconscious interruptions.
[0100] b) Permission control: User B can set different status display permissions for different groups to enhance privacy protection and flexibility.
[0101] c) Time period control: User B can set the duration and time period of the status or automatic reply to improve the convenience and accuracy of use.
[0102] d) Optimize user experience: reminder information, optional notification of the status setting party. By feeding back the status viewing notification to the setting party user, the user's trust in the system can be enhanced, letting them know that their settings have been viewed by others. At the same time, by understanding the status information being viewed, the setting party can help the setting party user better adjust and optimize their automatic reply content and status settings to adapt to user needs and usage habits.
[0103] The method for displaying the status in an instant communication scenario provided by an embodiment of the present invention first obtains a pre-operation triggered when a first user wants to start a conversation with a second user, and the pre-operation is before the first user sends a message to the second user; then, according to the pre-operation, a request for querying the preset data of the second user is sent to the server, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user; finally, the status and / or automatic reply information of the second user is received, and the status and / or automatic reply information of the second user is displayed in the first client. The present invention actively reminds the current status or automatic reply information of the second user before the first user wants to start a conversation with the second user and has not yet sent a message to the second user, so that the first user can temporarily not send a message after seeing the information, thereby avoiding unconscious disturbances, and at the same time, privacy protection and flexibility are enhanced through permission control. The problem that the existing method for displaying the status in the instant communication scenario has passive reminders, which is easy to cause unconscious disturbances, and the status information can only be uniformly displayed to all contacts, which has poor flexibility is solved.
[0104] Embodiment 2:
[0105] like Figure 5 As shown, this embodiment provides a status display method in an instant messaging scenario, which is applied to a server, and the method includes:
[0106] Step S201: Receive a request sent by a first client of a first user for querying preset data of a second user, wherein the request is sent according to the pre-operation after the first client obtains a pre-operation triggered when the first user wishes to start a conversation with the second user, wherein the pre-operation is before the first user sends a message to the second user.
[0107] In this embodiment, the precondition for the first user to start a conversation with the second user includes any one of a series of operations from the first user moving the mouse pointer to the second user in the contact list to the first user sending a message to the second user.
[0108] Step S202: Determine whether there is preset data for the second user;
[0109] Step S203: In response to the existence of the preset data for the second user and the first user belonging to the group preset by the second user, the status and / or automatic reply information of the second user is sent to the first client, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
[0110] In this embodiment, the preset data is used to indicate the current status of the second user, including the status of the second user and / or automatic reply information, wherein the status of the second user can be, for example, "on vacation, please do not disturb", "taking a break, leave a message if you have anything to say", "in a meeting, unable to process messages at the moment", etc., and the automatic reply information can be, for example, "currently on vacation, sorry to disturb you, please contact me again on Monday, thank you!", etc.
[0111] In this embodiment, by displaying the status and / or automatic reply information of the second user in the first client, the first user may temporarily refrain from sending messages after seeing the information, thereby avoiding unintentional interruptions.
[0112] In this embodiment, when the first user opens a dialog box with the second user, or the first user clicks an input box in the dialog box with the second user, the server may display the status and / or automatic reply information of the second user in the dialog box between the first user and the second user. For example, the interface for displaying the status and / or automatic reply information of the second user may be Figure 2 As shown. Among them, only the status information can be displayed, or only the automatic reply information can be displayed, or they can be displayed simultaneously, or they can be displayed successively (for example, the status is displayed first, followed by an icon, and the automatic reply information is displayed when the mouse pointer moves over the icon). At the same time, the status and / or automatic reply information of the second user can be displayed at the top, middle or bottom of the dialog box, and can be displayed in the form of a pop-up window, a non-pop-up window, or a floating window.
[0113] In this embodiment, when the first user moves the mouse pointer to the second user in the contact list, the server may display the status and / or automatic reply information of the second user on the second user in the contact list. For example, the interface for displaying the status and / or automatic reply information of the second user may be: Figure 3As shown. Among them, only the status information can be displayed, or only the automatic reply information can be displayed, or they can be displayed simultaneously, or they can be displayed one after another. At the same time, the status and / or automatic reply information of the second user can be displayed in the form of a pop-up window, or a non-pop-up window, or a suspended window.
[0114] Optionally, sending the second user's status and / or automatic reply information to the first client specifically includes:
[0115] If the current time is within the effective period of the status and / or automatic reply information preset by the second user, the status and / or automatic reply information of the second user is sent to the first client.
[0116] In this embodiment, the status and / or automatic reply information can be effective immediately when the second user sets it, and become invalid when the second user actively cancels the status and / or automatic reply information, that is, it is processed according to the normal business process. Therefore, the effective period can be the time period from setting to canceling the status and / or automatic reply information.
[0117] Optionally, if the current time is within the validity period of the status and / or automatic reply information preset by the second user, before sending the status and / or automatic reply information of the second user to the first client, the method further includes:
[0118] Receiving the effective period, duration, or effective deadline set by the second client;
[0119] The effective period of the status and / or automatic reply information is obtained according to the set effective period, duration, or effective deadline.
[0120] In this embodiment, in order to solve the problem that the existing status display method in the instant messaging scenario cannot set the user status information to take effect at a scheduled time and can only be modified manually, causing inconvenience in use, the second user can set the effective period, or the duration, or the effective deadline on the second client, and the server obtains the effective period of the status and / or automatic reply information according to the set effective period, or the duration, or the effective deadline, so that when the second user has preset data and the first user belongs to the group preset by the second user, it is further determined whether the current time is within the effective period of the status and / or automatic reply information preset by the second user. If the current time is within the effective period of the status and / or automatic reply information preset by the second user, the status and / or automatic reply information of the second user is sent to the first client. Among them, if the second user sets the duration or the effective deadline, the current time at the time of setting is used as the starting time of the effective period, and the final effective period is determined according to the duration or the effective deadline.
[0121] Embodiment 3:
[0122] like Figure 6 As shown, this embodiment provides a status display device in an instant messaging scenario, which is arranged in a first client and is used to execute the status display method in the instant messaging scenario in the above embodiment 1. The device includes:
[0123] A pre-operation acquisition module 11 is used to acquire a pre-operation triggered when a first user wants to start a conversation with a second user, and the pre-operation is before the first user sends a message to the second user;
[0124] a query request sending module 12, connected to the pre-operation acquisition module 11, for sending a request for querying the preset data of the second user to the server according to the pre-operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user;
[0125] The status receiving and displaying module 13 is connected to the query request sending module 12, and is used to receive the status and / or automatic reply information of the second user, and display the status and / or automatic reply information of the second user in the first client.
[0126] Optionally, the pre-operation is any one of the following operations:
[0127] The first user opens a dialog box with the second user;
[0128] The first user moves the mouse pointer to the second user in the contact list;
[0129] The first user clicks an input box in a dialog box with the second user.
[0130] Optionally, if the preceding operation is that the first user opens a dialog box with the second user, or the first user clicks an input box in a dialog box with the second user, the state receiving and displaying module 13 includes:
[0131] A first display unit, configured to display the status and / or automatic reply information of the second user in a dialog box between the first user and the second user of the first client;
[0132] If the preceding operation is that the first user moves the mouse pointer to the second user in the contact list, the status receiving and displaying module 13 includes:
[0133] The second display unit is used to display the status and / or automatic reply information of the second user on the second user in the contact list.
[0134] Embodiment 4:
[0135] like Figure 7 As shown, this embodiment provides a status display device in an instant messaging scenario, which is arranged on a first server and is used to execute the status display method in the instant messaging scenario in the above-mentioned embodiment 2, and the device includes:
[0136] A query request receiving module 21, configured to receive a request sent by a first client of a first user for querying preset data of a second user, wherein the request is sent by the first client according to the preceding operation after the first client obtains a preceding operation triggered when the first user wishes to start a conversation with the second user, wherein the preceding operation is before the first user sends a message to the second user;
[0137] A preset data determination module 22, connected to the query request receiving module 21, for determining whether the second user has preset data;
[0138] The status information sending module 23 is connected to the preset data judgment module 22, and is used to send the status and / or automatic reply information of the second user to the first client in response to the existence of the preset data of the second user and the first user belonging to the group preset by the second user, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
[0139] Optionally, the device further comprises:
[0140] The first setting information receiving module is used to receive the status and / or automatic reply information set by the second user on the second client, and the group that has the authority to obtain the status and / or automatic reply information.
[0141] Optionally, the status information sending module 23 includes:
[0142] The status information sending unit is used to send the status and / or automatic reply information of the second user to the first client if the current time is within the validity period of the status and / or automatic reply information preset by the second user.
[0143] Optionally, the device further comprises:
[0144] A second setting information receiving module, used to receive the effective period, duration, or effective deadline set by the second client;
[0145] The effective period acquisition module is used to obtain the effective period of the status and / or automatic reply information according to the set effective period, or duration, or effective deadline.
[0146] Embodiment 5:
[0147] refer to Figure 8 This embodiment provides a status display device in an instant messaging scenario, including a memory 31 and a processor 32, wherein the memory 31 stores a computer program, and the processor 32 is configured to run the computer program to execute the status display method in the instant messaging scenario in Example 1 or Example 2.
[0148] The memory 31 is connected to the processor 32 . The memory 31 may be a flash memory, a read-only memory or other memory. The processor 32 may be a central processing unit or a single-chip microcomputer.
[0149] Embodiment 6:
[0150] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the status display method in the instant messaging scenario in the above-mentioned embodiment 1 or embodiment 2 is implemented.
[0151] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0152] In summary, the method, device and medium for displaying the status in the instant communication scenario provided by the embodiment of the present invention first obtain the pre-operation triggered when the first user wants to start a conversation with the second user, and the pre-operation is before the first user sends a message to the second user; then, according to the pre-operation, a request for querying the preset data of the second user is sent to the server, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user; finally, the status and / or automatic reply information of the second user is received, and the status and / or automatic reply information of the second user is displayed in the first client. The present invention actively reminds the current status or automatic reply information of the second user before the first user wants to start a conversation with the second user and has not sent a message to the second user, so that the first user can temporarily not send a message after seeing this information, thereby avoiding unconscious disturbances, and at the same time, privacy protection and flexibility are enhanced through permission control. The problem that the existing status display method in the instant communication scenario has passive reminders, which is easy to cause unconscious disturbances, and the status information can only be displayed uniformly to all contacts, which has poor flexibility is solved.
[0153] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A status display method in an instant messaging scenario, characterized in that: Applied to a first client, the method includes: Obtaining a pre-operation triggered when a first user wishes to start a conversation with a second user, where the pre-operation is before the first user sends a message to the second user; sending a request for querying preset data of the second user to the server according to the pre-operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user; The status and / or automatic reply information of the second user is received, and the status and / or automatic reply information of the second user is displayed in the first client.
2. The method according to claim 1, characterized in that The pre-operation is any one of the following operations: The first user opens a dialog box with the second user; The first user moves the mouse pointer to the second user in the contact list; The first user clicks an input box in a dialog box with the second user.
3. The method according to claim 2, characterized in that If the preceding operation is that the first user opens a dialog box with the second user, or the first user clicks an input box in a dialog box with the second user, then displaying the second user's status and / or automatic reply information in the first client specifically includes: Displaying the status and / or automatic reply information of the second user in a dialog box between the first user and the second user on the first client; If the preceding operation is that the first user moves the mouse pointer to the second user in the contact list, then displaying the status and / or automatic reply information of the second user in the first client specifically includes: The status and / or automatic reply information of the second user is displayed on the second user in the contact list.
4. A status display method in an instant messaging scenario, characterized in that: Applied to a server, the method comprises: Receiving a request for querying preset data of a second user sent by a first client of a first user, wherein the request is sent by the first client according to the preceding operation after the first client obtains a preceding operation triggered when the first user wishes to start a conversation with the second user, wherein the preceding operation is before the first user sends a message to the second user; Determining whether preset data exists for the second user; In response to the existence of the preset data for the second user and the first user belonging to the group preset by the second user, the status and / or automatic reply information of the second user is sent to the first client, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
5. The method according to claim 4, characterized in that Before receiving a request for querying preset data of a second user sent by a first client of a first user, the method further includes: The status and / or automatic reply information set by the second user on the second client and the group having the authority to obtain the status and / or automatic reply information are received.
6. The method according to claim 4, characterized in that The sending the second user's status and / or automatic reply information to the first client specifically includes: If the current time is within the effective period of the status and / or automatic reply information preset by the second user, the status and / or automatic reply information of the second user is sent to the first client.
7. The method according to claim 6, characterized in that If the current time is within the effective period of the status and / or automatic reply information preset by the second user, before sending the status and / or automatic reply information of the second user to the first client, the method further includes: Receiving the effective period, duration, or effective deadline set by the second client; The effective period of the status and / or automatic reply information is obtained according to the set effective period, duration, or effective deadline.
8. A status display device in an instant messaging scenario, characterized in that: Set on the first client, the device includes: A pre-operation acquisition module, used to acquire a pre-operation triggered when a first user wishes to start a conversation with a second user, the pre-operation being before the first user sends a message to the second user; a query request sending module, connected to the pre-operation acquisition module, for sending a request for querying the preset data of the second user to the server according to the pre-operation, so that when the server determines that the second user has preset data and the first user belongs to the group preset by the second user, the server sends the status and / or automatic reply information of the second user to the first client, wherein the preset data includes the status and / or automatic reply information of the second user; The status receiving and displaying module is connected to the query request sending module, and is used to receive the status and / or automatic reply information of the second user, and display the status and / or automatic reply information of the second user in the first client.
9. A status display device in an instant messaging scenario, characterized in that: Set on the first server, the device includes: A query request receiving module, configured to receive a request sent by a first client of a first user for querying preset data of a second user, wherein the request is sent by the first client according to the preceding operation after the first client obtains a preceding operation triggered when the first user wishes to start a conversation with the second user, wherein the preceding operation is before the first user sends a message to the second user; A preset data determination module, connected to the query request receiving module, for determining whether the second user has preset data; A status information sending module is connected to the preset data judgment module and is used to send the status and / or automatic reply information of the second user to the first client in response to the existence of the preset data of the second user and the first user belonging to the group preset by the second user, so that after the first client receives the status and / or automatic reply information of the second user, the status and / or automatic reply information of the second user is displayed in the first client, wherein the preset data includes the status and / or automatic reply information of the second user.
10. A status display device in an instant messaging scenario, characterized in that: It includes a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to implement the status display method in the instant communication scenario as described in any one of claims 1-3, or to implement the status display method in the instant communication scenario as described in any one of claims 4-7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for displaying a status in an instant messaging scenario as described in any one of claims 1 to 3 is implemented, or the method for displaying a status in an instant messaging scenario as described in any one of claims 4 to 7 is implemented.
