List update method and apparatus, readable medium, and electronic device
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorLi Wei
Life of this patent
Estimating the term…
Abstract
A list updating method and a list updating apparatus are provided. The method includes: receiving a list updating request sent from a client, where the list updating request includes list updating data for updating a list determining a target list corresponding to the list updating request according to the list updating data and a list configuration file, where the list configuration file includes configuration information of all configured lists; and updating the target list according to the list updating data.
Claims11
A method for improving efficiency of updating lists by a server and saving resources of the server, applied to the server, the server configured to record and rank on-line data to provide lists of rankings in a live stream scene, the method comprising:
- receiving a list updating request sent from a client associated with a live stream room, wherein the list updating request comprises list updating data, the list updating data comprising information related to an operation of triggering the list updating request, wherein the list updating data comprise information indicative of the triggering operation in the live stream scene, information associated with the client, and information associated with an anchor of the live stream room;
- acquiring, by the server, a list configuration file, wherein the list configuration file comprises configuration information and weighting processing information of all lists that have been configured, and wherein the server manages and maintains the lists of rankings in the live stream scene based on the configuration information and the weighting processing information of the all lists in the list configuration file;
- traversing, by the server, the configuration information of the all lists in the list configuration file based on the list updating data to determine all target lists of rankings in the live stream scene to be updated;
- performing weighting processing on the list updating data for at least some of the all target lists of rankings in the live stream scene based on the weighting processing information in the list configuration file and generating weighted list updating data;
- and
- updating the at least some of the all target lists of rankings in the live stream scene by the server according to the weighted list updating data.
A server for improving efficiency of updating lists and saving resources of the server, the server configured to record and rank on-line data to provide lists of rankings in a live stream scene, the server comprising:
- at least one processor;
- and
- at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the server to perform operations comprising:
- receiving a list updating request sent from a client associated with a live stream room, wherein the list updating request comprises list updating data, the list updating data comprising information related to an operation of triggering the list updating request, wherein the list updating data comprise information indicative of the triggering operation in the live stream scene, information associated with the client, and information associated with an anchor of the live stream room;
- acquiring, by the server, a list configuration file, wherein the list configuration file comprises configuration information and weighting processing information of all lists that have been configured, and wherein the server manages and maintains the lists of rankings in the live stream scene based on the configuration information and the weighting processing information of the all lists in the list configuration file;
- traversing, by the server, the configuration information of the all lists in the list configuration file based on the list updating data to determine all target lists of rankings in the live stream scene to be updated;
- performing weighting processing on the list updating data for at least some of the all target lists of rankings in the live stream scene based on the weighting processing information in the list configuration file and generating weighted list updating data;
- and
- updating the at least some of the all target lists of rankings in the live stream scene by the server according to the weighted list updating data.
A non-transitory computer readable medium storing computer programs, wherein the programs are executed by a server, the server is configured to record and rank on-line data to provide lists of rankings in a live stream scene, and the programs upon execution by the server cause the server to perform operations comprising:
- receiving a list updating request sent from a client associated with a live stream room, wherein the list updating request comprises list updating data, the list updating data comprising information related to an operation of triggering the list updating request, wherein the list updating data comprise information indicative of the triggering operation in the live stream scene, information associated with the client, and information associated with an anchor of the live stream room;
- acquiring, by the server, a list configuration file, wherein the list configuration file comprises configuration information and weighting processing information of all lists that have been configured, and wherein the server manages and maintains the lists of rankings in the live stream scene based on the configuration information and the weighting processing information of the all lists in the list configuration file;
- traversing, by the server, the configuration information of the all lists in the list configuration file based on the list updating data to determine all target lists of rankings in the live stream scene to be updated;
- performing weighting processing on the list updating data for at least some of the all target lists of rankings in the live stream scene based on the weighting processing information in the list configuration file and generating weighted list updating data;
- and
- updating the at least some of the all target lists of rankings in the live stream scene by the server according to the weighted list updating data.
Dependencies are inferred from the claim text.