Movatterモバイル変換


[0]ホーム

URL:


CN114845125B - Data processing method for live broadcasting room, electronic equipment and storage medium - Google Patents

Data processing method for live broadcasting room, electronic equipment and storage medium
Download PDF

Info

Publication number
CN114845125B
CN114845125BCN202210314381.5ACN202210314381ACN114845125BCN 114845125 BCN114845125 BCN 114845125BCN 202210314381 ACN202210314381 ACN 202210314381ACN 114845125 BCN114845125 BCN 114845125B
Authority
CN
China
Prior art keywords
gift
hot spot
configuration
configuration file
module
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
CN202210314381.5A
Other languages
Chinese (zh)
Other versions
CN114845125A (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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan 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 Guangzhou Boguan Information Technology Co LtdfiledCriticalGuangzhou Boguan Information Technology Co Ltd
Priority to CN202210314381.5ApriorityCriticalpatent/CN114845125B/en
Publication of CN114845125ApublicationCriticalpatent/CN114845125A/en
Application grantedgrantedCritical
Publication of CN114845125BpublicationCriticalpatent/CN114845125B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides a data processing method of a live broadcast room and electronic equipment, wherein terminal equipment responds to a trigger event entering the live broadcast room and sends a first gift configuration request to a server so that the server sends a first configuration file to the terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and further, based on the first configuration file, rendering a designated service module of the live broadcasting room on the graphical user interface, and displaying a control corresponding to the designated service module. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.

Description

Data processing method for live broadcasting room, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of live broadcasting, in particular to a data processing method of a live broadcasting room and electronic equipment.
Background
In the related art, after a user enters a live broadcast room through a client operated by a terminal device, the client sends a request for displaying gifts to a server, and after receiving a gifts configuration file returned by the server, the client reads the gifts configuration file and further renders related modules for displaying the gifts. However, due to the fact that the number of gift types is large, the speed of reading the gift configuration file is low, the speed of displaying the gift is low, the current direct broadcast interface is easy to generate a clamping phenomenon, and user experience is affected.
Disclosure of Invention
Therefore, the invention aims to provide a data processing method and electronic equipment for a live broadcast room, so as to improve the accuracy of the position accuracy of a target object in the target guiding process, avoid the phenomenon of target omission and further improve the user experience. .
In a first aspect, an embodiment of the present invention provides a method for processing data in a live broadcast room, where the method is applied to a terminal device; providing a graphical user interface by a terminal device, the method comprising: responding to a trigger event entering a live broadcasting room, and sending a first gift configuration request to a server so that the server sends a first configuration file to terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and rendering a specified service module of the live broadcasting room on the graphical user interface based on the first configuration file, and displaying a control corresponding to the specified service module.
The configuration information comprises display information of hot spot gifts; a step of rendering a designated business module of the live room at the graphical user interface based on the first configuration file, comprising: determining a hot spot gift corresponding to the specified service module based on the first configuration file and the preset requirement of the specified service module; and rendering the appointed service module of the live broadcasting room on the graphical user interface based on the display information of the hot spot gift corresponding to the appointed service module.
The appointed service module comprises a gift shelf module; the configuration information comprises the configuration state of the hot spot gift; the configuration state comprises upper frame or lower frame; the preset requirements of the gift shelf module are as follows: displaying gifts with configuration states of being on shelf; based on the first configuration file and the preset requirement of the appointed service module, determining the hot spot gift corresponding to the appointed service module comprises the following steps: searching hot spot gifts with configuration states of being on shelf from the first configuration file; and determining the searched hot spot gift as a hot spot gift corresponding to the gift shelf module.
The appointed business module comprises a parcel gift module; the first configuration file comprises the category of hot spot gifts; the preset requirements of the parcel gift module are: displaying the gift owned by the current user; based on the first configuration file and the preset requirement of the appointed service module, determining the hot spot gift corresponding to the appointed service module comprises the following steps: acquiring package gift information corresponding to a current user; the package gift information includes the kind and quantity information of the gift owned by the current user; the hot spot gifts with the same category as the gifts owned by the current user are searched from the first configuration file; and determining the searched hot spot gift as a hot spot gift corresponding to the package gift module.
The appointed service module comprises a gift public screen module; the first configuration file comprises the category of hot spot gifts; the preset requirements of the gift public screen module are as follows: displaying the user information of the gift received by the live broadcast; based on the first configuration file and the preset requirement of the appointed service module, determining the hot spot gift corresponding to the appointed service module comprises the following steps: acquiring public screen gift information of a live broadcasting room; the public screen gift information comprises the type of the gift received by the live broadcast and the user information of the gift; a hot spot gift with the same kind as the gift received from the live broadcast searching is obtained from the first configuration file; and determining the searched gift as a hot-spot gift corresponding to the gift public screen module.
In a second aspect, an embodiment of the present invention provides a data processing method for a live broadcast room, where the method is applied to a server; the server is in communication connection with the terminal equipment; providing a graphical user interface through the terminal equipment; the method comprises the following steps: receiving a first gift configuration request; the first gift configuration request is sent by the terminal equipment in response to a trigger event entering a living broadcast room; transmitting a predetermined first configuration file to the terminal equipment, so that the terminal equipment renders a designated service module of the live broadcasting room on a graphical user interface based on the first configuration file, and displays a control corresponding to the designated service module; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions.
The server pre-stores the configuration information of various gifts; the configuration information comprises the configuration state, the modification time and the sending-out time of the gift; the configuration state comprises upper frame or lower frame; the hotspot gift is determined by: searching gift with configuration information meeting the set condition; wherein the setting condition includes one of: the configuration state is upper frame; the modification time is later than the first set time; the sending time is later than the second set time; and determining the found gift as a hot spot gift.
The method further comprises the following steps: monitoring modification operation of configuration information; the modifying operation includes one of: newly adding configuration information; updating configuration information; deleting configuration information; the modification operation is synchronized to the first configuration file.
The server stores parcel gift information corresponding to each user; the package gift information includes the kind and number of the gift owned by the user; the method further comprises the steps of: if the type and/or the number of the gift in the package gift information is monitored to be changed, the type and/or the number of the changed gift is determined as a hot spot gift.
In a third aspect, an embodiment of the present invention provides a data processing apparatus of a live broadcast room, where the apparatus is set in a terminal device; providing a graphical user interface via the terminal device, the apparatus comprising: the request sending module is used for responding to a trigger event entering the live broadcasting room and sending a first gift configuration request to the server so that the server sends a first configuration file to the terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and the rendering module is used for rendering the specified service module of the live broadcasting room on the graphical user interface based on the first configuration file and displaying the control corresponding to the specified service module.
In a fourth aspect, an embodiment of the present invention provides a data processing apparatus in a live broadcast room, where the apparatus is disposed in a server; the server is in communication connection with the terminal equipment; providing a graphical user interface through the terminal equipment; the device comprises: the request receiving module is used for receiving a first gift configuration request; the first gift configuration request is sent by the terminal equipment in response to a trigger event entering a living broadcast room; the configuration file sending module is used for sending a predetermined first configuration file to the terminal equipment so that the terminal equipment renders a designated service module of the live broadcasting room on the graphical user interface based on the first configuration file and displays a control corresponding to the designated service module; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions executable by the processor, and the processor executes the machine executable instructions to implement the data processing method of the living room described above.
In a sixth aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method for processing data in a living room described above.
The embodiment of the invention has the following beneficial effects:
According to the data processing method of the live broadcasting room and the electronic equipment, the terminal equipment responds to the trigger event entering the live broadcasting room and sends the first gift configuration request to the server so that the server sends the first configuration file to the terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and further, based on the first configuration file, rendering a designated service module of the live broadcasting room on the graphical user interface, and displaying a control corresponding to the designated service module. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data processing method in a live broadcast room according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for processing data in a live broadcast room according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a gift display system according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a data processing device in a live broadcast room according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of another data processing device in a live broadcast room according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the vigorous development of the live broadcasting industry, the variety of gifts available for the live broadcasting room is also increasing, resulting in an increasing size of the gifts profile. The types of gifts can reach more than 3000, but only about 100 gifts are commonly used in a living broadcast room. These gifts are mainly used for the following business modules such as a gift shelf, a wrapping gift panel, a public screen gift message, etc.
Wherein, the gift shelf is used for displaying the gift in the state of being put on shelf, generally refer to the gift that can be purchased; the parcel panel is used for displaying the gift owned by the current user, and generally displaying the quantity of the gift owned by the user; the gift public screen message is used for displaying the gift giving condition of the current living broadcast room, and generally displays the user identification of the gift giving and the icon of the gift giving. The display interfaces corresponding to these service modules are typically displayed directly on the user graphical interface provided by the terminal device after the user enters the living room.
After triggering an event entering a living broadcast room through a terminal device, for example, clicking an entry icon of a living broadcast room, a client running on the terminal device generally renders the service module related to gift display through the following logic: and responding to a trigger event entering the living broadcast room, requesting to acquire a configuration file from a server, and rendering business modules such as gift shelves and the like based on the configuration file sent by the server.
The configuration file sent to the client by the server generally contains configuration information of all gifts, and the configuration file is too large, so that the reading of the gift configuration file is slow, the rendering of the service module is slow, and the user can see the gift shelf only after a long time after entering a room. And as the product iterates, the number of gifts is increased, the configuration file is increased, and the time for reading the gift configuration file is longer. Because part of interface rendering and display (such as the display interface of the service module) depends on gift configuration files, the long time required for reading the configuration files can cause slow interface display and clamping, and the user experience is affected. Based on the above, the data processing method and the electronic device for the live broadcast room provided by the embodiment of the invention can be applied to the display process of gifts in various live broadcast scenes.
For the convenience of understanding the present embodiment, first, a data processing method of a live broadcast room disclosed in the present embodiment is described in detail, where the method is applied to a terminal device; providing a graphical user interface by the terminal device, the method comprising the steps of:
Step S102, a first gift configuration request is sent to a server in response to a trigger event entering a live broadcast room, so that the server sends a first configuration file to terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions.
The triggering event may include monitoring that an icon of the live broadcast room is clicked, that a link of the live broadcast room is clicked, and so on, entering the live broadcast room. After entering the living broadcast room, the living broadcast picture and the display picture of the appointed business module related to the gift are required to be displayed, so that the gift configuration file is required to be acquired from the server after the trigger event is monitored. The first gift configuration request may include an identifier of a user entering the live broadcasting room, verification information, and the like, and the server may determine validity of the request according to the identifier of the user and the verification information, and if the request is legal, send the first configuration file to the corresponding terminal device.
The first configuration file includes configuration information of hot gifts, but not configuration information of all gifts, and is smaller than the configuration file of all gifts. The configuration information generally includes various attribute information such as identification, name, display icon, configuration status, modification time, etc. of the hot spot gift. The hot spot gift is determined for the server according to the set conditions. The server can search the all gifts which are consistent with the set conditions, and determine hot spot gifts.
In general, a gift configured in an upper frame, a gift presented in a last period, and a gift newly added or modified in a set period may be used as a hot spot gift. The server can screen and obtain the hot spot gift through the configuration information of the gift. For example, the configuration information of the gift includes the modification time thereof, the server determines whether the modification time thereof is in a set time period, and if the modification time of the gift is in the set time period, the gift is determined as a hot-spot gift, thereby adding the configuration information of the gift in the first configuration file. In addition, the hot spot gift can be determined according to the type of the gift required by the service module which needs to be displayed in time in the terminal equipment.
Step S104, based on the first configuration file, rendering the appointed business module of the live broadcasting room on the graphical user interface, and displaying the control corresponding to the appointed business module.
Typically, the designated traffic module includes a plurality. The display information of the hot spot gift required by each specified service module can be obtained from the first configuration file in a parsing mode based on the service requirement of each specified service module. For example, the gift shelf module needs to display the gift in the shelf state, and the first configuration file includes configuration information of the hot-spot gift in the shelf state and configuration information of other hot-spot gifts. At this time, the configuration information related to each hot-spot gift may be checked, if the configuration information of the hot-spot gift indicates that the configuration state of the hot-spot gift is the upper frame, the hot-spot gift may be determined to be the hot-spot gift corresponding to the gift frame module, and then the display information, such as an icon, a dynamic video, and the like, of the hot-spot gift may be further obtained from the configuration information in the hot-spot gift. And finally, rendering the gift shelf module based on the display information of all hot spots gift corresponding to the gift shelf module, so as to display the control corresponding to the gift shelf module.
According to the data processing method of the live broadcasting room, the terminal equipment responds to the trigger event entering the live broadcasting room and sends the first gift configuration request to the server so that the server sends the first configuration file to the terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and further, based on the first configuration file, rendering a designated service module of the live broadcasting room on the graphical user interface, and displaying a control corresponding to the designated service module. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.
The following embodiment provides an implementation manner of rendering a specified service module of a live broadcast room on a graphical user interface based on a first configuration file, and displaying a control corresponding to the specified service module.
In a specific implementation, the configuration file of the gift may be composed of a data table, and the configuration information of each line in the data table may represent a gift, and the configuration information of a gift is displayed as follows:
the first profile (also referred to as "hot spot gift profile") contains only a part of the rows in the table, and the full-volume gift profile (the gift profile acquired by the terminal device in the related art) contains all the rows in the table.
Since the configuration information of the gift includes various kinds, only a case where the configuration information includes a gift id, a gift name, a gift icon, a configuration state, which may be display information of the gift, is shown by way of example. When a designated service module of a live broadcasting room is rendered on a graphical user interface based on a first configuration file, determining a hot spot gift corresponding to the designated service module based on the first configuration file and the preset requirement of the designated service module; and rendering the appointed service module of the live broadcasting room on the graphical user interface based on the display information of the hot spot gift corresponding to the appointed service module.
The designated service module generally includes a gift box module because the user needs to see the gift box of the living room after entering the living room. The configuration information also includes a configuration state of the hot spot gift, where the configuration state may be an upper frame or a lower frame, the configuration state may be represented by a variable, where a value of 1 indicates that the configuration state of the gift is an upper frame, and a value of 0 indicates that the configuration state of the gift is a lower frame. The preset requirements of the gift shelf module are as follows: displaying the gift with the configuration state of being on shelf. When the hot-spot gift corresponding to the gift shelf module is determined, the hot-spot gift with the configuration state of being the upper shelf can be searched from the first configuration file, and then the searched hot-spot gift is determined to be the hot-spot gift corresponding to the gift shelf module.
The appointed service module comprises a package gift module because the gift owned by the user can be displayed on the interface after the user enters the living broadcast room; the first profile includes a category of hotspot gift. The preset requirements of the parcel gift module are: and displaying the gift owned by the current user. When determining the hot spot gift corresponding to the parcel gift module, firstly acquiring parcel gift information corresponding to the current user; package gift information typically includes information on the kind and quantity of the gift owned by the current user, which is typically held by a server; and then, searching the hot-spot gift with the same type as the gift owned by the current user from the first configuration file, and finally determining the searched hot-spot gift as the hot-spot gift corresponding to the package gift module.
The package gift information may be represented by a package gift table, in which package gifts owned by the user are recorded, as follows:
After entering the living broadcast room, the user can display the gift received by the living broadcast room on the interface, so the appointed service module comprises a gift public screen module; the first profile includes a category of hotspot gift. The preset requirements of the gift public screen module are as follows: and displaying the user information of the gift received by the live broadcast. When the hot spot gift corresponding to the designated service module is determined, public screen gift information of the live broadcasting room can be obtained; the public screen gift information comprises the type of the gift received by the live broadcast and the user information of the gift, and is also usually stored by a server; and then, a hot-spot gift with the same type as the gift received by the live broadcast is searched from the first configuration file, and finally, the searched gift is determined to be the hot-spot gift corresponding to the gift public screen module.
The public screen gift information may be recorded by a gift log table, which records the gift gifted by the user, and examples are as follows:
The embodiment of the invention also provides another data processing method of the live broadcasting room, which is applied to the server; the server is in communication connection with the terminal equipment; providing a graphical user interface through the terminal equipment; as shown in fig. 2, the method comprises the steps of:
Step S202, receiving a first gift configuration request; the first gift configuration request is sent by the terminal device in response to a trigger event entering the living room.
The first gift configuration request is sent by the terminal device after detecting that the user needs to enter the living broadcast room, and the request can include identification, verification information and the like of the user. After receiving the first gift configuration request, the server needs to verify the validity of the first gift configuration request based on the user identification and verification information, and if the verification is passed, the next step is performed.
Step S204, a predetermined first configuration file is sent to the terminal equipment, so that the terminal equipment renders a designated service module of the live broadcasting room on the graphical user interface based on the first configuration file, and controls corresponding to the designated service module are displayed; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions.
Because the terminal device needs to render the designated service module based on the first configuration file, the first configuration file needs to include the configuration information of the gift corresponding to the designated service module, that is, the configuration information of the hot spot gift. The hot spot gift is determined by the server according to a set condition that needs to be considered to meet the service requirements of the specified service module. For example, the gift box module needs to display the gift-giving situation of the living room where the user enters, and the gift-giving situation is usually stored by a server, and the server may select a hot gift from the gift based on the gift-giving situation. In addition, newly added gifts or gifts whose configuration information is modified are easily used, such as purchased or gifted, and they may be determined as hot spot gifts.
According to the data processing method of the live broadcasting room, after receiving the first gift configuration request sent by the terminal equipment, the server sends the predetermined first configuration file to the terminal equipment, so that the terminal equipment renders a designated service module of the live broadcasting room on a graphical user interface based on the first configuration file, and controls corresponding to the designated service module are displayed; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.
The following embodiments provide an implementation of determining hot spot gifts.
In a general situation, a server stores configuration information of various gifts in advance; the configuration information may include a configuration state of the gift, a modification time, and a delivery time; the configuration state comprises upper frame or lower frame; the hotspot gift is determined by: searching gift with configuration information meeting the set condition; wherein the setting condition includes one of: the configuration state is upper frame; the modification time is later than the first set time; the sending time is later than the second set time; and determining the found gift as a hot spot gift.
When the configuration information of the gift is modified, the gift may be generally regarded as a hot spot gift, and thus the server needs to monitor the modification operation of the configuration information; the modifying operation may include one of: newly adding configuration information; updating configuration information; deleting configuration information; the modification operation is synchronized to the first configuration file. The modification operation may be performed after the relevant staff member logs in to the client with the administrator identity.
The server generally stores package gift information corresponding to each user; wherein, the package gift information includes the kind and quantity of the gift owned by the user. When a user purchases a gift or gives a gift, the kind and number of the user's possession of the gift may change. The server needs to monitor whether the types and the quantity of the gifts in the package gifts information are changed, and if the types and/or the quantity of the gifts in the package gifts information are monitored to be changed, the gifts with the changed types and/or the changed quantity are determined to be hot gifts.
The embodiment of the invention also provides another data processing method of the live broadcast room, which is realized through a gift display system. The system is schematically shown in fig. 3, and includes a client (corresponding to the "terminal device"), a gift server, a database (where the gift server and the database constitute the "server") and a gift configuration background implementation. The gift configuration background comprises an operable page (client) and a background server. The relevant staff can change the configuration parameters of the gift through the gift configuration background.
The implementation of the method is specifically described below based on the parts of the system.
Client side: when a user enters a living broadcast room through a client, a request is firstly initiated to a gift server to obtain a hot-spot gift configuration file, a local gift shelf interface is rendered and displayed after the hot-spot gift configuration file is read, and a request is initiated to the gift server to obtain a full-quantity gift configuration file after the display is completed, so that other gift related interfaces which do not need to be displayed immediately are rendered.
The server side: the timed task updates the configuration file. The gift service end can set a timing task of 4 am every day, screen out a gift union set according to the following conditions, and update a hot spot gift configuration file:
All gifts on the gift shelf: gift with sal_state=1 in the gift configuration table.
All stock wrap gifts: wrapping the gift in the gift list.
Modified gift for approximately 7 days: the update _ at in the gift configuration table is less than 7 days away from the current time.
Gift sent out for nearly 7 days: and a gift less than 7 days from the current time is datetime in the gift log.
The reason for determining the hot spot gift in the mode is as follows: the gifts in the upper rack are displayed on the gift rack and are necessarily hot-spot gifts. The inventory package gift will be displayed on the package panel, and must be a hot spot gift. The gift modified in the near 7 days is likely to be a play gift about to come or already come online, belonging to the hotspot configuration. The gift sent out in the near 7 days is displayed in the public screen message of the gift, and belongs to the hot spot gift.
Configuration background: modifying the gift configuration. When the product responsible person modifies the gift configuration in the gift configuration background, the following processing is performed according to the operation type:
And (3) newly adding: adding the configuration of the gift id to a hot spot gift configuration file and a full gift configuration file; modification: updating the configuration of the gift id into a hot spot gift configuration file and a full gift configuration file; deletion: the configuration of the gift id is removed from the hot spot gift configuration file and the full gift configuration file.
Since the newly modified gift is likely to be a play gift that is about to be or has been online, it is a hotspot gift.
In addition, when the stock quantity of the package gift changes, if a gift sending action occurs or a user obtains a package gift rewarding, and a modification operation occurs on the package gift table, the server side checks the gift id related to the modification, and if the gift id is not in the hot spot gift configuration file, the configuration of the gift id is added into the hot spot gift configuration file.
Since the gift sending action generates a gift public screen message, the package rewards are displayed on the package panel, and the gift public screen message and the package panel are rendered after the user enters the room, the gift configurations belong to hot spots.
The method accelerates the rendering and displaying of the client gift shelf, the gift message and the package gift panel. For the client, the configuration file reading strategy is adjusted, and the minimum loading strategy can effectively reduce the delay of interface rendering when in starting. For a server, a method for maintaining a hot spot gift configuration file is provided, so that the hot spot gift configuration is ensured to be loaded preferentially.
Corresponding to the above method embodiment, see fig. 4 for a data processing apparatus of a live broadcast room, where the apparatus is provided in a terminal device; providing a graphical user interface via the terminal device, the apparatus comprising:
A request sending module 402, configured to send a first gift configuration request to a server in response to a trigger event entering a live broadcast room, so that the server sends a first configuration file to a terminal device; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions;
And the rendering module 404 is configured to render, based on the first configuration file, the specified service module of the live broadcasting room on the graphical user interface, and display a control corresponding to the specified service module.
According to the data processing device of the live broadcasting room, the terminal equipment responds to a trigger event entering the live broadcasting room and sends a first gift configuration request to the server so that the server sends a first configuration file to the terminal equipment; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; and further, based on the first configuration file, rendering a designated service module of the live broadcasting room on the graphical user interface, and displaying a control corresponding to the designated service module. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.
The configuration information comprises display information of hot spot gifts; the rendering module is further configured to: determining a hot spot gift corresponding to the specified service module based on the first configuration file and the preset requirement of the specified service module; and rendering the appointed service module of the live broadcasting room on the graphical user interface based on the display information of the hot spot gift corresponding to the appointed service module.
The appointed service module comprises a gift shelf module; the configuration information comprises the configuration state of the hot spot gift; the configuration state comprises upper frame or lower frame; the preset requirements of the gift shelf module are as follows: displaying gifts with configuration states of being on shelf; the rendering module is further configured to: searching hot spot gifts with configuration states of being on shelf from the first configuration file; and determining the searched hot spot gift as a hot spot gift corresponding to the gift shelf module.
The appointed business module comprises a parcel gift module; the first configuration file comprises the category of hot spot gifts; the preset requirements of the parcel gift module are: displaying the gift owned by the current user; based on the first configuration file and the preset requirement of the appointed service module, determining the hot spot gift corresponding to the appointed service module comprises the following steps: acquiring package gift information corresponding to a current user; the package gift information includes the kind and quantity information of the gift owned by the current user; the hot spot gifts with the same category as the gifts owned by the current user are searched from the first configuration file; and determining the searched hot spot gift as a hot spot gift corresponding to the package gift module.
The appointed service module comprises a gift public screen module; the first configuration file comprises the category of hot spot gifts; the preset requirements of the gift public screen module are as follows: displaying the user information of the gift received by the live broadcast; based on the first configuration file and the preset requirement of the appointed service module, determining the hot spot gift corresponding to the appointed service module comprises the following steps: acquiring public screen gift information of a live broadcasting room; the public screen gift information comprises the type of the gift received by the live broadcast and the user information of the gift; a hot spot gift with the same kind as the gift received from the live broadcast searching is obtained from the first configuration file; and determining the searched gift as a hot-spot gift corresponding to the gift public screen module.
Corresponding to the above method embodiment, referring to fig. 5, a data processing apparatus of a live broadcast room is shown, where the apparatus is disposed on a server; the server is in communication connection with the terminal equipment; providing a graphical user interface through the terminal equipment; the device comprises:
A request receiving module 502, configured to receive a first gift configuration request; the first gift configuration request is sent by the terminal equipment in response to a trigger event entering a living broadcast room;
The configuration file sending module 504 is configured to send a predetermined first configuration file to the terminal device, so that the terminal device renders a specified service module of the live broadcasting room on the graphical user interface based on the first configuration file, and displays a control corresponding to the specified service module; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions.
According to the data processing device of the live broadcasting room, after receiving the first gift configuration request sent by the terminal equipment, the server sends the predetermined first configuration file to the terminal equipment, so that the terminal equipment renders a designated service module of the live broadcasting room on a graphical user interface based on the first configuration file, and controls corresponding to the designated service module are displayed; the first configuration file comprises configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions. In the mode, the server determines the hot spot gift based on the setting condition, the first configuration file only comprises the configuration information of the hot spot gift, the file is small, and the terminal equipment can quickly render the appointed service module of the live broadcasting room based on the configuration file, so that the speed of gift display is improved, and the user experience is improved.
The server pre-stores the configuration information of various gifts; the configuration information comprises the configuration state, the modification time and the sending-out time of the gift; the configuration state comprises upper frame or lower frame; the device further comprises a hot spot gift determining module for: searching gift with configuration information meeting the set condition; wherein the setting condition includes one of: the configuration state is upper frame; the modification time is later than the first set time; the sending time is later than the second set time; and determining the found gift as a hot spot gift.
The device further comprises: the modification operation monitoring module is used for monitoring modification operation on the configuration information; the modifying operation includes one of: newly adding configuration information; updating configuration information; deleting configuration information; and the modification operation synchronization module is used for synchronizing the modification operation to the first configuration file.
The server stores parcel gift information corresponding to each user; the package gift information includes the kind and number of the gift owned by the user; the device further comprises a hot spot gift determining module for: if the type and/or the number of the gift in the package gift information is monitored to be changed, the type and/or the number of the changed gift is determined as a hot spot gift.
The embodiment also provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the data processing method of the living room.
Referring to fig. 6, the electronic device includes a processor 100 and a memory 101, the memory 101 storing machine executable instructions executable by the processor 100, the processor 100 executing the machine executable instructions to implement the data processing method of the living room described above.
Further, the electronic device shown in fig. 6 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The memory 101 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 6, but not only one bus or type of bus.
The processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 100 or by instructions in the form of software. The processor 100 may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a digital signal Processor (DIGITAL SIGNAL Processor, DSP), application Specific Integrated Circuit (ASIC), field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and, in combination with its hardware, performs the steps of the method of the previous embodiment.
The present embodiment also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the data processing method of a live room described above.
The data processing method, device and electronic equipment for a live broadcast room provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, wherein the instructions included in the program codes can be used for executing the method described in the method embodiment, and specific implementation can be referred to the method embodiment and will not be repeated here.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

Responding to a trigger event entering a live broadcasting room, and sending a first gift configuration request to a server so that the server sends a first configuration file to the terminal equipment; the gift configuration information contained in the first configuration file is configuration information of a hot spot gift, and the hot spot gift is determined by a server in advance according to set conditions; the server pre-stores configuration information of various gifts; the configuration information comprises the configuration state, the modification time and the sending-out time of the gift; the configuration state comprises an upper frame or a lower frame; wherein the setting condition includes at least one of: the configuration state is on shelf; the modification time is later than the first set time; the sending time is later than a second set time;
Transmitting a predetermined first configuration file to the terminal equipment, so that the terminal equipment renders a specified service module of the live broadcasting room on the graphical user interface based on the first configuration file, and displays a control corresponding to the specified service module; the gift configuration information contained in the first configuration file is configuration information of a hot spot gift, and the hot spot gift is determined by the server in advance according to set conditions; the server pre-stores configuration information of various gifts; the configuration information comprises the configuration state, the modification time and the sending-out time of the gift; the configuration state comprises an upper frame or a lower frame; wherein the setting condition includes at least one of: the configuration state is on shelf; the modification time is later than the first set time; the sending time is later than a second set time;
CN202210314381.5A2022-03-282022-03-28Data processing method for live broadcasting room, electronic equipment and storage mediumActiveCN114845125B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210314381.5ACN114845125B (en)2022-03-282022-03-28Data processing method for live broadcasting room, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210314381.5ACN114845125B (en)2022-03-282022-03-28Data processing method for live broadcasting room, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN114845125A CN114845125A (en)2022-08-02
CN114845125Btrue CN114845125B (en)2024-06-18

Family

ID=82564687

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210314381.5AActiveCN114845125B (en)2022-03-282022-03-28Data processing method for live broadcasting room, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114845125B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106651497A (en)*2016-09-292017-05-10广州华多网络科技有限公司Method and device for sending gift identification list
CN107040822A (en)*2017-03-222017-08-11北京潘达互娱科技有限公司Virtual gift display method and system

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002133072A (en)*2000-10-242002-05-10Toppan Printing Co Ltd Gift layout simulation system and package medium
US20100169160A1 (en)*2008-12-302010-07-01Ebay Inc.Gift recommendation method and system
CN105978888B (en)*2016-06-202019-05-14郝运峰A kind of direct broadcasting room virtual present recommended method and system
CN106372982A (en)*2016-08-292017-02-01广州华多网络科技有限公司Electronic gift display control method and device of live streaming room, and terminal equipment
CN106487781B (en)*2016-09-132020-12-22腾讯科技(深圳)有限公司Resource data processing method, device and system based on live broadcast
CN106791936B (en)*2016-11-282020-11-06广州华多网络科技有限公司Virtual gift display method and device
CN106682945B (en)*2016-12-302021-09-21广州方硅信息技术有限公司Free gift management method and device
CN109743588B (en)*2019-01-082021-09-21广州虎牙信息科技有限公司Live broadcast room virtual gift list generation method and device, server and storage medium
CN111010585B (en)*2019-12-062021-10-22广州方硅信息技术有限公司Virtual gift sending method, device, equipment and storage medium
CN111083554A (en)*2019-12-312020-04-28广州酷狗计算机科技有限公司Method and device for displaying live gift
CN111163329B (en)*2020-01-022021-09-17北京字节跳动网络技术有限公司Live broadcast room gift list configuration method, device, medium and electronic equipment
CN111787015B (en)*2020-07-032022-07-22珠海金山网络游戏科技有限公司Game live broadcast interaction system, data processing method and device
CN111866595B (en)*2020-07-242022-09-06广州市百果园信息技术有限公司Virtual gift list generation method, virtual gift recommendation method and device
CN112291631A (en)*2020-10-302021-01-29北京达佳互联信息技术有限公司Information acquisition method, device, terminal and storage medium
CN113596603B (en)*2021-07-282023-03-21北京达佳互联信息技术有限公司Virtual article display control method, virtual article display method and device
CN113824977B (en)*2021-09-072023-10-03广州方硅信息技术有限公司Live broadcast room virtual gift giving method, system, device, equipment and storage medium
CN113781022A (en)*2021-09-102021-12-10北京快来文化传播集团有限公司Interactive live broadcast system based on virtual gift
CN113923469B (en)*2021-11-112024-03-29广州方硅信息技术有限公司Method, device, equipment and storage medium for processing continuous delivery of gift in live broadcast

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106651497A (en)*2016-09-292017-05-10广州华多网络科技有限公司Method and device for sending gift identification list
CN107040822A (en)*2017-03-222017-08-11北京潘达互娱科技有限公司Virtual gift display method and system

Also Published As

Publication numberPublication date
CN114845125A (en)2022-08-02

Similar Documents

PublicationPublication DateTitle
CN108073828B (en)Webpage tamper-proofing method, device and system
US11184465B2 (en)Network communication for establishing a QUIC connection
US20180253503A1 (en)Method, Apparatus and System for Preloading of APP Launch Advertising
CN109614766B (en)Method and device for carrying out block chaining and evidence saving on webpage through file acquisition
CN111159269B (en)Data processing method, device and system
CN112187622B (en)Instant message display method and device and server
CN112667426A (en)Log analysis method and device
CN111368235A (en)Page rendering and displaying method, device, server and storage medium
CN111198725B (en)Application starting processing method, computing equipment and computer storage medium
CN114845125B (en)Data processing method for live broadcasting room, electronic equipment and storage medium
CN108304312B (en)Method and device for testing webpage loading speed
CN114640956B (en)Short message issuing method, device, system and electronic equipment
CN111050217B (en)Video playing method and device
CN117591480B (en) Data query method, device, electronic device and storage medium
US12375773B2 (en)Method and system for displaying information on page
CN107562469B (en)Title bar data display method and system
CN111400327A (en)Data synchronization method and device, electronic equipment and storage medium
CN112650684B (en)Verification method, device and equipment for webpage evidence obtaining and storage medium
CN115878172A (en)Front-end gray level publishing method and system and electronic equipment
CN111045749B (en)Application program starting method and device
CN113886439B (en) Method, device and storage medium for managing cache data
CN111182136A (en)Reminding task triggering method and system, terminal device and storage medium
CN115604135B (en)Service monitoring method and device
CN110888690A (en)Application starting method and device, electronic equipment and storage medium
CN114143364B (en)Cross-server data updating method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp