Virtual account processing method, device, equipment and storage medium based on heat

By dividing the number of sections in the virtual account data table and forming a virtual account information in advance, combined with behavioral data for heat sorting and recycling, solving the problem of high virtual account production cost, time -consuming and poor user experience in existing technology, realized Lower costs, more efficient generation and more reasonable use.

CN116319666BActive Publication Date: 2025-01-28BIGO TECH PTE LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310252143.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2025-01-28
Estimated Expiration
2043-03-15

AI Technical Summary

Technical Problem

In the prior art, real-time generation of virtual accounts leads to high cost of account generation and high time-consuming generation, and requires the code logic of generating virtual accounts to be maintained. The business logic is complex and the maintenance cost is high. At the same time, the virtual account lacks cumulative user data, and the user experience Not good.

Method used

By classifying the segment area in the virtual account data table, each segment area corresponds to a type type of account, and the virtual account information is prepared. When the needs of the virtual account use, the virtual account number in the number segment is randomly obtained, and the data is based on behavior data. Sort the heat and recycle it from low to high according to the heat.

Benefits of technology

The cost and time consuming of virtual account generation have been reduced, the business logic simplifies business logic, saves maintenance costs, and improves the rationality and user experience of the virtual account through the heat sorting and recycling mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319666B_ABST
    Figure CN116319666B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method, device, equipment and storage medium for processing virtual accounts based on popularity, the method comprising: when a virtual account usage demand is detected, dividing the number segment area in the virtual account data table; based on the account type, generating the account information corresponding to each virtual account in the number segment area, for corresponding calls when the corresponding virtual account is acquired; when a virtual account acquisition instruction is detected, randomly acquiring virtual accounts in the number segment area, and ranking the popularity of the virtual accounts according to the behavior data of the virtual accounts recorded in the business data; and recycling the used virtual accounts from low to high according to the results of the popularity ranking. This solution can quickly generate virtual accounts, reduce the generation and maintenance costs of virtual accounts, and is more reasonable in recycling virtual accounts, which can meet the needs of various activities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of computer technology, and in particular, to a heat-based virtual account processing method, device, equipment, and storage medium. Background Art

[0002] With the rapid development of mobile communication technology, mobile applications are emerging in an endless stream. Internet companies have launched a variety of activities in the application end for users to use, while satisfying users' entertainment needs and improving user retention rates. During the execution of various activities, the system will generate virtual accounts to participate in the activities to meet the needs of the activities.

[0003] In the related art, when using a virtual account, the system will generate a virtual account in real time according to the needs of the activity, and create personal details for the virtual account. This method has high account generation costs and takes a long time to generate, which affects the time users spend participating in activities. It also consumes a lot of storage and needs to maintain the code logic for generating virtual accounts. The business logic is complex and the maintenance cost is high. At the same time, the virtual account generated in this way lacks accumulated user data, and the effect in the specific application process is poor. In the related art, the scheme of randomly selecting from a batch of existing virtual accounts may cause some virtual accounts to be selected multiple times, and a user may be matched with some virtual accounts multiple times, resulting in a poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device and storage medium for processing virtual accounts based on popularity, which solve the problems in the related art of high account generation cost and time-consuming generation caused by real-time account generation, the need to maintain the code logic for generating virtual accounts, complex business logic and high maintenance cost. At the same time, virtual accounts are recycled based on their popularity, which makes the use of virtual accounts more reasonable and can meet the needs of various activities.

[0005] In a first aspect, an embodiment of the present application provides a method for processing a virtual account based on popularity, the method comprising:

[0006] When a virtual account usage requirement is detected, the virtual account data table is divided into number segment areas, where each number segment area corresponds to an account type and includes multiple virtual accounts;

[0007] Based on the account type, generate account information corresponding to each virtual account in the number segment area, for making corresponding calls when the corresponding virtual account is obtained;

[0008] In the case where a virtual account acquisition instruction is detected, a virtual account is randomly acquired in the number segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data;

[0009] The used virtual accounts are recycled from low to high according to the results of the heat sorting.

[0010] In a second aspect, the embodiment of the present application further provides a virtual account processing device based on popularity, including:

[0011] An account creation module is configured to divide the number segment area in the virtual account data table when a virtual account use demand is detected, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and based on the account type, generate account information corresponding to each virtual account in the number segment area for corresponding call when the corresponding virtual account is obtained;

[0012] An account acquisition module, configured to randomly acquire a virtual account in the number segment area when a virtual account acquisition instruction is detected;

[0013] An account ranking module, configured to rank the popularity of virtual accounts according to the behavior data of the virtual accounts recorded in the business data;

[0014] The account recovery module is configured to recover the used virtual accounts from low to high according to the result of the heat sorting.

[0015] In a third aspect, the embodiment of the present application further provides a heat-based virtual account processing device, the device comprising:

[0016] one or more processors;

[0017] a storage device for storing one or more programs,

[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the heat-based virtual account processing method described in the embodiment of the present application.

[0019] In a fourth aspect, an embodiment of the present application further provides a non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the heat-based virtual account processing method described in the embodiment of the present application.

[0020] In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor of the device reads and executes the computer program from the computer-readable storage medium, so that the device executes the heat-based virtual account processing method described in the embodiment of the present application.

[0021] In the embodiment of the present application, when the use demand of the virtual account is detected, the number segment area is divided in the virtual account data table, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and then based on the account type, the account information corresponding to each virtual account in the number segment area is generated, which is used for corresponding calls when the corresponding virtual account is acquired, and when the virtual account acquisition instruction is detected, the virtual account is randomly acquired in the number segment area, and the heat of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data, and the used virtual account is recycled from low to high according to the result of the heat sorting. In the above scheme, when the use demand of the virtual account is received, the virtual account is first pre-created, and the virtual account can be quickly acquired when the virtual account acquisition instruction is detected later, and the code logic for generating the virtual account does not need to be maintained all the time. The business logic is simple and the maintenance cost is saved. For the virtual account in use, the heat of the virtual account is sorted by the behavior data, and then the virtual account is recycled from low to high according to the sorting result. The higher the heat of the virtual account, the longer the use time, and the lower the heat of the account, the shorter the use time. The account recycling mechanism is more reasonable and can meet the needs of various activities. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flowchart of a method for processing a virtual account based on popularity provided in an embodiment of the present application;

[0023] Figure 2 A flowchart of a method for using a virtual account provided in an embodiment of the present application;

[0024] Figure 3 A timing diagram of a virtual account processing process provided in an embodiment of the present application;

[0025] Figure 4 A flowchart of a method for hot sorting and recycling virtual accounts provided in an embodiment of the present application;

[0026] Figure 5 A flowchart of another method for processing a virtual account based on popularity provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of time gradient recovery provided in an embodiment of the present application;

[0028] Figure 7 A block diagram of a heat-based virtual account processing device provided in an embodiment of the present application;

[0029] Figure 8 A schematic diagram of the structure of a heat-based virtual account processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.

[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0032] The virtual account processing method based on popularity provided in the embodiment of the present application can be applied to the field of live broadcasting, and can be used for scenarios where a fiery atmosphere needs to be created during live broadcasting, and the system automatically matches objects, etc., which require the use of virtual accounts for supplementation. For example, various game activities that require user participation are opened during live broadcasting, such as various PK activities, family confrontation activities, and lottery activities.

[0033] Figure 1 A flowchart of a method for processing a virtual account based on popularity is provided in an embodiment of the present application, such as Figure 1 As shown, the specific steps include:

[0034] Step S101: when a demand for using a virtual account is detected, the virtual account data table is divided into number segment areas, wherein each number segment area corresponds to an account type and includes multiple virtual accounts.

[0035] Among them, the virtual account is a non-real user account created by the system compared to the real user account. It has the same or similar properties as the user account, such as a unique ID and related account information.

[0036] In one embodiment, in various live broadcast activities, virtual accounts can be used to automatically complete the matching of insufficient number of users, or to enhance the popularity of the activity as a participant of the activity. The virtual account usage requirement can be a requirement sent by the business party through a preset interface, or a requirement created by the administrator, which indicates that a virtual account needs to be used in the activity. In one embodiment, the virtual account usage requirement can include the number of required virtual accounts and the type of virtual accounts. The virtual account data table is used to store a large number of pre-created virtual accounts, which can be directly called when the virtual account is specifically needed in the activity without the need for real-time generation. Optionally, the virtual account data table may include a pre-divided number segment area, and for each number segment area, it includes multiple consecutive numbers, each number can be used as an ID uniquely corresponding to a virtual account, and each number segment area corresponds to an account type. For example, in the virtual account data table, there are two number segment areas, namely, number segment area 4000001 to 4999999, and number segment area 1500000000 to 1501110001. For number segment area 4000001 to 4999999, the corresponding account type can be user for example, and for number segment area 1500000000 to 1501110001, the corresponding account type can be family for example.

[0037] Step S102: Generate account information corresponding to each virtual account in the number segment area based on the account type, for use in making corresponding calls when the corresponding virtual account is obtained.

[0038] In one embodiment, the account information can be used to indicate the details of the virtual account, such as the ID, nickname, gender, birthday, family name, family portrait, and family members of the virtual account. In one embodiment, the information of the virtual account can be determined according to the type of the virtual account. Exemplarily, if the type of the virtual account is a user type, it can be determined that its account information may include the ID, nickname, gender, and birthday of the account. If the type of the virtual account is a family type, it can be determined that its account information may include the ID, family name, family portrait, and family members of the account. Optionally, the account information can be generated in batches using a set script.

[0039] Step S103: When a virtual account acquisition instruction is detected, a virtual account is randomly acquired in the number segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data.

[0040] In one embodiment, the virtual account acquisition instruction may be an instruction sent by any module that needs to use a virtual account, such as an instruction sent by a business party or a virtual account acquisition instruction generated by a created activity. When a virtual account acquisition instruction is detected, a virtual account may be randomly acquired in the number segment area for use according to the acquisition quantity of virtual accounts configured by the instruction.

[0041] In one embodiment, during the use of virtual accounts, the popularity of virtual accounts will be sorted according to the behavior data of each virtual account. Optionally, different behaviors can correspond to different popularity values. When a virtual account hits a certain behavior, the business party will make a corresponding report, and the system background will automatically add the popularity value of the virtual account. The specific behavior content and the corresponding score weight configuration can be recorded in the business data, which can be a multi-dimensional heat weight configuration table, as shown in the following table:

[0042]

[0043]

[0044] Optionally, the business party may configure json format data in the system in advance as popularity rules, such as configuring {"search":20,"match":100,"win":10,"watch":1}, where the popularity score corresponding to the search (query) behavior is 20, the popularity score corresponding to the match (matching) behavior is 100, the popularity score corresponding to the win (winning) behavior is 10, and the popularity score corresponding to the watch (exposure) behavior is 1. That is, when a virtual account is used for matching, the corresponding popularity value of the virtual account increases by 100, and when a virtual account wins a prize in a lottery, the corresponding popularity value of the virtual account increases by 10.

[0045] Step S104: Reclaim the used virtual accounts from low to high according to the results of the heat sorting.

[0046] In one embodiment, the recycling of virtual accounts includes the recovery of used virtual accounts for re-use, thereby achieving a dynamic balance in the number of used and recycled accounts, and ensuring that there are a steady stream of virtual accounts available. In one embodiment, after the popularity of the virtual accounts is sorted to obtain the sorting results, the used virtual accounts are recycled from low to high according to the results of the popularity sorting. Among them, the specific recycling quantity and recycling frequency can be determined based on the actual use of the virtual accounts. For example, if there are 1,000 virtual accounts in total currently in use, and the number that needs to be recycled at this time is 100, then after obtaining the popularity sorting results of the 1,000 virtual accounts, the 100 virtual accounts with the lowest popularity ranking will be recycled.

[0047] As can be seen from the above, when the use demand of the virtual account is detected, the number segment area is divided in the virtual account data table, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and then based on the account type, the account information corresponding to each virtual account in the number segment area is generated, which is used for corresponding calls when the corresponding virtual account is acquired. When the virtual account acquisition instruction is detected, the virtual account is randomly acquired in the number segment area, and the heat of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data, and the used virtual account is recycled from low to high according to the result of the heat sorting. In the above scheme, when the use demand of the virtual account is received, the virtual account is first pre-created, and the virtual account can be quickly acquired when the virtual account acquisition instruction is detected later. It is not necessary to maintain the code logic for generating the virtual account all the time. The business logic is simple and the maintenance cost is saved. For the virtual account in use, the heat of the virtual account is sorted according to the behavior data, and then the virtual account is recycled from low to high according to the sorting result. The higher the heat of the virtual account, the longer the use time, and the lower the heat of the account, the shorter the use time. The account recycling mechanism is more reasonable and can meet the needs of various activities.

[0048] In one embodiment, after the account information corresponding to each virtual account in the number segment area is generated, the method further includes: when newly added account information is detected, the account information of the virtual account in the number segment area is updated. Optionally, when the system detects an operation of adding account information, only the account information of the virtual account in the number segment area needs to be updated, avoiding backtracking all historical virtual accounts and updating them from the beginning, thereby reducing the maintenance cost of the virtual account and avoiding problems such as only focusing on the newly generated virtual account information and causing incomplete historical account information.

[0049] Figure 2 A flowchart of a method for using a virtual account provided in an embodiment of the present application, such as Figure 2 As shown, the specific steps include:

[0050] Step S201: When a demand for using a virtual account is detected, the virtual account data table is divided into number segment areas, wherein each number segment area corresponds to an account type and includes multiple virtual accounts.

[0051] Step S202: Based on the account type, generate account information corresponding to each virtual account in the number segment area, for use in making corresponding calls when the corresponding virtual account is obtained.

[0052] Step S203: Create an available pool and an empty usage queue, and add the virtual account in the number segment area to the available pool.

[0053] In one embodiment, for the use of virtual accounts, an available pool and a usage queue can be initialized in advance, wherein the available pool can be used to store a large number of unused virtual accounts. Optionally, the system adds the IDs of all virtual accounts in the number segment area to the available pool. An empty usage queue can be used to store used virtual accounts.

[0054] Step S204: When a virtual account acquisition instruction is detected, a virtual account is randomly acquired from the available pool and added to the usage queue, and the corresponding virtual account is deleted from the available pool, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data.

[0055] In one embodiment, Figure 3 A timing diagram of a virtual account processing process provided in an embodiment of the present application, such as Figure 3 As shown, when the business first accesses the usage module, the available pool and the usage queue are initialized, the available pool and the empty usage queue are created, and the virtual account is added to the available pool. When the business party initiates an instruction to obtain a virtual account, a virtual account is randomly obtained from the available pool and feedback is given. At the same time, the corresponding account is removed from the available pool, and the virtual account used is added to the usage queue. When sorting, the heat value of the virtual account in the usage queue can be added and sorted, and used for subsequent recycling processing.

[0056] Step S205: Reclaim the virtual accounts in the usage queue and add them to the available pool according to the result of the heat sorting.

[0057] From the above, it can be seen that by creating an available pool and an empty usage queue, the virtual account in the number segment area is added to the available pool, which is conducive to the business to quickly obtain the virtual account. When the virtual account acquisition instruction is detected, the virtual account is randomly obtained in the available pool and added to the usage queue, and the corresponding virtual account is deleted in the available pool. The popularity of the virtual account is sorted according to the behavioral data of the virtual account recorded in the business data, avoiding the problem of poor matching mechanism caused by the same virtual account being used multiple times. For example, it can avoid a user from being matched with certain virtual accounts multiple times, thereby improving the user's activity experience.

[0058] Figure 4 A flowchart of a method for hot sorting and recycling virtual accounts provided in an embodiment of the present application, such as Figure 4 As shown, the specific steps include:

[0059] Step S301: When a demand for using a virtual account is detected, the virtual account data table is divided into number segment areas, wherein each number segment area corresponds to an account type and includes multiple virtual accounts.

[0060] Step S302: Generate account information corresponding to each virtual account in the number segment area based on the account type, for use in making corresponding calls when the corresponding virtual account is obtained.

[0061] Step S303: Create an available pool and an empty usage queue, and add the virtual account in the number segment area to the available pool.

[0062] Step S304: When a virtual account acquisition instruction is detected, a virtual account is randomly acquired from the available pool and added to the usage queue, and the corresponding virtual account is deleted from the available pool, and the popularity of the virtual accounts in the usage queue is sorted according to the behavior data of the virtual account recorded in the business data.

[0063] In one embodiment, the weight coefficient corresponding to each behavior is set according to the preset rules, and the heat of each behavior in the usage queue is calculated based on the behavior data recorded in the business data, wherein the heat of the virtual account is determined according to the heat value of each behavior. Exemplarily, if the weight coefficients of each behavior are set to be 30% for "view detailed information", 40% for "match success", 20% for "win", and 10% for "number of exposures". If the behavior data corresponding to the business named "family competition" are view detailed information: 20, match success: 100, win: 10, number of exposures: 1, the heat values ​​of each behavior and the heat values ​​corresponding to all virtual accounts in the usage queue can be calculated according to the behavior data and the weights of each behavior data, and their heat values ​​can be sorted from small to large.

[0064] Step S305: Reclaim the virtual accounts in the usage queue and add them to the available pool according to the result of the heat sorting.

[0065] Optionally, the virtual accounts can be recycled through a recycling module configured in the system. In one embodiment, virtual accounts with smaller heat values ​​are recycled according to the heat value sorting results, and the number of recycled accounts is determined according to the number of virtual accounts used daily. A certain number of low heat virtual accounts are recycled according to the heat sorting results, and the IDs corresponding to the recycled virtual accounts are added to the available pool.

[0066] From the above, we can see that sorting the popularity of virtual accounts in the usage queue according to the behavior data of virtual accounts recorded in the business data is conducive to recycling virtual accounts with low popularity, achieving a dynamic balance in the number of used and recycled accounts, and ensuring that there is enough virtual account data available. This recycling mechanism, based on popularity sorting, can give priority to recycling virtual accounts with low popularity, optimize the recycling processing mechanism, increase the usage cycle of virtual accounts with high popularity, and improve the activity effect.

[0067] Figure 5 A flowchart of another method for processing a virtual account based on popularity provided in an embodiment of the present application, as shown in the figure, specifically includes the following steps:

[0068] Step S401: When a demand for using a virtual account is detected, the virtual account data table is divided into number segment areas, wherein each number segment area corresponds to an account type and includes multiple virtual accounts.

[0069] Step S402: Based on the account type, generate account information corresponding to each virtual account in the number segment area, for use in making corresponding calls when the corresponding virtual account is obtained.

[0070] Step S403: When a virtual account acquisition instruction is detected, a virtual account is randomly acquired in the number segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data.

[0071] Step S404: Determine multiple account recovery cycles and corresponding account recovery numbers according to the virtual account usage of the business data.

[0072] In one embodiment, the recovery period can be determined based on the usage of the account within a certain period of time, and can be determined based on the time when the number of virtual accounts used daily tends to be stable and the total number of virtual accounts in the number segment area. If the number of virtual accounts in the number segment area is 10,000, and an average of 100 virtual accounts are consumed every day, all accounts can be consumed within 100 days, and the number of virtual accounts used for business tends to be stable from the 20th day, then 20 days is set as a recovery period. The number of account recovery can be the number of accounts recovered every day, which can be determined based on the average number of virtual accounts used daily. For example, if an average of 100 accounts are used every day, the number of account recovery is 100. Figure 6 A schematic diagram of a time gradient recovery provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, in one embodiment, the number of accounts used daily by virtual accounts in business data is determined as the number of days when the number of accounts used daily tends to be stable as the account recovery period, and the average number of accounts used daily is determined as the account recovery number.

[0073] Step S405: After the second account recovery cycle ends, the virtual accounts used in the first account cycle are recovered from the lowest to the highest number of account recovery based on the result of the heat sorting.

[0074] In one embodiment, if every 20 days is a recycling cycle, the second account recycling cycle is from the 20th day to the 40th day, and the number of accounts recycled is 100. Then, starting from the 41st day, the virtual accounts used since the 1st day can be sorted from low to high, and the 100 accounts with the lowest behavior heat values ​​can be recycled.

[0075] From the above, it can be seen that according to the virtual account usage of the business data, multiple account recovery cycles and the corresponding number of account recovery are determined, and after the number of virtual accounts used daily tends to be stable, virtual accounts used for more than one cycle are recovered, thereby avoiding a user from matching with certain virtual accounts multiple times in a short period of time, thereby improving the user experience.

[0076] In one embodiment, after the virtual accounts used in the first account cycle are recycled in order of the number of account recycling from low to high based on the result of the heat sorting, it also includes: forcibly recycling virtual accounts that have been used for more than a preset account cycle. Among them, the preset account cycle can be determined according to the specific number of days of each recycling cycle. Exemplarily, if each recycling cycle is 20 days, it can be determined that the preset account cycle is three cycles. If each recycling cycle is 10 days, it can be determined that the preset account cycle is six cycles. If the preset account cycle is determined to be three months, all virtual accounts that have been used for more than three cycles are forcibly recycled. Among them, the forced recycling of virtual accounts that have been used for more than the preset account cycle avoids some virtual accounts from being occupied for a long time, affecting the user experience.

[0077] Figure 7 A block diagram of a virtual account processing device based on popularity provided in an embodiment of the present application, such as Figure 7 As shown, the device is used to execute the virtual account processing method based on heat provided in the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method. Figure 7 As shown, the device specifically includes: an account creation module 61, an account acquisition module 62, an account sorting module 63 and an account recovery module 64, wherein:

[0078] The account creation module 61 is configured to divide the number segment area in the virtual account data table when a virtual account use demand is detected, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and based on the account type, generate account information corresponding to each virtual account in the number segment area for corresponding calling when the corresponding virtual account is obtained;

[0079] An account acquisition module 62, configured to randomly acquire a virtual account in the number segment area when a virtual account acquisition instruction is detected;

[0080] An account ranking module 63 is configured to rank the popularity of virtual accounts according to the behavior data of the virtual accounts recorded in the business data;

[0081] The account recovery module 64 is configured to recover the used virtual accounts from low to high according to the result of the heat sorting.

[0082] As can be seen from the above, when the use demand of the virtual account is detected, the number segment area is divided in the virtual account data table, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and then based on the account type, the account information corresponding to each virtual account in the number segment area is generated, which is used for corresponding calls when the corresponding virtual account is acquired. When the virtual account acquisition instruction is detected, the virtual account is randomly acquired in the number segment area, and the heat of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data, and the used virtual account is recycled from low to high according to the result of the heat sorting. In the above scheme, when the use demand of the virtual account is received, the virtual account is first pre-created, and the virtual account can be quickly acquired when the virtual account acquisition instruction is detected later. It is not necessary to maintain the code logic for generating the virtual account all the time. The business logic is simple and the maintenance cost is saved. For the virtual account in use, the heat of the virtual account is sorted according to the behavior data, and then the virtual account is recycled from low to high according to the sorting result. The higher the heat of the virtual account, the longer the use time, and the lower the heat of the account, the shorter the use time. The account recycling mechanism is more reasonable and can meet the needs of various activities.

[0083] In a possible embodiment, the account creation module is further configured to:

[0084] After generating the account information corresponding to each virtual account in the number segment area, an available pool and an empty usage queue are created, and the virtual accounts in the number segment area are added to the available pool.

[0085] In a possible embodiment, the account acquisition module 62 is specifically configured as follows:

[0086] A virtual account is randomly obtained from the available pool and added to the use queue, and a corresponding virtual account is deleted from the available pool.

[0087] In a possible embodiment, the account sorting module 63 is specifically configured as follows:

[0088] The popularity of the virtual accounts in the usage queue is sorted according to the behavior data of the virtual accounts recorded in the business data.

[0089] In a possible embodiment, the account recovery module 64 is specifically configured as follows:

[0090] The virtual accounts in the usage queue are recycled and added to the available pool according to the result of the heat sorting.

[0091] In a possible embodiment, the account sorting module 63 is further configured to:

[0092] Obtaining behavior data of the virtual account recorded in the business data, querying a corresponding behavior heat value according to the behavior data and an identifier of the business data, adding the behavior heat value to the corresponding virtual account, and sorting based on the behavior heat value;

[0093] According to the usage of the virtual account of the business data, multiple account recovery cycles and corresponding account recovery numbers are determined.

[0094] In a possible embodiment, the account recovery module 74 is further configured to:

[0095] Reclaiming the used virtual accounts according to the ranking results of the behavior heat values;

[0096] After the second account recovery cycle ends, the virtual accounts used in the first account cycle are recovered from the lowest to the highest number of account recovery based on the result of the heat sorting.

[0097] In a possible embodiment, the account recovery module 64 is further configured to:

[0098] Virtual accounts that have been used for more than the preset account period will be forcibly recovered.

[0099] In a possible embodiment, the device further includes an updating module:

[0100] Update module: configured to update the account information of the virtual account in the number segment area when new account information is detected.

[0101] Figure 8 A schematic diagram of a heat-based virtual account processing device provided in an embodiment of the present application is shown in FIG. Figure 8As shown, the device includes a processor 701, a memory 702, an input device 703 and an output device 704; the number of processors 701 in the device can be one or more. Figure 8 A processor 701 is taken as an example; the processor 701, the memory 702, the input device 703 and the output device 704 in the device can be connected by a bus or other means. Figure 8 In the example, the connection through the bus is taken. The memory 702, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the heat-based virtual account processing method in the embodiment of the present application. The processor 701 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 702, that is, implements the above-mentioned heat-based virtual account processing method. The input device 703 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 704 may include a display device such as a display screen.

[0102] The embodiment of the present application further provides a non-volatile storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a heat-based virtual account processing method described in the above embodiment when executed by a computer processor, including:

[0103] When a virtual account usage requirement is detected, the virtual account data table is divided into number segment areas, where each number segment area corresponds to an account type and includes multiple virtual accounts;

[0104] Based on the account type, generate account information corresponding to each virtual account in the number segment area, for making corresponding calls when the corresponding virtual account is obtained;

[0105] In the case where a virtual account acquisition instruction is detected, a virtual account is randomly acquired in the number segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data;

[0106] The used virtual accounts are recycled from low to high according to the results of the heat sorting. The virtual accounts can be generated quickly, the maintenance cost is reduced, the use of the virtual accounts is more reasonable, and the needs of various activities can be met.

[0107] The embodiment of the present application also provides a computer program product, which is used to execute a virtual account processing method based on popularity described in the above embodiment, which includes: when the use demand of the virtual account is detected, the segment area is divided in the virtual account data table, wherein each segment area corresponds to an account type and includes multiple virtual accounts; based on the account type, the account information corresponding to each virtual account in the segment area is generated, which is used for corresponding calls when the corresponding virtual account is obtained; when the virtual account acquisition instruction is detected, the virtual account is randomly obtained in the segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data; the used virtual account is recycled from low to high according to the result of the popularity sorting. It can quickly generate virtual accounts, reduce maintenance costs, and use virtual accounts more reasonably, which can meet the needs of various activities.

[0108] It is worth noting that in the above-mentioned embodiment of the heat-based virtual account processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.

[0109] In some possible implementations, various aspects of the method provided in this application may also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the heat-based virtual account processing method described in the embodiment of this application. The program product may be implemented in any combination of one or more readable media.

Claims

1. A virtual account processing method based on popularity, characterized in that: include: When a virtual account usage requirement is detected, the virtual account data table is divided into number segment areas, where each number segment area corresponds to an account type and includes multiple virtual accounts; Based on the account type, generate account information corresponding to each virtual account in the number segment area, for making corresponding calls when the corresponding virtual account is obtained; In the case where a virtual account acquisition instruction is detected, a virtual account is randomly acquired in the number segment area, and the popularity of the virtual account is sorted according to the behavior data of the virtual account recorded in the business data; The used virtual accounts are recycled from low to high according to the results of the heat sorting.

2. The method for processing a virtual account based on popularity according to claim 1, characterized in that: After generating the account information corresponding to each virtual account in the number segment area, the method further includes: Creating an available pool and an empty usage queue, and adding the virtual account in the number segment area to the available pool; Accordingly, the randomly obtaining a virtual account number in the number segment area includes: A virtual account is randomly obtained from the available pool and added to the use queue, and a corresponding virtual account is deleted from the available pool.

3. The method for processing a virtual account based on popularity according to claim 2, characterized in that: The hotness ranking of the virtual accounts according to the behavior data of the virtual accounts recorded in the business data includes: Sort the popularity of virtual accounts in the usage queue according to the behavior data of virtual accounts recorded in the business data; Accordingly, the used virtual accounts are recycled from low to high according to the result of the heat sorting, including: The virtual accounts in the usage queue are recycled and added to the available pool according to the result of the heat sorting.

4. The method for processing a virtual account based on popularity according to any one of claims 1 to 3, characterized in that: The hotness ranking of the virtual accounts according to the behavior data of the virtual accounts recorded in the business data includes: Obtaining behavior data of the virtual account recorded in the business data, querying a corresponding behavior heat value according to the behavior data and an identifier of the business data, adding the behavior heat value to the corresponding virtual account, and sorting based on the behavior heat value; Accordingly, the used virtual accounts are recycled from low to high according to the result of the heat sorting, including: The used virtual accounts are recycled according to the sorting results of the behavior heat values.

5. The method for processing a virtual account based on popularity according to any one of claims 1 to 3, characterized in that: Before recycling the used virtual accounts according to the results of the heat sorting from low to high, the method further includes: Determine multiple account recovery cycles and corresponding account recovery numbers according to the virtual account usage of the business data; Accordingly, the used virtual accounts are recycled from low to high according to the result of the heat sorting, including: After the second account recovery cycle ends, the virtual accounts used in the first account cycle are recovered from the lowest to the highest number of account recovery based on the result of the heat sorting.

6. The method for processing a virtual account based on popularity according to claim 5, characterized in that: After the virtual accounts used in the first account cycle are recycled in descending order of the number of recycled accounts based on the result of the heat sorting, the method further includes: Virtual accounts that have been used for more than the preset account period will be forcibly recovered.

7. The method for processing a virtual account based on popularity according to any one of claims 1 to 3, characterized in that: After generating the account information corresponding to each virtual account in the number segment area, the method further includes: When new account information is detected, the account information of the virtual account in the number segment area is updated.

8. A virtual account processing device based on popularity, characterized in that: include: An account creation module is configured to divide the number segment area in the virtual account data table when a virtual account use demand is detected, wherein each number segment area corresponds to an account type and includes multiple virtual accounts, and based on the account type, generate account information corresponding to each virtual account in the number segment area for corresponding call when the corresponding virtual account is obtained; An account acquisition module, configured to randomly acquire a virtual account in the number segment area when a virtual account acquisition instruction is detected; An account ranking module, configured to rank the popularity of virtual accounts according to the behavior data of the virtual accounts recorded in the business data; The account recovery module is configured to recover the used virtual accounts from low to high according to the result of the heat sorting.

9. A virtual account processing device based on popularity, the device comprising: one or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the heat-based virtual account processing method described in any one of claims 1-7.

10. A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the heat-based virtual account processing method according to any one of claims 1 to 7 when executed by a computer processor.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the heat-based virtual account processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Ultra-lightweight virtual machine-based cloud computing dynamic resource scheduling system and method

    CN106020933A

  • Account matching method and device for virtual scene, electronic equipment and storage medium

    CN113289347A