CN113938451B - Service reminding method, device, system, electronic equipment and storage medium - Google Patents

Service reminding method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113938451B
CN113938451B CN202111012464.0A CN202111012464A CN113938451B CN 113938451 B CN113938451 B CN 113938451B CN 202111012464 A CN202111012464 A CN 202111012464A CN 113938451 B CN113938451 B CN 113938451B
Authority
CN
China
Prior art keywords
service
target
session
identification
reminding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111012464.0A
Other languages
Chinese (zh)
Other versions
CN113938451A (en
Inventor
李欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111012464.0A priority Critical patent/CN113938451B/en
Publication of CN113938451A publication Critical patent/CN113938451A/en
Application granted granted Critical
Publication of CN113938451B publication Critical patent/CN113938451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a service reminding method, a device, a system, electronic equipment and a storage medium. The method is applied to the client and comprises the following steps: receiving a service reminding notification sent by a server, wherein the service reminding notification carries a target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information; and displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service. By adopting the method and the device, the timeliness of reminding the service in the session can be improved.

Description

Service reminding method, device, system, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a service reminding method, device, system, electronic equipment and storage medium.
Background
With the development of computer technology, IM (Instant Messaging ) is a communication method often used by people.
In the related art, a user may establish a session (such as a one-to-one chat session, a group chat session, etc.) with other users through an IM application, and then send text, pictures, video, etc. information in the session to interact. The user can also use various services (such as live broadcast, games and the like) with real-time interaction functions provided by the IM application program in the session, and issue interaction reminding information corresponding to the services in the session so as to remind members in the session to interact by using the services. These rich ways of interaction can help to increase the user's viscosity of the community.
However, the interactive reminding information corresponding to the services is usually displayed in the session detail interface in the form of IM messages, and because the IM messages are usually more, the user needs to open the session detail interface to scroll and find so as to see the interactive reminding information corresponding to the services, thus resulting in lower timeliness of reminding the services in the session.
Disclosure of Invention
The disclosure provides a service reminding method, a device, a system, electronic equipment and a storage medium, which are used for at least solving the problem of low timeliness of reminding service in a session in the related technology. The technical scheme of the present disclosure is as follows:
According to a first aspect of an embodiment of the present disclosure, there is provided a service reminding method, which is applied to a client, including:
receiving a service reminding notification sent by a server, wherein the service reminding notification carries a target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information;
and displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service.
In one embodiment, the displaying the service reminding element in the currently displayed instant messaging interface according to the identifier of the target session, the identifier of the target service and the service description information includes:
under the condition that the currently displayed instant messaging interface is a session list interface, acquiring a service reminding element according to the identification of the target service and the service description information;
displaying the service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identification of the target session.
In one embodiment, the displaying the service reminding element in the currently displayed instant messaging interface according to the identifier of the target session, the identifier of the target service and the service description information includes:
under the condition that the currently displayed instant messaging interface is a target session detail interface, acquiring a service reminding element according to the target service identifier and the service description information; the target session detail interface is a session detail interface corresponding to the identification of the target session;
and displaying the service reminding element in the target session detail interface.
In one embodiment, the number of the target session tags is a plurality of, and the plurality of target session tags are session tags corresponding to different target services in the target session;
and displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the method comprises the following steps:
acquiring the priority corresponding to each target service according to the identification of each target service;
determining a first target service with highest priority in the target services;
And displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the first target service and the service description information corresponding to the first target service.
In one embodiment, before the receiving the service reminder notification sent by the server, the method further includes:
responding to a command for updating the session tag, and sending an updating request carrying a local session tag time stamp and an account identifier to a server; the update request is used for indicating the server to determine a target session tag to be updated based on the session tag timestamp and the account identification.
In one embodiment, the sending, in response to a command for updating the session tag, an update request carrying a local session tag timestamp and an account identifier to the server includes:
responding to a command for starting an instant messaging application program, and sending an update request carrying a local session tag time stamp and an account identifier to a server; or alternatively, the process may be performed,
and in response to the update command sent by the server, sending an update request carrying the local session tag time stamp and the account identifier to the server.
In one embodiment, after displaying the service reminding element in the currently displayed instant messaging interface according to the identifier of the target session, the identifier of the target service and the service description information, the method further includes:
and responding to the operation of the service reminding element, and displaying a service interface corresponding to the target service.
According to a second aspect of the embodiments of the present disclosure, there is provided a service reminding method, which is applied to a server and includes:
receiving an update request sent by a client; the update request carries a session tag time stamp and an account identifier;
acquiring a session tag associated with the account identifier, and determining a target session tag with update in the acquired session tags according to the session tag time stamp;
sending a service reminding notice to the client, wherein the service reminding notice carries the target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information; the service reminding notification is used for indicating the client to display the service reminding element according to the target session label.
In one embodiment, before the acquiring the session tag associated with the account identifier, the method further includes:
when the target service is detected to be started in the target session, acquiring service description information of the target service;
and generating the target session label according to the identification of the target session, the identification of the target service and the service description information.
In one embodiment, before the receiving the update request sent by the client, the method further includes:
when the conversation label corresponding to the target conversation is monitored to be updated, determining an account identifier corresponding to the target conversation;
and sending an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
According to a third aspect of the embodiments of the present disclosure, there is provided a service reminding device, the device being applied to a client, including:
the receiving unit is configured to execute a service reminding notification sent by the receiving server, wherein the service reminding notification carries a target session label, and the target session label comprises a target session identifier, a target service identifier and service description information;
The first display unit is configured to display a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service.
In one embodiment, the first display unit includes:
the first acquisition subunit is configured to execute the operation reminding element according to the identification of the target operation and the operation description information under the condition that the currently displayed instant messaging interface is a session list interface;
a first display subunit configured to perform displaying the service reminder element in a target display area included in the session list interface; the target display area is a display area corresponding to the identification of the target session.
In one embodiment, the first display unit includes:
the second acquisition subunit is configured to execute the operation reminding element according to the identification of the target operation and the operation description information under the condition that the currently displayed instant messaging interface is the target session detail interface; the target session detail interface is a session detail interface corresponding to the identification of the target session;
And a second presentation subunit configured to perform presentation of the service reminder element in the target session detail interface.
In one embodiment, the number of the target session tags is a plurality of, and the plurality of target session tags are session tags corresponding to different target services in the target session;
the first display unit includes:
a third obtaining subunit configured to obtain a priority corresponding to each target service according to the identifier of each target service;
a determining subunit configured to determine, among the target services, a first target service with a highest priority;
the third display subunit is configured to execute the service description information corresponding to the first target service according to the identification of the target session, the identification of the first target service and the first target service, and display the service reminding element in the currently displayed instant messaging interface.
In one embodiment, the apparatus further comprises:
a transmitting unit configured to execute a request for updating, in response to a command for updating the session tag, to the server, the request carrying a local session tag time stamp and an account identifier; the update request is used for indicating the server to determine a target session tag to be updated based on the session tag timestamp and the account identification.
In one embodiment, the transmitting unit includes:
a first sending subunit configured to perform sending, in response to a command for starting the instant messaging application, an update request carrying a local session tag timestamp and an account identifier to the server; or alternatively, the process may be performed,
and a second sending subunit configured to perform an update command sent by the server, and send an update request carrying the local session tag timestamp and the account identifier to the server.
In one embodiment, the apparatus further comprises:
and the second display unit is configured to execute a service interface corresponding to the target service in response to the operation of the service reminding element.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a service reminding device, the device being applied to a server, including:
a receiving unit configured to perform receiving an update request transmitted by a client; the update request carries a session tag time stamp and an account identifier;
a first determining unit configured to perform acquisition of session tags associated with the account identifications, and determine a target session tag in which an update occurs among the acquired session tags according to the session tag time stamp;
The first sending unit is configured to send a service reminding notification to the client, wherein the service reminding notification carries the target session label, and the target session label comprises an identifier of a target session, an identifier of a target service and service description information; the service reminding notification is used for indicating the client to display the service reminding element according to the target session label.
In one embodiment, the apparatus further comprises:
an acquisition unit configured to perform acquisition of service description information of the target service when it is detected that the target service is enabled in the target session;
and the generating unit is configured to generate the target session label according to the identification of the target session, the identification of the target service and the service description information.
In one embodiment, the apparatus further comprises:
a second determining unit configured to determine an account identifier corresponding to the target session when it is monitored that the session tag corresponding to the target session is updated;
and the second sending unit is configured to send an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
According to a fifth aspect of embodiments of the present disclosure, there is provided a service reminder system, including a client and a server; wherein:
the server is configured to execute the update request sent by the client; the update request carries a session tag time stamp and an account identifier; acquiring a session tag associated with the account identifier, and determining a target session tag with update in the acquired session tags according to the session tag time stamp; sending a service reminding notice to the client, wherein the service reminding notice carries the target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information;
the client is configured to execute receiving a service reminding notification sent by the server; and displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the traffic alert method according to any one of the first or second aspects.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the traffic alert method as in any of the first or second aspects.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions therein, which when executed by a processor of an electronic device, enable the electronic device to perform the traffic alert method according to any one of the first or second aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the client receives a service reminding notification sent by the server, wherein the service reminding notification carries a target session label, and the target session label comprises a target session identifier, a target service identifier and service description information. The client can display a service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service. Therefore, the service reminding element can be displayed in the currently displayed instant messaging interface, and a user can directly know that an account in the target session is using the target service without opening the session detail interface to perform rolling and searching, so that the timeliness of service reminding is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application environment diagram illustrating a service alerting method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a business alert method according to an exemplary embodiment.
Fig. 3 is a schematic diagram of a session tag and session information, according to an example embodiment.
FIG. 4 is a schematic diagram of an interface shown according to an exemplary embodiment.
FIG. 5 is a class diagram that is illustrated in accordance with an exemplary embodiment.
FIG. 6 is a schematic diagram of an interface shown according to an exemplary embodiment.
FIG. 7 is a class diagram illustrating an example embodiment.
Fig. 8 is a flow chart illustrating a business alert method according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a business alert method according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating an example of a business alert method according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating an example of a business alert method according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a service reminder according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating a service reminder according to an exemplary embodiment.
Fig. 14 is a block diagram of an electronic device, according to an example embodiment.
Fig. 15 is a block diagram of a server, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be further noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The service reminding method provided by the disclosure can be applied to an application environment shown in fig. 1. Wherein the application environment may include a client 110 and a server 120. Clients 110 may communicate with server 120 over a network. The client 110 may be, but is not limited to, various terminals (e.g., personal computer, notebook computer, smart phone, tablet computer), portable wearable devices, etc. The server 120 may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
Fig. 2 is a flowchart illustrating a service alerting method, as shown in fig. 2, for use in a client, according to an exemplary embodiment, including the following steps.
In step S210, a service reminder notification sent by the server is received.
The service reminding notification carries a target session label, wherein the target session label comprises a target session identifier, a target service identifier and service description information.
In the embodiment of the disclosure, the client may be a client having an IM communication function. A user may log into an account in a client, establish a session (e.g., one-to-one chat session, group chat session, etc.) with other users through the account, and then send text, pictures, video, etc. information in the session for interaction. The user can also use various services (such as live broadcast, game, etc.) with real-time interaction functions provided by the client in the session, so as to perform live broadcast, game, etc. interaction with other users in the session. The server may generate session tags (i.e., target session tags) for these services and send the target session tags to the client via a service reminder notification. The target session tag may include an identification of a session to which the service belongs (i.e., an identification of the target session), an identification of the service (i.e., an identification of the target service), and description information related to the service (i.e., service description information), and may be used to reflect which service is being used by an account in the target session. The process of generating and transmitting the target session tag by the server will be described in detail later.
For each session, the client can store session information corresponding to the session, and after receiving the service reminding notification, the client can analyze the service reminding notification to obtain a target session label. Then, the client can determine the session information corresponding to the target session label according to the identification of the target session in the target session label, so as to establish the corresponding relationship between the target session label and the session information.
As shown in fig. 3, a schematic diagram of session tags and session information provided by an embodiment of the disclosure is shown. The session tag contains 4 fields, namely session identification, session type, service identification and service description information. The session identifier is an identifier of a session to which the service belongs; the session type is the interaction type of the session, such as single chat, group chat, chat room, etc.; the service identifier is an identifier of the service and can be used for uniquely identifying the service and can reflect the service type of the service, in one example, the service identifier is a, which indicates that the service is live broadcast, the service identifier is B, which indicates that the service is game; in another example, there may be multiple services of the same service type, and the service identifier may be A1, which indicates that the service is a live service. The service description information is information describing the service and is used for providing information required by displaying a service reminding element, and specific content can be set by a technician according to actual requirements, so that the embodiment of the disclosure is not limited. In one example, if the service reminding element is a corner mark picture, the service description information may include an acquisition link of the corner mark picture, and in addition, the service description information may further include current service usage status information of the service, for example, the service description information of a live broadcast may include the number of people in the current live broadcast room, the name of the anchor, and the like.
The session information may include session identification, session type, and session update time. The session update time is the time updated by a message or an operation in the session, for example, when the client receives the message of the session, the receiving time of the message is determined as the session update time, or the user performs an operation on the session, for example, the operations of no disturbance, top setting, etc., and the operation time is the session update time. Alternatively, in one session, a plurality of services may be used simultaneously, and accordingly, one session information may correspond to a plurality of session tags. For example, in a group chat, a live room and a gaming function may be turned on simultaneously.
It will be appreciated that there may be multiple sessions in a client, and that each session may in turn correspond to multiple session tags. Therefore, the number of the target session tags included in the service reminder notification can be multiple, i.e. different session tags corresponding to different sessions and multiple session tags corresponding to the same session can be included.
In step S220, according to the identifier of the target session, the identifier of the target service and the service description information, the service reminding element is displayed in the currently displayed instant messaging interface.
The service reminding element is used for indicating that the account in the target session is using the target service.
In the embodiment of the disclosure, the client can determine the session (i.e., the target session) to which the target session tag belongs according to the identifier of the target session, and can acquire the service reminding element to be displayed according to the identifier of the target service and the service description information. Then, the client can display the service reminding element aiming at the target session and the target service in the currently displayed instant messaging interface.
According to the service reminding method provided by the embodiment of the disclosure, the client can receive the service reminding notification sent by the server, the service reminding notification carries the target session label, and the target session label comprises the identification of the target session, the identification of the target service and the service description information. The client can display a service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service. Therefore, the service reminding element can be displayed in the currently displayed instant messaging interface, and a user can know that an account in the target session is using the target service without opening the session detail interface to perform rolling and searching, so that the timeliness of service reminding is improved.
In an exemplary embodiment, the currently displayed instant messaging interface may be a session list interface, and in step S220, the specific process of displaying the service reminder element may be implemented by the following steps: under the condition that the currently displayed instant messaging interface is a session list interface, acquiring a service reminding element according to the identification of the target service and the service description information; displaying a service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identifier of the target session.
In embodiments of the present disclosure, a session list interface may be used to display information for each session that the locally logged-in account participates in. In one implementation, the session list interface includes a plurality of presentation areas, one of which may be referred to as a list card, for presenting information for one session. The information of the session may include content such as a session avatar (e.g., account avatar, group chat avatar, etc.), a session name (e.g., group chat name), and latest chat information. As shown in fig. 4, the session list interface includes list cards corresponding to a plurality of sessions such as account 1, a fan group, official messages, tea sessions, etc.
After receiving the service reminding notification, if the currently displayed interface is a session list interface, the client can acquire the service reminding element according to the identification and the service description information of the target service, and then display the service reminding element in the list card corresponding to the target session. For example, the service reminder element may include a status corner mark that the client may display in the conversation header, and in addition, the service reminder element may include other content such as reminder text. Referring to fig. 4, if the K song service is being used by an account in the chat group "tea session", the corner mark image and the prompt text "K song" are displayed in the list card corresponding to the "tea session".
In one example, a program module for implementing the presentation of the service reminding element in the session list interface may be provided in the client, and may specifically include a session tag monitoring module and a list card module. The class included in the session tag monitoring module may be called a session tag observer, and is used for monitoring session tag updates. The class contained by the list card module may be referred to as a list card class that is used to implement a view showing status icons in the list card. The list card class contains members that are tag managers. The tag manager may further comprise a plurality of members (which may be referred to as a service set), i.e. modules in each service for implementing a status corner mark, such as service 1, service 2 … service n. As shown in fig. 5, a class diagram is provided in an embodiment of the present disclosure. It can be appreciated that the session tag monitoring module may be configured to monitor global session tag updates, where the list card modules are in a one-to-one correspondence with the list cards, i.e., one list card module for each session.
Based on the implementation manner, the specific process of displaying the service reminding element can be as follows: after receiving the service reminding notification, the client allocates the target session tag to the list card module corresponding to the target session according to the identification of the target session in the target session tag. The list card module transmits the target session label to a module for realizing the status corner mark in the target service (which can be called as a target service module) through a label manager. After the target service module receives the target session tag, the corresponding service reminding element (such as image data of a state corner mark) can be obtained according to the service description information in the target session tag, and then the service reminding element is fed back to the tag manager. If multiple services exist in the target session at the same time, the tag manager can receive service reminding elements fed back by the multiple service modules. The tag manager can determine the service reminding elements to be displayed according to preset display rules, and then feeds the service reminding elements back to the list card class so as to display the service reminding elements. For example, the tag manager feeds the status corner mark of the service a back to the list card class, which renders the status corner mark, thereby displaying the status corner mark in the corresponding list card.
Based on the scheme, the service reminding elements can be displayed in the session list interface, and a user can know that the account in the target session is using the target service without opening the session detail interface, so that the timeliness of service reminding is improved.
In an exemplary embodiment, the instant messaging interface currently displayed may be a session detail interface, and in step S220, the specific process of displaying the service reminder element may be implemented by the following steps: under the condition that the currently displayed instant messaging interface is a target session detail interface, acquiring a service reminding element according to the identification of a target service and service description information; the target session detail interface is a session detail interface corresponding to the identification of the target session; and displaying the service reminding element in the target session detail interface.
In the embodiment of the disclosure, the session detail interface may be used as an interface for IM messages of a certain session. As shown in fig. 6, a schematic diagram of a session detail interface provided by an embodiment of the disclosure is shown. The session detail interface contains a session name (such as group chat) and IM messages in the session.
After receiving the service reminding notification, if the currently displayed interface is a session detail interface (i.e. a target session detail interface) of the target session, the client can acquire the service reminding element according to the identifier of the target service and the service description information, and then display the service reminding element in a preset area of the target session detail interface. Referring to fig. 6, the business reminder element may be presented at the top of the session detail interface.
In one example, a program module for implementing the presentation of the service reminder element in the session detail interface may be provided in the client, and may specifically include a session tag monitoring module and a session detail module. Wherein the class contained by the session tag monitoring module may be referred to as a session tag watcher. The class contained by the session detail module may be referred to as a session detail controller, which may be a container for implementing the display of the business reminder element in the session detail interface, i.e., a top view container. The session detail controller contains members that are top view managers. The top view manager may further comprise a plurality of members (which may be referred to as a processor set), i.e., modules in each service for implementing a service reminder element, such as top view processor service 1, top view processor service 2 …, top view processor service n. As shown in fig. 7, a class diagram is provided in an embodiment of the disclosure. It can be understood that the session tag monitoring module may be configured to monitor a session tag of a session, where the session tag monitoring module and the session detail module are in one-to-one correspondence with the session, i.e., each session detail interface corresponds to one session tag monitoring module and one session detail module.
Based on the implementation manner, the specific process of displaying the service reminding element can be as follows: after receiving the service reminding notification, the client determines whether a target session tag corresponding to the affiliated session exists or not according to the identification of the target session in each target session tag. If so, the target session tag is transferred to the session detail module. The session detail controller in the session detail module passes the target session label to a module for implementing a service reminder element in the target service (which may be referred to as a target service module) through the top view manager. After receiving the target session tag, the target service module may obtain a corresponding service reminding element (such as image data of the service reminding element, current use condition information of the target service, etc.) according to the service description information in the target session tag. Because the resource showing bit of the service reminding element can be provided in the session detail interface, the target service module has a view processing function, can render the service reminding element into a User Interface (UI), and then feeds back the rendered data to the top view manager. If multiple services exist simultaneously in the target session, the top view manager may receive UI data fed back by multiple service modules. The top view manager may determine UI data to be displayed according to a preset display rule, and then feed the UI data back to the session detail controller, so as to display the service reminder element in a UI manner.
Based on the scheme, the service reminding element can be displayed in the session detail interface, and a user can directly know that an account in the target session is using the target service without scrolling and turning over in the IM message, so that the timeliness of service reminding is improved.
In an exemplary embodiment, for the case that a plurality of services exist in a target session at the same time, a service reminding element to be displayed may be displayed and determined according to the priority of each service, and the specific processing procedure is as follows: acquiring the priority corresponding to each target service according to the identification of each target service; determining a first target service with highest priority among all target services; and displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the first target service and the service description information corresponding to the first target service.
In the embodiment of the disclosure, for the case that multiple services exist in a target session at the same time, a client may receive multiple target session tags for the target session, where the multiple target session tags are session tags corresponding to different target services. The client can pre-store the priority corresponding to each service, then obtain the priority corresponding to each target service according to the identification of each target service, and further determine the first target service with the highest priority in each target service, thereby displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the first target service and the service description information corresponding to the first target service.
In one example, referring to fig. 5, a corner mark picture, priority, and service identification may be configured in a service module. The service module can send the corner mark picture and the priority to the tag manager, so that the tag manager determines a first target service with the highest priority according to the priority corresponding to each service, and then feeds back the corner mark picture corresponding to the first target service to the list card class so as to display the service reminding element of the first target service.
Similarly, referring to fig. 7, a top view, priority, and service identification may be configured in a service module. The service module may send the rendered top view and the priority to the top view manager, so that the top view manager determines a first target service with the highest priority according to the priority corresponding to each service, and then feeds back the rendered top view corresponding to the first target service to the session detail controller to display a service reminding element of the first target service.
Optionally, due to the problems that the service description information is lost or the service module is abnormal, the service module may not obtain the service reminding element according to the service description information, at this time, if the service reminding element corresponding to the first target service is not obtained, determining whether the next target service has the service reminding element according to the order of the priority from high to low, if so, displaying the service reminding element of the target service, and so on.
Based on the scheme, when a plurality of services exist in the target session at the same time, the service reminding element of the service with the highest priority can be displayed, so that the timeliness of reminding the important service is improved.
In an exemplary embodiment, before receiving the service alert notification sent by the server, the method further includes: responding to a command for updating the session tag, and sending an updating request carrying a local session tag time stamp and an account identifier to a server; the update request is to instruct the server to determine a target session tag to update based on the session tag timestamp and the account identification.
In the embodiment of the disclosure, the client may send an update request to the server when a command for updating the session tag is monitored. The update request carries a local session tag timestamp and account identification. After receiving the update request, the server can determine whether a target session label to be updated exists based on the session label timestamp and the account identifier, if so, the server sends a service reminding notification to the client, and if not, the server replies a response message without update to the client. After receiving the service reminding notification or the response message without update, the client can update the locally cached session tag timestamp to the timestamp in the service reminding notification or the timestamp in the response message without update.
In an exemplary embodiment, in response to a command to update a session tag, sending an update request to a server carrying a local session tag timestamp and an account identification, comprising: responding to a command for starting a client, and sending an update request carrying a local session tag time stamp and an account identifier to a server; or, in response to the update command sent by the server, sending an update request carrying the local session tag timestamp and the account identifier to the server.
In the embodiment of the disclosure, when a user starts a client, the client may monitor a start command, and then acquire a locally cached session tag timestamp and a local account identifier, so as to send an update request carrying the session tag timestamp and the account identifier to a server. Therefore, when the client is started, the target session label can be actively updated, and timeliness of service reminding is improved.
After the client is started, a long connection can be established with the server. The server may monitor whether the session tags corresponding to each session are updated. When the session label corresponding to the target session is monitored to be updated, an update command is pushed to the client. After the client monitors the update command sent by the server, an update request is sent to the server. Therefore, when the session label is updated, the client can be informed to pull the latest session label in time, and timeliness of service reminding is improved.
After presenting the service reminder element in an exemplary embodiment, the method further comprises: and responding to the operation aiming at the service reminding element, and displaying a service interface corresponding to the target service.
In the embodiment of the disclosure, an entry (such as a link or an interface) for accessing the target service may be further added to the service reminding element, and after the user clicks the service reminding element, the client may monitor an operation for the service reminding element and then display a service interface corresponding to the target service. For example, referring to FIG. 6, a user may enter a live room by clicking on the "see" option in the top view.
Thus, the user can directly access the target service through the service reminding element, such as entering a live broadcast room and a game, and the service access efficiency is improved.
Fig. 8 is a flowchart illustrating a service alerting method, as shown in fig. 8, for use in a server, according to an exemplary embodiment, including the following steps.
In step S810, an update request sent by a client is received.
The update request carries a session tag time stamp and an account identifier.
In the embodiment of the disclosure, the client may send an update request to the server when a command for updating the session tag is monitored. For example, when a user boots up a client, the client may monitor for a boot command and then send an update request to the server. The update request carries a session tag timestamp and an account identifier of the client cache. After receiving the update request, the server may parse the update request to obtain a session tag timestamp and an account identifier.
In step S820, a session tag associated with the account identification is acquired, and a target session tag in which an update occurs is determined from among the acquired session tags according to the session tag time stamp.
In the embodiment of the disclosure, when a user starts a target service in a target session, a server may acquire an identification of the target session and service description information associated with the target service, where the service description information may include a link of image data of a status corner mark, an account identification of a service enabler (such as a host name), a number of people currently using the service (such as a number of people in a living broadcasting room), and so on. The server may generate a session tag based on the identification of the target session, the identification of the target service, and the service description information. In the process of using the target service, the server also updates the session tag in real time according to the current state of the target service, so as to update the number of people in the live broadcasting room in real time. When the target service ends (e.g., live termination, or game termination), the server deletes the session ticket. The server may store an update record of the session tag, where the update record includes an update time of the session tag and a content of the session tag corresponding to the update time.
After the server obtains the account identifiers, determines the sessions associated with the account identifiers, and obtains the identifiers of the sessions, and then, in each session tag, a session tag (which may be referred to as a session tag set) including the identifier of the session may be queried. The server may determine, in the session tag set, a session tag (i.e., a target session tag) updated from the session tag timestamp to the current time based on the parsed session tag timestamp and the update record for each session tag.
In step S830, a service alert notification is sent to the client, where the service alert notification carries a target session tag.
The target session label comprises an identification of a target session, an identification of a target service and service description information. The service reminding notification is used for indicating the client to display the service reminding element according to the target session label.
According to the service reminding method provided by the embodiment of the disclosure, the server can receive the update request sent by the client; the method comprises the steps that a session tag time stamp and an account identifier are carried in an update request, then a session tag associated with the account identifier is obtained, an updated target session tag is determined in the obtained session tag according to the session tag time stamp, a service reminding notification is sent to a client, the service reminding notification carries a target session tag, and the target session tag comprises the identifier of a target session, the identifier of a target service and service description information; the service reminding notification is used for indicating the client to display the service reminding element according to the target session label. Therefore, the client can display the service reminding element in the currently displayed instant messaging interface, and the user can directly know that the account in the target session is using the target service without opening the session detail interface to perform rolling and searching, so that the timeliness of service reminding is improved.
In an exemplary embodiment, as shown in fig. 9, before acquiring the session tag associated with the account identifier, the method further includes:
in step S910, when it is detected that the target service is enabled in the target session, service description information of the target service is acquired.
In the embodiment of the disclosure, when the user starts the target service in the target session, the client may send a service start request to the server. The service enablement request may carry an identifier of the target session, an identifier of the target service, and an account identifier. The server may then obtain service description information associated with the target service, which may include links to image data for status corner labels, account identification of the service enabler (e.g., anchor name), the number of people currently using the service (e.g., live room people), and so forth.
In step S920, a target session tag is generated according to the identification of the target session, the identification of the target service, and the service description information.
In the embodiment of the disclosure, the server may further obtain a session type of the target session, where the session type may be a single chat type, a group chat type, and the like. The server may then generate a target session tag based on the identification of the target session, the session type, the identification of the target service, and the service description information.
Based on the scheme, the server can generate the session tag, so that the client side displays the service reminding element according to the session tag, and the timeliness of service reminding is improved.
Optionally, before receiving the update request sent by the client, the method further includes: when the conversation label corresponding to the target conversation is monitored to be updated, determining an account identifier corresponding to the target conversation; and sending an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
In the embodiment of the present disclosure, the server may further store a correspondence between session tags and session information. The session information may include a session identification, a session type and session update time, and an account identification of the session participation account. When the server monitors that the session label corresponding to the target session is updated, the server can determine the account identification of the target session participation account according to the session information of the target session. The server may then send update commands to the clients corresponding to the account identifications, the update commands being used to instruct the clients to send update requests to the server.
Based on the scheme, the server can timely inform the client to pull the latest session label when the session label is updated, so that timeliness of service reminding is improved.
In an exemplary embodiment, as shown in fig. 10, a flowchart of an example of a service reminding method shown in the disclosure embodiment may be specifically implemented by the following steps:
in step S1010, the client transmits an update request to the server in response to a command for starting the client.
The update request carries a session tag time stamp and an account identifier of the local cache of the client.
In step S1020, the server parses the update request to obtain a session tag timestamp and an account identifier.
In step S1030, the server acquires the session tag associated with the account identification, and determines a target session tag in which an update occurs from among the acquired session tags according to the session tag time stamp.
In step S1040, the server sends a service reminder notification to the client, where the service reminder notification carries the target session tag and the new session timestamp.
In step S1050, the client parses the service alert notification sent by the server to obtain the target session tag and the new session tag timestamp.
The target session label comprises a target session identifier, a target service identifier and service description information;
In step S1060, the client displays the service reminder element according to the target session tag.
In step S1070, the client caches the new session tag timestamp.
In an exemplary embodiment, as shown in fig. 11, a flowchart of an example of a service reminding method shown in the disclosure embodiment may be specifically implemented by the following steps:
in step S1101, after the client starts, a long connection is established with the server, and an update command is monitored.
The update command is used for indicating the client to send an update request to the server.
In step S1102, the server monitors whether or not a session tag corresponding to each session is updated.
In step S1103, when the server monitors that the session tag corresponding to the target session is updated, an update command is sent to the client associated with the target session.
The update command is used for indicating the client to send an update request to the server.
In step S1104, the client transmits an update request to the server.
The update request carries a session tag time stamp and an account identifier of the local cache of the client.
In step S1105, the server parses the update request to obtain a session tag timestamp and an account identifier.
In step S1106, the server acquires the session tags associated with the account identifications, and determines a target session tag in which an update occurs from among the acquired session tags according to the session tag time stamp.
In step S1107, the server sends a service reminder notification to the client, the service reminder notification carrying the target session tag, and the new session timestamp.
In step S1108, the client parses the service alert notification sent by the server to obtain the target session tag and the new session tag timestamp.
The target session label comprises a target session identifier, a target service identifier and service description information;
in step S1109, the client presents the service reminder element according to the target session tag.
In step S1110, the client caches the new session tag timestamp.
It should be understood that, although the steps in the flowcharts of fig. 2 to 11 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of fig. 2-11 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
It should be understood that the same/similar parts of the embodiments of the method described above in this specification may be referred to each other, and each embodiment focuses on differences from other embodiments, and references to descriptions of other method embodiments are only needed.
Fig. 12 is a block diagram illustrating a service reminder according to an exemplary embodiment. Referring to fig. 12, the apparatus is applied to a client, and includes a receiving unit 1210 and a first presentation unit 1220.
A receiving unit 1210, configured to perform receiving a service alert notification sent by the server, where the service alert notification carries a target session tag, and the target session tag includes an identifier of a target session, an identifier of a target service, and service description information;
the first display unit 1220 is configured to display, in the currently displayed instant messaging interface, a service reminding element according to the identifier of the target session, the identifier of the target service, and the service description information, where the service reminding element is used to indicate that the account in the target session is using the target service.
In one embodiment, the first display unit 1220 includes:
the first acquisition subunit is configured to acquire a service reminding element according to the identification of the target service and the service description information under the condition that the currently displayed instant messaging interface is a session list interface;
A first display subunit configured to perform displaying the service reminder element in a target display area included in the session list interface; the target display area is a display area corresponding to the identifier of the target session.
In one embodiment, the first display unit 1220 includes:
the second acquisition subunit is configured to acquire a service reminding element according to the identification of the target service and the service description information under the condition that the currently displayed instant messaging interface is the target session detail interface; the target session detail interface is a session detail interface corresponding to the identification of the target session;
and the second display subunit is configured to display the service reminding element in the target session detail interface.
In one embodiment, the number of the target session tags is a plurality of, and the plurality of target session tags are session tags corresponding to different target services in the target session;
the first display unit 1220 includes:
the third acquisition subunit is configured to execute the steps of acquiring the priority corresponding to each target service according to the identification of each target service;
a determining subunit configured to determine, among the target services, a first target service with a highest priority;
The third display subunit is configured to execute the service description information corresponding to the first target service according to the identification of the target session, the identification of the first target service and the first target service, and display the service reminding element in the currently displayed instant messaging interface.
In one embodiment, the apparatus further comprises:
a transmitting unit configured to execute a request for updating, in response to a command for updating the session tag, to the server, the request carrying a local session tag time stamp and an account identifier; the update request is to instruct the server to determine a target session tag to update based on the session tag timestamp and the account identification.
In one embodiment, a transmitting unit includes:
a first sending subunit configured to perform sending, in response to a command for starting the instant messaging application, an update request carrying a local session tag timestamp and an account identifier to the server; or alternatively, the process may be performed,
and a second sending subunit configured to perform an update command sent by the server, and send an update request carrying the local session tag timestamp and the account identifier to the server.
In one embodiment, the apparatus further comprises:
And the second display unit is configured to execute a service interface corresponding to the target service in response to the operation on the service reminding element.
Fig. 13 is a block diagram illustrating a service reminder according to an exemplary embodiment. Referring to fig. 13, the apparatus is applied to a server, and includes a receiving unit 1310, a first determining unit 1320, and a first transmitting unit 1330.
A receiving unit 1310 configured to perform receiving an update request sent by the client; the update request carries a session tag time stamp and an account identifier;
a first determining unit 1320 configured to perform acquisition of session tags associated with account identifications and determine a target session tag in which an update occurs among the acquired session tags according to session tag time stamps;
a first sending unit 1330 configured to perform sending a service alert notification to the client, where the service alert notification carries a target session tag, and the target session tag includes an identifier of a target session, an identifier of a target service, and service description information; the service reminding notification is used for indicating the client to display the service reminding element according to the target session label.
In one embodiment, the apparatus further comprises:
An acquisition unit configured to perform acquisition of service description information of a target service when it is detected that the target service is enabled in a target session;
and the generating unit is configured to generate a target session label according to the identification of the target session, the identification of the target service and the service description information.
In one embodiment, the apparatus further comprises:
the second determining unit is configured to determine an account identifier corresponding to the target session when the session tag corresponding to the target session is monitored to be updated;
the second sending unit is configured to send an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. Z is a block diagram of an electronic device 1400 in which a client may be installed, shown in accordance with an exemplary embodiment. For example, electronic device 1400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 14, an electronic device 1400 may include one or more of the following components: processing component 1402, memory 1404, power component 1406, multimedia component 1408, audio component 1410, input/output (I/O) interface 1412, sensor component 1414, and communication component 1416.
The processing component 1402 generally controls overall operation of the electronic device 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1402 can include one or more modules that facilitate interaction between the processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
The memory 1404 is configured to store various types of data to support operations at the electronic device 1400. Examples of such data include instructions for any application or method operating on the electronic device 1400, contact data, phonebook data, messages, pictures, video, and so forth. The memory 1404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, optical disk, or graphene memory.
The power supply component 1406 provides power to the various components of the electronic device 1400. Power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 1400.
The multimedia component 1408 includes a screen between the electronic device 1400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front camera and/or a rear camera. When the electronic device 1400 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1400 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 further comprises a speaker for outputting audio signals.
The I/O interface 1412 provides an interface between the processing component 1402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1414 includes one or more sensors for providing status assessment of various aspects of the electronic device 1400. For example, the sensor assembly 1414 may detect an on/off state of the electronic device 1400, a relative positioning of the components, such as a display and keypad of the electronic device 1400, the sensor assembly 1414 may also detect a change in position of the electronic device 1400 or a component of the electronic device 1400, the presence or absence of a user's contact with the electronic device 1400, an orientation or acceleration/deceleration of the device 1400, and a change in temperature of the electronic device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1416 is configured to facilitate communication between the electronic device 1400 and other devices, either wired or wireless. The electronic device 1400 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory 1404 including instructions executable by the processor 1420 of the electronic device 1400 to perform the above-described method. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising instructions therein, which are executable by the processor 1420 of the electronic device 1400 to perform the above-described method.
Fig. 15 is a block diagram of an electronic device 1500, according to an example embodiment. For example, the electronic device 1500 may be a server. Referring to fig. 15, the electronic device 1500 includes a processing component 1520 further including one or more processors and memory resources represented by memory 1522 for storing instructions, such as application programs, executable by the processing component 1520. The application programs stored in memory 1522 may include one or more modules each corresponding to a set of instructions. Further, processing component 1520 is configured to execute instructions to perform the above-described methods.
The electronic device 1500 may further include: the power component 1524 is configured to perform power management of the electronic device 1500, the wired or wireless network interface 1526 is configured to connect the electronic device 1500 to a network, and the input output (I/O) interface 1528. The electronic device 1500 may operate based on an operating system stored in memory 1522, such as Windows Server, mac OS X, unix, linux, freeBSD, or the like.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as memory 1522, comprising instructions executable by the processor of electronic device 1500 to perform the above-described method. The storage medium may be a computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising instructions therein, executable by a processor of the electronic device 1500 to perform the above-described method.
It should be noted that the descriptions of the foregoing apparatus, the electronic device, the computer readable storage medium, the computer program product, and the like according to the method embodiments may further include other implementations, and the specific implementation may refer to the descriptions of the related method embodiments and are not described herein in detail.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (21)

1. The service reminding method is characterized by being applied to a client and comprising the following steps of:
receiving a service reminding notification sent by a server, wherein the service reminding notification carries a target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information;
according to the identification of the target session, the identification of the target service and the service description information, a service reminding element is displayed in a currently displayed instant messaging interface, wherein the service reminding element is used for indicating that an account in the target session is using the target service;
wherein, according to the identification of the target session, the identification of the target service and the service description information, displaying a service reminding element in the currently displayed instant messaging interface, including: under the condition that the currently displayed instant messaging interface is a session list interface, acquiring a service reminding element according to the identification of the target service and the service description information; displaying the service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identification of the target session.
2. The service reminding method according to claim 1, wherein the displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information further comprises:
under the condition that the currently displayed instant messaging interface is a target session detail interface, acquiring a service reminding element according to the target service identifier and the service description information; the target session detail interface is a session detail interface corresponding to the identification of the target session;
and displaying the service reminding element in the target session detail interface.
3. The service reminding method according to claim 1, wherein the number of the target session tags is a plurality, and the plurality of the target session tags are session tags corresponding to different target services in the target session;
and displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the method comprises the following steps:
acquiring the priority corresponding to each target service according to the identification of each target service;
Determining a first target service with highest priority in the target services;
and displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the first target service and the service description information corresponding to the first target service.
4. The service reminding method according to any one of claims 1-3, wherein before receiving the service reminding notification sent by the server, the method further comprises:
responding to a command for updating the session tag, and sending an updating request carrying a local session tag time stamp and an account identifier to a server; the update request is used for indicating the server to determine a target session tag to be updated based on the session tag timestamp and the account identification.
5. The traffic alert method according to claim 4, wherein the sending an update request carrying a local session tag timestamp and account identification to the server in response to the command for updating the session tag comprises:
responding to a command for starting an instant messaging application program, and sending an update request carrying a local session tag time stamp and an account identifier to a server; or alternatively, the process may be performed,
And in response to the update command sent by the server, sending an update request carrying the local session tag time stamp and the account identifier to the server.
6. The service reminding method according to claim 1, wherein the displaying the service reminding element in the currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information further comprises:
and responding to the operation of the service reminding element, and displaying a service interface corresponding to the target service.
7. The service reminding method is characterized by being applied to a server and comprising the following steps:
receiving an update request sent by a client; the update request carries a session tag time stamp and an account identifier;
acquiring a session tag associated with the account identifier, and determining a target session tag with update in the acquired session tags according to the session tag time stamp;
sending a service reminding notice to the client, wherein the service reminding notice carries the target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information; the service reminding notification is used for indicating the client to display a service reminding element according to the target session label; under the condition that the currently displayed instant messaging interface is a session list interface, the client acquires a service reminding element according to the identification of the target service and the service description information, and displays the service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identification of the target session.
8. The business alert method of claim 7, wherein prior to the obtaining the session tag associated with the account identification, further comprising:
when the target service is detected to be started in the target session, acquiring service description information of the target service;
and generating the target session label according to the identification of the target session, the identification of the target service and the service description information.
9. The service reminding method according to claim 7, wherein before receiving the update request sent by the client, the method further comprises:
when the conversation label corresponding to the target conversation is monitored to be updated, determining an account identifier corresponding to the target conversation;
and sending an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
10. A service reminder, the device being applied to a client, comprising:
the receiving unit is configured to execute a service reminding notification sent by the receiving server, wherein the service reminding notification carries a target session label, and the target session label comprises a target session identifier, a target service identifier and service description information;
The first display unit is configured to execute displaying a service reminding element in a currently displayed instant messaging interface according to the identification of the target session, the identification of the target service and the service description information, wherein the service reminding element is used for indicating that an account in the target session is using the target service;
wherein, the first display element includes: the first acquisition subunit is configured to execute the operation reminding element according to the identification of the target operation and the operation description information under the condition that the currently displayed instant messaging interface is a session list interface; a first display subunit configured to perform displaying the service reminder element in a target display area included in the session list interface; the target display area is a display area corresponding to the identification of the target session.
11. The service reminder of claim 10, wherein the first display unit further comprises:
the second acquisition subunit is configured to execute the operation reminding element according to the identification of the target operation and the operation description information under the condition that the currently displayed instant messaging interface is the target session detail interface; the target session detail interface is a session detail interface corresponding to the identification of the target session;
And a second presentation subunit configured to perform presentation of the service reminder element in the target session detail interface.
12. The service reminder of claim 10, wherein the number of the target session tags is a plurality of the target session tags corresponding to different target services in the target session;
the first display unit includes:
a third obtaining subunit configured to obtain a priority corresponding to each target service according to the identifier of each target service;
a determining subunit configured to determine, among the target services, a first target service with a highest priority;
the third display subunit is configured to execute the service description information corresponding to the first target service according to the identification of the target session, the identification of the first target service and the first target service, and display the service reminding element in the currently displayed instant messaging interface.
13. The service reminder according to any one of claims 10 to 12, wherein the device further comprises:
a transmitting unit configured to execute a request for updating, in response to a command for updating the session tag, to the server, the request carrying a local session tag time stamp and an account identifier; the update request is used for indicating the server to determine a target session tag to be updated based on the session tag timestamp and the account identification.
14. The service reminder according to claim 13, wherein the sending unit comprises:
a first sending subunit configured to perform sending, in response to a command for starting the instant messaging application, an update request carrying a local session tag timestamp and an account identifier to the server; or alternatively, the process may be performed,
and a second sending subunit configured to perform an update command sent by the server, and send an update request carrying the local session tag timestamp and the account identifier to the server.
15. The service reminder of claim 10, wherein the device further comprises:
and the second display unit is configured to execute a service interface corresponding to the target service in response to the operation of the service reminding element.
16. A service reminder, the device being applied to a server and comprising:
a receiving unit configured to perform receiving an update request transmitted by a client; the update request carries a session tag time stamp and an account identifier;
a first determining unit configured to perform acquisition of session tags associated with the account identifications, and determine a target session tag in which an update occurs among the acquired session tags according to the session tag time stamp;
The first sending unit is configured to send a service reminding notification to the client, wherein the service reminding notification carries the target session label, and the target session label comprises an identifier of a target session, an identifier of a target service and service description information; the service reminding notification is used for indicating the client to display a service reminding element according to the target session label; under the condition that the currently displayed instant messaging interface is a session list interface, the client acquires a service reminding element according to the identification of the target service and the service description information, and displays the service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identification of the target session.
17. The service reminder of claim 16, wherein the device further comprises:
an acquisition unit configured to perform acquisition of service description information of the target service when it is detected that the target service is enabled in the target session;
and the generating unit is configured to generate the target session label according to the identification of the target session, the identification of the target service and the service description information.
18. The service reminder of claim 16, wherein the device further comprises:
a second determining unit configured to determine an account identifier corresponding to the target session when it is monitored that the session tag corresponding to the target session is updated;
and the second sending unit is configured to send an update command to the client corresponding to the account identifier, wherein the update command is used for indicating the client to send an update request to the server.
19. The service reminding system is characterized by comprising a client and a server; wherein:
the server is configured to execute the update request sent by the client; the update request carries a session tag time stamp and an account identifier; acquiring a session tag associated with the account identifier, and determining a target session tag with update in the acquired session tags according to the session tag time stamp; sending a service reminding notice to the client, wherein the service reminding notice carries the target session tag, and the target session tag comprises a target session identifier, a target service identifier and service description information;
The client is configured to execute receiving a service reminding notification sent by the server; according to the identification of the target session, the identification of the target service and the service description information, a service reminding element is displayed in a currently displayed instant messaging interface, wherein the service reminding element is used for indicating that an account in the target session is using the target service; wherein, according to the identification of the target session, the identification of the target service and the service description information, displaying a service reminding element in the currently displayed instant messaging interface, including: under the condition that the currently displayed instant messaging interface is a session list interface, acquiring a service reminding element according to the identification of the target service and the service description information; displaying the service reminding element in a target display area contained in the session list interface; the target display area is a display area corresponding to the identification of the target session.
20. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the business alert method of any one of claims 1 to 6 or claims 7 to 9.
21. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the service alerting method of any one of claims 1 to 6 or 7 to 9.
CN202111012464.0A 2021-08-31 2021-08-31 Service reminding method, device, system, electronic equipment and storage medium Active CN113938451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111012464.0A CN113938451B (en) 2021-08-31 2021-08-31 Service reminding method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111012464.0A CN113938451B (en) 2021-08-31 2021-08-31 Service reminding method, device, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113938451A CN113938451A (en) 2022-01-14
CN113938451B true CN113938451B (en) 2023-05-30

Family

ID=79274883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111012464.0A Active CN113938451B (en) 2021-08-31 2021-08-31 Service reminding method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113938451B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844851A (en) * 2022-05-07 2022-08-02 广东有线广播电视网络有限公司 Information display method, information display device, computer equipment and storage medium
CN117093116A (en) * 2022-05-11 2023-11-21 北京字跳网络技术有限公司 Service processing method, device, equipment and medium based on session

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134784A (en) * 2020-09-03 2020-12-25 北京达佳互联信息技术有限公司 Message display method, device, terminal, server, system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370439B2 (en) * 2006-03-09 2013-02-05 Yahoo! Inc. Activating automatic messaging session
US7953808B2 (en) * 2008-03-04 2011-05-31 Apple Inc. Automatic notification system and process
JP5413934B1 (en) * 2013-05-02 2014-02-12 株式会社 ディー・エヌ・エー Program, method, and server apparatus
US10547654B2 (en) * 2017-05-16 2020-01-28 Microsoft Technology Licensing, Llc Concurrent engagement with live content of multiple conference sessions
US11122094B2 (en) * 2017-07-28 2021-09-14 Snap Inc. Software application manager for messaging applications
CN113179206B (en) * 2021-04-09 2022-11-22 北京达佳互联信息技术有限公司 Session display method, session acquisition method, device, equipment, system and medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112134784A (en) * 2020-09-03 2020-12-25 北京达佳互联信息技术有限公司 Message display method, device, terminal, server, system and storage medium

Also Published As

Publication number Publication date
CN113938451A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN107483973B (en) Method and device for executing activity in live broadcast room
CN110460578B (en) Method and device for establishing association relationship and computer readable storage medium
CN113938451B (en) Service reminding method, device, system, electronic equipment and storage medium
CN113099249B (en) Live broadcasting room object recommendation method and device, server and electronic equipment
CN113099262B (en) Information display method and device, electronic equipment and storage medium
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN106095405B (en) Icon updating method and device
CN114051147A (en) Live broadcast interaction method, virtual resource delivery method and device and electronic equipment
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN113365087A (en) Video data processing method and device, electronic equipment and storage medium
CN110636318A (en) Message display method, message display device, client device, server and storage medium
CN113747207A (en) Data transmission method and device, electronic equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN110121056B (en) Cross-regional video networking monitoring video acquisition method and device
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN111211963A (en) Chat group joining method and device, electronic equipment and storage medium
CN114157520B (en) Project state acquisition method and device, electronic equipment and storage medium
CN112291581B (en) Server, terminal equipment, information processing method and device
CN111343510B (en) Information processing method, information processing device, electronic equipment and storage medium
CN113949682A (en) Message processing method and device, electronic equipment and storage medium
CN112769677A (en) Data synchronization method, data synchronization device, electronic equipment, storage medium and program product
CN111736890A (en) Data updating method and device, electronic equipment and storage medium
CN112733058A (en) Data processing system, method, device, electronic equipment and storage medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium

Legal Events

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