List processing method, device, equipment and storage medium
By responding to users' virtual resource sending behavior on the live broadcast platform, generating a list of anchors that meet the update conditions and updating the virtual resource values, the problem of data loss during the list update process is solved, ensuring the fairness of the list and user experience.
Patent Information
- Application Number
- CN202210612963.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-05-31
AI Technical Summary
During the ranking update process of the live streaming platform, data related to users' interactive behaviors are easily lost, resulting in the fairness of the ranking and a decline in user experience.
In response to the user's virtual resource sending behavior to the target anchor, if the first list has not completed the update processing, multiple anchors that meet the preset update conditions are determined from the first list, a second list is generated, and the virtual resource value of the target anchor in the second list is updated according to the virtual resource sending behavior.
This avoids the loss of virtual resource data during the list update process, ensures the fairness of the list ranking, and improves the user experience.
Smart Images

Figure CN116483844B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a list processing method, apparatus, device, and storage medium. Background Art
[0002] In the related art, live streaming platforms often have ranking activities within their broadcast rooms. These activities typically include rankings for each broadcast room, or rankings for viewers or products within the broadcast room. Ranking-based activities can promote interaction between the platform and users, increasing user engagement with the platform.
[0003] List updating refers to selecting several anchors from the first list to generate a second list. In the process of updating the first list to the second list, the interactive behavior with users in the live broadcast room (such as the sending of virtual resources) will not be recorded in the list due to the update of the list, resulting in the loss of data related to the interactive behavior. Summary of the Invention
[0004] The present disclosure provides a list processing method, apparatus, device, and storage medium to at least solve the problem of voting data loss in related technologies. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a list processing method is provided, including:
[0006] In response to the user sending a virtual resource to a target anchor in the first list, if it is determined that the first list has not completed the update process, determining a plurality of first anchors that meet the preset update conditions from the first list;
[0007] Generating a second list corresponding to the plurality of first anchors;
[0008] If the target anchor is included in the second list, the virtual resource value corresponding to the target anchor in the second list is updated according to the virtual resource sending behavior.
[0009] According to an embodiment of the present disclosure, before determining a plurality of first anchors meeting preset update conditions from the first list, the method further includes:
[0010] Determining a triggering time for the virtual resource sending behavior;
[0011] If it is determined that the trigger time is within the preset update time period corresponding to the first list, the multiple first anchors that meet the preset update conditions are determined from the first list.
[0012] According to an embodiment of the present disclosure, determining that the first list has not completed updating includes:
[0013] Querying the update identifier corresponding to the first list from a preset database;
[0014] If the update flag is a first flag indicating that the update process of the first list has not been completed, it is determined that the update process of the first list has not been completed.
[0015] According to an embodiment of the present disclosure, after generating the second list corresponding to the plurality of first anchors, the method further includes:
[0016] The update flag corresponding to the first list in the preset database is updated to a second flag indicating that the update process of the first list has been completed.
[0017] According to an embodiment of the present disclosure, after generating the second list corresponding to the plurality of first anchors, the method further includes:
[0018] If the target anchor is not included in the second list, the virtual resource value corresponding to the target anchor in the first list is updated according to the virtual resource behavior.
[0019] According to an embodiment of the present disclosure, the method further includes:
[0020] If no voting behavior corresponding to the first list is received within the preset update time period corresponding to the first list, then at the end of the preset update time period, an update task corresponding to the first list is generated;
[0021] In response to the update task, determining a plurality of second anchors that meet preset update conditions in the first list;
[0022] Generate a third list corresponding to the multiple second anchors.
[0023] According to a second aspect of an embodiment of the present disclosure, a list processing device is provided, including:
[0024] a determination module, configured to respond to a user's sending of virtual resources to a target anchor in the first list, and if it is determined that the first list has not completed the update process, determine a plurality of first anchors in the first list that meet preset update conditions;
[0025] A generating module, configured to generate a second list corresponding to the plurality of first anchors;
[0026] An updating module updates the virtual resource value corresponding to the target anchor in the second list according to the virtual resource sending behavior if the target anchor is included in the second list.
[0027] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor and a memory; wherein executable instructions are stored on the memory, and when the executable instructions are executed by the processor, the processor executes the list processing method as described in the first aspect.
[0028] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the list processing method as described in the first aspect.
[0029] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including: a computer program; when the computer program is executed by a processor, it can implement the list processing method as described in the first aspect.
[0030] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: after obtaining the user's virtual resource sending behavior to the target anchor in the first list, if it is determined that the first list has not completed the update process, multiple anchors that meet the preset update conditions are determined from the first list, and then a second list is generated based on the above multiple anchors to complete the update process of the list. Finally, if the target anchor is included in the above multiple anchors, the virtual resource value corresponding to the target anchor in the second list is updated according to the user's virtual resource sending behavior. Since after obtaining the virtual resource sending behavior, the first list is first updated to generate the second list, and then the virtual resource value in the second list is updated according to the virtual resource sending behavior, it can avoid the problem of virtual resource data loss in the process of generating the second list, ensure the fairness of the list ranking, and improve the user experience.
[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0033] Figure 1 is a flowchart of a list processing method according to an exemplary embodiment;
[0034] Figure 2 is a schematic diagram showing a list processing method according to an exemplary embodiment;
[0035] Figure 3 This is a flowchart showing a method for processing a list based on a scheduled task according to an exemplary embodiment;
[0036] Figure 4 is a schematic diagram showing a list processing method according to an exemplary embodiment;
[0037] Figure 5 is a block diagram of a list processing device according to an exemplary embodiment;
[0038] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment;
[0039] Figure 7 The figure is a block diagram of a list processing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0040] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0041] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.
[0042] With the development of network technology, watching live streams has gradually become a form of entertainment in people's lives. To enhance user engagement, live streaming platforms often hold various ranking-based activities to increase user interaction. For example, ranking hosts in various live streaming rooms or viewers within a live streaming room can be performed. However, during the process of updating and generating new rankings, newly acquired ranking data cannot be updated in a timely manner, resulting in data loss and, in turn, a lack of fairness in the rankings.
[0043] To solve the above technical problems, the core idea of the list processing method provided by the embodiments of the present disclosure is: in response to the user's virtual resource sending behavior to the target anchor in the first list, if it is determined that the first list has not completed the update processing, multiple first anchors that meet the preset update conditions are determined from the first list; a second list corresponding to the multiple first anchors is generated; if the target anchor is included in the second list, the virtual resource value corresponding to the target anchor in the second list is updated according to the virtual resource sending behavior.
[0044] Figure 1 FIG. 1 is a flowchart showing a method for processing a list according to an exemplary embodiment. Figure 1 As shown, the list processing method is used in an electronic device, including S11 to S13.
[0045] In S11, in response to the user's sending of virtual resources to a target anchor in the first list, if it is determined that the first list has not completed the update process, multiple first anchors that meet the preset update conditions are determined from the first list.
[0046] In S12, a second list corresponding to multiple first anchors is generated.
[0047] In S13, if the target anchor is included in the second list, the virtual resource value corresponding to the target anchor in the second list is updated according to the virtual resource sending behavior.
[0048] First, obtain the user's virtual resource sending behavior to the target anchor in the first list.
[0049] In this embodiment, the first list may include multiple anchors and their ranking information in the first list. Each anchor has its own corresponding virtual resource value, and the ranking of each anchor can be determined based on its own virtual resource value. The target anchor may include any one of the multiple anchors in the first list. The user's virtual resource sending behavior may include the user's like behavior, forwarding behavior, and sending gifts to the target anchor. Furthermore, the virtual resource sending behavior may also include the user sending barrage, sending emoticons, etc. in the target anchor's live broadcast room. The embodiments of this disclosure do not limit the specific method of virtual resource sending behavior.
[0050] In practical applications, each list can be assigned an update time period. For example, the first list can be assigned a preset update time period. Specifically, the preset update time period can be set based on the processing needs of the specific list. For example, the preset update time period corresponding to the first list can be from 00:00 to 00:05 every day, or from 00:00 to 00:10 every Monday. Setting a corresponding update time period for each list and updating each list within the update time period can ensure the stability of list updates and updates.
[0051] After obtaining the user's virtual resource sending behavior to the target anchor in the first list, in order to ensure the normal update of the virtual resource value at times other than the preset update time period, the trigger time of the virtual resource sending behavior can be determined first; if it is determined that the trigger time is within the preset update time period corresponding to the first list, the subsequent steps can be executed.
[0052] Then, in response to the virtual resource sending behavior, when it is determined that the triggering time of the virtual resource sending behavior is within the preset update time period corresponding to the first list, the update status of the first list is judged, and when it is determined that the update processing of the first list has not been completed, multiple first anchors who meet the preset update conditions are determined from the first list.
[0053] In this embodiment, the update status of the first list can include whether the update process has been completed or not. If the first list is in the update process, it means that the second list has been generated based on the first list, and the virtual resource value corresponding to the target host in the second list can be directly updated based on the user's virtual resource sending behavior.
[0054] In order to determine the anchors used to generate the second list in the first list, corresponding preset update conditions can be set for the first list, and then the anchors that meet the preset update conditions can be determined as the anchors used to generate the second list. The preset update conditions may include the number of updates, the virtual resource value threshold, etc. Specifically, taking the preset update condition as the number of updates as an example, the number of updates for the first list is preset to M, and M is an integer greater than or equal to 1, then the top M anchors in the first list can be determined as anchors that meet the preset update conditions. Alternatively, taking the update condition as the virtual resource value threshold as an example, the preset virtual resource value threshold is 100, then the anchors in the first list with a voting value greater than 100 can be determined as anchors that meet the preset update conditions. It should be noted that the above embodiments are only illustrative embodiments, and the preset update conditions can also include any other forms.
[0055] After determining multiple first anchors that meet the preset update conditions, a second list corresponding to the multiple first anchors can be generated based on the multiple first anchors. In this embodiment, each anchor in the second list can also correspond to a virtual resource value.
[0056] According to an embodiment of the present disclosure, the voting value corresponding to each host in the second list can be the same as the voting value corresponding to each host in the first list. Then, the virtual resource value is updated based on the acquired virtual resource sending behavior. Alternatively, the voting value corresponding to each host can be initialized to 0, and then the virtual resource value is updated based on the acquired virtual resource sending behavior to re-rank each host.
[0057] Finally, determine whether the target anchor is included in the multiple anchors in the second list. If the target anchor is included in the second list, it means that the target anchor has been successfully updated. Then, according to the user's virtual resource sending behavior, the corresponding virtual resource result of the target anchor in the second list is updated, that is, the virtual resource value of the target anchor is updated.
[0058] It should be noted that the preset update time period, preset update conditions, etc. of the first list can be obtained from the configuration information of the first list, and the above configuration information can be stored in the list configuration table.
[0059] In this embodiment, after obtaining the virtual resource sending behavior, the first list is first updated to generate the second list, and then the virtual resource results in the second list are updated based on the virtual resource sending behavior. Therefore, the problem of virtual resource data loss in the process of generating the second list can be avoided, the fairness of the list ranking is guaranteed, and the user experience is improved.
[0060] For ease of understanding, the list processing method of the embodiment of the present disclosure is described below with reference to specific embodiments.
[0061] Figure 2 FIG is a schematic diagram showing a list processing method according to an exemplary embodiment. Figure 2 As shown, the list processing method includes S21 to S26.
[0062] S21, obtaining the virtual resources sent by the user to the target anchor in the first list.
[0063] After a user sends virtual resources to a target streamer on the list, the user's virtual resource sending behavior to the target streamer on the first list can be obtained. For example, if the virtual resource sending behavior is sending a gift to the target streamer, obtaining the user's virtual resource sending behavior to the target streamer on the first list can be understood as obtaining the user's gift order for the target streamer.
[0064] S22: Determine whether the sending time of the virtual resource is within the preset update time period of the first list.
[0065] In this embodiment, if the trigger time of the gift order is not within the preset update time period of the first list, it means that the first list does not need to be updated, and the virtual resource value of the target anchor in the first list can be updated based on the gift order. If the trigger time of the gift order is within the preset update time period of the first list, it means that the first list needs to be updated. If the sending time of the virtual resource is within the preset update time period of the first list, S23 is executed; on the contrary, if the sending time of the virtual resource is not within the preset update time period of the first list, the corresponding virtual resource value of the target anchor in the first list can be directly updated based on the virtual resource.
[0066] S23: Determine the update status of the first list.
[0067] The update status of the first list can be determined based on an update flag corresponding to the first list in a preset database. The update flag can be used to indicate whether the first list has completed the update process. For example, the first flag can indicate that the first list has not completed the update process, while the second flag can indicate that the first list has completed the update process. In this embodiment, the preset database may include a Redis (Remote Dictionary Server) database.
[0068] In actual applications, when determining the update status of the first list, an update flag corresponding to the first list can be queried from a preset database. If the update flag is a first flag indicating that the first list has not completed the update process, then it is determined that the first list has not completed the update process. Correspondingly, if the update flag is a second flag indicating that the first list has completed the update process, then it is determined that the first list has not completed the update process.
[0069] If the first list has not completed the update process, execute S24; if the first list has completed the update process, execute S26 to update the corresponding virtual resource value of the target anchor in the second list according to the virtual resources.
[0070] According to the embodiments of the present disclosure, in actual applications, there may be multiple electronic devices processing the same list. By setting a corresponding update identifier for the list, the situation where the same list is processed repeatedly can be avoided, the efficiency of list processing can be improved, and at the same time, the accuracy of list processing can be improved.
[0071] In this embodiment, if the first list is in an unupdated state, step S24 is executed. If the first list is in an updated state, step S25 is executed.
[0072] S24, determining multiple anchors that meet the preset update conditions from the first list.
[0073] In this embodiment, the preset update condition can be retrieved from a memory or a preset database corresponding to the first list. Based on the above embodiment, if the preset update condition is a virtual resource value threshold, for example, and the virtual resource value threshold is 100, then the hosts in the first list whose virtual resource values are greater than 100 can be determined as the hosts that meet the preset update condition.
[0074] In actual applications, after determining multiple anchors that meet the preset update conditions, the above multiple anchors can be added to the crowd data packet of the next stage, and then a second list can be generated based on the crowd data packet.
[0075] After the second list is generated and the first list is updated, the promotion mark corresponding to the first list in the preset database can be set as the second mark indicating that the first list has completed the promotion process.
[0076] S25, verifying the update qualification of the target anchor.
[0077] In this embodiment, the target streamer's update eligibility is verified, i.e., it is determined whether the target streamer is included in the plurality of streamers that meet the preset update conditions. Specifically, if the target streamer is included in the plurality of streamers that meet the preset update conditions, it is necessary to update the target streamer's data in the updated second list, and S26 can be executed. If the target streamer is not included in the plurality of streamers, it is determined that the target streamer will not be updated in the newly generated second list. Based on this, the virtual resource value corresponding to the target streamer in the first list can be updated based on the virtual resource.
[0078] S26: Update the corresponding virtual resource value of the target anchor in the second list according to the virtual resources.
[0079] In this embodiment, the virtual resource value corresponding to the target anchor in the second list is updated according to the virtual resource, that is, the virtual resource is converted into a corresponding virtual resource value, and the virtual resource value is updated to the second list.
[0080] In addition, in actual list processing scenarios, various extreme scenarios may exist. For example, if no virtual resource sending behavior corresponding to the first list is received within the preset update time period corresponding to the first list, the list processing method in the embodiment of the present disclosure cannot be triggered and executed.
[0081] In order to ensure the normal update processing of the list, optionally, a corresponding scheduled task can be set for each list, and then the list can be processed regularly according to the scheduled task. For example, suppose the preset update time period of a certain list is 00:00-00:05 every day, and during a certain update process, during the above time period of 00:00-00:05, no virtual resource sending behavior corresponding to the list is received. Since the list promotion processing logic cannot be triggered and executed, the first list cannot be promoted. In order to avoid the above situation, the list can be updated at 00:05 through a scheduled task to ensure the update processing of the first list.
[0082] Figure 3 FIG is a flowchart showing a method for processing a list based on a timed task according to an exemplary embodiment. Figure 3 As shown, the method includes S31 to S33.
[0083] S31: If no voting behavior corresponding to the first list is received within the preset promotion time period corresponding to the first list, an update task corresponding to the first list is generated at the end of the preset promotion time period.
[0084] In this embodiment, the current time information can be obtained in real time to determine whether the current time is the end time of the preset promotion period of the first list. Specifically, the preset promotion period of the first list can be obtained from the list configuration table corresponding to the first list.
[0085] S32, in response to the update task, determining a plurality of second anchors in the first list that meet preset update conditions.
[0086] In practical applications, before determining multiple second anchors that meet the preset update conditions, the update status of the first list can be determined. It should be noted that the method for determining the update status of the first list is the same as the method for determining the update status of the first list in the above embodiment, and this disclosure will not repeat it here.
[0087] When the first list is not updated, multiple second anchors that meet the preset update conditions can be determined in the first list.
[0088] S33: Generate a third list corresponding to multiple second anchors.
[0089] In practical applications, after identifying multiple second-tier streamers that meet the preset update criteria, these streamers can be added to the crowd data packet for the next stage, and a second ranking list can be generated based on this crowd data packet. Accordingly, after the second ranking list is generated and the first ranking list is updated, the promotion flag corresponding to the first ranking list in the preset database can be set as the second flag indicating that the first ranking list has completed the promotion process.
[0090] In order to ensure the accuracy of the list update, the method for generating the second list in the above embodiment can be configured as the list update processing logic, and the list update processing logic can be encapsulated into an atomic list update script. Optionally, the list update script can include a Lua script. Based on the characteristics of Lua scripts being small in size and fast in startup, the list update script takes less time to execute the list update processing logic, increases the speed of list processing, reduces the delay of list processing, and effectively improves the user experience; at the same time, it can be applied to scenarios where a large amount of virtual resource sending occurs.
[0091] Figure 4 FIG is a schematic diagram showing a list processing method according to an exemplary embodiment. Figure 4 As shown, the method includes the following steps:
[0092] After obtaining the virtual resources sent by the user to the target anchor in the first list, it is determined whether the sending time of the virtual resources is within the preset update time period corresponding to the first list.
[0093] If the trigger time is not within the preset update time period corresponding to the first list, the virtual resource value corresponding to the target anchor in the first list is updated according to the virtual resources.
[0094] If the trigger time is within the preset update time period corresponding to the first list, the list update script is executed. In this embodiment, the list update script can be obtained from the Redis database.
[0095] After executing the list update script to generate the second list, the script determines whether the target streamer is included in the second list. If the target streamer is not included in the second list, the virtual resource value corresponding to the target streamer in the first list is updated based on the virtual resource. If the target streamer is included in the second list, the virtual resource value of the target streamer in the second list is updated based on the virtual resource sending behavior.
[0096] In another case, if no virtual resource sending behavior is obtained within the preset update time period corresponding to the first list, the processing operation of the first list is triggered by a scheduled task. The configuration information of the first list can be loaded into the memory by the scheduled task and called when processing the list.
[0097] In this embodiment, the pseudo code of the list update script is as follows:
[0098]
[0099] Figure 5 FIG. 1 is a block diagram of a list processing device according to an exemplary embodiment. Figure 5 The list processing device 500 includes a determination module 501, a generation module 502 and an update module 503.
[0100] The determination module 501 is used to respond to the user's virtual resource sending behavior to the target anchor in the first list. If it is determined that the first list has not completed the update process, multiple first anchors that meet the preset update conditions are determined from the first list.
[0101] The generation module 502 is used to generate a second list corresponding to multiple first anchors.
[0102] Update module 503, if the target anchor is included in the second list, updates the virtual resource value corresponding to the target anchor in the second list according to the virtual resource sending behavior.
[0103] According to an embodiment of the present disclosure, before determining multiple first anchors that meet the preset update conditions from the first list, the determination module 501 is further used to determine the trigger time of the virtual resource sending behavior; if the trigger time is determined to be within the preset update time period corresponding to the first list, multiple first anchors that meet the preset update conditions are determined from the first list.
[0104] According to an embodiment of the present disclosure, the determination module 501 is further configured to query an update identifier corresponding to the first list from a preset database; if the update identifier is a first identifier indicating that the first list has not completed the update process, it is determined that the first list has not completed the update process.
[0105] According to an embodiment of the present disclosure, after generating the second list corresponding to multiple first anchors, the update module 503 is further used to update the update identifier corresponding to the first list in the preset database to a second identifier indicating that the update processing of the first list has been completed.
[0106] According to an embodiment of the present disclosure, after generating a second list corresponding to multiple first anchors, the update module 503 is further used to update the virtual resource value corresponding to the target anchor in the first list according to the virtual resource behavior if the target anchor is not included in the second list.
[0107] According to an embodiment of the present disclosure, the generation module 502 is further used to generate an update task corresponding to the first list at the end of the preset update time period if no voting behavior corresponding to the first list is received within the preset update time period corresponding to the first list; the determination module 501 is further used to determine, in response to the update task, multiple second anchors in the first list that meet the preset update conditions; the generation module 502 is also used to generate a third list corresponding to the multiple second anchors.
[0108] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0109] In one possible design, the above Figure 5 The structure of the list processing device shown can be implemented as an electronic device, such as Figure 6 As shown, the electronic device may include: a processor 601 and a memory 602. The memory 602 stores executable code, and when the executable code is executed by the processor 601, the processor 601 can at least implement the above-mentioned Figure 1 The list processing method provided in the illustrated embodiment.
[0110] Optionally, the electronic device may further include a communication interface 603 for communicating with other devices.
[0111] Figure 7 A structural diagram of the list processing device provided in this embodiment is shown as follows: Figure 7As shown, the list processing device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0112] The processing component 702 generally controls the overall operation of the list processing device 700, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method S101 to S104. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0113] The memory 704 is configured to store various types of data to support operations on the list processing device 700. Examples of such data include instructions for any application or method operating on the list processing device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0114] The power supply component 706 provides power to the various components of the list processing device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the list processing device 700.
[0115] The multimedia component 708 includes a screen that provides an output interface between the list processing device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the list processing device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0116] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the list processing device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0117] The input / output interface 712 provides an interface between the processing component 702 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0118] The sensor assembly 714 includes one or more sensors for providing various status assessments of the list processing device 700. For example, the sensor assembly 714 can detect the open / closed state of the list processing device 700, the relative positioning of components, such as the display and keypad of the list processing device 700, changes in the position of the list processing device 700 or a component thereof, the presence or absence of user contact with the list processing device 700, the orientation or acceleration / deceleration of the list processing device 700, and changes in the temperature of the list processing device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0119] The communication component 716 is configured to facilitate wired or wireless communication between the list processing device 700 and other devices. The list processing device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G or 4G or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0120] In an exemplary embodiment, the list processing device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0121] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is further provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the second electronic device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0122] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions. The instructions can be executed by a processor 720 of an electronic device to perform the above method. Alternatively, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0123] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, which implements the aforementioned Figure 1 The list processing method provided in the illustrated embodiment.
[0124] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0125] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A list processing method, characterized in that: include: In response to the user sending a virtual resource to a target anchor in the first list, if it is determined that the first list has not completed the update process, determining a plurality of first anchors that meet the preset update conditions from the first list; Generating a second list corresponding to the plurality of first anchors; If the target anchor is included in the second list, the virtual resource value corresponding to the target anchor in the second list is updated according to the virtual resource sending behavior.
2. The method according to claim 1, characterized in that Before determining a plurality of first anchors meeting preset update conditions from the first list, the method further includes: Determining a triggering time for the virtual resource sending behavior; If it is determined that the trigger time is within the preset update time period corresponding to the first list, the multiple first anchors that meet the preset update conditions are determined from the first list.
3. The method according to claim 1, characterized in that The determining that the first list has not completed the update process includes: Querying the update identifier corresponding to the first list from a preset database; If the update flag is a first flag indicating that the update process of the first list has not been completed, it is determined that the update process of the first list has not been completed.
4. The method according to claim 3, characterized in that After generating the second list corresponding to the plurality of first anchors, the method further includes: The update flag corresponding to the first list in the preset database is updated to a second flag indicating that the update process of the first list has been completed.
5. The method according to claim 1, wherein After generating the second list corresponding to the plurality of first anchors, the method further includes: If the target anchor is not included in the second list, the virtual resource value corresponding to the target anchor in the first list is updated according to the virtual resource behavior.
6. The method according to claim 1, characterized in that The method further comprises: If no voting behavior corresponding to the first list is received within the preset update time period corresponding to the first list, then at the end of the preset update time period, an update task corresponding to the first list is generated; In response to the update task, determining a plurality of second anchors that meet preset update conditions in the first list; Generate a third list corresponding to the multiple second anchors.
7. A list processing device, characterized in that: include: a determination module, configured to respond to a user's sending of virtual resources to a target anchor in the first list, and if it is determined that the first list has not completed the update process, determine a plurality of first anchors in the first list that meet preset update conditions; A generating module, configured to generate a second list corresponding to the plurality of first anchors; An updating module updates the virtual resource value corresponding to the target anchor in the second list according to the virtual resource sending behavior if the target anchor is included in the second list.
8. The device according to claim 7, characterized in that Before determining multiple first anchors that meet the preset update conditions from the first list, the determination module is further used to determine a trigger time for the virtual resource sending behavior; if it is determined that the trigger time is within the preset update time period corresponding to the first list, then determining the multiple first anchors that meet the preset update conditions from the first list.
9. The device according to claim 7, characterized in that The determining module is further configured to query an update identifier corresponding to the first list from a preset database; if the update identifier is a first identifier indicating that the first list has not completed the update process, determine that the first list has not completed the update process.
10. The device according to claim 9, characterized in that After generating the second list corresponding to the multiple first anchors, the updating module is further used to update the update identifier corresponding to the first list in the preset database to a second identifier indicating that the update processing of the first list has been completed.
11. The device according to claim 7, characterized in that After generating the second list corresponding to the multiple first anchors, the updating module is further used to update the virtual resource value corresponding to the target anchor in the first list according to the virtual resource behavior if the target anchor is not included in the second list.
12. The device according to claim 7, characterized in that The generating module is further configured to generate an update task corresponding to the first list at the end of the preset update time period if no voting behavior corresponding to the first list is received within the preset update time period corresponding to the first list; The determining module is further configured to determine, in response to the update task, a plurality of second anchors in the first list that meet preset update conditions; The generation module is also used to generate a third list corresponding to the multiple second anchors.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the list processing method according to any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the list processing method according to any one of claims 1 to 6.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the list processing method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Ranking list data updating method and device and server
CN111898037A
List data updating method and device, electronic equipment and storage medium
CN113157714A