CN111818350B - Method, system, device, electronic equipment and storage medium for displaying information - Google Patents

Method, system, device, electronic equipment and storage medium for displaying information Download PDF

Info

Publication number
CN111818350B
CN111818350B CN202010538034.1A CN202010538034A CN111818350B CN 111818350 B CN111818350 B CN 111818350B CN 202010538034 A CN202010538034 A CN 202010538034A CN 111818350 B CN111818350 B CN 111818350B
Authority
CN
China
Prior art keywords
interaction
live broadcast
broadcast room
information
state information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010538034.1A
Other languages
Chinese (zh)
Other versions
CN111818350A (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 CN202010538034.1A priority Critical patent/CN111818350B/en
Publication of CN111818350A publication Critical patent/CN111818350A/en
Application granted granted Critical
Publication of CN111818350B publication Critical patent/CN111818350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a system, a device, electronic equipment and a storage medium for displaying information, which relate to the technical field of computer processing and are used for solving the problem of high computing pressure of a server in the related technology, and the method comprises the following steps: searching a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, searching the changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, and finally sending display information corresponding to the changed interaction information to a client corresponding to the target live broadcast room. Because whether the interaction state information in the live broadcast room changes is judged by judging whether the interaction state information in the live broadcast room changes or not through whether the display interface interaction information in the live broadcast room changes or not, the server does not need to compare whether the service state information of each service in each live broadcast room changes or not, and therefore the calculation pressure of the server can be reduced.

Description

Method, system, device, electronic equipment and storage medium for displaying information
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, an electronic device, and a storage medium for displaying information.
Background
When the live broadcast platform carries out live broadcast, some service state information may change, for example, the number of praise displayed on the terminal during live broadcast, the number of people in the live broadcast room, the guess password red packet state and the like. When the service state information changes, the server needs to synchronize the display information corresponding to the changed service state information to the anchor client and the audience client.
Judging whether the service state information changes, the server can access the current service state information of each service every second, and comparing the accessed service state information with the service state information stored locally in the server, for example, if there are 10 services in a live broadcast room, the server needs to compare the service states of 10 services every second, and determines that the comparison result in the live broadcast room is that different service state information changes.
The server compares each service state information with the service state information stored by the server every second, the comparison times are increased along with the increase of the number of services, and the calculation pressure is higher.
Disclosure of Invention
The invention provides a method, a system, a device, electronic equipment and a storage medium for displaying information, which are used for at least solving the problem of high calculation pressure of a server in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method of presenting information, including:
searching a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to a received interaction state information change request sent by a client corresponding to the live broadcast room;
searching for changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, wherein the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client corresponding to the target live broadcast room;
and sending display information corresponding to the changed interaction state information to a client corresponding to the target live broadcast room.
In an optional implementation manner, the searching for the target live broadcast room in which the interaction state information changes in the live broadcast room according to the stored display interface interaction information of the live broadcast room includes:
comparing the stored display interface interaction information of the live broadcast room with the last updated display interface interaction information of the same live broadcast room;
and taking the live broadcast rooms with different comparison results as the target live broadcast room.
In an optional implementation manner, after the taking the live broadcast room with the different comparison result as the target live broadcast room, the method further includes:
and updating the last updated display interface interaction information of the target live broadcast room into the stored display interface interaction information of the live broadcast room.
In an optional implementation manner, the searching for the changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room includes:
comparing the saved interaction parameter of the target live broadcast room with the interaction parameter updated last time in the same target live broadcast room, wherein the interaction parameter is interaction state information or interaction identification information;
and searching the changed interaction state information according to the comparison result.
In an optional implementation manner, the searching for the changed interaction state information according to the comparison result includes:
and if the interaction parameters are interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
In an optional implementation manner, after the determining that the interaction state information with different comparison results is the changed interaction state information, the method further includes:
and updating the interaction state information updated last time in the target live broadcast room into the stored interaction state information in the target live broadcast room.
In an optional implementation manner, the searching for the changed interaction state information according to the comparison result includes:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
In an optional implementation manner, after searching for interaction state information corresponding to interaction identification information with different comparison results, the method further includes:
and updating the last updated interactive identification information of the target live broadcast room into the interactive identification information stored in the target live broadcast room.
According to a second aspect of the embodiments of the present disclosure, there is provided another method for presenting information, including:
an Application Programming Interface (API) server receives an interaction state information change request notified by a client corresponding to a live broadcast room;
the API server updates display interface interaction information and interaction parameters of the live broadcast room in a storage server according to the interaction state information change request;
the long connection server searches a target live broadcast room with changed interaction state information according to the updated display interface interaction information of the live broadcast room in the storage server;
the long connection server searches for changed interaction state information according to the updated interaction parameters of the target live broadcast room in the storage server;
and the long connection server sends display information corresponding to the changed interaction state information in the target live broadcast room to a client corresponding to the target live broadcast room.
According to a second aspect of the embodiments of the present disclosure, there is provided a system for presenting information, including:
the application program interface API server is configured to execute an interaction state information change request for receiving a client notification corresponding to the live broadcast room; updating the display interface interaction information and the interaction parameters of the live broadcast room in a storage server according to the interaction state information change request;
the long connection server is configured to search a target live broadcast room with changed interaction state information according to the updated display interface interaction information of the live broadcast room in the storage server; searching for changed interaction state information according to the updated interaction parameters of the target live broadcast room in the storage server; and sending display information corresponding to the changed interaction state information in the target live broadcast room to a client corresponding to the target live broadcast room.
In an alternative embodiment, the long-connection service entity is configured to perform:
comparing the display interface interaction information of the live broadcast room stored in the storage server with the display interface interaction information of the same live broadcast room stored in the long connection server; and taking the live broadcast rooms with different comparison results as the target live broadcast room.
In an optional embodiment, the long connection server is further configured to perform:
and after the different live broadcast rooms with the comparison result are taken as the target live broadcast room, updating the display interface interaction information of the same live broadcast room stored in the long connection server according to the updated display interface interaction information of the live broadcast room in the storage server.
In an alternative embodiment, the long-connection service entity is configured to perform:
comparing the interaction parameters of the target live broadcast room stored in the memory with the interaction parameters of the same target live broadcast room stored in the long connection server, wherein the interaction parameters are interaction state information or interaction identification information; and searching the changed interaction state information according to the comparison result.
In an alternative embodiment, the long-connection service entity is configured to perform:
and if the interaction parameter is interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
In an optional embodiment, the long connection server is further configured to perform:
and after the interaction state information with different comparison results is taken as the changed interaction state information, updating the interaction state information of the same target live broadcast room stored in the long connection server according to the updated interaction state information of the target live broadcast room in the storage server.
In an alternative embodiment, the long-connection service entity is configured to perform:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
In an optional embodiment, the long connection server is further configured to perform:
after the interaction state information corresponding to the interaction identification information with different comparison results is searched, the interaction identification information of the same target live broadcast room stored in the long connection server is updated according to the updated interaction identification information of the target live broadcast room in the storage server.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for presenting information, including:
the first searching unit is configured to search a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to a received interaction state information change request sent by a client corresponding to the live broadcast room;
the second searching unit is configured to search the changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, wherein the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client side corresponding to the target live broadcast room;
and the sending unit is configured to execute sending of the display information corresponding to the changed interaction state information to the client corresponding to the target live broadcast room.
In an alternative embodiment, the first lookup unit is specifically configured to perform:
comparing the stored display interface interaction information of the live broadcast room with the last updated display interface interaction information of the same live broadcast room; and taking the live broadcast rooms with different comparison results as the target live broadcast room. In an optional implementation manner, the apparatus further includes an updating unit, where after the first searching unit is specifically configured to perform, as the target live broadcast, a live broadcast room whose comparison result is different, the updating unit is further configured to perform:
and updating the last updated display interface interaction information of the target live broadcast room into the stored display interface interaction information of the live broadcast room.
In an alternative embodiment, the second lookup unit is specifically configured to perform:
comparing the saved interaction parameter of the target live broadcast room with the interaction parameter updated last time in the same target live broadcast room, wherein the interaction parameter is interaction state information or interaction identification information; and searching the changed interaction state information according to the comparison result.
In an alternative embodiment, the second lookup unit is specifically configured to perform:
and if the interaction parameters are interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
In an optional implementation manner, after the second lookup unit is specifically configured to perform, as the changed interaction state information, interaction state information with a different comparison result, the update unit is further configured to perform:
and updating the interaction state information updated last time in the target live broadcast room into the stored interaction state information in the target live broadcast room.
In an alternative embodiment, the second lookup unit is specifically configured to perform:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
In an optional implementation manner, after the second searching unit is specifically configured to perform searching for interaction state information corresponding to interaction identification information with different comparison results, the updating unit is further configured to perform:
and updating the last updated interactive identification information of the target live broadcast room into the interactive identification information stored in the target live broadcast room.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of presenting information of any of the first aspects.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a non-volatile readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method for presenting information according to any one of the first aspect and the second aspect of the embodiments of the present disclosure.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when run on an electronic device, causes the electronic device to perform a method that implements any of the above first aspect and the first aspect of embodiments of the present disclosure may relate to.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
because the embodiment of the disclosure provides the method for searching the changed interactive state information in the live broadcast room through the change of the interactive information of the display interface of the live broadcast room, the server does not need to judge whether each interactive state information in each live broadcast room changes one by one, and therefore the calculation pressure of the server can be reduced.
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
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram illustrating an application scenario in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of presenting information in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a complete method of presenting information in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a second method of presenting information, according to an example embodiment;
FIG. 5 is a flowchart illustrating guessing password red packet status information in accordance with one illustrative embodiment;
FIG. 6 is a block diagram illustrating an apparatus for presenting information in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in 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 above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Some of the words that appear in the text are explained below:
1. the term "electronic device" in the embodiments of the present disclosure may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
2. The term "display interface interaction information" in the embodiment of the present disclosure is used to characterize whether interaction state information in a live broadcast room changes.
The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems. Wherein, in the description of the present disclosure, unless otherwise indicated, "plurality" means.
Fig. 1 is a schematic view of an application scenario of the embodiment of the present disclosure. The application scenario diagram includes two clients 110 and a server 130, and the relevant interface 120 can be logged in through the clients 110. Communication between client 110 and server 130 may be via a communication network.
In an alternative embodiment, the communication network is a wired network or a wireless network.
In the embodiment of the present disclosure, the client 110 is an electronic device used by a user, and the electronic device may be a computer device having a certain computing capability and running instant messaging software and a website or social software and a website, such as a personal computer, a mobile phone, a tablet computer, a notebook, an e-book reader, and the like. Each client 110 is connected to a server 130 through a wireless network, the server 130 is a server or a server cluster or a cloud computing center formed by a plurality of servers, or is a virtualization platform, and the server 130 may include a live broadcast long connection server, an API server, and a storage server.
Alternatively, the server 130 may have a plurality of databases therein, and the plurality of databases may store a large amount of data related to the live broadcast, such as live broadcast version parameters, service status information, service identification information, and the like.
In the embodiment of the present disclosure, a user may send a request for a service state change to the server 130 through the interface 120 in the client 110; the server 130 may display the display information corresponding to the service state information transformed in the live broadcast room to the live broadcast room through the interface 120 in the client 110.
Fig. 2 is a method of presenting information, as shown in fig. 2, according to an example embodiment, including the steps of:
s21, searching a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to the received interaction state information change request sent by the client corresponding to the live broadcast room.
In implementation, the server first receives an interaction state information change request sent by a client corresponding to a live broadcast room, then updates display interface interaction information of the live broadcast room according to the interaction state information change request, and stores the updated display interface interaction information.
When the target live broadcast room is searched, the server can compare the display interface interaction information stored in the live broadcast room with the display interface interaction information of the live broadcast room after the last update, and the live broadcast room with the comparison result of different live broadcast rooms is used as the target live broadcast room.
For example, currently, there are 3 live broadcast rooms, namely, a live broadcast room a, a live broadcast room B, and a live broadcast room C, where the server stores the last updated display interface interaction information of the 3 live broadcast rooms, the display interface interaction information of the live broadcast room a is 1, the display interface interaction information of the live broadcast room B is 2, the display interface interaction information of the live broadcast room C is 3, the server also stores the current display interface interaction information of the live broadcast room, the current display interface interaction information of the 3 live broadcast rooms is 1, the display interface interaction information of the live broadcast room B is 2, and the display interface interaction information of the live broadcast room C is 3, the server can determine that the client sending the interaction information change request is the live broadcast room a after receiving the interaction information change request, and then update the current display interface interaction information of the live broadcast room a to 2, and storing, namely the stored interactive information of the display interface of the live broadcast room. The server compares the last updated display interface interaction information of the 3 live broadcast rooms with the stored display interface interaction information of the live broadcast rooms, and the comparison result is different because the stored display interface interaction information of the live broadcast room A is 2 and the last updated display interface interaction information is 1, and the live broadcast room A is determined to be the target live broadcast room.
When the display interface interaction information of the target live broadcast room is compared, several pieces of interaction state information in the target live broadcast room are determined to be changed according to the compared difference value.
For example, if the difference between the updated display interface interaction information of the live broadcast room a and the last updated display interface interaction information is 1, it can be determined that there is a change in the interaction state information in the live broadcast room a.
And after the target live broadcast room is determined, updating the display interface interaction information of the target live broadcast room which is stored in the server and updated last time into the stored display interface interaction information of the live broadcast room.
For example, if the display interface interaction information of the live broadcast room stored in the live broadcast room a is 2, and the last updated display interface interaction information is 1, the last updated display interface interaction information is updated to 2.
S22, searching for changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, wherein the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client corresponding to the target live broadcast room.
Specifically, the server compares the interaction parameters stored in the target live broadcast room with the interaction parameters updated last time in the same target live broadcast room, and searches the changed interaction state information according to the comparison result.
The interaction parameters stored in the target live broadcast room are updated according to the received interaction state information change request sent by the client corresponding to the target live broadcast room, and the interaction parameters can be interaction state information or interaction identification information.
The following describes the interactive parameters as interactive status information and interactive identification information.
In the first mode, the interaction parameter is interaction state information.
If the interaction parameter is interaction state information, the server compares the interaction state information stored in the target live broadcast room with the interaction state information updated last time in the same target live broadcast room, and takes the interaction state information with different comparison results as changed interaction state information.
And after the changed interactive state information is determined, updating the last updated interactive state information of the target live broadcast room into the interactive state information stored in the target live broadcast room.
And in the second mode, the interaction parameters are interaction identification information.
If the interaction parameter is the interaction identification information, the server compares the interaction identification information stored in the target live broadcast room with the interaction identification information updated last time in the same target live broadcast room, and then searches interaction state information corresponding to the interaction identification information with different comparison results.
And after the changed interaction state information is determined, updating the last updated interaction identification information of the target live broadcast room into the interaction identification information stored in the target live broadcast room.
And S23, sending display information corresponding to the changed interaction state information to a client corresponding to the target live broadcast room.
After the interactive state information is determined, display information corresponding to the interactive state information needs to be determined, and then the determined display information is sent to a client corresponding to the target live broadcast room.
In the embodiment of the disclosure, the server searches a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, then searches the changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, and finally sends display information corresponding to the changed interaction information to the client corresponding to the target live broadcast room. Because whether the interaction state information in the live broadcast room changes is judged by judging whether the interaction state information in the live broadcast room changes or not through whether the display interface interaction information in the live broadcast room changes or not, the server does not need to judge whether the interaction state information of each service in each live broadcast room changes or not, and therefore the calculation pressure of the server can be reduced.
Fig. 3 is a flow chart illustrating a complete method of presenting information according to an exemplary embodiment.
S31, the server receives an interactive state information change request sent by a client corresponding to the live broadcast room;
s32, the server updates the current display interface interaction information of the live broadcast room according to the interaction state information change request, updates the current interaction identification information and updates the current interaction state information;
s33, the server compares the updated current display interface interaction information with the last updated display interface interaction information;
s34, if the server determines that the comparison result is different, the server compares the updated current interactive identification information with the interactive identification information updated last time;
s35, the server searches the interactive state information corresponding to the comparison result which is different interactive identification information;
and S36, the server displays the display information corresponding to the searched interaction state information on the terminal corresponding to the live broadcast room.
In the present disclosure, there may be one or more servers. If there is one, all the functions that the server needs to implement are implemented by the server, and if there are a plurality of servers, different functions are implemented by different servers as described above.
The following is a description of the case where there are a plurality of servers in the embodiment of the present disclosure.
The servers in the present disclosure may include an API server, a long connection server, and a storage server.
The API server is used for receiving an interactive state information change request notified by a client corresponding to the live broadcast room; and updating the display interface interaction information and the interaction parameters of the live broadcast room in the storage server according to the interaction state information change request.
The long connection server is used for searching a target live broadcast room with changed interaction state information according to the updated display interface interaction information of the live broadcast room in the storage server; searching for changed interaction state information according to the updated interaction parameters of the target live broadcast room in the storage server; and sending display information corresponding to the changed interaction state information in the target live broadcast room to a client corresponding to the target live broadcast room.
The storage server is used for storing the display interface interaction information and the interaction parameters of the live broadcast room.
In specific implementation, after receiving an interaction state information change request notified by a client corresponding to a live broadcast room, an API server first stores information carried in the request, then notifies a storage server of interaction information +1 of a display interface of the live broadcast room stored in the storage server, and sends information carried in the request and related to display information to the storage server, wherein the interaction parameter +1 corresponds to the changed interaction state information in the live broadcast room.
And after receiving the update notification of the API server, the storage server updates the display interface interaction information of the live broadcast room stored in the storage server, the interaction parameters corresponding to the changed interaction state information in the live broadcast room, and stores the received information related to the display information.
For example, if the display interface interaction information of the live broadcast room a in the storage server is 1 and the interaction parameter of the guess password red packet is 1.1, the storage server updates the display interface interaction information of the live broadcast room a to 2 and updates the interaction parameter of the guess password red packet to 1.2 after receiving the update notification of the API server.
In implementation, the long connection server can access the display interface interaction information of each live broadcast room stored in the storage server once every second, compare the accessed display interface interaction information of each live broadcast room with the locally stored display interface interaction information of each live broadcast room, and take the live broadcast room with a comparison result of different live broadcast rooms as a target live broadcast room, namely, the live broadcast room with the interaction state information changed.
After determining that the display interface interaction information of a certain live broadcast room changes, the long connection server acquires the interaction parameters of the target live broadcast room from the storage server, wherein the interaction parameters can be interaction state information or interaction identification information.
The following description will be made separately.
In the first mode, the interaction parameter is interaction state information.
The long connection server acquires the interaction state information of the target live broadcast room from the storage, compares the acquired interaction state information with the interaction state information locally stored by the long connection server, and sends the display information corresponding to different interaction state information as a comparison result to the client corresponding to the target live broadcast room.
In addition, the long connection server can update the interaction state information locally stored by the long connection server to the interaction state information with different comparison results acquired from the storage server.
And in the second mode, the interaction parameters are interaction identification information.
The long connection server acquires the interactive identification information of the target live broadcast room from the storage, then compares the acquired interactive identification information with the interactive identification information locally stored by the long connection server, searches for the interactive status information corresponding to different interactive identification information as a comparison result, and then sends the display information corresponding to the searched interactive status information to the client corresponding to the target live broadcast room.
In addition, the long connection server can also update the interaction identification information locally stored by the long connection server to the interaction identification information with different comparison results obtained from the storage server.
By using the method for displaying the information, the long connection server does not need to compare all the interactive state information in each live broadcast room every second, only needs to compare the interactive interface display information of the live broadcast rooms every second, and compares the interactive parameters only after the interactive interface display information changes, so that the calculation pressure of the long connection server can be reduced.
Fig. 4 is a flowchart illustrating a complete method for presenting information according to an exemplary embodiment, which specifically includes the following steps:
s400, a user sets interaction state information through a client;
s401, a client sends a request carrying interaction state information to an API server;
s402, the API server stores the interaction state information;
s403, the API server informs the storage server of the interactive information +1 of the display interface of the live broadcast room corresponding to the client;
s404, the API server informs the storage server of interaction identification information +1 corresponding to the interaction state information received by the API server;
s405, the API server sends a signaling carrying the interaction state information to a storage server;
s406, the storage server stores the locally stored interaction information +1 of the display interface of the live broadcast room, and stores the locally stored interaction identification information +1 corresponding to the interaction state information received by the API server;
s407, the long connection server acquires display interface interaction information from the storage server;
s408, the long connection server compares the acquired display interface interaction information with locally stored display interface interaction information to determine that the display interface interaction information changes;
s409, the long-connection server updates locally stored display interface interaction information;
s410, the long connection server acquires interactive identification information of the live broadcast room from the storage server;
s411, the long connection server compares the acquired interaction identification information with locally stored interaction identification information corresponding to the same interaction state information, and determines interaction state information corresponding to the changed interaction identification information;
s412, the long connection server acquires the display information corresponding to the changed interaction state information from the storage server;
s413, the long connection server broadcasts the display information to the terminal corresponding to the live broadcast room.
The following description will be made with reference to specific examples.
Fig. 5 is a flow diagram illustrating guessing password red packet status information according to an example embodiment. The method specifically comprises the following steps:
s51, setting the red envelope password, the red envelope amount and the duration of the guessing password red envelope by the user at the anchor client;
s52, the anchor client sends a guess password red packet opening request to the API server;
the transmitted guess password opening red packet request carries the red packet password, the red packet amount and the duration of the guess password red packet.
S53, the API server stores the red envelope password, the red envelope amount and the duration;
s54, the API server informs the storage server of the interactive information +1 of the display interface of the live broadcast room corresponding to the anchor client;
s55, the API server informs the storage server of the interactive identification information +1 of the guessing password red packet in the live broadcast room;
s56, the API server sends the signaling carrying the red packet amount and the duration to the storage server;
it should be noted that S54, S55, and S56 have no fixed sequence, and any step may be executed first.
S57, the storage server stores the locally stored display interface interaction information +1 of the live broadcast room; the interaction identification information +1 of the guessing password red packet stored locally; storing the received money amount and duration of the red packet;
s58, the long connection server acquires the display interface interaction information of the live broadcast room from the storage server;
s59, the long connection server compares the acquired display interface interaction information of the live broadcast room with locally stored display interface interaction information of the live broadcast room, and determines that the display interface interaction information changes;
the long connection server can acquire the display interface interaction information of the live broadcast room from the storage server once every second, compares the acquired display interface interaction information of the live broadcast room with the display interface interaction information of the same live broadcast room stored in the long connection server, and judges whether the display interface interaction information changes.
S60, the long connection server updates the locally stored display interface interaction information of the live broadcast room into the acquired display interface interaction information of the live broadcast room;
s61, the long connection server acquires the interaction identification information corresponding to the interaction state information in the live broadcast room from the storage server;
s62, the long connection server compares the acquired interaction identification information with the interaction state information corresponding to the same interaction state information stored in the long connection server, and determines that guessing password red packet version data changes;
s63, the long connection server obtains the red packet amount and the duration of the guess password red packet service from the storage server;
s64, the long connection server broadcasts the obtained red packet amount and duration to the client corresponding to the live broadcast room;
s65, the execution server obtains the guess password red packet from the API server to reach the duration;
the execution server may obtain whether the guess password red packet reaches the duration once every second, and specifically, after the API server receives the request sent by the anchor client, the API server may set a timer according to the duration carried in the request.
S66, the execution server determines that the guess password red packet state is closed, and assembles the display information when the guess password red packet state is closed;
the display information when the red packet is closed may be that the execution server obtains the red packet amount and duration of the guessing password red packet from the API server, and then assembles the red packet amount and duration into the display information.
S67, the execution server informs the storage server of the display interface interaction information +1 of the live broadcast room corresponding to the guess password red packet;
s68, the execution server informs the storage server of guessing the password red packet interactive identification information +1 in the live broadcast room;
s69, the execution server sends the signaling carrying the display information that the guess password red packet state is closed to the storage server;
it should be noted that S67, S68, and S69 have no fixed sequence, and any step may be executed first.
S70, the storage server stores the locally stored display interface interaction information +1 of the live broadcast room; the interaction identification information +1 of the guessing password red packet stored locally; storing the received display information;
s71, the long connection server acquires the display interface interaction information of the live broadcast room from the storage server;
s72, the long connection server compares the acquired display interface interaction information of the live broadcast room with locally stored display interface interaction information of the live broadcast room, and determines that the display interface interaction information changes;
s73, the long connection server updates the locally stored display interface interaction information of the live broadcast room into the acquired display interface interaction information of the live broadcast room;
s74, the long connection server acquires the interaction identification information corresponding to the interaction state information in the live broadcast room from the storage server;
s75, the long connection server compares the acquired interaction identification information with locally stored interaction state information corresponding to the same interaction state information, and determines that guessing password red packet version data changes;
s76, the long connection server acquires display information of the guess password red packet from the storage server;
and S77, the long connection server broadcasts the acquired display information to the client corresponding to the live broadcast room.
Fig. 6 is a block diagram illustrating an apparatus 600 for presenting information, according to an example embodiment. Referring to fig. 6, the apparatus includes a first lookup unit 601, a second lookup unit 602, and a sending unit 603.
The first searching unit 601 is configured to search a target live broadcast room with changed interaction state information in the live broadcast room according to stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to a received interaction state information change request sent by a client corresponding to the live broadcast room;
a second searching unit 602, configured to perform searching for interaction state information that changes in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, where the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client corresponding to the target live broadcast room;
a sending unit 603 configured to execute sending of the display information corresponding to the changed interaction state information to a client corresponding to the target live broadcast.
In an optional implementation manner, the first lookup unit 601 is specifically configured to perform:
comparing the stored display interface interaction information of the live broadcast room with the last updated display interface interaction information of the same live broadcast room; and taking the live broadcast rooms with different comparison results as the target live broadcast room. In an optional implementation manner, the apparatus further includes an updating unit, where after the first searching unit 601 is specifically configured to perform, as the target live broadcast, a live broadcast room whose comparison result is different, the updating unit is further configured to perform:
and updating the last updated display interface interaction information of the target live broadcast room into the stored display interface interaction information of the live broadcast room.
In an optional implementation manner, the second search unit 602 is specifically configured to perform:
comparing the saved interaction parameter of the target live broadcast room with the interaction parameter updated last time in the same target live broadcast room, wherein the interaction parameter is interaction state information or interaction identification information; and searching the changed interaction state information according to the comparison result.
In an optional implementation manner, the second search unit 602 is specifically configured to perform:
and if the interaction parameters are interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
In an optional implementation manner, after the second search unit 602 is specifically configured to perform, as the changed interaction state information, interaction state information with different comparison results, the update unit is further configured to perform:
and updating the interaction state information updated last time in the target live broadcast room into the stored interaction state information in the target live broadcast room.
In an optional implementation manner, the second search unit 602 is specifically configured to perform:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
In an optional implementation manner, after the second searching unit 602 is specifically configured to perform searching for interaction state information corresponding to interaction identification information with different comparison results, the updating unit is further configured to perform:
and updating the last updated interactive identification information of the target live broadcast room into the interactive identification information stored in the target live broadcast room.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an electronic device 700 according to an example embodiment, the apparatus comprising:
a processor 701;
a memory 702 for storing instructions executable by the processor 701;
wherein, the processor 701 is configured to execute the instructions to implement any one of the methods for presenting information in the embodiments of the present disclosure.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory 702 comprising instructions, executable by a processor 701 of an electronic device 700 to perform the above-described method is also provided.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present disclosure, a terminal device is further provided, and a structure of the terminal device is shown in fig. 8, where the terminal device 800 for displaying information includes: a Radio Frequency (RF) circuit 810, a power supply 820, a processor 830, a memory 840, an input unit 850, a display unit 860, a camera 870, a communication interface 880, and a Wireless Fidelity (Wi-Fi) module 890. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 8 is not intended to be limiting, and that embodiments of the present disclosure provide terminals that include more or less components than those shown, or that combine certain components, or that are arranged in different components.
The various components of terminal 800 are described in greater detail below with reference to fig. 8:
the RF circuitry 810 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 810 sends the downlink data of the base station to the processor 830 for processing; and in addition, sending the uplink data to be sent to the base station. In general, RF circuit 810 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 810 may also communicate with networks and other terminals via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
Wi-Fi technology belongs to short-distance wireless transmission technology, and the terminal 800 can be connected with an Access Point (AP) through a Wi-Fi module 890, so as to realize Access to a data network. The Wi-Fi module 890 may be used for receiving and transmitting data during communication.
Terminal 800 may be physically connected to other terminals via communications interface 880. Optionally, the communication interface 880 is connected to a communication interface of another terminal through a cable, so as to implement data transmission between the terminal 800 and the other terminal.
Since the terminal 800 can implement a communication service and send information to other contacts in the embodiment of the present disclosure, the terminal 800 needs to have a data transmission function, that is, the terminal 800 needs to include a communication module inside. Although fig. 8 illustrates communication modules such as RF circuitry 810, Wi-Fi module 890, and communication interface 880, it is to be understood that at least one of the above-described components or other communication modules (e.g., bluetooth modules) for enabling communication are present in terminal 800 for data transmission.
For example, when the terminal 800 is a cellular phone, the terminal 800 may include the RF circuit 810 and may also include the Wi-Fi module 890; when the terminal 800 is a computer, the terminal 800 may include a communication interface 880 and may further include a Wi-Fi module 890; when the terminal 800 is a tablet computer, the terminal 800 may include a Wi-Fi module.
Memory 840 may be used to store software programs and modules. The processor 830 performs various functional applications and data processing of the terminal 800 by executing software programs and modules stored in the memory 840, and some or all of the processes of fig. 2 of the embodiments of the present disclosure may be implemented when the processor 830 executes the program codes in the memory 840.
Alternatively, the memory 840 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data (such as various multimedia files like pictures, video files, etc., and face information templates) created according to the use of the terminal, etc.
Further, the memory 840 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 850 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal 900.
Alternatively, the input unit 850 may include a touch panel 851 and other input terminals 852.
The touch panel 851, also referred to as a touch screen, can collect touch operations of a user (such as operations of the user on the touch panel 851 or near the touch panel 851 by using any suitable object or accessory such as a finger or a stylus), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 851 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 830, and can receive and execute commands sent by the processor 830. In addition, the touch panel 851 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
Optionally, other input terminals 852 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 860 may be used to display information input by a user or information provided to the user and various menus of the terminal 800. The display unit 860 is a display system of the terminal 800, and is used for presenting an interface and implementing human-computer interaction.
The display unit 860 may include a display panel 861. Alternatively, the Display panel 861 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 851 may cover the display panel 861, and when the touch panel 851 detects a touch operation on or near the touch panel 851, the touch operation is transmitted to the processor 830 to determine the type of the touch event, and then the processor 830 provides a corresponding visual output on the display panel 861 according to the type of the touch event.
Although in fig. 8, the touch panel 851 and the display panel 861 are two separate components to implement the input and output functions of the terminal 800, in some embodiments, the touch panel 851 and the display panel 861 may be integrated to implement the input and output functions of the terminal 800.
The processor 830 is a control center of the terminal 800, connects the respective components using various interfaces and lines, performs various functions of the terminal 800 and processes data by operating or executing software programs and/or modules stored in the memory 840 and calling data stored in the memory 840, thereby implementing various terminal-based services.
Optionally, processor 830 may include one or more processing units. Optionally, the processor 830 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 830.
And a camera 870 for implementing a photographing function of the terminal 800 to take pictures or videos. The camera 970 can also be used to implement a scanning function of the terminal 800, and scan a scanning object (two-dimensional code/barcode).
Terminal 800 also includes a power supply 820 (e.g., a battery) for powering the various components. Optionally, the power supply 820 may be logically connected to the processor 830 through a power management system, so as to implement functions of managing charging, discharging, power consumption, and the like through the power management system.
It is noted that the processor 830 according to the embodiments of the disclosure can perform the functions of the processor 701 in fig. 7, and the memory 840 stores the contents of the memory 702.
The embodiments of the present disclosure also provide a computer program product, which, when running on an electronic device, causes the electronic device to execute any one of the methods for displaying information or any one of the methods for displaying information described in the embodiments of the present disclosure.
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 variations, uses, or adaptations of the disclosure following, in general, the 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (23)

1. A method of presenting information, comprising:
searching a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to a received interaction state information change request sent by a client corresponding to the live broadcast room;
searching for changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, wherein the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client corresponding to the target live broadcast room;
sending display information corresponding to the changed interaction state information to a client corresponding to the target live broadcast room;
wherein, according to the display interface interactive information of the live broadcast room of saving, look for the target live broadcast room that interactive state information changes in the live broadcast room, include:
and comparing the stored display interface interaction information of the live broadcast room with the last updated display interface interaction information of the same live broadcast room, and taking the live broadcast room with a different comparison result as the target live broadcast room.
2. The method of claim 1, wherein after the comparing results in different live rooms as the target live room, further comprising:
and updating the last updated display interface interaction information of the target live broadcast room into the stored display interface interaction information of the live broadcast room.
3. The method as claimed in claim 1, wherein the searching for the changed interaction state information in the target live broadcast room according to the saved interaction parameters of the target live broadcast room comprises:
comparing the saved interaction parameter of the target live broadcast room with the interaction parameter updated last time in the same target live broadcast room, wherein the interaction parameter is interaction state information or interaction identification information;
and searching the changed interaction state information according to the comparison result.
4. The method of claim 3, wherein the searching for the changed interaction state information according to the comparison result comprises:
and if the interaction parameters are interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
5. The method as claimed in claim 4, wherein the step of taking the interaction state information with different comparison results as the changed interaction state information further comprises:
and updating the interaction state information updated last time in the target live broadcast room into the stored interaction state information in the target live broadcast room.
6. The method of claim 3, wherein the searching for the changed interaction state information according to the comparison result comprises:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
7. The method as claimed in claim 6, wherein after searching the interaction status information corresponding to the interaction identification information with different comparison results, the method further comprises:
and updating the last updated interactive identification information of the target live broadcast room into the interactive identification information stored in the target live broadcast room.
8. A system for presenting information, comprising:
the application program interface API server is configured to execute an interaction state information change request for receiving a client notification corresponding to the live broadcast room; updating the display interface interaction information and the interaction parameters of the live broadcast room in a storage server according to the interaction state information change request;
the long connection server is configured to search a target live broadcast room with changed interaction state information according to the updated display interface interaction information of the live broadcast room in the storage server; searching for changed interaction state information according to the updated interaction parameters of the target live broadcast room in the storage server; sending display information corresponding to the changed interaction state information in the target live broadcast room to a client corresponding to the target live broadcast room;
wherein the long-connection server is configured to perform:
comparing the display interface interaction information of the live broadcast room stored in the storage server with the display interface interaction information of the same live broadcast room stored in the long connection server; and taking the live broadcast rooms with different comparison results as the target live broadcast room.
9. The system of claim 8, wherein the long connection server is further configured to perform:
and after the different live broadcast rooms with the comparison result are taken as the target live broadcast room, updating the display interface interaction information of the same live broadcast room stored in the long connection server according to the updated display interface interaction information of the live broadcast room in the storage server.
10. The system of claim 8, wherein the long-connection service entity is configured to perform:
comparing the interaction parameters of the target live broadcast room stored in the storage server with the interaction parameters of the same target live broadcast room stored in the long connection server, wherein the interaction parameters are interaction state information or interaction identification information; and searching the changed interaction state information according to the comparison result.
11. The system of claim 10, wherein the long-connection service entity is configured to perform:
and if the interaction parameter is interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
12. The system of claim 11, wherein the long connection server is further configured to perform:
and after the interaction state information with different comparison results is taken as the changed interaction state information, updating the interaction state information of the same target live broadcast room stored in the long connection server according to the updated interaction state information of the target live broadcast room in the storage server.
13. The system of claim 10, wherein the long-connection service entity is configured to perform:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
14. The system of claim 13, wherein the long connection server is further configured to perform:
after the interaction state information corresponding to the interaction identification information with different comparison results is searched, the interaction identification information of the same target live broadcast room stored in the long connection server is updated according to the updated interaction identification information of the target live broadcast room in the storage server.
15. An apparatus for presenting information, comprising:
the first searching unit is configured to search a target live broadcast room with changed interaction state information in the live broadcast room according to the stored display interface interaction information of the live broadcast room, wherein the display interface interaction information of the live broadcast room is updated according to a received interaction state information change request sent by a client corresponding to the live broadcast room;
the second searching unit is configured to search the changed interaction state information in the target live broadcast room according to the stored interaction parameters of the target live broadcast room, wherein the interaction parameters of the target live broadcast room are updated according to the received interaction state information change request sent by the client side corresponding to the target live broadcast room;
the sending unit is configured to execute sending of display information corresponding to the changed interaction state information to a client corresponding to the target live broadcast room;
wherein the first lookup unit is specifically configured to perform:
comparing the stored display interface interaction information of the live broadcast room with the last updated display interface interaction information of the same live broadcast room; and taking the live broadcast rooms with different comparison results as the target live broadcast room.
16. The apparatus as claimed in claim 15, further comprising an updating unit, wherein the first searching unit is specifically configured to perform, after the live broadcast room with the comparison result being different is taken as the target live broadcast room, the updating unit is further configured to perform:
and updating the last updated display interface interaction information of the target live broadcast room into the stored display interface interaction information of the live broadcast room.
17. The apparatus of claim 16, wherein the second lookup unit is specifically configured to perform:
comparing the saved interaction parameter of the target live broadcast room with the interaction parameter updated last time in the same target live broadcast room, wherein the interaction parameter is interaction state information or interaction identification information; and searching the changed interaction state information according to the comparison result.
18. The apparatus of claim 17, wherein the second lookup unit is specifically configured to perform:
and if the interaction parameters are interaction state information, taking the interaction state information with different comparison results as the changed interaction state information.
19. The apparatus of claim 18, wherein the second lookup unit is specifically configured to perform, after the interaction state information with the different comparison result is taken as the changed interaction state information, the update unit is further configured to perform:
and updating the interaction state information updated last time in the target live broadcast room into the stored interaction state information in the target live broadcast room.
20. The apparatus of claim 17, wherein the second lookup unit is specifically configured to perform:
and if the interaction parameter is the interaction identification information, searching interaction state information corresponding to the interaction identification information with different comparison results.
21. The apparatus of claim 20, wherein after the second searching unit is specifically configured to perform searching for the interaction state information corresponding to the interaction identification information with different comparison results, the updating unit is further configured to perform:
and updating the last updated interactive identification information of the target live broadcast room into the interactive identification information stored in the target live broadcast room.
22. 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 method of presenting information of any one of claims 1 to 7.
23. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a method of presenting information as claimed in any one of claims 1 to 7.
CN202010538034.1A 2020-06-12 2020-06-12 Method, system, device, electronic equipment and storage medium for displaying information Active CN111818350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010538034.1A CN111818350B (en) 2020-06-12 2020-06-12 Method, system, device, electronic equipment and storage medium for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010538034.1A CN111818350B (en) 2020-06-12 2020-06-12 Method, system, device, electronic equipment and storage medium for displaying information

Publications (2)

Publication Number Publication Date
CN111818350A CN111818350A (en) 2020-10-23
CN111818350B true CN111818350B (en) 2021-11-02

Family

ID=72845066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010538034.1A Active CN111818350B (en) 2020-06-12 2020-06-12 Method, system, device, electronic equipment and storage medium for displaying information

Country Status (1)

Country Link
CN (1) CN111818350B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752123B (en) * 2020-12-28 2022-03-25 上海哔哩哔哩科技有限公司 Network quality evaluation method and device
CN112887299B (en) * 2021-01-22 2022-07-08 平安普惠企业管理有限公司 Online interaction method and device, electronic equipment and storage medium
CN113127166A (en) * 2021-03-16 2021-07-16 北京达佳互联信息技术有限公司 Multi-service processing method, device, system, electronic equipment and storage medium
CN113766259B (en) * 2021-08-17 2023-01-20 北京达佳互联信息技术有限公司 Information synchronization system, method, device, equipment and storage medium
CN115119019A (en) * 2022-06-20 2022-09-27 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN115396686A (en) * 2022-08-25 2022-11-25 广州方硅信息技术有限公司 Method, device, system, equipment and storage medium for interactive synchronous processing of live broadcast room

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101901884B1 (en) * 2012-02-29 2018-09-28 삼성전자주식회사 Apparatus and method for providing remote user interface
CN110351572B (en) * 2019-07-10 2022-05-20 广州虎牙科技有限公司 Method, device and equipment for updating live broadcast room information and storage medium
CN111031336B (en) * 2019-12-10 2022-05-06 北京达佳互联信息技术有限公司 Live broadcast list data updating method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111818350A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN111818350B (en) Method, system, device, electronic equipment and storage medium for displaying information
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN111314721B (en) Method, device, equipment and medium for determining abnormal live broadcast
CN108255683B (en) Method for prompting message in terminal and terminal
CN113609392B (en) Content recommendation method, content to be recommended determining method and related device
CN111143543A (en) Object recommendation method, device, equipment and medium
CN111144953B (en) Resource allocation method, device, equipment and medium
CN106992953A (en) System information acquisition method and device
CN111010663B (en) Information sharing method and device, storage medium and computer equipment
CN111259200A (en) Video category classification method and device, electronic equipment and storage medium
CN111625690B (en) Object recommendation method, device, equipment and medium
CN107948093A (en) Adjust the method and device that network speed is applied in terminal device
CN105227598B (en) Resource sharing method, device and system based on cloud storage
CN110809170B (en) Time delay determination method and device, commodity link display method and device and server
CN107995151B (en) Login verification method, device and system
CN106330681B (en) Method, system and related equipment for sharing film watching information
CN111338971A (en) Application testing method and device, electronic equipment and storage medium
CN113676395B (en) Information processing method, related device and readable storage medium
CN108958854B (en) Window display method and device and terminal
CN109656431A (en) Information display method, device and storage medium
CN106020945A (en) Shortcut item adding method and device
CN111797308A (en) Resource recommendation method and device, electronic equipment and medium
CN111191143B (en) Application recommendation method and device
CN112543493A (en) Wifi connection method, terminal and computer storage medium
CN108804434B (en) Message query method, server and terminal equipment

Legal Events

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