A traffic ratio division method based on crowd grouping and related equipment

By grouping people and using the diversion strategy of time slice rotation and discrete hashing algorithms, the problem of not being able to divide traffic to multiple people in the existing technology is solved, and precise delivery and advertising effectiveness are improved.

CN116708378BActive Publication Date: 2025-08-26SHENZHEN COOCAA NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310761013.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2025-08-26
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

The prior art cannot divide traffic to multiple groups under an advertising strategy, resulting in waste of traffic and excessive advertising costs.

Method used

Grouping the population by obtaining the grouping strategy, loading the user MAC address into the shunt detail array using the time slice rotation algorithm and the discrete hash algorithm, generating an initial shunt strategy, and allocating traffic to the user MAC address proportionally through the shunt algorithm.

Benefits of technology

It realizes accurate traffic allocation to multiple groups, reduces traffic waste, reduces advertising costs, and improves advertising performance and conversion rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116708378B_ABST
    Figure CN116708378B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for dividing traffic proportion based on grouping of people and related equipment. The method comprises: obtaining a strategy, grouping people under the strategy to obtain a plurality of arrays, and respectively allocating traffic proportions to the plurality of arrays to obtain a plurality of diversion arrays; loading the user MAC addresses of the people under the plurality of diversion arrays into a specified array according to a time slice rotation algorithm to obtain an initialized diversion strategy; performing a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy; inputting the traffic to be allocated into the diversion strategy, and randomly allocating the traffic to be allocated to the user MAC addresses of the people according to the traffic proportion through the diversion algorithm; the present invention groups multiple people under the strategy into traffic groups, sets a flow ratio for each group, and allocates user requests to the people in the group according to the set traffic ratio, thereby achieving precise delivery to specific target people and improving advertising effect and conversion rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and in particular to a method for dividing traffic proportions based on crowd grouping and related equipment. Background Art

[0002] OTT (Over The Top) refers to Internet companies bypassing operators to develop various video and data service businesses based on the open Internet. It is a very popular term in the communications industry. It means that Internet companies bypass operators to develop various video and data service businesses based on the open Internet, emphasizing the independence of services from physical networks.

[0003] AB experiments are the most intuitive and scientific means of evaluating the causal effects of strategies. They are essential tools for empowering businesses with data. They require multiple traffic groups to propose multiple strategic ideas, and then the most appropriate solution is selected by comparing the performance of indicators across different groups.

[0004] However, as the OTT industry's crowd operations continue to deepen, most companies use AB experiments to test users' preferences and interests in advertising. However, AB experiments can only divide traffic for one crowd, and cannot divide traffic for multiple crowds under one strategy.

[0005] Therefore, the existing technology still needs to be improved and developed. Summary of the Invention

[0006] The main purpose of the present invention is to provide a method, system, terminal and computer-readable storage medium for dividing traffic proportions based on population groups, aiming to solve the problem in the existing technology that it is impossible to divide traffic for multiple populations under one advertising strategy, thereby causing waste of traffic and excessively high advertising costs.

[0007] To achieve the above object, the present invention provides a method for dividing traffic proportion based on crowd grouping, the method comprising the following steps:

[0008] Obtaining a grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and allocating flow ratios to the plurality of arrays respectively to obtain a plurality of diversion arrays;

[0009] Loading the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice round-robin algorithm to obtain an initialized diversion strategy;

[0010] Performing a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy;

[0011] According to the diversion strategy, the traffic to be distributed is distributed to the user MAC addresses of the group according to the traffic ratio through a diversion algorithm.

[0012] Optionally, the method for dividing the traffic ratio based on crowd grouping, wherein the acquiring of the grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and respectively allocating traffic ratios to the plurality of arrays to obtain a plurality of diversion arrays, specifically includes:

[0013] Create a grouping strategy based on your needs and create multiple groups under the grouping strategy;

[0014] The crowd under the strategy is grouped according to operational requirements to obtain a number of arrays, and traffic proportions are allocated to the number of arrays respectively to obtain a number of diversion arrays.

[0015] Optionally, the method for dividing the traffic ratio based on the population grouping, wherein the user MAC addresses of the populations under the plurality of diversion arrays are loaded into a plurality of diversion detail arrays respectively according to the time slice rotation algorithm to obtain the initialized diversion strategy, specifically includes:

[0016] The population includes multiple users, each of which has a MAC address for receiving traffic requests;

[0017] According to the time slice rotation algorithm, the user MAC addresses of the people under the several diversion arrays are loaded into several diversion detail arrays through the time wheel in a cyclic rotation manner every microsecond to obtain the initialized diversion strategy.

[0018] Optionally, in the method for dividing the traffic proportion based on crowd groups, the step of automatically generating the initialized diversion strategy in the background to obtain the diversion strategy specifically includes:

[0019] The initialized diversion strategy is automatically processed by the background automatic generation or one-click generation through the background button to obtain the diversion strategy.

[0020] Optionally, in the method for dividing traffic proportions based on crowd groups, the diversion algorithm adopts a discrete hash algorithm.

[0021] Optionally, the method for dividing the traffic ratio based on the population grouping, wherein, according to the diversion strategy, the traffic to be distributed is distributed to the user MAC addresses of the population according to the traffic ratio by using a diversion algorithm, specifically includes:

[0022] Inputting the traffic to be distributed by the user into the diversion strategy;

[0023] When the traffic reaches the diversion interface of the diversion strategy, the diversion interface calls a discrete hash algorithm to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio.

[0024] Optionally, in the method for dividing the traffic proportion based on population groups, the diversion strategy includes the diversion detail array and the diversion algorithm.

[0025] In addition, to achieve the above-mentioned purpose, the present invention further provides a traffic ratio division system based on crowd grouping, wherein the traffic ratio division system based on crowd grouping includes:

[0026] A traffic division module is used to obtain a grouping strategy, group the people under the grouping strategy to obtain a number of arrays, and allocate traffic proportions to the number of arrays to obtain a number of diversion arrays;

[0027] An algorithm initialization module is used to load the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice rotation algorithm to obtain an initialized diversion strategy;

[0028] A diversion strategy generation module is used to perform a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy;

[0029] The traffic distribution module is used to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio through a traffic distribution algorithm based on the traffic distribution strategy.

[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a traffic proportion division program based on population grouping stored on the memory and runnable on the processor, and when the traffic proportion division program based on population grouping is executed by the processor, the steps of the traffic proportion division method based on population grouping as described above are implemented.

[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a traffic ratio division program based on crowd grouping, and when the traffic ratio division program based on crowd grouping is executed by the processor, the steps of the traffic ratio division method based on crowd grouping as described above are implemented.

[0032] In the present invention, a strategy is obtained, the population under the strategy is grouped to obtain several arrays, and traffic ratios are respectively allocated to the several arrays to obtain several diversion arrays; the user MAC addresses of the population under the several diversion arrays are loaded into the specified arrays according to the time slice rotation algorithm to obtain an initialized diversion strategy; the initialized diversion strategy is automatically generated in the background to obtain a diversion strategy; the traffic to be allocated is input into the diversion strategy, and the traffic to be allocated is randomly allocated to the user MAC addresses of the population according to the traffic ratio through the diversion algorithm; the present invention groups the traffic of multiple populations under the strategy, sets a flow ratio for each group, and user requests are allocated to the population in the group according to the set traffic ratio, thereby achieving precise delivery to specific target populations and improving advertising effects and conversion rates. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flow chart of a preferred embodiment of the method for dividing traffic proportion based on crowd grouping of the present invention;

[0034] Figure 2 This is an overall architecture diagram of a preferred embodiment of the method for dividing traffic proportion based on crowd grouping of the present invention;

[0035] Figure 3 This is a use case diagram of grouping people and allocating traffic proportions under a strategy in the traffic proportion division method based on crowd grouping of the present invention;

[0036] Figure 4 This is a schematic diagram of the flow ratio division method based on crowd grouping of the present invention, which uses a time slice round-robin algorithm to load the crowd in the group into a specified array;

[0037] Figure 5 This is a schematic diagram of a preferred embodiment of a traffic ratio division system based on crowd grouping according to the present invention;

[0038] Figure 6 FIG. 4 is a diagram of an operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0039] As the OTT industry's crowd operations continue to deepen, most companies use AB experiments to test users' preferences and interests in advertising. However, AB experiments can only divide traffic for one crowd, and cannot divide traffic for multiple crowds under one strategy.

[0040] This application provides a method for dividing traffic proportions based on crowd groups and related equipment. To make the purpose, technical solutions, and effects of this application more clear and explicit, the application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only intended to explain this application and are not intended to limit this application.

[0041] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0042] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features specified as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that ordinary technicians in this field can implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0043] The flow ratio division method based on crowd grouping described in the preferred embodiment of the present invention is as follows: Figure 1 and Figure 2 As shown, the method for dividing traffic proportion based on crowd grouping includes the following steps:

[0044] Step S100: Obtain a grouping strategy, group the crowd under the grouping strategy to obtain a plurality of arrays, and allocate flow ratios to the plurality of arrays respectively to obtain a plurality of diversion arrays.

[0045] Specifically, if Figure 3 As shown, create a grouping strategy based on needs and create multiple groups under the grouping strategy.

[0046] Crowds come from strategies. Crowd operations first require creating strategies, and then creating crowds under the strategies. Specifically, operations personnel create a strategy based on demand. This strategy can be designed for a certain type of crowd (such as mobile users, Unicom users, etc.), and under this strategy, operations personnel create multiple crowds, each of which contains several users.

[0047] Furthermore, the population under the strategy is grouped according to operational requirements to obtain a number of arrays, and traffic proportions are allocated to the arrays respectively to obtain a number of diversion arrays.

[0048] The flow ratio is Figure 3The diversion ratio column shown is configured based on the subjective wishes of the operator. The number of groups the population under a strategy needs to be divided into, the groups composed of which groups, and the ratio of each group are all set by the operator according to their needs. Groups can be grouped according to different advertising strategies, such as gender, age, region, interests, etc., to meet different advertising needs, support diversified advertising strategies, and have good versatility and scalability.

[0049] like Figure 3 As shown, assuming that there are 9 groups of people with IDs 3953, 3954, 3955, 3956, 3957, 3958, 3999, 4000, and 4310 under the strategy, according to operational requirements, the people under this strategy are divided into three parts. The traffic proportion of group 1 is 35%, and the people included are 3953 and 3954. The traffic proportion of group 2 is 20%, and the people included are 3955, 3956, 3957, and 3958. The traffic proportion of group 3 is 45%, and the people included are 3999, 4000, and 4310. Thus, several diversion arrays are obtained, and each diversion array is assigned a traffic proportion (here are three diversion arrays).

[0050] Step S200: Load the user MAC addresses of the groups in the plurality of diversion arrays into a plurality of diversion detail arrays respectively according to a time slice round-robin algorithm to obtain an initialized diversion strategy.

[0051] After configuring the crowd ratio and grouping, start initializing the diversion strategy.

[0052] The TimingWheel is a circular data structure, much like a clock divided into many ticks. Each tick represents a time interval and points to a linked list of specific tasks (timerTasks). The TimingWheel algorithm is a clever way to implement delay functions (timers). If a system has a large number of tasks to schedule, the TimingWheel can efficiently utilize thread resources for batch scheduling, binding a large number of scheduled tasks to the TimingWheel and managing, triggering, and running all tasks. It can efficiently manage various delayed tasks, periodic tasks, notification tasks, and more. Compared to the JDK's built-in Timer, DelayQueue+ScheduledThreadPool, the TimingWheel algorithm is a very efficient scheduling model.

[0053] The Secure Hash Algorithm (SHA) is a family of cryptographic hash functions and a FIPS-certified secure hash algorithm. It can calculate the fixed-length string (also known as the message digest) corresponding to a digital message, and if the input messages are different, the probability of them corresponding to different strings is very high.

[0054] The present invention improves the hash algorithm to obtain a discrete hash algorithm for ensuring the discreteness of data distribution.

[0055] The population includes multiple users, each of which has a MAC address for receiving traffic requests;

[0056] like Figure 4 As shown, according to the time slice rotation algorithm, the user MAC addresses of the people under the several diversion arrays are loaded into several diversion detail arrays through the time wheel in a cyclic rotation manner every microsecond to obtain the initialized diversion strategy.

[0057] Specifically, according to the several diversion arrays, population division is performed. Suppose there is a policy with policy ID = 915. There are 63 populations under this policy, and each population has its own MAC set. Now the population of this policy is divided into 3 parts. The first part includes the population of 1 to 10, accounting for 10%, the second part includes the population of 11 to 40, accounting for 60%, and the third part includes the population of 41 to 63, accounting for 30%; the time wheel will assign the population of 1 to 10 to the first diversion detail array to save 10% of the mac set, assign the population of 11 to 40 to the second diversion detail array to save 60% of the mac set, and assign the population of 41 to 63 to the third diversion detail array to save 30% of the mac set.

[0058] The specific allocation process of the time wheel is as follows: the time wheel rotates every microsecond, loading 1 to 63 people into the slots of the time wheel. After all the people have entered the slots, the discrete hash algorithm will be called to discretely allocate the users to several proportionally divided diversion detail arrays. After the loading is completed, the initialized diversion strategy is obtained.

[0059] The present invention ensures the fairness and discreteness of MAC address allocation to a great extent by combining a time wheel algorithm with a discrete hash algorithm.

[0060] Step S300: Perform a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy.

[0061] Specifically, the initialized diversion strategy is automatically processed by the background automatic generation or one-click generation by the background button to obtain the diversion strategy.

[0062] After the diversion strategy is initialized through the algorithm, the diversion strategy is automatically generated through the background or generated by a background button (automatically generated through background code or script file) to automatically process the initialized diversion strategy to obtain the diversion strategy.

[0063] Step S400: According to the diversion strategy, the traffic to be distributed is distributed to the user MAC addresses of the group according to the traffic ratio through a diversion algorithm.

[0064] The diversion strategy includes the diversion detail array and the diversion algorithm. The generated diversion strategy is a script file, which includes the diversion detail array and the diversion algorithm. The diversion algorithm adopts a discrete hash algorithm.

[0065] Specifically, according to the diversion strategy, the process of distributing the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio through the diversion algorithm is as follows:

[0066] Obtaining the traffic to be distributed to the user and inputting it into the diversion strategy;

[0067] When the traffic reaches the diversion interface of the diversion strategy, the diversion interface calls a discrete hash algorithm to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio.

[0068] Users who obtain the diversion strategy can input the traffic to be distributed into the diversion strategy. The traffic will be randomly distributed according to the proportion of each diversion detail array in the diversion strategy, ensuring that the traffic entering each user's MAC address is distributed proportionally and is discrete.

[0069] It can be seen that the present invention divides the traffic of multiple groups under the policy into groups, sets a flow ratio for each group, and distributes user requests to the groups according to the set flow ratio, which has the following beneficial effects:

[0070] (1) Grouping traffic by proportion can help deliver traffic accurately, avoid wasting invalid traffic, and save advertising costs.

[0071] (2) Proportional grouping can display ads to the most suitable groups of people, improving advertising effectiveness and conversion rate.

[0072] (3) Support diversified advertising strategies: Groups can be grouped according to different advertising strategies, such as gender, age, region, interest, etc., to meet different advertising needs.

[0073] (4) Better understand the target audience: Through grouping, advertisers can better understand the characteristics and needs of the target audience, which helps to optimize advertising strategies and improve advertising effectiveness.

[0074] Furthermore, if Figure 5 As shown, based on the above-mentioned method for dividing traffic proportion based on crowd grouping, the present invention also provides a system for dividing traffic proportion based on crowd grouping, wherein the system for dividing traffic proportion based on crowd grouping includes:

[0075] The traffic division module 51 is used to obtain a grouping strategy, group the people under the grouping strategy to obtain a plurality of arrays, and allocate traffic proportions to the plurality of arrays respectively to obtain a plurality of diversion arrays;

[0076] An algorithm initialization module 52 is configured to load the user MAC addresses of the groups in the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice round-robin algorithm to obtain an initialized diversion strategy;

[0077] A diversion strategy generating module 53 is configured to automatically generate the initialized diversion strategy in the background to obtain the diversion strategy;

[0078] The traffic distribution module 54 is configured to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio using a traffic distribution algorithm based on the traffic distribution strategy.

[0079] Furthermore, if Figure 6 As shown, based on the above-mentioned method and system for dividing traffic proportions based on crowd groups, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 6 Only some of the components of the terminal are shown, but it should be understood that implementation of all of the shown components is not required, and more or fewer components may be implemented instead.

[0080] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the terminal. Furthermore, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a flow ratio division program 40 based on crowd grouping is stored on the memory 20, and the flow ratio division program 40 based on crowd grouping can be executed by the processor 10, thereby realizing the flow ratio division method based on crowd grouping in the present application.

[0081] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, configured to execute program codes or process data stored in the memory 20, such as executing the method for dividing traffic proportions based on crowd groups.

[0082] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0083] In one embodiment, when the processor 10 executes the crowd grouping-based traffic ratio division program 40 in the memory 20, the following steps are implemented:

[0084] Obtaining a grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and allocating flow ratios to the plurality of arrays respectively to obtain a plurality of diversion arrays;

[0085] Loading the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice round-robin algorithm to obtain an initialized diversion strategy;

[0086] Performing a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy;

[0087] According to the diversion strategy, the traffic to be distributed is distributed to the user MAC addresses of the group according to the traffic ratio through a diversion algorithm.

[0088] The acquiring of the grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and allocating flow ratios to the plurality of arrays to obtain a plurality of diversion arrays, specifically includes:

[0089] Create a grouping strategy based on your needs and create multiple groups under the grouping strategy;

[0090] The crowd under the strategy is grouped according to operational requirements to obtain a number of arrays, and traffic proportions are allocated to the number of arrays respectively to obtain a number of diversion arrays.

[0091] The method of loading the user MAC addresses of the groups in the plurality of diversion arrays into the plurality of diversion detail arrays according to the time slice round-robin algorithm to obtain the initialized diversion strategy specifically includes:

[0092] The population includes multiple users, each of which has a MAC address for receiving traffic requests;

[0093] According to the time slice rotation algorithm, the user MAC addresses of the people under the several diversion arrays are loaded into several diversion detail arrays through the time wheel in a cyclic rotation manner every microsecond to obtain the initialized diversion strategy.

[0094] The step of automatically generating the initialized diversion strategy in the background to obtain the diversion strategy specifically includes:

[0095] The initialized diversion strategy is automatically processed by the background automatic generation or one-click generation through the background button to obtain the diversion strategy.

[0096] The diversion algorithm adopts a discrete hash algorithm.

[0097] The method of allocating the traffic to be allocated to the user MAC addresses of the group according to the traffic ratio by using a traffic diversion algorithm according to the diversion strategy specifically includes:

[0098] Inputting the traffic to be distributed by the user into the diversion strategy;

[0099] When the traffic reaches the diversion interface of the diversion strategy, the diversion interface calls a discrete hash algorithm to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio.

[0100] The diversion strategy includes the diversion detail array and the diversion algorithm.

[0101] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a traffic ratio division program based on crowd grouping, and when the traffic ratio division program based on crowd grouping is executed by a processor, the steps of the traffic ratio division method based on crowd grouping as described above are implemented.

[0102] In summary, the present invention discloses a method for dividing traffic proportions based on crowd grouping and related equipment, the method comprising: obtaining a strategy, grouping the crowd under the strategy to obtain a number of arrays, and respectively allocating traffic proportions to the number of arrays to obtain a number of diversion arrays; loading the user MAC addresses of the crowds under the number of diversion arrays into the specified arrays according to the time slice rotation algorithm to obtain an initialized diversion strategy; performing a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy; inputting the traffic to be allocated into the diversion strategy, and randomly allocating the traffic to be allocated to the user MAC addresses of the crowd according to the traffic proportion through the diversion algorithm; the present invention groups multiple crowds under the strategy into traffic groups, sets a flow ratio for each group, and user requests will be allocated to the crowd in the group according to the set traffic ratio, thereby achieving precise delivery to specific target crowds and improving advertising effects and conversion rates.

[0103] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or terminal comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or terminal comprising the element.

[0104] Of course, those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0105] It should be understood that the application of the present invention is not limited to the above examples. For those skilled in the art, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for dividing traffic proportion based on crowd grouping, characterized in that: The method for dividing traffic proportion based on crowd groups includes: Obtaining a grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and allocating flow ratios to the plurality of arrays respectively to obtain a plurality of diversion arrays; Loading the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice round-robin algorithm to obtain an initialized diversion strategy; Performing a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy; According to the diversion strategy, the traffic to be distributed is distributed to the user MAC addresses of the group according to the traffic ratio through a diversion algorithm.

2. The method for dividing traffic proportion based on crowd grouping according to claim 1, characterized in that: The obtaining of the grouping strategy, grouping the crowd under the grouping strategy to obtain a plurality of arrays, and allocating flow ratios to the plurality of arrays to obtain a plurality of diversion arrays, specifically includes: Create a grouping strategy based on your needs and create multiple groups under the grouping strategy; The crowd under the strategy is grouped according to operational requirements to obtain a number of arrays, and traffic proportions are allocated to the arrays respectively to obtain a number of diversion arrays.

3. The method for dividing traffic ratio based on crowd grouping according to claim 1, characterized in that: The method of loading the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to the time slice round-robin algorithm to obtain an initialized diversion strategy specifically includes: The population includes multiple users, each of which has a MAC address for receiving traffic requests; According to the time slice rotation algorithm, the user MAC addresses of the people under the several diversion arrays are loaded into several diversion detail arrays through the time wheel in a cyclic rotation manner every microsecond to obtain the initialized diversion strategy.

4. The method for dividing traffic proportion based on crowd grouping according to claim 1, characterized in that: The step of automatically generating the initialized traffic diversion strategy in the background to obtain the traffic diversion strategy specifically includes: The initialized diversion strategy is automatically processed by the background automatic generation or one-click generation through the background button to obtain the diversion strategy.

5. The method for dividing traffic proportion based on crowd grouping according to claim 1, characterized in that: The diversion algorithm adopts a discrete hash algorithm.

6. The method for dividing traffic ratio based on crowd grouping according to claim 5, characterized in that: The method of allocating the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio by using a traffic diversion algorithm according to the diversion strategy specifically includes: Inputting the traffic to be distributed by the user into the diversion strategy; When the traffic reaches the diversion interface of the diversion strategy, the diversion interface calls a discrete hash algorithm to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio.

7. The method for dividing traffic ratio based on crowd grouping according to claim 1, characterized in that: The diversion strategy includes the diversion detail array and the diversion algorithm.

8. A traffic ratio division system based on crowd grouping, characterized in that: The traffic ratio division system based on crowd grouping includes: A traffic division module is used to obtain a grouping strategy, group the people under the grouping strategy to obtain a number of arrays, and allocate traffic proportions to the number of arrays to obtain a number of diversion arrays; An algorithm initialization module is used to load the user MAC addresses of the groups under the plurality of diversion arrays into a plurality of diversion detail arrays according to a time slice rotation algorithm to obtain an initialized diversion strategy; A diversion strategy generation module is used to perform a background automatic generation operation on the initialized diversion strategy to obtain a diversion strategy; The traffic distribution module is used to distribute the traffic to be distributed to the user MAC addresses of the group according to the traffic ratio through a traffic distribution algorithm based on the traffic distribution strategy.

9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a traffic proportion division program based on population grouping stored in the memory and runnable on the processor. When the traffic proportion division program based on population grouping is executed by the processor, the steps of the traffic proportion division method based on population grouping as described in any one of claims 1-7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for dividing traffic proportions based on crowd groups, and when the program for dividing traffic proportions based on crowd groups is executed by a processor, the steps of the method for dividing traffic proportions based on crowd groups according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Contrast experiment method and system based on time slice rotation and computer device

    CN109583670A

  • A / B experiment shunting method, device and equipment and computer readable storage medium

    CN113176992A