CN111898037A - Method and device for updating ranking list data and server - Google Patents

Method and device for updating ranking list data and server Download PDF

Info

Publication number
CN111898037A
CN111898037A CN202010617967.XA CN202010617967A CN111898037A CN 111898037 A CN111898037 A CN 111898037A CN 202010617967 A CN202010617967 A CN 202010617967A CN 111898037 A CN111898037 A CN 111898037A
Authority
CN
China
Prior art keywords
ranking list
virtual
anchor
ranking
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010617967.XA
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.)
Guangzhou Jinhong Network Media Co ltd
Original Assignee
Guangzhou Jinhong Network Media 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 Jinhong Network Media Co ltd filed Critical Guangzhou Jinhong Network Media Co ltd
Priority to CN202010617967.XA priority Critical patent/CN111898037A/en
Publication of CN111898037A publication Critical patent/CN111898037A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed

Abstract

The application discloses a ranking list data updating method, a ranking list data updating device, a server and a storage medium. The method and the device have the advantages that the virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, multiple times of ranking list development is not needed due to different business scenes, the development process of the revenue and income activity ranking list is simplified, and the ranking updating speed of the ranking list is increased.

Description

Method and device for updating ranking list data and server
Technical Field
The application relates to the technical field of internet, in particular to a method, a device, a server and a storage medium for updating leader board data.
Background
With the development of internet technology, more and more users watch network videos, such as live network videos, through smart devices such as mobile phones. In the live broadcast room service, in order to improve the enthusiasm of the user for delivering the gifts, various revenue activities can be carried out irregularly, the activity mode can be that the user sends a certain appointed gift or all gifts to the current live broadcast room anchor in a certain time, accumulated points are given to the anchor after the gifts are sent, and the full platform anchor carries out ranking display according to the accumulated points. However, as the types of revenue activities are diversified, a new chart needs to be developed for each activity scene to display the revenue data of the activities, and the development complexity of the revenue activity chart is increased.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, a server, and a storage medium for updating leader board data to improve the above problems.
In a first aspect, an embodiment of the present application provides a method for updating leader board data, where the method includes: acquiring activity configuration information corresponding to a target ranking list in a live broadcast room, wherein the activity configuration information comprises activity parameters and ranking list configuration information; acquiring ranking list statistical data corresponding to a main broadcast, wherein the ranking list statistical data comprise the presentation number of virtual gifts; converting the presentation quantity of the virtual gifts into corresponding virtual scores of the anchor in the target ranking list based on the activity parameters and the ranking list configuration information; and updating the ranking of the anchor in the target ranking list according to the virtual score.
In a second aspect, an embodiment of the present application provides an apparatus for updating leader board data, where the apparatus includes: the system comprises a configuration information acquisition module, a ranking list configuration module and a ranking list configuration module, wherein the configuration information acquisition module is used for acquiring activity configuration information corresponding to a target ranking list in a live broadcast room, and the activity configuration information comprises activity parameters and the ranking list configuration information; the statistical data acquisition module is used for acquiring ranking list statistical data corresponding to the anchor, and the ranking list statistical data comprise the presentation number of the virtual gifts; the virtual score acquisition module is used for converting the presentation quantity of the virtual gifts into the virtual scores corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information; and the updating module is used for updating the ranking of the anchor in the target ranking list according to the virtual score.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and one or more processors; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of the first aspect described above.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, wherein when the program code is executed by a processor, the method according to the first aspect is performed.
According to the ranking list data updating method, device, server and storage medium provided by the embodiment of the application, the activity configuration information corresponding to the target ranking list in the live broadcast room is obtained, then the ranking list statistical data corresponding to the anchor is obtained, then the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information, and then the ranking of the anchor in the target ranking list is updated according to the virtual score. Therefore, under the condition that the activity configuration information corresponding to the target ranking list is obtained, the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the target ranking list of the anchor according to the activity parameters corresponding to the target ranking list in the live broadcast room and the ranking list configuration information, and the ranking of the anchor in the target ranking list is updated according to the virtual score. The method and the device have the advantages that the virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, multiple times of ranking list development is not needed due to different business scenes, the development process of the revenue and income activity ranking list is simplified, and the ranking updating speed of the ranking list is increased.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flowchart of a method for updating leader board data according to an embodiment of the present application.
Fig. 2 shows a flowchart of a method for updating leader board data according to another embodiment of the present application.
Fig. 3 illustrates an example diagram of rankings of a host in a target leaderboard provided by an embodiment of the application.
Fig. 4 shows a flowchart of a method for updating leader board data according to another embodiment of the present application.
Fig. 5 shows an exemplary diagram of an update flow of leader board data provided by an embodiment of the present application.
Fig. 6 shows a block diagram of a leader board data updating apparatus according to an embodiment of the present application.
Fig. 7 shows a block diagram of a server according to an embodiment of the present disclosure.
Fig. 8 shows a storage unit for storing or carrying program codes for implementing the ranking board data updating method according to the embodiment of the application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The ranking list reflects the objective strength of a related similar object and has the comparative property with each other. Therefore, in order to promote competition and to increase the attention and enthusiasm of the broad masses, it is necessary to develop and update various charts. For example, a game chart, an attention chart, and a popular song chart.
With the development of the internet, in many application scenarios, a list service (i.e., a ranking list service) for recording and ranking some business data and displaying the counted business data to a user appears, for example, a reward list, a popularity list, and an online popularity list in online live broadcast, or a player point ranking list, a consumption list, and a ranking list in online games. In the live broadcast room service, in order to improve the enthusiasm of the user for delivering the gifts, various revenue activities can be carried out irregularly, the activity mode can be that the user sends a certain appointed gift or all gifts to the current live broadcast room anchor in a certain time, accumulated points are given to the anchor after the gifts are sent, and the full platform anchor carries out ranking display according to the accumulated points. However, as the types of revenue activities are diversified, for example, different virtual currency systems in different live broadcast rooms are different, and the channels for recharging are different, the ranking display method corresponding to one activity may not be suitable for revenue ranking display of another activity.
For the above problems, the inventor finds, through long-term research, that statistical data of the ranking list corresponding to the anchor can be obtained by obtaining activity configuration information corresponding to a target ranking list in a live broadcast room, the presenting quantity of the virtual gifts is converted into virtual points corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information, and then the ranking of the anchor in the target ranking list is updated according to the virtual points. Therefore, under the condition that the activity configuration information corresponding to the target ranking list is obtained, the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the target ranking list of the anchor according to the activity parameters corresponding to the target ranking list in the live broadcast room and the ranking list configuration information, and the ranking of the anchor in the target ranking list is updated according to the virtual score. The virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, a new system does not need to be developed to serve as the ranking list under different business scenes due to different business scenes, and the development process of the revenue activity ranking list is simplified. Therefore, the method, the device, the server and the storage medium for updating the leader board data provided by the embodiment of the application are provided.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a method for updating a leader board data according to an embodiment of the present application is shown, where the embodiment provides a method for updating a leader board data, which is applicable to a server, and the method includes:
step S110: and acquiring activity configuration information corresponding to the target ranking list in the live broadcast room.
Optionally, the target ranking list in this embodiment may be a ranking list corresponding to various activities, for example, during holidays (for example, traditional holidays of china: spring festival, afternoon festival, mid-autumn festival, labor festival, national celebration, etc., or network holidays: 2.14 valentine's day, 6.18 shopping day, twenty-one shopping day, twenty-two shopping day, etc., or holidays of other countries: christmas day, etc.), live activities related to holiday subjects may be held in the live broadcast room, the live activities may correspond to different business scenes, for example, live broadcast scenes with goods or product publicity scenes, and optionally, the types of the activities and the specific forms of the activities may not be limited. Optionally, the target leaderboard in this embodiment may be used to show the activity revenue corresponding to the current activity (including the ranking corresponding to the revenue contributed by each of the live rooms where different anchor hosts are located).
Optionally, the activity configuration information may include activity parameters and leader board configuration information. The activity parameters may include an activity identifier (which may optionally be represented by ActId), a point type corresponding to the activity identifier (which may optionally be represented by ScoreType), a collection start time of the activity gift, and a collection end time of the activity gift; the gift identifications of the gift sending messages and the virtual points corresponding to the gift identifications need to be monitored. The leaderboard configuration information may include a score type of the leaderboard statistics, a time range of the leaderboard statistics, a type of the leaderboard (e.g., which may be a day list, a week list, a month list, or a total list, etc.), and a number of the leaderboard statistics.
It can be understood that the statistical rules and ranking rules of the leaderboard data corresponding to different activities may be different, and in this way, if revenue data of multiple different leaderboard activities are ranked in the same manner, the result of ranking will be inaccurate, or a developer needs to develop the revenue data of the leaderboard activities for multiple times, resulting in low reusability of ranking the revenue data of the leaderboard activities, and low iteration efficiency of developing the leaderboard.
As a way to improve the above problem, when it is necessary to acquire ranking information corresponding to the target ranking list, activity configuration information corresponding to the target ranking list in the live broadcast room may be configured in advance, so that the activity configuration information corresponding to the target ranking list in the live broadcast room may be acquired, so that various types of activity data related to the ranking of the target ranking list may be acquired based on the activity configuration information. The target ranking list may be one ranking list or a plurality of ranking lists, and is not limited herein.
Step S120: and acquiring ranking list statistical data corresponding to the anchor.
The leader board statistics may include a presentation amount of the virtual gift. Optionally, when the ranking of the anchor in the target ranking list needs to be updated, the ranking list statistical data corresponding to the anchor may be acquired. In one aspect, the leader board statistics corresponding to the anchor may be obtained according to the type and number of virtual gifts presented, the presentation time, and the like.
Step S130: and converting the presenting quantity of the virtual gifts into corresponding virtual scores of the anchor in the target ranking list based on the activity parameters and the ranking list configuration information.
Optionally, the ranking list configuration information includes virtual point values corresponding to different types of virtual gifts, and as a manner, after the ranking list statistical data corresponding to the anchor is obtained, the presentation number of the virtual gifts may be converted into virtual points corresponding to the anchor in the target ranking list (i.e., a total value corresponding to all the virtual gifts received by the anchor) based on the activity parameter and the ranking list configuration information, so that the ranking of the anchor in the target ranking list may be updated based on the virtual points.
Optionally, the presenting time of the virtual gift may be relatively dispersed, for example, some audience users may "present" the anchor at intervals, or the presenting time is discontinuous, and if the virtual gift is presented each time, the virtual score is converted and the rank of the anchor in the target ranking list is updated, which may result in resource waste to some extent. As a way to improve this problem, in this embodiment, a preset condition may be set, and in this way, if the ranking list statistical data meets the preset condition, the presentation quantity of the virtual gifts is converted into a corresponding virtual score in the target ranking list based on the activity parameter and the ranking list configuration information. The preset condition may be that the total value given by the virtual gift is greater than or equal to a preset threshold at a certain time or within a certain period of time, and a specific value of the preset threshold may be determined according to an actual situation, which is not limited herein.
Optionally, the virtual gifts may include single-presented virtual gifts and cumulative-presented virtual gifts, and as a manner, if the number of the single-presented virtual gifts is greater than or equal to the first threshold and/or the number of the cumulative-presented virtual gifts is greater than or equal to the second threshold, it may be determined that the ranking list statistical data meets the preset condition. That is, if the number of the virtual gifts given at a single time is greater than or equal to the first threshold, it can be determined that the ranking list statistical data meets the preset condition; or if the number of the accumulated presented virtual gifts is larger than or equal to the second threshold value, the statistical data of the ranking list can be judged to meet the preset conditions; or if the number of the virtual gifts given at a single time is greater than or equal to the first threshold and the number of the virtual gifts given in an accumulated manner is greater than or equal to the second threshold, it may be determined that the ranking list statistical data meets the preset condition. The magnitude relationship between the first threshold and the second threshold and the corresponding specific numerical values are not limited, and any possible numerical value and combination thereof are within the protection scope of the present embodiment.
Step S140: and updating the ranking of the anchor in the target ranking list according to the virtual score.
Optionally, after the virtual score corresponding to the anchor in the target ranking list is obtained, the ranking of the anchor in the target ranking list may be updated according to the virtual score, for example, if the virtual score corresponding to the anchor in the target ranking list is increased, the ranking of the anchor in the target ranking list will be moved forward, for example, assuming that the target ranking list has 20 people in total, the anchor may be moved forward from 16 th to 10 th. If the corresponding virtual score of the anchor in the target ranking list is decreased, the rank of the anchor in the target ranking list is shifted backwards, for example, the anchor can be shifted from 16 th to 19 th.
In the update method of the ranking list data provided by this embodiment, the activity configuration information corresponding to the target ranking list in the live broadcast room is acquired, then the ranking list statistical data corresponding to the anchor is acquired, then the presentation quantity of the virtual gifts is converted into the virtual score corresponding to the anchor in the target ranking list based on the activity parameter and the ranking list configuration information, and then the ranking of the anchor in the target ranking list is updated according to the virtual score. Therefore, under the condition that the activity configuration information corresponding to the target ranking list is obtained, the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the target ranking list of the anchor according to the activity parameters corresponding to the target ranking list in the live broadcast room and the ranking list configuration information, and the ranking of the anchor in the target ranking list is updated according to the virtual score. The method and the device have the advantages that the virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, multiple times of ranking list development is not needed due to different business scenes, the development process of the revenue and income activity ranking list is simplified, and the ranking updating speed of the ranking list is increased.
Referring to fig. 2, a flowchart of a method for updating a leader board data according to another embodiment of the present application is shown, where the embodiment provides a method for updating a leader board data, which can be applied to a server, and the method includes:
step S210: and acquiring activity configuration information corresponding to the target ranking list in the live broadcast room.
Step S220: and if the gift sending behavior is detected to exist, sending the gift sending behavior to a specified message queue.
Optionally, the number of virtual gifts received by the anchor may be detected, and if it is detected that the number of virtual gifts received by the anchor changes, it may be determined that a gift sending behavior exists.
Step S230: and acquiring ranking list statistical data corresponding to the anchor from the message queue.
Step S240: and acquiring virtual gift running information corresponding to the gift sending behavior.
Optionally, the presenting time, the presenting quantity, the presenting category, and the like of the virtual gift may be monitored through the message queue, and then the virtual gift running information corresponding to the gift presenting behavior is obtained.
Step S250: converting the presentation quantity of the virtual gifts into virtual scores corresponding to the target ranking list by the anchor based on the activity parameters, the ranking list configuration information and the virtual gift running information.
As one way, after the virtual gift running water information corresponding to the gift sending behavior is obtained, the presenting quantity of the virtual gift can be converted into the current virtual score corresponding to the target ranking list by the anchor according to the activity parameter, the ranking list configuration information and the virtual gift running water information.
Step S260: and updating the ranking of the anchor in the target ranking list according to the virtual score.
Referring to FIG. 3, an example diagram of the ranking of an anchor in a target leaderboard is shown. As shown in fig. 3, the display interface 101 of the electronic device 100 displays the ranking of each anchor in the target leaderboard, optionally, the number of the anchors is 7 bits (that is, the leader total leaderboard shown in fig. 3 is 7 bits), the contribution value on the right side or the lower side of the anchor represents the total value of the virtual gifts received by the anchor in the target leaderboard, the gender and the current rating of the anchor are displayed below the avatar of the anchor, optionally, the ranking of the anchor 102 "maotai tui" is the last ranking (that is, 7 th ranking), and after the anchor updates its ranking in the target leaderboard according to the virtual score, the ranking can be changed to 5 th ranking as shown in fig. 3.
According to the method for updating the ranking list data provided by the embodiment, the virtual integral corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, and then the ranking of the anchor in the target ranking list is updated according to the virtual integral, so that multiple times of ranking list development due to different business scenes is not needed, the development process of the revenue activity ranking list is simplified, and the ranking updating speed of the ranking list is increased.
Referring to fig. 4, a flowchart of a method for updating a leader board data according to another embodiment of the present application is shown, where the embodiment provides a method for updating a leader board data, which is applicable to a server, and the method includes:
step S310: and acquiring activity configuration information corresponding to the target ranking list in the live broadcast room.
Step S320: and acquiring ranking list statistical data corresponding to the anchor.
Step S330: and converting the presenting quantity of the virtual gifts into corresponding virtual scores of the anchor in the target ranking list based on the activity parameters and the ranking list configuration information.
Step S340: and acquiring the integral type corresponding to the virtual integral.
Optionally, the type identifiers corresponding to the different types of virtual gifts are different, and after the presenting quantity of the virtual gifts is converted into the virtual points corresponding to the anchor in the target leaderboard, the virtual points corresponding to the types of the virtual gifts may be given the same type identifiers as the virtual gifts. For example, assuming that the virtual gift is "one arrow is through" and belongs to a type of "love", the type identifier corresponding to the virtual gift is "a 1", and the number of the virtual gift is 1, in this way, assuming that the virtual integral corresponding to the virtual gift is "5", the virtual gift can be converted into the virtual integral "5", and then the type identifier is added, so as to obtain "5 a 1". In this case, the score type corresponding to the virtual score may be obtained by identifying the virtual gift type identifier carried by the virtual score.
Step S350: and if the point type is a preset point type, updating the ranking of the anchor in the target ranking list according to the virtual points.
Optionally, the gifts in the virtual gift library are of various types, and the types of the virtual gifts specified by different activities may be different, that is, the virtual gift a may be used to participate in the statistical ranking in activity a, and may not be used to participate in the statistical ranking in activity b.
As one way, after the integral type corresponding to the virtual integral is obtained, it may be determined whether the integral type is a preset integral type. Optionally, if the point type is a preset point type, the ranking of the anchor in the target ranking list may be updated according to the virtual point.
Optionally, after the ranking of the anchor in the target ranking list is updated, a ranking list data query request may also be received, optionally, the ranking list data query request carries a movable identifier, then, ranking list data corresponding to the movable identifier is searched, and then, the ranking list data is returned.
The following takes fig. 5 as an example to explain the present embodiment:
as shown in fig. 5, the update method of the leader board data provided in this embodiment may be applied to a server, where a data processing system for updating the leader board data is configured in the server, and optionally, the data processing system may include a plurality of subsystems, and specifically, the plurality of subsystems may be a leader board service system, a virtual point generation system, an event task system, and a live broadcast revenue collecting system. The ranking list service system may be used for the activity operator 21 to configure the ranking list activity at the rear end of the server, and specifically, the ranking list service system may include generating a score type required by the activity through the virtual score system, and generating activity ranking list configuration information; the event task system may be used to generate an integrated accumulated task configuration of activities.
Optionally, when the audience user 22 in the live broadcast room presents the virtual gift to the anchor broadcast through the client, the live broadcast revenue system may detect the gift presenting behavior in the live broadcast room and notify the event task system, and after the event task system receives the presentation message of the virtual gift, the point accumulation task configuration may be generated, that is, the point accumulation task may start to start. Meanwhile, the event scoring system can also read the configuration and accumulate the anchor score, then inform the virtual scoring system to increase the virtual score of the anchor, and further trigger the updating of the ranking of the anchor in the target ranking list according to the increased score.
Optionally, the audience user 22 may directly initiate a ranking list display request in the live broadcast room at the client, and send the ranking list display request in the live broadcast room to the ranking list service system, after receiving the request, the ranking list service system may request ranking list data, that is, current ranking list data, from the virtual scoring system, and after receiving the ranking list data returned by the virtual scoring system, may return the data to the client and instruct the client to display.
Optionally, in the embodiment of the application, through the data processing system, ranking data corresponding to different ranking list activities can be updated without developing a corresponding ranking list data updating system for the different ranking list activities individually, so that a storage space is reduced, and the flexibility of updating the ranking list activity data is improved.
According to the method for updating the ranking list data, the virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, a new system does not need to be developed to serve as the ranking list in different business scenes due to different business scenes, and user experience is improved.
Referring to fig. 6, which is a block diagram illustrating a structure of an apparatus for updating leaderboard data according to an embodiment of the present application, in which the apparatus 400 for updating leaderboard data provided in this embodiment can be operated on an electronic device, the apparatus 400 includes: the configuration information obtaining module 410, the statistical data obtaining module 420, the virtual point obtaining module 430, and the updating module 440:
the configuration information obtaining module 410 is configured to obtain activity configuration information corresponding to a target ranking list in a live broadcast room, where the activity configuration information includes activity parameters and ranking list configuration information.
The statistical data obtaining module 420 is configured to obtain ranking list statistical data corresponding to the anchor, where the ranking list statistical data includes a presentation quantity of the virtual gift.
As a mode, the statistical data obtaining module 420 may be specifically configured to send a gift sending behavior to a specified message queue if the gift sending behavior is detected to exist; and acquiring ranking list statistical data corresponding to the anchor from the message queue.
The virtual point obtaining module 430 is configured to convert the presentation quantity of the virtual gift into a virtual point corresponding to the target ranking list of the anchor based on the activity parameter and the ranking list configuration information.
Optionally, the virtual point obtaining module 430 may be specifically configured to obtain virtual gift running information corresponding to the gift sending behavior; converting the presentation quantity of the virtual gifts into virtual scores corresponding to the target ranking list by the anchor based on the activity parameters, the ranking list configuration information and the virtual gift running information.
As an implementation manner, the virtual score obtaining module 430 may be configured to, if the ranking list statistical data meets a preset condition, convert the presenting quantity of the virtual gift into a corresponding virtual score of the anchor in the target ranking list based on the activity parameter and the ranking list configuration information. In this way, if the number of the virtual gifts given once is greater than or equal to a first threshold value and/or the number of the virtual gifts given cumulatively is greater than or equal to a second threshold value, it may be determined that the leader board statistical data meets a preset condition.
An updating module 440, configured to update the ranking of the anchor in the target leaderboard according to the virtual score.
As one way, the updating module 440 may be configured to obtain a point type corresponding to the virtual point; and if the point type is a preset point type, updating the ranking of the anchor in the target ranking list according to the virtual points.
Optionally, the activity parameter in this embodiment includes an activity identifier, a point type corresponding to the activity identifier, a collection start time of the activity gift, and a collection end time of the activity gift; monitoring gift identifications of gift sending messages and virtual points corresponding to the gift identifications; the ranking list configuration information comprises the score type of ranking list statistics, the time range of ranking list statistics, the type of ranking list and the number of ranking list statistics.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 7, based on the method and the apparatus for updating the leaderboard data, an embodiment of the application further provides a server 110 capable of executing the method for updating the leaderboard data. The server 110 includes a memory 112 and one or more processors 114 (only one shown) coupled to each other, the memory 112 and the processors 114 being communicatively coupled. The memory 112 stores therein a program that can execute the contents of the foregoing embodiments, and the processor 114 executes the program stored in the memory 112.
Among other things, the processor 114 may include one or more processing cores. The processor 114 interfaces with various components throughout the server 110 using various interfaces and lines to perform various functions of the server 110 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 112 and invoking data stored in the memory 112. Alternatively, the processor 114 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 114 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 114, but may be implemented by a communication chip.
The Memory 112 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 112 may be used to store instructions, programs, code sets, or instruction sets. The memory 112 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the foregoing embodiments, and the like. The storage data area may also store data created by the server 110 during use (e.g., phone books, audio-video data, chat log data), and the like.
Referring to fig. 8, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 500 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
To sum up, according to the method, the device, the server and the storage medium for updating the ranking list data provided by the embodiment of the application, the activity configuration information corresponding to the target ranking list in the live broadcast room is acquired, then the ranking list statistical data corresponding to the anchor is acquired, then the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information, and then the ranking of the anchor in the target ranking list is updated according to the virtual score. Therefore, under the condition that the activity configuration information corresponding to the target ranking list is obtained, the presenting quantity of the virtual gifts is converted into the virtual score corresponding to the target ranking list of the anchor according to the activity parameters corresponding to the target ranking list in the live broadcast room and the ranking list configuration information, and the ranking of the anchor in the target ranking list is updated according to the virtual score. The method and the device have the advantages that the virtual score corresponding to the anchor in the target ranking list can be obtained only through the activity configuration information corresponding to the target ranking list, the ranking of the anchor in the target ranking list is updated according to the virtual score, multiple times of ranking list development is not needed due to different business scenes, the development process of the revenue and income activity ranking list is simplified, and the ranking updating speed of the ranking list is increased.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for updating leader board data, the method comprising:
acquiring activity configuration information corresponding to a target ranking list in a live broadcast room, wherein the activity configuration information comprises activity parameters and ranking list configuration information;
acquiring ranking list statistical data corresponding to a main broadcast, wherein the ranking list statistical data comprise the presentation number of virtual gifts;
converting the presentation quantity of the virtual gifts into corresponding virtual scores of the anchor in the target ranking list based on the activity parameters and the ranking list configuration information;
and updating the ranking of the anchor in the target ranking list according to the virtual score.
2. The method of claim 1, wherein the obtaining leader board statistics corresponding to a anchor comprises:
if the gift sending behavior is detected to exist, the gift sending behavior is sent to a specified message queue;
and acquiring ranking list statistical data corresponding to the anchor from the message queue.
3. The method of claim 2, wherein translating the number of gifts for the virtual gift to a corresponding virtual credit of the anchor in the target leaderboard based on the campaign parameters and leaderboard configuration information comprises:
acquiring virtual gift pipelining information corresponding to the gift sending behavior;
converting the presentation quantity of the virtual gifts into virtual scores corresponding to the target ranking list by the anchor based on the activity parameters, the ranking list configuration information and the virtual gift running information.
4. The method of claim 1, wherein translating the number of gifts for the virtual gift to a corresponding virtual credit of the anchor in the target leaderboard based on the campaign parameters and leaderboard configuration information comprises:
if the ranking list statistical data meet preset conditions, converting the presentation quantity of the virtual gifts into virtual scores corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information.
5. The method of claim 4, wherein the virtual gifts include single gifted virtual gifts and cumulative gifted virtual gifts, the method further comprising:
and if the number of the virtual gifts given for the single time is larger than or equal to a first threshold value and/or the number of the virtual gifts given in the accumulated mode is larger than or equal to a second threshold value, judging that the ranking list statistical data meet preset conditions.
6. The method recited in claim 1, wherein the updating the ranking of the anchor in the target leaderboard in accordance with the virtual credit comprises:
acquiring an integral type corresponding to the virtual integral;
and if the point type is a preset point type, updating the ranking of the anchor in the target ranking list according to the virtual points.
7. The method according to any one of claims 1-6, wherein the activity parameters include an activity identifier, a score type corresponding to the activity identifier, a collection start time of the activity gift, a collection end time of the activity gift; monitoring gift identifications of gift sending messages and virtual points corresponding to the gift identifications; the ranking list configuration information comprises the score type of ranking list statistics, the time range of ranking list statistics, the type of ranking list and the number of ranking list statistics.
8. An apparatus for updating leaderboard data, the apparatus comprising:
the system comprises a configuration information acquisition module, a ranking list configuration module and a ranking list configuration module, wherein the configuration information acquisition module is used for acquiring activity configuration information corresponding to a target ranking list in a live broadcast room, and the activity configuration information comprises activity parameters and the ranking list configuration information;
the statistical data acquisition module is used for acquiring ranking list statistical data corresponding to the anchor, and the ranking list statistical data comprise the presentation number of the virtual gifts;
the virtual score acquisition module is used for converting the presentation quantity of the virtual gifts into the virtual scores corresponding to the anchor in the target ranking list based on the activity parameters and the ranking list configuration information;
and the updating module is used for updating the ranking of the anchor in the target ranking list according to the virtual score.
9. A server, comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having program code stored therein, wherein the program code when executed by a processor performs the method of any of claims 1-7.
CN202010617967.XA 2020-06-30 2020-06-30 Method and device for updating ranking list data and server Pending CN111898037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010617967.XA CN111898037A (en) 2020-06-30 2020-06-30 Method and device for updating ranking list data and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010617967.XA CN111898037A (en) 2020-06-30 2020-06-30 Method and device for updating ranking list data and server

Publications (1)

Publication Number Publication Date
CN111898037A true CN111898037A (en) 2020-11-06

Family

ID=73191126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010617967.XA Pending CN111898037A (en) 2020-06-30 2020-06-30 Method and device for updating ranking list data and server

Country Status (1)

Country Link
CN (1) CN111898037A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434052A (en) * 2020-11-09 2021-03-02 浙江集享电子商务有限公司 List data updating method and device in live broadcast platform and computer equipment
CN112686697A (en) * 2020-12-29 2021-04-20 百果园技术(新加坡)有限公司 Multi-dimension-based user behavior data processing method and device
CN112866731A (en) * 2020-12-31 2021-05-28 百果园技术(新加坡)有限公司 Live broadcast interaction management method, system, equipment and storage medium
CN112933596A (en) * 2021-03-16 2021-06-11 腾讯科技(深圳)有限公司 Display method, related device, equipment and storage medium of live broadcast resource
CN113476854A (en) * 2021-06-30 2021-10-08 北京达佳互联信息技术有限公司 Ranking list determining method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323594A (en) * 2015-10-26 2016-02-10 广州华多网络科技有限公司 Online live-broadcast list generation method and device
WO2018113140A1 (en) * 2016-12-22 2018-06-28 武汉斗鱼网络科技有限公司 Method and system for displaying virtual gift during live video broadcast
CN110611826A (en) * 2019-10-15 2019-12-24 广州虎牙科技有限公司 List generation method and device, server and readable storage medium
CN111031336A (en) * 2019-12-10 2020-04-17 北京达佳互联信息技术有限公司 Live broadcast list data updating method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323594A (en) * 2015-10-26 2016-02-10 广州华多网络科技有限公司 Online live-broadcast list generation method and device
WO2018113140A1 (en) * 2016-12-22 2018-06-28 武汉斗鱼网络科技有限公司 Method and system for displaying virtual gift during live video broadcast
CN110611826A (en) * 2019-10-15 2019-12-24 广州虎牙科技有限公司 List generation method and device, server and readable storage medium
CN111031336A (en) * 2019-12-10 2020-04-17 北京达佳互联信息技术有限公司 Live broadcast list data updating method and device, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112434052A (en) * 2020-11-09 2021-03-02 浙江集享电子商务有限公司 List data updating method and device in live broadcast platform and computer equipment
CN112686697A (en) * 2020-12-29 2021-04-20 百果园技术(新加坡)有限公司 Multi-dimension-based user behavior data processing method and device
CN112866731A (en) * 2020-12-31 2021-05-28 百果园技术(新加坡)有限公司 Live broadcast interaction management method, system, equipment and storage medium
CN112933596A (en) * 2021-03-16 2021-06-11 腾讯科技(深圳)有限公司 Display method, related device, equipment and storage medium of live broadcast resource
CN113476854A (en) * 2021-06-30 2021-10-08 北京达佳互联信息技术有限公司 Ranking list determining method and device, electronic equipment and storage medium
CN113476854B (en) * 2021-06-30 2024-04-16 北京达佳互联信息技术有限公司 Method and device for determining ranking list, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111898037A (en) Method and device for updating ranking list data and server
CN110213607B (en) Live broadcast room interaction method and device, terminal, server and readable storage medium
CN108235102B (en) Service processing method, device and storage medium
CN110109746B (en) Task processing method, device, equipment and medium
CN111079529B (en) Information prompting method and device, electronic equipment and storage medium
WO2018145527A1 (en) Cross-platform interaction method and device, program, and medium
CN113648650B (en) Interaction method and related device
CN112261488A (en) Virtual article issuing method, device, storage medium and computer equipment
CN110287399A (en) Live information processing method, device, electronic equipment and storage medium
CN113365092B (en) Resource processing method and device
CN111581521A (en) Group member recommendation method, device, server, storage medium and system
CN111209067A (en) Multimedia resource processing method and device, storage medium and computing equipment
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
CN111054078B (en) Object information acquisition method and device
JP2023175781A (en) Computer program, server device, terminal device, and method
CN106708623B (en) Object resource processing method, device and system
CN112862529B (en) Data processing method and device
CN111372089B (en) Method, device and storage medium for updating activity list
CN112950294A (en) Information sharing method and device, electronic equipment and storage medium
CN112199523A (en) Work distribution method and device, computer equipment and storage medium
CN113778365B (en) Element display method, element selection method, device, equipment and storage medium
CN113742581A (en) List generation method and device, electronic equipment and readable storage medium
CN110574066B (en) Server device and recording medium
CN110557648A (en) bullet screen display method and device in live mobile game and server
CN110852806A (en) Data processing method and device, storage medium and electronic equipment

Legal Events

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