Session state marking method and device, electronic equipment and storage medium

By modifying the status of the session identifier locally on the client in advance and receiving feedback from the server to compare and refresh the interface, the problem of delay in session status mark processing in the existing technology is solved, the user experience is improved and data consistency is ensured.

CN118573718APending Publication Date: 2024-08-30BEIJING 58 INFORMATION TTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410684960.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the prior art, session status mark processing requires the server to respond successfully before updating the interface, resulting in delayed user operation feedback when the network is delayed or the server load is high, affecting the user experience.

Method used

Modify the status mark of the session ID locally on the client in advance, receive the status mark information fed back by the server for comparison, and refresh the interface to ensure that the interface responds to user operations in a timely manner and maintains data consistency.

Benefits of technology

It improves the user experience, reduces interface update delays due to network delays or server load, and accurately refreshes the interface on the server side to ensure data consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573718A
    Figure CN118573718A
Patent Text Reader

Abstract

The invention provides a session state marking method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to a first input in a session list interface of a client, and transmitting a first request for carrying out the state marking of a target session identifier to a server, marking a target session identifier in the session list interface as a target state matched with the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface; receiving first state marking information corresponding to the target session identifier fed back by the server side after the server side processes the target session identifier based on the first request; and refreshing a session list interface according to a comparison result of the first state marking information and a target state marked by the target session identifier. According to the method, the user operation can be timely responded by locally modifying the data in advance, and the state alignment of the local data and the server data is realized by refreshing the session list interface based on the comparison result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a session state marking method, device, electronic device and storage medium. Background Art

[0002] With the development of Internet technology, users can exchange information through various communication applications, which greatly facilitates communication between users.

[0003] The conversation list interface of the communication application can display the conversation IDs of different chat partners (corresponding to the conversation interface of one or a group of chat partners), and chat message reminders can be made through the conversation IDs. Users can also mark the status of different conversation IDs according to their own needs, such as displaying a conversation ID at the front of the conversation list interface by sticking the status mark.

[0004] Currently, when users are marking the status of a session ID, they need to initiate a request to the server, which will make the change. Only after the server successfully changes the status of the session ID in the session list interface will the status be updated. Figure 1A and Figure 1B , the user puts the session identifier D on the top of the session list interface. In this process, the user sends a top request to the server, and the server performs a top processing based on the top request. After the server successfully processes the top, the user refreshes the top status of the session identifier D, so that the session identifier D is displayed at the front position of the session list interface.

[0005] In the prior art, the processing method of status marking of session identifiers requires that the status update can be triggered only after the change is successful on the server side. When the server side responds slowly due to network reasons or when the server side responds slowly due to too many user sessions or too much server load, the user's operation cannot be fed back in time, resulting in a poor user experience. Summary of the invention

[0006] In view of the above problems, embodiments of the present application provide a session state marking method, device, electronic device, and storage medium that overcome the above problems or at least partially solve the above problems.

[0007] In a first aspect, an embodiment of the present application provides a session state marking method, comprising:

[0008] In response to a first input in a session list interface of a client, sending a first request to a server to mark a state of a target session identifier, and marking the target session identifier in the session list interface as a target state adapted to the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1;

[0009] receiving first status mark information corresponding to the target session identifier fed back by the server after the server processes the target session identifier based on the first request;

[0010] The session list interface is refreshed according to a comparison result between the first status marking information and the target status marked by the target session identifier.

[0011] In a second aspect, an embodiment of the present application provides a session state marking device, including:

[0012] a sending marking module, configured to send a first request for marking a state of a target session identifier to a server in response to a first input in a session list interface of a client, and mark the target session identifier in the session list interface as a target state adapted to the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1;

[0013] A first receiving module, configured to receive first status mark information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request;

[0014] The first refreshing module is used to refresh the session list interface according to a comparison result between the first status marking information and the target status marked by the target session identifier.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the session status marking method described in the first aspect above.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the session state marking method described in the first aspect are implemented.

[0017] The technical solution of the embodiment of the present application, in response to a first input in the session list interface, sends a first request to the server to mark the state of the target session identifier, locally marks the target session identifier in the session list interface as a target state adapted to the first request, can locally modify the marked state of the session identifier in advance, timely respond to the user's marking operation, improve user experience, and reduce customer complaints caused by poor user experience; receive first state marking information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request, compare the first state marking information with the target state marked by the target session identifier, refresh the session list interface based on the comparison result, realize state alignment of local data with server data, and ensure consistency of user experience and data under the condition that the server processing situation is taken as the standard. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1A A schematic diagram showing the top display of a user operation session identifier in the prior art;

[0019] Figure 1B A flowchart showing a process of refreshing the interface after the server sets the session identifier to the top in the prior art;

[0020] Figure 2 A schematic diagram showing a session status marking method provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram showing cooperation between a terminal and a server to control the top display of a session identifier provided by an embodiment of the present application;

[0022] Figure 4 A flowchart showing an overall implementation of the session status marking method provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram showing a session status marking device provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. The multiple in the embodiments of the present application can include two and more than two.

[0027] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0028] The present application embodiment provides a session status marking method, which is applied to a terminal, such as Figure 2 As shown, including:

[0029] Step 201: In response to a first input in a session list interface of a client, a first request for marking a state of a target session identifier is sent to a server, and the target session identifier in the session list interface is marked as a target state adapted to the first request, where the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1.

[0030] The terminal of the embodiment of the present application is installed with a client application (hereinafter referred to as the client), the client is a communication application, the server is a background server corresponding to the communication application, and the conversation list interface of the client is the conversation list interface of the communication application. N conversation identifiers are displayed on the conversation list interface of the client, and when a specific input (such as click input) for the conversation identifier is received from the user, the conversation interface corresponding to the conversation identifier can be displayed, and the conversation interface can be a group conversation interface or a single chat conversation interface.

[0031] A first input from a user in a conversation list interface is received, where the first input may be in the form of a sliding input, a pressing input, a specific gesture input (such as drawing a specific shape with a finger), an input in a specific area, etc. In response to the first input from the user in the conversation list interface, at least one target conversation identifier is determined from the N conversation identifiers displayed in the conversation list interface, a first request for marking a state of the at least one target conversation identifier is sent to a server, and the target conversation identifier in the conversation list interface is marked as a target state adapted to the first request on the client side, so as to initiate a request to the server side in response to the user's operation and directly mark the state of the target conversation identifier locally, without triggering a refresh of the conversation list interface after the change is successful on the server side.

[0032] Step 202: Receive first status mark information corresponding to the target session identifier fed back by the server after the server processes the target session identifier based on the first request.

[0033] After sending a first request to mark the status of at least one target session identifier to the server, the server performs status marking processing on the target session identifier at the back end based on the first request, that is, the server changes the status of the target session identifier based on the first request and marks it as a status adapted to the first request.

[0034] After processing the target session identifier based on the first request, the server feeds back information to the client on the terminal side, and the terminal receives the first status marking information corresponding to the target session identifier fed back by the server through the client. The first status marking information corresponding to the target session identifier is the status marking information corresponding to the target session identifier after the server performs status marking processing on the target session identifier.

[0035] Step 203: Refresh the session list interface according to the comparison result between the first status mark information and the target status marked by the target session identifier.

[0036] After obtaining the first status marking information provided by the server, the first status marking information is compared with the target status marked by the target session identifier, and then the processing of the target session identifier by the server and the processing of the target session identifier by the client are compared, and the session list interface is refreshed according to the comparison results of the two.

[0037] Among them, when it is determined through comparison that the processing situation of the server is the same as that of the client, the server status is consistent with the local status. At this time, the user does not perceive the refresh of the session list interface, and the terminal refreshes the interface when marking the target session identifier in the session list interface as the target state adapted to the first request. At this time, the interface refresh is a secondary interface refresh. When it is determined through comparison that the processing situation of the server is different from that of the client, the server status is inconsistent with the local status, and the processing situation of the server shall prevail. At this time, the session list interface is refreshed based on the processing situation of the server.

[0038] In the above implementation scheme of the present application, in response to a first input in a session list interface, a first request for marking a state of a target session identifier is sent to a server, and the target session identifier in the session list interface is locally marked as a target state adapted to the first request. The marked state of the session identifier can be locally modified in advance to promptly respond to the user's marking operation, thereby improving user experience and reducing customer complaints caused by poor user experience; first state marking information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request is received, the first state marking information is compared with the target state marked by the target session identifier, and the session list interface is refreshed based on the comparison result, so as to realize state alignment of local data with server data, and ensure consistency of user experience and data under the condition that the processing situation of the server is taken as the standard.

[0039] The following describes the implementation of the terminal requesting the server to perform status marking processing on the target session identifier and locally modifying the marking status of the target session identifier. Optionally, in response to a first input in the session list interface of the client, a first request for status marking of the target session identifier is sent to the server, and the target session identifier in the session list interface is marked as a target state adapted to the first request, including:

[0040] In response to the first input, a target session identifier is determined, a first request for the target session identifier is generated, and the first request is sent to the server, wherein the first request indicates a target state corresponding to each target session identifier; based on the first request, the target session identifier is marked as the corresponding target state.

[0041] The first input of the user in the session list interface is used to select a target session identifier and to indicate the initiation of a request to the server. When the first input of the user in the session list interface is received, in response to the first input, at least one target session identifier is determined, a first request for status marking of the at least one determined target session identifier is generated, and the first request is sent to the server. The at least one target session identifier is a session identifier selected by the user; the generated first request is used to indicate the target status corresponding to the at least one determined target session identifier, and after receiving the first request, the server performs status marking processing on the at least one target session identifier based on the target status corresponding to the target session identifier indicated by the first request.

[0042] After the terminal generates the first request based on the client, it can locally mark the target session identifier as the corresponding target state based on the first request after sending the first request to the server, or before sending the first request to the server, or while sending the first request to the server, so as to refresh the session list interface for the first time based on the local modification on the client and display the target session identifier corresponding to the target state on the session list interface.

[0043] Among them, when determining the target session identifier and generating the first request for the target session identifier in response to the first input, it includes: determining M target session identifiers from N session identifiers in response to the first input, M is greater than or equal to 1 and less than or equal to N; based on the target states corresponding to the target session identifiers indicated by the first input, generating a first request for status marking of the M target session identifiers.

[0044] Since the first input is used to select a target session identifier and to indicate initiating a request to the server, when the first input of the user in the session list interface is received, M target session identifiers are determined from the N session identifiers presented in the session list interface, and the M target session identifiers are the session identifiers selected by the user based on the first input, and the value of M is greater than or equal to 1 and less than or equal to N. That is, at least some of the N session identifiers are determined based on the first input of the user, and the determined session identifiers are used as the target session identifiers.

[0045] The first input of the user in the session list interface is used to indicate the target states respectively corresponding to the M target session identifiers selected by the user. When the M target session identifiers are determined, based on the target states respectively corresponding to the M target session identifiers, a first request for state marking of the M target session identifiers is generated, that is, the first request indicates the target states respectively corresponding to the M target session identifiers.

[0046] As an example, a user clicks on session identifier 1 in the session list interface and long presses for a set time, and the terminal generates a first request for session identifier 1 based on the user's operation, and the first request indicates the target state corresponding to session identifier 1. Alternatively, a user clicks on session identifier 1 and session identifier 2 in the session list interface and slides between session identifier 1 and session identifier 2, and the terminal generates a first request for session identifier 1 and session identifier 2 based on the user's operation, and the first request indicates the target state corresponding to session identifier 1 and session identifier 2. Alternatively, a user clicks on session identifier 1 in the session list interface and slides, and clicks on session identifier 2 in the session list interface and draws a semicircle, and the terminal generates a first request for session identifier 1 and session identifier 2 based on the user's operation, and the first request indicates target state 1 corresponding to session identifier 1 and target state 2 corresponding to session identifier 2.

[0047] Wherein, when marking the target session identifier as the corresponding target state based on the first request, it includes: modifying local data according to the target state corresponding to the target session identifier indicated by the first request, and displaying the target session identifier corresponding to the target state.

[0048] After generating a first request for marking the status of M target session identifiers, the terminal locally modifies the data for the M target session identifiers based on the target statuses respectively corresponding to the M target session identifiers indicated by the first request, so that the M target session identifiers correspond to the target status indicated by the first request, so as to display the target session identifiers corresponding to the target status on the session list interface of the client, thereby locally modifying the marking status of the session identifier in advance on the client, refreshing the session list interface, and promptly responding to the user's marking operation, thereby improving the user experience.

[0049] For example, after generating a first request for status marking for two target session identifiers (such as session identifier A and session identifier B), the terminal searches for data related to session identifier A and data related to session identifier B in local data. Then, the data related to session identifier A is modified so that session identifier A corresponds to the target status a indicated by the first request, and session identifier A corresponding to target status a is displayed on the session list interface of the client; the data related to session identifier B is modified so that session identifier B corresponds to the target status b indicated by the first request, and session identifier B corresponding to target status b is displayed on the session list interface of the client.

[0050] In the above implementation scheme of the present application, in response to a first input, at least one target session identifier is determined from the N session identifiers displayed on the session list interface, and based on the target state corresponding to the at least one target session identifier indicated by the user, a first request for state marking of the at least one target session identifier is generated, and the first request is sent to the server, and the server performs state marking processing on the target session identifier according to the first request, so as to perform state marking processing on the target session identifier selected by the user in the background; and after the first request is generated, based on the target state corresponding to the at least one target session identifier indicated by the first request, data is modified locally, so that the at least one target session identifier corresponds to the target state indicated by the first request, so as to display the target session identifier corresponding to the target state on the session list interface of the client, so as to realize the local modification of the marked state of the session identifier in advance, refresh the session list interface, respond to the user's marking operation in time, and improve the user experience.

[0051] The following describes the implementation process of modifying local data based on the target state indicated by the first request and displaying the target session identifier corresponding to the target state. Optionally, the target state includes at least one of a general marking state and a service marking state; the general marking state includes at least one of a top state, a do not disturb state, a session message processing state, a hidden state, and a deleted state; the service marking state includes at least one of a star state, a session party attention state, and a session party interaction state.

[0052] When modifying local data according to the target state corresponding to the target session identifier indicated by the first request and displaying the target session identifier corresponding to the target state, at least one of the following steps is included:

[0053] When the first request indicates that the target state corresponding to the target session identifier is a general marking state, modifying the target session identifier in the local data to be a general marking state, and displaying the target session identifier matching the general marking state on the session list interface;

[0054] When the first request indicates that the target state corresponding to the target session identifier is the service marking state, the target session identifier in the local data is modified to the service marking state, and the target session identifier matching the service marking state is displayed on the session list interface.

[0055] The target state in the embodiment of the present application includes at least one of a general mark state and a service mark state. For the general mark state, it includes at least one of a top state, a do not disturb state, a session message processing state, a hidden state, and a deleted state. For the service mark state, it includes at least one of a star state, a session party attention state, and a session party interaction state. The first request sent by the terminal to the server through the client indicates at least one of the general mark state and the service mark state. As an example, the first request is a request for session identifier 1, and the first request indicates the top state and the session party attention state; or, the first request is a request for session identifier 1 and session identifier 2, and the first request indicates that session identifier 1 corresponds to the top state and session identifier 2 corresponds to the hidden state; or, the first request is a request for session identifier 3 and session identifier 4, and the first request indicates that session identifier 3 corresponds to the do not disturb state and session identifier 4 corresponds to the star state.

[0056] When the terminal determines the first request based on the first input, the terminal modifies the local data according to the target state corresponding to the target session identifier indicated by the first request, and displays the target session identifier corresponding to the target state on the client. Since the target state includes at least one of the general mark state and the service mark state, if the first request indicates that the target state corresponding to the target session identifier is the general mark state, the target session identifier in the local data is modified to the corresponding general mark state, and the target session identifier matching the general mark state is displayed on the session list interface. If the first request indicates that the target state corresponding to the target session identifier is the service mark state, the target session identifier in the local data is modified to the corresponding service mark state, and the target session identifier matching the service mark state is displayed on the session list interface. If the first request indicates that the target state corresponding to the target session identifier includes the service mark state and the general mark state, for any target session identifier, the target session identifier in the local data is modified to the corresponding service mark state and / or the general mark state, and the target session identifier matching the service mark state and / or the general mark state is displayed on the session list interface.

[0057] In the above implementation process, according to at least one of the general marking state and the business marking state indicated by the first request, local data is modified to control the target session identifier to be updated to the marking state set by the user, so as to realize local modification of the marking state of the session identifier in the client in advance based on user needs and respond to the user's marking operation in a timely manner.

[0058] For the general marking state, since the general marking state includes at least one of the top state, the do not disturb state, the session message processing state, the hidden state, and the deleted state, when the target session identifier matching the general marking state is displayed on the session list interface, it includes:

[0059] When the first request indicates that the target session identifier corresponds to the top status, controlling the target session identifier to be displayed at the top of the session list interface;

[0060] When the first request indicates that the target session identifier corresponds to the do not disturb state, the target session identifier without message reminder is displayed on the session list interface;

[0061] When the first request indicates the session message processing status corresponding to the target session identifier, the target session identifier corresponding to the unread, read or replied status is displayed on the session list interface;

[0062] When the first request indicates that the target session identifier corresponds to a hidden state, the target session identifier is hidden in the session list interface or displayed at the last position of the arranged N session identifiers;

[0063] When the first request indicates that the target session identifier corresponds to a deletion state, canceling display of the target session identifier in the session list interface;

[0064] Among them, any target session identifier corresponds to at least one common marking state that does not conflict with each other.

[0065] When the first request indicates that the target session identifier corresponds to the top state, the target session identifier in the local data is modified to the corresponding top state, and the target session identifier is controlled to be displayed at the top of the session list interface. The first request is used to indicate at least one target session identifier. When the first request indicates multiple target session identifiers, the multiple target session identifiers are all displayed at the front of the session list interface, and the multiple target session identifiers can be sorted according to a preset policy and displayed at the front of the session list interface. As an example, the first request indicates that two target session identifiers (such as session identifier A and session identifier B) correspond to the top state, obtain the first time corresponding to the latest session message of session identifier A, and the second time corresponding to the latest session message of session identifier B, determine that the session identifier corresponding to the time closest to the current time has a high priority, and display session identifier A and session identifier B at the front of the session list interface in order from high to low priority. For example, if the priority of session identifier B is higher than that of session identifier A, session identifier B is displayed at the first position of the session list interface, and session identifier A is displayed at the second position of the session list interface. Of course, other methods can also be used to determine the priority of the session identifier, such as determining the priority based on the level label of the conversation party, determining the priority based on the conversation frequency with the conversation party, etc.

[0066] When the first request indicates that the target session identifier corresponds to the do not disturb state, the target session identifier in the local data is modified to the corresponding do not disturb state, and the target session identifier displayed on the session list interface is controlled not to issue a message reminder. At this time, the message mode corresponding to the target session identifier is the message do not disturb mode, and when the target session identifier receives a session message, no corresponding message reminder is issued, such as no sound reminder and / or no icon for indicating the number of unread messages is displayed.

[0067] When the first request indicates that the target session identifier corresponds to the session message processing state, the target session identifier in the local data is modified to the corresponding session message processing state, and the session message processing state may be the session message unread state, the session message read state, or the session message replied state. By modifying the local data, the target session identifier corresponding to the unread state, the read state, or the replied state is displayed on the session list interface. The target session identifier corresponding to the unread state may be an unread icon displayed on the target session identifier, and the unread icon includes the number of unread messages; accordingly, the target session identifier corresponding to the read state may be a read icon displayed on the target session identifier, and the target session identifier corresponding to the replied state may be a replied icon displayed on the target session identifier.

[0068] When the first request indicates that the target session identifier corresponds to a hidden state, the target session identifier in the local data is modified to a corresponding hidden state, and the target session identifier is controlled to be hidden in the session list interface (the target session identifier is displayed in a hidden manner in the session list interface) or the target session identifier is displayed at the last position of the N session identifiers arranged in the session list interface, so as to control the target session identifier to be hidden in the original position or to be displayed at the last position of the N session identifiers based on the first request. In the case of controlling the target session identifier to be hidden in the session list interface, the display of the target session identifier in the session list interface can be restored; in the case of displaying the target session identifier at the last position of the N session identifiers arranged in the session list interface, the target session identifier can be adjusted to the initial position.

[0069] When the first request indicates that the target session identifier corresponds to a deletion state, the target session identifier in the local data is modified to the corresponding deletion state, and the target session identifier is directly cancelled from being displayed on the session list interface. At this time, the session list interface does not display the target session identifier, and when the target session identifier receives a new session message, the target session identifier can be triggered to be displayed again.

[0070] For any target session identifier, it can correspond to at least one general mark state. When it corresponds to multiple general mark states, the multiple general mark states do not conflict with each other. For example, the unread state of a session message and the read state of a session message are conflicting states, the top state and the hidden state are conflicting states, the deleted state and the top state are conflicting states, and the replied state of a session message and the unread state of a session message are conflicting states.

[0071] As an example, based on the user's first input, the session identifier 1 is determined, and the top status and message do not disturb status corresponding to the session identifier 1 are determined. According to the first request indicating the top status and the message do not disturb status, the local data is modified to control the target session identifier to be displayed on the top of the session list interface, and the target session identifier does not send message reminders. Alternatively, based on the user's first input, the session identifier 2 is determined, and the hidden status and message do not disturb status corresponding to the session identifier 2 are determined. According to the first request indicating the hidden status and the message do not disturb status, the local data is modified to control the target session identifier to be hidden in the session list interface, and the target session identifier does not send message reminders.

[0072] In the above implementation process, local data is modified according to at least one non-conflicting universal mark state set by the user, and the adapted target session identifier is displayed on the session list interface. This can modify the universal mark state corresponding to one or more target session identifiers based on user needs and update the session list interface in advance on the client.

[0073] As for the service marking status, since the service marking status includes at least one of the star status, the conversation party attention status, and the conversation party interaction status, when the target conversation identifier matching the service marking status is displayed on the conversation list interface, it includes:

[0074] When the first request indicates that the target session identifier corresponds to the star status, displaying the target session identifier corresponding to the star identifier on the session list interface;

[0075] When the first request indicates that the target session identifier corresponds to the attention status of the conversation party, the target session identifier corresponding to the to-be-followed identifier or the conversation intention identifier is displayed on the conversation list interface, the to-be-followed identifier indicates that the conversation party needs to be followed up, and the conversation intention identifier indicates that there is an intention to communicate with the conversation party;

[0076] When the first request indicates that the target session identifier corresponds to the interaction state of the conversation party, the target session identifier corresponding to the conversation interaction identifier is displayed on the conversation list interface, and the conversation interaction identifier indicates the degree of interaction with the conversation party;

[0077] Among them, any target session identifier corresponds to at least one service marking state.

[0078] When the first request indicates that the target session identifier corresponds to the star state, the target session identifier in the local data is modified to the corresponding star state, and the target session identifier is controlled to display the star identifier on the session list interface, that is, the target session identifier corresponding to the star identifier is displayed on the session list interface. The star identifier is used to indicate that the target session identifier is an important session identifier, or to indicate that the target session identifier is a session identifier that the user is concerned about. And the first request is used to indicate at least one target session identifier. When the first request indicates multiple target session identifiers, the star levels corresponding to the multiple target session identifiers may be different, or multiple target session identifiers may correspond to the same star level. The styles of star identifiers corresponding to different star levels may be different, for example, the star identifier corresponding to the target session identifier 1 is 1 star, and the star identifier corresponding to the target session identifier 2 is 2 stars; or, the star identifier corresponding to the target session identifier 1 is a circle, and the star identifier corresponding to the target session identifier 2 is a square, and the star level corresponding to the circle is higher than the star level corresponding to the square.

[0079] When the first request indicates that the target session identifier corresponds to the attention state of the session party, the target session identifier in the local data is modified to the corresponding to-be-followed state or session intention state, and the target session identifier is controlled to display the to-be-followed identifier or the session intention identifier on the session list interface, that is, the target session identifier corresponding to the to-be-followed identifier or the session intention identifier is displayed on the session list interface.

[0080] The to-be-followed indicator indicates that the conversation party needs to be followed up. By displaying the to-be-followed indicator for the target conversation identifier, the user can be reminded to follow up the conversation party corresponding to the target conversation identifier. For example, if the user is a recruiter, and the conversation identifier on the conversation list interface is the conversation identifier corresponding to the job seeker, after selecting a job seeker who needs to be followed up from multiple job seekers in the conversation, the to-be-followed indicator is displayed, so that the recruiter can further screen suitable job seekers based on the to-be-followed indicator.

[0081] The session intention identifier indicates that there is an intention to communicate with the conversation party. By displaying the session intention identifier for the target session identifier, the user can be reminded to further communicate with the conversation party corresponding to the target session identifier. For example, the user needs to pause the conversation with conversation party 1. In order to avoid forgetting to continue the conversation with conversation party 1 later, the user sets the session intention identifier to remind the user to continue the conversation by displaying the session intention identifier for the target session identifier (the session identifier corresponding to conversation party 1). Alternatively, the user is a recruiter, and the session identifier on the conversation list interface is the session identifier corresponding to the job seeker. After preliminary communication, the user determines the conversation party that needs to continue to communicate, and sets the session intention identifier to continue to communicate with the selected conversation party.

[0082] When the first request indicates that the target session identifier corresponds to the interactive state of the conversation party, the target session identifier in the local data is modified to the corresponding interactive state of the conversation party, and the target session identifier is controlled to display the session interaction identifier in the conversation list interface, that is, the target session identifier corresponding to the session interaction identifier is displayed in the conversation list interface. The conversation interaction identifier indicates the degree of interaction with the conversation party. By displaying the conversation interaction identifier for the target session identifier, the user can understand the degree of interaction of the conversation party corresponding to the target session identifier. The styles of the conversation interaction identifier are different for different degrees of conversation interaction. As an example, for the newly added conversation party 1, the user sets a conversation interaction identifier for the target conversation identifier corresponding to the conversation party. The conversation interaction identifier is a progress bar with a progress of 0, indicating that the degree of interaction is 0. Based on the conversation interaction identifier, the user knows that there has been no conversation interaction with the conversation party 1. For the conversation party 2 that has interacted, the user sets a conversation interaction identifier for the target conversation identifier corresponding to the conversation party. The conversation interaction identifier is a progress bar with a progress of 10%. Based on the conversation interaction identifier, the user knows that a simple conversation interaction has been conducted with the conversation party 2.

[0083] For any target session identifier, it can correspond to at least one service mark state. For example, the session party 1 is the session party selected by the user, and its session identifier 1 (target session identifier) ​​corresponds to the star state and the session party attention state. The star identifier and session intention identifier corresponding to the session identifier 1 are displayed on the session list interface. The user understands the importance level of the session party 1 based on the star level corresponding to the star identifier, and understands the need to further communicate with the session party 1 based on the session intention identifier.

[0084] In the above implementation process, local data is modified according to at least one service mark status set by the user, and the adapted target session identifier is displayed on the client's session list interface. This can modify the service mark status corresponding to one or more target session identifiers based on user needs and update the session list interface in advance on the client.

[0085] The following is an introduction to the implementation process of refreshing the session list interface based on the comparison result. When refreshing the session list interface based on the comparison result of the first state marking information and the target state marked by the target session identifier, it includes:

[0086] Compare the first state marking information fed back by the server with the target state corresponding to the marked target session identifier to obtain a comparison result;

[0087] When the comparison result indicates that the server successfully processes the first request, the session list interface is refreshed to continue to display the target session identifier corresponding to the target state;

[0088] When the comparison result indicates that the server fails to process the first request, the target state marked by the target session identifier is controlled to roll back to an unmarked initial state to refresh the session list interface.

[0089] After receiving the first state marking information corresponding to the target session identifier fed back by the server, the first state marking information corresponding to the target session identifier is compared with the target state marked by the target session identifier to determine whether the processing status of the server is the same as that of the client.

[0090] When the processing situation of the server is the same as that of the client, the state of the target session identifier corresponding to the server is consistent with the state of the target session identifier corresponding locally, indicating that the server successfully marked the state of the target session identifier based on the first request. Since the server has fed back the first state marking information, it is necessary to refresh the session list interface based on the first state marking information, and since the first state marking information matches the target state marked by the target session identifier, the user will not perceive the refresh of the session list interface at this time. The aforementioned first interface refresh is performed when the target session identifier in the session list interface is marked as the target state adapted to the first request, and the interface refresh based on the information provided by the server is a secondary interface refresh.

[0091] When the processing situation of the server is different from that of the client, the state of the target session identifier corresponding to the server is inconsistent with the state of the target session identifier corresponding to the local, indicating that the server has not successfully processed the state marking of the target session identifier based on the first request, that is, the server has not marked the target session identifier as the target state indicated by the first request based on the first request, and the first state marking information does not match the target state marked by the target session identifier. Since the server has fed back the first state marking information, it is necessary to refresh the session list interface based on the first state marking information, and since the first state marking information does not match the target state marked by the target session identifier, when refreshing the interface, the target state marked by the target session identifier is rolled back to the unmarked initial state based on the processing situation of the server, so as to control the session list interface to roll back to the display state where the target session identifier is not marked by the state through interface refresh. In this case, the process of the terminal marking the target session identifier in the session list interface as the target state adapted to the first request realizes the first interface refresh, and the control of the session list interface to roll back to the display state where the target session identifier is not marked by the state based on the information provided by the server realizes the second interface refresh.

[0092] It should be noted that the probability of the server failing to mark the target session identifier is small. Under normal circumstances, the probability of the server successfully marking the target session identifier is high, and the status of the target session identifier corresponding to the server is consistent with the status of the target session identifier corresponding to the local. The user will not be aware of refreshing the session list interface again. Therefore, by modifying the marking status of the target session identifier locally in advance, the user's marking operation can be responded to in a timely manner, improving the user experience.

[0093] As an example, Figure 3As shown, when receiving the first input (indicating that session identifier 1 is to be placed on top) from the user in the session list interface of the client, the target session identifier (session identifier 1) is determined based on the first input, and based on session identifier 1 and the top status indicated by the first input, a first request is generated to mark session identifier 1 as being placed on top. The terminal sends the first request to the server, so that the server processes based on the first request; and the terminal searches for data related to session identifier 1 in local data based on the first request, modifies the data related to session identifier 1, so that session identifier 1 corresponds to the top status indicated by the first request, refreshes the session list interface, and controls session identifier 1 to be displayed as being placed on top in the session list interface.

[0094] The server performs a top-status marking process on the target session identifier, and the terminal receives the first status marking information fed back by the server, and compares the first status marking information with the top-status marked by session identifier 1. When the server successfully performs the top-status marking process on the target session identifier, the status of the client and the server are the same. At this time, the session list interface is refreshed, and session identifier 1 remains displayed on the top, and the user is unaware. When the server fails to perform the top-status marking process on the target session identifier, the status of the client and the server are different. At this time, the session list interface is refreshed, and the top-status marked by session identifier 1 is rolled back to the unmarked initial state, and the session list interface cancels the top display of session identifier 1.

[0095] The above implementation scheme of the present application, after obtaining the first state marking information provided by the server, compares the first state marking information with the target state corresponding to the marked target session identifier, obtains the comparison result, and determines whether the server has successfully processed the first request based on the comparison result. If the server processes successfully, the session list interface is refreshed at this time, and the target session identifier corresponding to the target state continues to be displayed, and the user is unaware. If the server processes unsuccessfully, the server processing result shall prevail, and by refreshing the session list interface, the target state marked by the target session identifier is controlled to roll back to the unmarked initial state, so that the data at both ends are aligned to ensure the consistency of the states at both ends.

[0096] As an optional embodiment of the present application, after the server successfully marks the status of the target session identifier, it also includes: in response to a second input, selecting at least one target session identifier from the target session identifiers that have been marked in status; sending a second request to the server to cancel the status mark of the at least one target session identifier, and canceling the target status corresponding to the at least one target session identifier in the session list interface; receiving second status marking information corresponding to the at least one target session identifier fed back by the server after processing the at least one target session identifier based on the second request; and refreshing the session list interface according to the comparison result of the second status marking information and the marking status corresponding to the at least one target session identifier.

[0097] After sending a first request to the server and the server successfully marks the status of the target session identifier based on the first request, in response to a second input of the user in the session list interface, at least one target session identifier is determined in the target session identifiers that have been marked in status, a second request for cancelling the status mark of the determined at least one target session identifier is sent to the server, and local data is modified to cancel the target status of the determined at least one target session identifier in the session list interface.

[0098] Since the target state corresponding to the target session identifier in the session list interface remains unchanged after the server successfully marks the state of the target session identifier, it can be determined that the server has successfully marked the state of the target session identifier if the displayed content of the session list interface remains unchanged after the server feeds back the first state marking information; it can also be determined that the first state marking information is compared with the target state corresponding to the target session identifier marked by the client to determine whether the states of both ends are consistent. When the states of both ends are consistent, it is determined that the server has successfully marked the state of the target session identifier.

[0099] The second input of the user in the session list interface is an input to cancel the status mark of at least one target session identifier, that is, the second input indicates to cancel the status mark of one or more target session identifiers, where the one or more target session identifiers are at least some of the target session identifiers indicated by the first input. That is, the user can cancel the status mark of all or some of the target session identifiers that have been marked.

[0100] After the terminal sends the second request to the server through the client, the server performs a status mark cancellation process on at least one target session identifier indicated by the second input based on the second request, and provides information feedback to the client, and the client receives the second status mark information corresponding to the at least one target session identifier fed back by the server. The second status mark information corresponding to the at least one target session identifier is the status mark information corresponding to the at least one target session identifier after the server performs a status mark cancellation process on the adapted at least one target session identifier based on the second request.

[0101] When the terminal modifies the local data based on the second request, the terminal cancels the target state of at least one target session identifier determined in the session list interface of the client, so that the at least one target session identifier is restored to its original state, thereby achieving interface refresh. After receiving the second state marking information fed back by the server, the second state marking information is compared with the marking state corresponding to the at least one target session identifier to obtain a comparison result.

[0102] When the processing situation of the server is the same as that of the client, the corresponding state of the server is consistent with the corresponding state of the local, indicating that the server successfully cancels the state mark processing of at least one target session identifier based on the second request. Since the server feedbacks the second state mark information, it is necessary to refresh the session list interface based on the second state mark information, and since the second state mark information matches the state of at least one target session identifier of the client, the user does not perceive the refresh of the session list interface at this time.

[0103] When the processing situation of the server is different from that of the client, the state corresponding to the server is inconsistent with the state corresponding to the local, indicating that the server has not successfully processed the cancellation of the state mark of at least one target session identifier based on the second request, that is, the server has not cancelled the mark state of at least one target session identifier based on the second request, and the second state mark information does not match the state of the client. Since the server has fed back the second state mark information, it is necessary to refresh the session list interface based on the second state mark information, and since the second state mark information does not match the state of the client, when refreshing the interface, the processing situation of the server shall prevail, and for at least one target session identifier whose target state is cancelled, its corresponding target state shall be restored, so as to control the session list interface to roll back to the display state in which the state mark of at least one target session identifier is not cancelled through the interface refresh.

[0104] It should be noted that when the server fails to successfully cancel the status mark of at least one target session identifier based on the second request, it may be that at least part of the determined at least one target session identifier is unsuccessfully cancelled, and the terminal refreshes the session list interface based on the second status mark information provided by the server to adapt to the processing result of the server. In the above implementation process, after the server successfully marks the status of the target session identifier, in response to the second input, at least one target session identifier is determined among the target session identifiers that have been marked, and a second request to cancel the status mark of the determined at least one target session identifier is sent to the server, and the data is modified locally, and the session list interface is refreshed based on the comparison result of the second status information fed back by the server and the client status, which can realize the control of the interface refresh based on the processing result of the server, so that the data at both ends are aligned to ensure the consistency of the status at both ends.

[0105] The overall implementation process of the embodiment of the present application is introduced below through a specific example. Figure 4 As shown, the following steps are included:

[0106] Step 401: In response to a first input in a session list interface of a client, the terminal determines session identifier 1 as a target session identifier, generates a first request for session identifier 1 indicating a top status, and sends the first request to a server.

[0107] Step 402: Based on the first request, the terminal modifies the session identifier 1 in the local data to be in a top state, and controls the session identifier 1 to be displayed at the top of the session list interface.

[0108] Step 403: Based on the first request, the server processes the session identifier 1 at the back end and feeds back the first status mark information. There is no obvious sequence between step 402 and step 403.

[0109] Step 404: The terminal compares the first status mark information fed back by the server with the top status corresponding to the marked session identifier 1 to obtain a comparison result.

[0110] When the comparison result indicates that the server has successfully processed the first request, step 405 is executed. When the comparison result indicates that the server has failed to process the first request, step 406 is executed.

[0111] Step 405: The terminal refreshes the session list interface of the client and continues to display the session identifier 1 corresponding to the top status.

[0112] Step 406: The terminal controls the marked top state of the session identifier 1 to roll back to the unmarked initial state, and refreshes the session list interface of the client.

[0113] When the server successfully marks the status of the session identifier 1 , step 407 may be further executed after step 405 .

[0114] Step 407: The terminal determines the session identifier 1 in response to the second input in the session list interface of the client, and sends a second request to cancel the status mark of the session identifier 1 to the server.

[0115] Step 408: The terminal cancels the top status of the session identifier 1 based on the second request.

[0116] Step 409: Based on the second request, the server processes the session identifier 1 at the back end and feeds back the second status mark information. There is no strict sequence between step 408 and step 409.

[0117] Step 410: The terminal compares the second status mark information fed back by the server with the status corresponding to the session identifier 1 whose mark has been cancelled, and obtains a comparison result.

[0118] When the comparison result indicates that the server has successfully processed the second request, step 411 is executed. When the comparison result indicates that the server has failed to process the second request, step 412 is executed.

[0119] Step 411: Refresh the session list interface based on the second status mark information, and keep the session identifier 1 in a non-top state.

[0120] Step 412: Control the session list interface to roll back to a display state where the session identifier 1 is not marked as cancelled, and the session identifier 1 is in a top state.

[0121] In the above implementation process, local data is modified based on the first request, and session identifier 1 in the session list interface is marked as a top state adapted to the first request. The local data can be modified in advance to respond to the user's marking operation in a timely manner, thereby improving the user experience. After receiving the first state marking information, the session list interface is refreshed based on the comparison result between the first state marking information and the marking state of session identifier 1, so as to align the state of local data with the server data, and ensure the consistency of user experience and data under the condition that the server processing situation is the standard. In response to the second input, the top state of session identifier 1 is canceled locally, and the session list interface is refreshed based on the second state marking information fed back by the server, so as to refresh the interface based on the processing result of the server.

[0122] The above is the overall implementation scheme of the session state marking method provided in the embodiment of the present application. In response to the first input in the session list interface, a first request for marking the state of the target session identifier is sent to the server, and the target session identifier in the session list interface is marked locally as a target state adapted to the first request. The marked state of the session identifier can be modified locally in advance to respond to the user's marking operation in a timely manner, thereby improving the user experience and reducing customer complaints caused by poor user experience. The first state marking information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request is received, and the first state marking information is compared with the target state marked by the target session identifier. The session list interface is refreshed based on the comparison result, so as to realize the state alignment of local data with server data, and ensure the consistency of user experience and data under the condition that the processing situation of the server is taken as the standard.

[0123] Furthermore, according to at least one of the general marking state and the business marking state indicated by the first request, local data is modified to control the target session identifier to be updated to the marking state set by the user, thereby realizing local modification of the marking state of the session identifier in advance based on user needs and timely responding to the user's marking operation.

[0124] In the case where the server successfully processes the first request, the target session identifier corresponding to the target state can continue to be displayed by refreshing the session list interface, and the user is unaware of it. In the case where the server fails to process the first request, the server processing result shall prevail, and the session list interface shall be refreshed to control the target state marked with the target session identifier to roll back to the unmarked initial state, so that the data at both ends are aligned to ensure the consistency of the states at both ends.

[0125] In response to the second input, at least one target session identifier is determined among the target session identifiers that have been status-marked, a second request to cancel the status mark for the at least one determined target session identifier is sent to the server, and the data is modified locally. The session list interface is refreshed based on the comparison result of the second status information fed back by the server and the corresponding status of the client. The interface refresh can be controlled based on the processing result of the server, so that the data at both ends are aligned to ensure the consistency of the status at both ends.

[0126] The present application embodiment provides a session status marking device, such as Figure 5 As shown, including:

[0127] a sending marking module 501, configured to send a first request for marking a state of a target session identifier to a server in response to a first input in a session list interface of a client, and mark the target session identifier in the session list interface as a target state adapted to the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1;

[0128] A first receiving module 502 is used to receive first status mark information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request;

[0129] The first refreshing module 503 is configured to refresh the session list interface according to a comparison result between the first status marking information and the target status marked by the target session identifier.

[0130] Optionally, the sending mark module includes:

[0131] A first processing submodule, configured to determine the target session identifier in response to the first input, generate a first request for the target session identifier, and send the first request to the server, wherein the first request indicates a target state corresponding to each target session identifier;

[0132] A marking submodule is used to mark the target session identifier as a corresponding target state based on the first request.

[0133] Optionally, the first processing submodule includes:

[0134] a determining unit, configured to determine, in response to the first input, M target session identifiers from the N session identifiers, where M is greater than or equal to 1 and less than or equal to N;

[0135] A generating unit is used to generate a first request for status marking of the M target session identifiers based on the target statuses respectively corresponding to the target session identifiers indicated by the first input.

[0136] Optionally, the marking submodule is further used for:

[0137] According to the target state corresponding to the target session identifier indicated by the first request, local data is modified to display the target session identifier corresponding to the target state.

[0138] Optionally, the target state includes at least one of a general marking state and a service marking state;

[0139] The general mark status includes at least one of the top state, the do not disturb state, the conversation message processing state, the hidden state, and the deleted state; the service mark status includes at least one of the star state, the conversation party attention state, and the conversation party interaction state.

[0140] Optionally, the marking submodule includes at least one of the following units:

[0141] a first processing unit, configured to modify the target session identifier in the local data to the general marking state when the first request indicates that the target state corresponding to the target session identifier is the general marking state, and display the target session identifier matching the general marking state on the session list interface;

[0142] The second processing unit is configured to modify the target session identifier in the local data to the service marking state when the first request indicates that the target state corresponding to the target session identifier is the service marking state, and display the target session identifier matching the service marking state on the session list interface.

[0143] Optionally, the first processing unit includes:

[0144] A first processing sub-unit, configured to control the target session identifier to be displayed at the top of the session list interface when the first request indicates that the target session identifier corresponds to a top state;

[0145] A second processing subunit is configured to display the target session identifier without message reminder on the session list interface when the first request indicates that the target session identifier corresponds to the do not disturb state;

[0146] A third processing subunit is configured to display the target session identifier corresponding to the unread, read or replied state on the session list interface when the first request indicates the session message processing state corresponding to the target session identifier;

[0147] a fourth processing subunit, configured to hide the target session identifier in the session list interface or display the target session identifier at the last position of the arranged N session identifiers when the first request indicates that the target session identifier corresponds to a hidden state;

[0148] A fifth processing subunit, configured to cancel display of the target session identifier on the session list interface when the first request indicates that the target session identifier corresponds to a deletion state;

[0149] Among them, any target session identifier corresponds to at least one common marking state that does not conflict with each other.

[0150] Optionally, the second processing unit includes:

[0151] A sixth processing subunit, configured to display the target session identifier corresponding to the star identifier on the session list interface when the first request indicates that the target session identifier corresponds to a star identifier state;

[0152] A seventh processing subunit, configured to display, on the session list interface, a target session identifier corresponding to a to-be-followed identifier or a session intention identifier when the first request indicates that the target session identifier corresponds to a follow-up status of the session party, wherein the to-be-followed identifier indicates that the session party needs to be followed up, and the session intention identifier indicates that there is an intention to communicate with the session party;

[0153] An eighth processing subunit, configured to display a target session identifier corresponding to a session interaction identifier on the session list interface when the first request indicates that the target session identifier corresponds to an interaction state of a session party, wherein the session interaction identifier indicates a degree of interaction with the session party;

[0154] Among them, any target session identifier corresponds to at least one service marking state.

[0155] Optionally, the first refreshing module includes:

[0156] A comparison submodule, used for comparing the first state marking information fed back by the server with the target state corresponding to the marked target session identifier, to obtain the comparison result;

[0157] A second processing submodule is configured to refresh the session list interface and continue to display the target session identifier corresponding to the target state when the comparison result indicates that the server has successfully processed the first request;

[0158] The third processing submodule is used to control the target state marked by the target session identifier to roll back to an unmarked initial state to refresh the session list interface when the comparison result indicates that the server fails to process the first request.

[0159] Optionally, the device further comprises:

[0160] A selection module, configured to select at least one target session identifier from the target session identifiers that have been marked in state in response to a second input;

[0161] a sending cancellation module, configured to send a second request to the server to cancel the state mark of the at least one target session identifier, and cancel the target state corresponding to the at least one target session identifier in the session list interface;

[0162] A second receiving module is used to receive second status mark information corresponding to the at least one target session identifier fed back by the server after processing the at least one target session identifier based on the second request;

[0163] The second refreshing module is used to refresh the session list interface according to a comparison result between the second status marking information and the marking status corresponding to the at least one target session identifier.

[0164] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0165] An embodiment of the present application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the above-mentioned session status marking method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0166] For example, Figure 6 FIG. 1 shows a schematic diagram of the physical structure of an electronic device. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630, and the processor 610 is used to execute the steps of the session state marking method of the embodiment of the present application, which will not be described one by one here.

[0167] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0168] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned session state marking method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0169] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0171] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0172] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0173] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0174] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0176] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0177] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0178] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A session status marking method, characterized in that: include: In response to a first input in a session list interface of a client, sending a first request to a server to mark a state of a target session identifier, and marking the target session identifier in the session list interface as a target state adapted to the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1; receiving first status mark information corresponding to the target session identifier fed back by the server after the server processes the target session identifier based on the first request; The session list interface is refreshed according to a comparison result between the first status marking information and the target status marked by the target session identifier.

2. The method according to claim 1, characterized in that The step of sending a first request to mark a state of a target session identifier to a server in response to a first input in a session list interface of a client, and marking the target session identifier in the session list interface as a target state adapted to the first request, comprises: In response to the first input, determining the target session identifier, generating a first request for the target session identifier, and sending the first request to the server, wherein the first request indicates a target state corresponding to each target session identifier; Based on the first request, the target session identifier is marked as a corresponding target state.

3. The method according to claim 2, characterized in that The step of determining the target session identifier and generating a first request for the target session identifier in response to the first input includes: In response to the first input, determining M target session identifiers from the N session identifiers, where M is greater than or equal to 1 and less than or equal to N; Based on the target states respectively corresponding to the target session identifiers indicated by the first input, a first request for status marking of the M target session identifiers is generated.

4. The method according to claim 2 or 3, characterized in that: The step of marking the target session identifier as a corresponding target state based on the first request includes: According to the target state corresponding to the target session identifier indicated by the first request, local data is modified to display the target session identifier corresponding to the target state.

5. The method according to claim 4, characterized in that The target state includes at least one of a general marking state and a service marking state; The general mark status includes at least one of the top state, the do not disturb state, the conversation message processing state, the hidden state, and the deleted state; the service mark status includes at least one of the star state, the conversation party attention state, and the conversation party interaction state.

6. The method according to claim 5, characterized in that the target state corresponding to the target session identifier indicated by the first request is modified in the local data to display the target session identifier corresponding to the target state, Includes at least one of the following steps: When the first request indicates that the target state corresponding to the target session identifier is a general marking state, modifying the target session identifier in the local data to be a general marking state, and displaying the target session identifier matching the general marking state on the session list interface; When the first request indicates that the target state corresponding to the target session identifier is the service marking state, the target session identifier in the local data is modified to the service marking state, and the target session identifier matching the service marking state is displayed on the session list interface.

7. The method according to claim 6, characterized in that The displaying of the target session identifier matching the general mark state on the session list interface includes: When the first request indicates that the target session identifier corresponds to a top status, controlling the target session identifier to be displayed at the top of the session list interface; When the first request indicates that the target session identifier corresponds to the do not disturb state, displaying the target session identifier without message reminder on the session list interface; When the first request indicates that the target session identifier corresponds to a session message processing status, displaying the target session identifier corresponding to an unread, read, or replied status on the session list interface; When the first request indicates that the target session identifier corresponds to a hidden state, hiding the target session identifier in the session list interface or displaying the target session identifier at the last position of the arranged N session identifiers; When the first request indicates that the target session identifier corresponds to a deletion state, canceling display of the target session identifier on the session list interface; Among them, any target session identifier corresponds to at least one common marking state that does not conflict with each other.

8. The method according to claim 6, characterized in that The displaying of the target session identifier matching the service tag status on the session list interface includes: When the first request indicates that the target session identifier corresponds to a star status, displaying the target session identifier corresponding to the star identifier on the session list interface; When the first request indicates that the target session identifier corresponds to the attention status of the conversation party, the target session identifier corresponding to the to-be-followed identifier or the conversation intention identifier is displayed on the conversation list interface, the to-be-followed identifier indicates that the conversation party needs to be followed up, and the conversation intention identifier indicates that there is an intention to communicate with the conversation party; When the first request indicates that the target session identifier corresponds to the interaction status of the conversation party, displaying the target session identifier corresponding to the conversation interaction identifier on the conversation list interface, wherein the conversation interaction identifier indicates the degree of interaction with the conversation party; Among them, any target session identifier corresponds to at least one service marking state.

9. The method according to claim 1, characterized in that: The refreshing of the session list interface according to the comparison result between the first state marking information and the target state marked by the target session identifier includes: Compare the first state marking information fed back by the server with the target state corresponding to the marked target session identifier to obtain the comparison result; When the comparison result indicates that the server successfully processes the first request, refreshing the session list interface and continuing to display the target session identifier corresponding to the target state; When the comparison result indicates that the server fails to process the first request, the target state marked by the target session identifier is controlled to roll back to an unmarked initial state to refresh the session list interface.

10. The method according to claim 1 or 9, characterized in that: After the server successfully marks the target session identifier, the method further includes: In response to the second input, selecting at least one target session identifier from the target session identifiers that have been marked with a state; Sending a second request to the server to cancel the state mark of the at least one target session identifier, and canceling the target state corresponding to the at least one target session identifier on the session list interface; receiving second status mark information corresponding to the at least one target session identifier fed back by the server after the server processes the at least one target session identifier based on the second request; The session list interface is refreshed according to a comparison result between the second status mark information and the mark state corresponding to the at least one target session identifier.

11. A session status marking device, characterized in that: include: a sending marking module, configured to send a first request for marking a state of a target session identifier to a server in response to a first input in a session list interface of a client, and mark the target session identifier in the session list interface as a target state adapted to the first request, wherein the target session identifier is at least one of N session identifiers included in the session list interface, where N is an integer greater than or equal to 1; A first receiving module, configured to receive first status mark information corresponding to the target session identifier fed back by the server after processing the target session identifier based on the first request; The first refreshing module is used to refresh the session list interface according to a comparison result between the first status marking information and the target status marked by the target session identifier.

12. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the session state marking method according to any one of claims 1 to 10 when executed by the processor.

13. 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 a processor, the steps of the session state marking method according to any one of claims 1 to 10 are implemented.