CN111176837A - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111176837A
CN111176837A CN201911304199.6A CN201911304199A CN111176837A CN 111176837 A CN111176837 A CN 111176837A CN 201911304199 A CN201911304199 A CN 201911304199A CN 111176837 A CN111176837 A CN 111176837A
Authority
CN
China
Prior art keywords
account
information
client
broadcast message
broadcast
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.)
Pending
Application number
CN201911304199.6A
Other languages
Chinese (zh)
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.)
Reach Best Technology Co Ltd
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Reach Best 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 Reach Best Technology Co Ltd filed Critical Reach Best Technology Co Ltd
Priority to CN201911304199.6A priority Critical patent/CN111176837A/en
Publication of CN111176837A publication Critical patent/CN111176837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a message display method, a message display device, an electronic device and a storage medium, wherein the method comprises the following steps: receiving operation information from a client where a first account is located, wherein the operation information comprises identification information of the first account; inquiring to obtain state data of the first account according to the identification information; and generating a broadcast message of the operation information, wherein the broadcast message carries the state data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located. According to the method and the device, the status data are acquired aiming at the first account sending the operation information, the status data of each audience in a live broadcast room are prevented from being acquired frequently, the acquisition quantity and the acquisition times of the status data are reduced, the access pressure of a live broadcast long-connection server is reduced, and system resources are saved.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for displaying information, an electronic device, and a storage medium.
Background
On-line live broadcast has become one of the scenes of people leisure and interaction in the network era, and a live broadcast room is taken as a main realization scene, so that the main targets of account interaction and business change are met. In a live broadcast room, each viewer has its own status, such as manager (account with administrative authority), close viewer (account with frequent broadcast), local viewer (account with frequent gift), koi (account with winning prize), etc. The status of each viewer needs to be shown in due course, for example, in the live room of anchor a, viewer B is set as the administrator by anchor a, and then "viewer B is the administrator" is the status of viewer B in the live room of anchor a. Most of the interactive operations (like likes, comments, shares, gifts, etc.) performed by the viewer B need to be accompanied by a special identifier, which can indicate that the viewer B is an "administrator".
In the related art, viewers in the same live room are distributed in different live long connection servers, for example, 1000 viewers in a live room may be distributed in four different live long connection servers F1, F2, F3 and F4, and each live long connection server maintains a connection of 250 viewers. Each live long connection server periodically (e.g. 1 second) retrieves the status of all viewers (250) from the storage system. For the live room, the number of accesses to the storage system reaches 1000 times per second. However, the state change of the viewer is relatively stable, and the data obtained by accessing the storage system for 1000 times is likely to be the same, so that the 1000 access operations are all useless. Therefore, the existing live broadcast long connection server needs to frequently access the storage system to acquire the state of each audience, so that the access pressure of the live broadcast long connection server and the storage system is increased, and system resources are wasted.
Disclosure of Invention
The present disclosure provides an information display method, an information display apparatus, an electronic device, and a storage medium, so as to at least solve the problems of large access pressure of a live broadcast long connection server and a storage system and system resource waste caused by the fact that the live broadcast long connection server needs to frequently acquire the state of each audience from the storage system 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 an information display method applied to a first server, the method including: receiving operation information from a client where a first account is located, wherein the operation information comprises identification information of the first account; inquiring to obtain state data of the first account according to the identification information; and generating a broadcast message of the operation information, wherein the broadcast message carries the state data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located.
Optionally, before the step of receiving the operation information from the client where the first account is located, the method further includes: acquiring mark information added by a third account for the first account; generating the state data according to the marking information and a structured data transmission protocol; storing the status data of the first account.
Optionally, the step of generating the status data according to the tag information and a structured data transmission protocol includes: identifying whether the tag information is present in a data structure of the structured data transfer protocol; and if the marking information exists in the data structure of the structured data transmission protocol, packaging the field with the marking information into the state data.
Optionally, the step of acquiring the mark information added by the third account to the first account includes: receiving setting information from a client where the third account is located, and extracting the mark information from the setting information, wherein the setting information is information of setting account state of the third account for the first account.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for displaying information, applied to a second server, the method including: acquiring a broadcast message carrying status data of a first account; and sending the broadcast message to a client where at least one second account is located so that the client can display the broadcast message.
Optionally, the status data is generated by the first server according to the mark information and the structured data transmission protocol, and the mark information is obtained by adding the third account to the first account.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for presenting information, applied to a first server, the apparatus including: the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is configured to receive operation information from a client where a first account is located, and the operation information comprises identification information of the first account; the query module is configured to obtain the state data of the first account according to the identification information; and the broadcast module is configured to generate a broadcast message of the operation information, the broadcast message carries the status data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located.
Optionally, the method further comprises: the generating module is configured to generate the state data before the receiving module receives the operation information from the client side where the first account is located; the generation module comprises: the mark acquisition module is configured to acquire mark information added by a third account for the first account; a state generation module configured to generate the state data according to the tag information and a structured data transfer protocol; a state storage module configured to store the state data of the first account.
Optionally, the status generating module is configured to identify whether the flag information exists in a data structure of the structured data transmission protocol; and if the marking information exists in the data structure of the structured data transmission protocol, packaging the field with the marking information into the state data.
Optionally, the mark obtaining module is configured to receive setting information from a client where the third account is located, and extract the mark information from the setting information, where the setting information is information that the third account sets an account status for the first account.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for displaying information, applied to a second server, the apparatus including: the broadcast acquisition module is configured to acquire a broadcast message carrying status data of a first account; and the broadcast sending module is configured to send the broadcast message to a client where at least one second account is located, so that the client displays the broadcast message.
Optionally, the status data is generated by the first server according to the mark information and the structured data transmission protocol, and the mark information is obtained by adding the third account to the first account.
According to a fifth aspect of 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 according to the first aspect and/or the second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a 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 the first aspect and/or the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising readable program code executable by a processor of an electronic device to perform the method of presenting information according to the first and/or second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
after receiving the operation information from the client where the first account is located, the embodiment of the disclosure may query the status data of the first account according to the identification information of the first account included in the operation information, and further generate the broadcast message of the operation information. The broadcast message carries status data, and the broadcast message may be used for presentation on a client where the first account is located and a client where the at least one second account is located.
The first account may be any audience in a live broadcast room, the operation information may be comment information, approval information, sharing information, and the like, and the second account may be other audiences in the same live broadcast room. The embodiment of the disclosure queries the status data of the first account aiming at the first account receiving the operation information, and generates the broadcast message carrying the status data, so that the broadcast message carrying the status data can be displayed at a main broadcasting end and a spectator end of a live broadcasting room. The embodiment of the disclosure acquires the state data from the storage system aiming at the first account sending the operation information, thereby avoiding frequently acquiring the state data of each audience in the live broadcast room, reducing the acquisition amount and the acquisition times of the state data, reducing the access pressure of the live broadcast long-connection server and the storage system, and saving system resources.
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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram illustrating a presentation scheme of interactive operation content of a live broadcast room according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of presenting information according to an example embodiment.
Fig. 3 is a data structure diagram illustrating a protocol buffer protocol for generating status data according to an example embodiment.
Fig. 4 is a schematic illustration of a presentation of a broadcast message shown in accordance with an example embodiment.
Fig. 5 is a diagram illustrating a method for presenting an interactive message in a live broadcast room according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for presenting a message in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating another message presentation apparatus according to an example embodiment.
FIG. 8 is a block diagram illustrating a message presenting electronic device, according to an example embodiment.
FIG. 9 is a block diagram illustrating an electronic device for presenting messages in accordance with 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.
Fig. 1 is a schematic diagram illustrating a presentation scheme of interactive operation content of a live broadcast room according to an exemplary embodiment. The presentation scheme involves a host side, a viewer side, an Application Programming Interface (API) service, a broadcast service (FeedService), a live long connection server (livestream server), and a state storage service. The spectator end may include a plurality of clients in which the spectator is located, for example, a client K1 in which the first account is located and a client K2 in which the second account is located. The application program interface service, the broadcast service, and the state storage service may be provided in one server or a plurality of servers, and the embodiments of the present disclosure do not specifically limit the locations, devices, and the like provided by the application program interface service, the broadcast service, and the state storage service.
In step S1, the anchor invokes an application program interface service at the anchor side, setting the status of the first account as the administrator. In step S2, the application program interface service updates the status of the first account from the general viewer to the administrator and saves the latest status of the first account using the status storage service. In step S3, the first account sends a comment to the broadcast service. Step S4, the live broadcast long connection server pulls the broadcast message of the comment sent by the first account from the broadcast service. In step S5, the live connection server pulls the status of each viewer in the live room from the status storage service. In step S6, the live connection server determines the status of the first account as an administrator according to the status of each viewer. Step S7, the live broadcast long connection server marks the comment of the first account as a comment of the administrator, and sends the marked comment of the administrator to the second account.
The live broadcast long connection server in the display scheme needs to acquire the state of each account from the state storage service, so that the data access amount of the live broadcast long connection server and the state storage service is increased, and system resources are wasted.
Therefore, the embodiment of the disclosure provides an information display scheme to solve the problems of increased data access amount and system resource waste caused by the fact that a live broadcast long connection server needs to acquire the state of each account.
Fig. 2 is a flowchart illustrating an information presentation method according to an exemplary embodiment, and as shown in fig. 2, the information presentation method may be applied to a first server, which may be a management server of a live broadcast room, and the management server may connect a host and a viewer, and may simultaneously manage interactive operation conditions of multiple live broadcast rooms, including but not limited to: comments, praise, share, etc. The information display method may specifically include the following steps.
In step S21, operation information from the client in which the first account is located is received.
In the embodiment of the present disclosure, the first account may be understood as audience a in a certain live broadcast room Z, and the client at which the first account is located may be client K1 logged in account information of audience a. The operation information may be related information of an interactive operation of the first account in the live broadcast room, for example, if the interactive operation is a comment, the operation information may be comment information, and specifically, the comment information may include identification information, comment time, comment content, and the like of the first account. The identification information of the first account may be an account name, an account number, and the like, which are used to uniquely represent the first account, and embodiments of the present disclosure do not specifically limit the content, format, and the like of the identification information.
In step S22, status data of the first account is obtained according to the identification information query.
In an embodiment of the present disclosure, each viewer in the live room has a respective status. In general, the status of viewers in a live room may include, but is not limited to: general audience, administrators, koi, local audience, close audience, etc. The default state of the audience can be common audience, the anchor can set the audience as the manager from the common state, and the live broadcast system can set the state of the audience according to the actual live broadcast situation, for example, a certain audience participates in the lottery and obtains the jackpot, and then the live broadcast system can set the state of the audience as koi. For another example, if a viewer enters a live room for a continuous period of time, the live system may set the viewer's status as a close viewer. Also for example, if a viewer sends many gifts of a certain value for the anchor, the live system may set the viewer's status as a local audience.
In an embodiment of the present disclosure, status data of each account may be generated in advance, and the current status of each account is represented by the status data. By default, status data representing the general audience is generated for each account.
In practical applications, the anchor of the live room may set the status of the viewer to an administrator or the like. Therefore, in one disclosed exemplary embodiment, the tag information added by the third account for the first account may be acquired, and the status data may be generated according to the tag information. The third account may be a main broadcast of a live broadcast room, and the mark information may be a number, a letter, a symbol, or the like, for indicating an administrator. When the mark information added by the third account for the first account is acquired, the setting information from the client where the third account is located, that is, the setting information from the anchor terminal may be received, where the setting information may include the identification information of the first account, the identification information of the third account, the mark information of the first account, the setting time, and the like. And then extracting the marking information from the setting information.
In practical applications, the live broadcast system may set the status of the audience as a local audience or a koi, etc. Therefore, in an exemplary embodiment of the disclosure, the mark information added by the live system for the first account may be obtained, and the status data may be generated according to the mark information.
In one exemplary embodiment disclosed, the status data may be generated according to the tag information and a structured data transfer protocol when the status data is generated according to the tag information. For example, the structured data transfer protocol may be a protocol buffer (ProtoBuf) protocol, which is a platform-independent, language-independent, extensible, lightweight, and efficient serialized data structure protocol that may be used for network communication and data storage. Specifically, whether the flag information of the first account exists may be identified in the data structure of the protocol buffer protocol, and if the flag information of the first account exists is identified in the data structure of the protocol buffer protocol, a field in which the flag information exists is encapsulated as the status data. As shown in fig. 3, a data structure diagram of a protocol buffer protocol for generating status data is shown. Referring to fig. 3, the live audience status (liveaudioencestate) may include several types as follows: a french or close audience (from _ fas _ top), koi (koi) and tuhao (tuhao). Furthermore, the state data may further include a fan group level (fan _ group _ intensicity _ level) corresponding to the first account. When the marking information is 0, the live audience state is not the vermicelli audience; when the flag information is 1, it indicates that the live viewer status is a ticker viewer. When the marking information is 2, the direct broadcast audience state is represented as koi; when the flag information is 3, it indicates that the live audience status is not koi. When the marking information is 5, the status of the live audience is local tyrant; when the flag information is 6, it indicates that the live viewer status is not local tyrant. And when the marking information is 4, the fan group grade corresponding to the live audience state is shown. It should be noted that the fan cluster level may be an option for the status data.
In step S23, a broadcast message of the operation information is generated.
In the embodiment of the disclosure, a broadcast message of the operation information of the first account is generated, and the broadcast message is used for being sent to a main broadcasting end and a spectator end of a live broadcasting room where the first account is located, so that the broadcast message is displayed at the main broadcasting end and the spectator end. In order to show the status of the first account while showing the broadcast message, the generated broadcast message needs to carry status data of the first account. Therefore, the broadcasting message is displayed by the anchor terminal and the audience terminal, and the state data carried in the broadcasting message is also displayed.
In an exemplary embodiment of the present disclosure, the broadcast message may include identification information of the first account, status data of the first account, and a part of or all of the operation information of the first account. For example, as shown in fig. 4, the status data indicates that the first account of the administrator makes a comment to the live broadcast room, and the broadcast message of the first account may include the account name "User 1" of the first account, the status of the first account, i.e., the administrator, and the comment content "do you sing a karaoke? ", time to send comment" 15: 36 ", etc. For another example, as shown in fig. 4, the status data indicates that the second account of the general audience sends a comment to the live broadcast room, the broadcast message of the second account may include an account name "User 2" of the second account, the status of the second account, that is, the general audience, the comment content "anchor dance," and the time for sending the comment "15: 37 ", and so on. It should be noted that, most of the audience states in the live broadcast room are common audiences, and when the broadcast messages of the common audiences are displayed, the state data representing the common audiences carried in the broadcast messages can be hidden and displayed, so that the display contents of the display interfaces of the anchor terminal and the audience terminal are reduced.
In the embodiment of the disclosure, after the first server generates the broadcast message carrying the state data, the second server may obtain the broadcast message of the first account from the first server, and further send the broadcast message to the anchor terminal and the viewer terminal of the live broadcast room, so that the message content in the broadcast message and the state of the first account are displayed at the anchor terminal and the viewer terminal.
Based on the above-mentioned related description about the embodiment of the message display method, a method for displaying an interactive message in a live broadcast room is described below. As shown in fig. 5, the interactive message presentation method involves a host side, a viewer side, an application program interface service, a broadcast service, a live long connection server and a state storage service. The spectator end may include a plurality of clients in which the spectator is located, for example, a client K1 in which the first account is located and a client K2 in which the second account is located. The application program interface service, the broadcast service, and the state storage service may be provided in one server or a plurality of servers, and the embodiments of the present disclosure do not specifically limit the locations, devices, and the like provided by the application program interface service, the broadcast service, and the state storage service.
In step S51, the anchor invokes an application program interface service at the anchor side, setting the status of the first account as the administrator. At step S52, the application program interface service extracts flag information indicating the administrator. In step S53, the application program interface service updates the status of the first account from the general viewer to the administrator according to the flag information, and saves the latest status data of the first account by using the status storage service. In step S54, the first account sends a comment to the broadcast service. In step S55, when the broadcast service generates a broadcast message, the broadcast service acquires the status data of the first account from the status storage service. In step S56, the broadcast service adds the status data of the first account to the broadcast message of the review of the first account. Step S57, the live broadcast long connection server pulls the broadcast message of the comment sent by the first account from the broadcast service. And step S58, the live broadcast long connection server sends the broadcast message carrying the status data of the first account to the second account.
After receiving the operation information from the client where the first account is located, the embodiment of the disclosure may query the status data of the first account according to the identification information of the first account included in the operation information, and further generate the broadcast message of the operation information. The broadcast message carries status data, and the broadcast message may be used for presentation on a client where the first account is located and a client where the at least one second account is located.
The first account may be any audience in a live broadcast room, the operation information may be comment information, approval information, sharing information, and the like, and the second account may be other audiences in the same live broadcast room. The embodiment of the disclosure queries the status data of the first account aiming at the first account receiving the operation information, and generates the broadcast message carrying the status data, so that the broadcast message carrying the status data can be displayed at a main broadcasting end and a spectator end of a live broadcasting room. The embodiment of the disclosure acquires the state data aiming at the first account sending the operation information, thereby avoiding frequently acquiring the state data of each audience in the live broadcast room, reducing the acquisition amount and the acquisition times of the state data, reducing the access pressure of the live broadcast long-connection server, and saving system resources.
The technical scheme in the embodiment of the disclosure is applied to a live broadcast room scene, and the live broadcast long connection server does not need to acquire the state of each audience, so that the process of acquiring the state of each audience from the state storage service is avoided, the system load of the live broadcast long connection server is effectively reduced, and the machine cost of the live broadcast long connection server is saved. Moreover, the system load of the state storage service is effectively reduced.
For audiences who do not perform interactive operation in the live broadcast room, the state data can not be generated, and the system load of the state storage service is reduced. Furthermore, the state data of the audience does not need to be acquired, and the system load of the live broadcast long connection server is reduced.
Fig. 6 is a block diagram illustrating an apparatus for presenting a message in accordance with an exemplary embodiment. The apparatus may be applied to a first server, and may specifically include the following modules.
A receiving module 61 configured to receive operation information from a client where a first account is located, where the operation information includes identification information of the first account;
a query module 62 configured to query for status data of the first account according to the identification information;
a broadcast module 63 configured to generate a broadcast message of the operation information, where the broadcast message carries the status data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located.
In an exemplary embodiment of the present disclosure, the apparatus further includes: a generating module 64 configured to generate the status data before the receiving module 61 receives the operation information from the client where the first account is located;
the generating module 64 includes:
the token obtaining module 641 is configured to obtain token information added by the third account for the first account;
a state generation module 642 configured to generate the state data according to the marker information and a structured data transmission protocol;
a status storage module 643 configured to store the status data of the first account.
In an exemplary embodiment of the present disclosure, the status generation module 642 is configured to identify whether the flag information is present in a data structure of the structured data transmission protocol; and if the marking information exists in the data structure of the structured data transmission protocol, packaging the field with the marking information into the state data.
In an exemplary embodiment of the disclosure, the mark obtaining module 641 is configured to receive setting information from a client where the third account is located, and extract the mark information from the setting information, where the setting information is information that the third account sets an account status for the first account.
Fig. 7 is a block diagram illustrating another message presentation apparatus according to an example embodiment. The apparatus may be applied to a second server, and may specifically include the following modules.
A broadcast acquiring module 71, configured to acquire a broadcast message carrying status data of the first account;
and a broadcast sending module 72 configured to send the broadcast message to a client where at least one second account is located, so that the client displays the broadcast message.
In an exemplary embodiment of the present disclosure, the status data is generated by the first server according to the flag information and the structured data transmission protocol, and the flag information is added by the third account to the first account.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a message presenting electronic device 800, according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile 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 or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 800 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, 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 exemplary embodiment, a computer program product is also provided, which comprises readable program code executable by the processor 820 of the electronic device 800 to perform the above-described method. Alternatively, the program code may be stored in a storage medium of the electronic device 800, which may be a non-transitory computer-readable storage medium, such as a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 9 is a block diagram illustrating an electronic device 900 for presenting messages in accordance with an example embodiment. For example, the electronic device 900 may be provided as a server. Referring to fig. 9, electronic device 900 includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform the above-described method of presenting information.
The electronic device 900 may also include a power component 926 configured to perform power management of the electronic device 900, a wired or wireless network interface 950 configured to connect the electronic device 900 to a network, and an input/output (I/O) interface 958. The electronic device 900 may operate based on an operating system stored in memory 932, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
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 application 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.

Claims (10)

1. A method for displaying information is applied to a first server, and comprises the following steps:
receiving operation information from a client where a first account is located, wherein the operation information comprises identification information of the first account;
inquiring to obtain state data of the first account according to the identification information;
and generating a broadcast message of the operation information, wherein the broadcast message carries the state data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located.
2. The method of claim 1, wherein prior to the step of receiving the operation information from the client at which the first account is located, the method further comprises:
acquiring mark information added by a third account for the first account;
generating the state data according to the marking information and a structured data transmission protocol;
storing the status data of the first account.
3. The method of claim 2, wherein the step of generating the status data according to the label information and a structured data transfer protocol comprises:
identifying whether the tag information is present in a data structure of the structured data transfer protocol;
and if the marking information exists in the data structure of the structured data transmission protocol, packaging the field with the marking information into the state data.
4. The method of claim 2, wherein the step of obtaining the label information added by the third account to the first account comprises:
receiving setting information from a client where the third account is located, and extracting the mark information from the setting information, wherein the setting information is information of setting account state of the third account for the first account.
5. The information display method is applied to a second server, and comprises the following steps:
acquiring a broadcast message carrying status data of a first account;
and sending the broadcast message to a client where at least one second account is located so that the client can display the broadcast message.
6. The method of claim 5, wherein the status data is generated by the first server according to a tagging information and a structured data transfer protocol, and wherein the tagging information is added by the third account to the first account.
7. An information presentation apparatus, applied to a first server, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is configured to receive operation information from a client where a first account is located, and the operation information comprises identification information of the first account;
the query module is configured to obtain the state data of the first account according to the identification information;
and the broadcast module is configured to generate a broadcast message of the operation information, the broadcast message carries the status data, and the broadcast message is used for being displayed on a client where the first account is located and a client where at least one second account is located.
8. An information display device, applied to a second server, the device comprising:
the broadcast acquisition module is configured to acquire a broadcast message carrying status data of a first account;
and the broadcast sending module is configured to send the broadcast message to a client where at least one second account is located, so that the client displays the broadcast message.
9. 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 6.
10. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a presentation method of information according to any one of claims 1 to 6.
CN201911304199.6A 2019-12-17 2019-12-17 Information display method and device, electronic equipment and storage medium Pending CN111176837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304199.6A CN111176837A (en) 2019-12-17 2019-12-17 Information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304199.6A CN111176837A (en) 2019-12-17 2019-12-17 Information display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111176837A true CN111176837A (en) 2020-05-19

Family

ID=70657331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304199.6A Pending CN111176837A (en) 2019-12-17 2019-12-17 Information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111176837A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613054A (en) * 2021-07-30 2021-11-05 北京达佳互联信息技术有限公司 Information prompting method and device, electronic equipment and computer readable storage medium
CN115134613A (en) * 2021-03-29 2022-09-30 武汉斗鱼网络科技有限公司 Method and related device for acquiring information of live broadcast room

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427860A (en) * 2009-03-23 2012-04-25 生命力有限公司 System and method for accelerated machine switching
CN103108224A (en) * 2011-11-15 2013-05-15 Lg电子株式会社 Electronic device and method for providing information related to broadcast viewing
CN105898428A (en) * 2016-03-30 2016-08-24 广州华多网络科技有限公司 User identity management method and device
CN107734352A (en) * 2017-10-26 2018-02-23 咪咕视讯科技有限公司 A kind of information determines method, apparatus and storage medium
CN108174272A (en) * 2017-12-29 2018-06-15 广州虎牙信息科技有限公司 Method, apparatus, storage medium and the electronic equipment that interactive information is shown in live streaming
CN108419140A (en) * 2018-03-01 2018-08-17 广州虎牙信息科技有限公司 Living broadcast interactive method, apparatus, server, terminal and storage medium
CN108881231A (en) * 2018-06-21 2018-11-23 郑州云海信息技术有限公司 The method, apparatus and storage medium of synchronous account information in a kind of group system
CN108924650A (en) * 2018-06-28 2018-11-30 北京潘达互娱科技有限公司 A kind of message prompt method, device, electronic equipment and storage medium
CN109714609A (en) * 2018-12-27 2019-05-03 北京潘达互娱科技有限公司 Live information processing method, equipment and storage medium
CN110020389A (en) * 2019-04-11 2019-07-16 广州市百果园信息技术有限公司 Direct broadcasting room shows method, apparatus, system, equipment and the storage medium of the page

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427860A (en) * 2009-03-23 2012-04-25 生命力有限公司 System and method for accelerated machine switching
CN103108224A (en) * 2011-11-15 2013-05-15 Lg电子株式会社 Electronic device and method for providing information related to broadcast viewing
CN105898428A (en) * 2016-03-30 2016-08-24 广州华多网络科技有限公司 User identity management method and device
CN107734352A (en) * 2017-10-26 2018-02-23 咪咕视讯科技有限公司 A kind of information determines method, apparatus and storage medium
CN108174272A (en) * 2017-12-29 2018-06-15 广州虎牙信息科技有限公司 Method, apparatus, storage medium and the electronic equipment that interactive information is shown in live streaming
CN108419140A (en) * 2018-03-01 2018-08-17 广州虎牙信息科技有限公司 Living broadcast interactive method, apparatus, server, terminal and storage medium
CN108881231A (en) * 2018-06-21 2018-11-23 郑州云海信息技术有限公司 The method, apparatus and storage medium of synchronous account information in a kind of group system
CN108924650A (en) * 2018-06-28 2018-11-30 北京潘达互娱科技有限公司 A kind of message prompt method, device, electronic equipment and storage medium
CN109714609A (en) * 2018-12-27 2019-05-03 北京潘达互娱科技有限公司 Live information processing method, equipment and storage medium
CN110020389A (en) * 2019-04-11 2019-07-16 广州市百果园信息技术有限公司 Direct broadcasting room shows method, apparatus, system, equipment and the storage medium of the page

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134613A (en) * 2021-03-29 2022-09-30 武汉斗鱼网络科技有限公司 Method and related device for acquiring information of live broadcast room
CN113613054A (en) * 2021-07-30 2021-11-05 北京达佳互联信息技术有限公司 Information prompting method and device, electronic equipment and computer readable storage medium
CN113613054B (en) * 2021-07-30 2023-05-09 北京达佳互联信息技术有限公司 Information prompting method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN112218103B (en) Live broadcast room interaction method and device, electronic equipment and storage medium
CN106028166B (en) Live broadcast room switching method and device in live broadcast process
CN107483973B (en) Method and device for executing activity in live broadcast room
CN110493629B (en) Live broadcast cover hanging part display method and device, electronic equipment and storage medium
US20220400137A1 (en) Widget display method and apparatus
CN111182318B (en) Contribution score generation method and device in live broadcast, electronic equipment and storage medium
CN107526591B (en) Method and device for switching types of live broadcast rooms
CN112738544B (en) Live broadcast room interaction method and device, electronic equipment and storage medium
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN113365087B (en) Video data processing method and device, electronic equipment and storage medium
CN113099262B (en) Information display method and device, electronic equipment and storage medium
CN114051147A (en) Live broadcast interaction method, virtual resource delivery method and device and electronic equipment
CN110719530A (en) Video playing method and device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN113727200A (en) Video abstract information determination method and device, electronic equipment and storage medium
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
CN114025181A (en) Information display method and device, electronic equipment and storage medium
CN111176837A (en) Information display method and device, electronic equipment and storage medium
CN114302160B (en) Information display method, device, computer equipment and medium
CN113938451B (en) Service reminding method, device, system, electronic equipment and storage medium
CN110620956A (en) Live broadcast virtual resource notification method and device, electronic equipment and storage medium
CN113873270A (en) Game live broadcast method, device, system, electronic equipment and storage medium
CN105827513B (en) Video information sharing method, device and equipment
CN109831538B (en) Message processing method, device, server, terminal and medium
CN115002501B (en) Information display method and device, electronic 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