CN113076195A - Object shunting method and device, readable medium and electronic equipment - Google Patents

Object shunting method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN113076195A
CN113076195A CN202110349128.9A CN202110349128A CN113076195A CN 113076195 A CN113076195 A CN 113076195A CN 202110349128 A CN202110349128 A CN 202110349128A CN 113076195 A CN113076195 A CN 113076195A
Authority
CN
China
Prior art keywords
experiment
target
shunted
shunting
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110349128.9A
Other languages
Chinese (zh)
Other versions
CN113076195B (en
Inventor
李灏宇
张锦波
徐恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Volcano Engine Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110349128.9A priority Critical patent/CN113076195B/en
Publication of CN113076195A publication Critical patent/CN113076195A/en
Application granted granted Critical
Publication of CN113076195B publication Critical patent/CN113076195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/4492Inheritance

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure relates to an object distribution method, an object distribution device, a readable medium and electronic equipment, and relates to the technical field of electronic information processing, wherein the method comprises the following steps: according to the characteristic information of the object to be shunted and a first shunting strategy corresponding to a parent experiment, a target parent experiment group matched with the object to be shunted is determined in a first number of parent experiment groups included in the parent experiment, the target parent experiment group is used as a first shunting result of the object to be shunted aiming at the parent experiment, according to a second shunting strategy corresponding to the characteristic information and a child experiment, a target child experiment group matched with the object to be shunted is determined in a second number of child experiment groups included in the child experiment, if the incidence relation indicates that the flow in the target child experiment group inherits the flow in the target parent experiment group, the target child experiment group is used as a second shunting result of the object to be shunted aiming at the child experiment, and the first shunting result and the second shunting result are sent to a client where the object to be shunted is located.

Description

Object shunting method and device, readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic information processing technologies, and in particular, to a method and an apparatus for splitting an object, a readable medium, and an electronic device.
Background
With the rapid development of information technologies such as internet and cloud computing, various application programs appear in the application market to meet the diversified demands of users. During the running process of the application program, the performance of the application program is evaluated and improved often by means of AB experiments. When the AB experiment is carried out, a large number of users need to be shunted to a plurality of groups (such as a blank group, a control group and an experiment group) in the AB experiment according to a preset strategy, then the users execute the corresponding groups in the application program, and the use data of the users in each group is collected, so that the application program is evaluated and improved.
In general, when a user is shunted, only one experiment can be performed, or a plurality of unrelated experiments can be performed, that is, the shunting results of one user for different experiments are independent from each other and do not affect each other. However, in practical applications, a scenario may occur in which an association relationship exists between different experiments, for example, all the traffic of the first experiment is inherited from a certain group in the second experiment, and the inheritance of the traffic according to the association relationship cannot be usually realized on the premise of ensuring the independence of each experiment.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a method for offloading an object, the method including:
according to the characteristic information of an object to be shunted and a first shunting strategy corresponding to a parent experiment, determining a target parent experiment group matched with the object to be shunted in a first number of parent experiment groups included in the parent experiment;
taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment;
according to a second shunt strategy corresponding to the feature information and a sub experiment, determining a target sub experiment group matched with the object to be shunted in a second number of sub experiment groups included in the sub experiment, wherein an incidence relation exists between the sub experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub experiment group inherits from the flow in the father experiment group;
if the incidence relation indicates that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment;
and sending the first shunting result and the second shunting result to a client where the object to be shunted is located, so that the client executes the target parent experiment group and the target child experiment group.
In a second aspect, the present disclosure provides a device for diverting a subject, the device comprising:
the first shunting module is used for determining a target father experiment group matched with the object to be shunted in a first number of father experiment groups included in the father experiment according to the characteristic information of the object to be shunted and a first shunting strategy corresponding to the father experiment;
the first processing module is used for taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment;
the second shunting module is used for determining a target sub-experiment packet matched with the object to be shunted in a second number of sub-experiment packets included by the sub-experiment according to a second shunting strategy corresponding to the characteristic information and the sub-experiment, wherein an incidence relation exists between the sub-experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub-experiment packet inherits the flow in the father experiment packet;
the second processing module is configured to, if the association relationship indicates that the traffic in the target child experiment packet inherits the traffic in the target parent experiment packet, use the target child experiment packet as a second shunting result of the object to be shunted for the child experiment;
and the sending module is used for sending the first shunting result and the second shunting result to the client side where the object to be shunted is located so as to enable the client side to execute the target parent experiment group and the target child experiment group.
In a third aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect of the present disclosure.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of the first aspect of the present disclosure.
According to the technical scheme, the target father experiment grouping corresponding to the object to be shunted is determined according to the characteristic information of the object to be shunted and the first shunting strategy corresponding to the father experiment, the target father experiment grouping belongs to a first number of father experiment groupings included in the father experiment, and the target father experiment grouping is used as a first shunting result of the object to be shunted aiming at the father experiment. And then, according to a second shunt strategy corresponding to the characteristic information and the sub-experiment, determining a target sub-experiment group corresponding to the object to be shunted, wherein the target sub-experiment group belongs to a second number of sub-experiment groups included by the sub-experiment, an incidence relation exists between the sub-experiment and the father experiment, and the flow in at least one sub-experiment group inherits the flow in the father experiment group. And under the condition that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment, and finally sending the first shunting result and the second shunting result to the client where the object to be shunted is located so as to enable the client to execute the target parent experiment packet and the target sub-experiment packet. The method and the device have the advantages that the objects to be shunted are shunted according to the incidence relation among different experiments, the inheritance of flow is realized on the premise of ensuring the independence of different experiments, the flexibility of shunting can be improved, and the shunting cost is saved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flow diagram illustrating a method of triaging an object in accordance with an exemplary embodiment;
FIG. 2 is a diagram illustrating an association relationship, according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another method of triaging objects in accordance with an illustrative embodiment;
FIG. 4 is a flow diagram illustrating another method of triaging objects in accordance with an illustrative embodiment;
FIG. 5 is a flow diagram illustrating another method of triaging objects in accordance with an illustrative embodiment;
FIG. 6 is a flow diagram illustrating another method of triaging objects in accordance with an illustrative embodiment;
FIG. 7 is a flow diagram illustrating another method of triaging objects in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating a shunting device of an object in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating another object diversion apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating another object diversion apparatus according to an exemplary embodiment;
FIG. 11 is a block diagram illustrating another object diversion apparatus according to an exemplary embodiment;
FIG. 12 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart illustrating a method for offloading an object according to an exemplary embodiment, where the method includes the following steps, as shown in fig. 1:
step 101, according to the feature information of the object to be shunted and a first shunting strategy corresponding to the parent experiment, determining a target parent experiment group matched with the object to be shunted in a first number of parent experiment groups included in the parent experiment.
For example, to evaluate and improve the performance of an application, a plurality of experiments may be designed, each experiment comprising at least two groups, a different group in an experiment corresponding to a different behavior of the application (which may also be understood as a different version of the application). In the experiments, some of the experiments have an association relationship, and if two experiments have an association relationship, the objects shunted into a certain packet included in one of the experiments are inherited from the objects shunted into a certain packet included in another experiment, that is, the traffic in a certain packet included in one of the experiments is inherited from the traffic in a certain packet included in another experiment. The experiment that is inherited may be referred to as a parent experiment and the experiment that inherits traffic from the parent experiment is referred to as a child experiment. Experiments that do not have a relationship with other experiments, that is, independent experiments (independent experiments are neither parent experiments nor child experiments) mentioned later. For example, a parent experiment includes three groups: control group a, experimental group b and experimental group c, the sub-experiments included two subgroups: control group d and experimental group e, wherein the flow rate in control group d (i.e. the object split into control group d) inherits from the flow rate in control group a and the flow rate in experimental group b (i.e. the object split into control group a and experimental group b), and the flow rate in experimental group e inherits from the flow rate in experimental group c (i.e. the object split into experimental group c), as shown in fig. 2. The association relationship between the parent experiment and the child experiment can be stored in advance, the association relationship can include a plurality of relationship records, and each relationship record stores inheritance of traffic among groups included in different experiments. Taking the association relationship shown in fig. 2 as an example, the association relationship may include two records: record one, control group d inherits from control group a and experimental group b. Record two, experiment group e inherits from experiment group c.
When an object to be shunted (which can be understood as a user) uses the application program through a client, shunting can be performed for each experiment according to characteristic information of the object to be shunted. The characteristic information may include one or more of user ID, gender, age, registration duration, online duration, and total consumption amount of the object to be distributed. The method includes the steps that firstly, shunting is conducted on a parent experiment, and objects to be shunted can be screened according to a first shunting strategy corresponding to the parent experiment and feature information of the objects to be shunted. The first split policy is used to describe which features an object that hits the parent experiment has, and may be, for example: the tail number of the user ID is double, or the gender is female, or the registration time is more than 1 year, and the like. If the characteristic information meets the first shunting strategy, it is indicated that the object to be shunted hits the parent experiment, and if the characteristic information does not meet the first shunting strategy, it is indicated that the object to be shunted does not hit the parent experiment, then the object to be shunted does not execute the parent experiment, that is, the object to be shunted uses the default version of the application program corresponding to the parent experiment.
After it is determined that the object to be shunted hits the parent experiment, hash calculation may be performed on the feature information, so as to determine, according to a result of the hash calculation, that the object to be shunted matches a target parent experiment packet in the first number of parent experiment packets included in the parent experiment (which may be understood as that the object to be shunted misses the target parent experiment packet). For example, if the parent experiment includes 3 (i.e., a first number) parent experiment groups, hash calculation may be performed on the feature information, and a modulo 3 result of the hash calculation is obtained, if the remainder is 0, it may be determined that the object to be split matches the first parent experiment group, that is, the first parent experiment group is used as the target parent experiment group, if the remainder is 1, it may be determined that the object to be split matches the second parent experiment group, that is, the second parent experiment group is used as the target parent experiment group, and if the remainder is 2, it may be determined that the object to be split matches the third parent experiment group, that is, the third parent experiment group is used as the target parent experiment group.
And 102, taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment.
For example, after determining that the object to be shunted matches the target parent experiment packet, the target parent experiment packet may be used as a first shunting result of the object to be shunted for the parent experiment and stored. The first shunting result is used for instructing to shunt the object to be shunted to the target parent experiment group, where the first shunting result may include a user ID of the object to be shunted and the target parent experiment group, may also include a user ID of the object to be shunted and a tag of the target parent experiment group, and may also include a user ID of the object to be shunted, a tag of the target parent experiment group, and a configuration parameter corresponding to the target parent experiment group. The configuration parameters corresponding to the target parent experiment group may be understood as parameters indicating how the application program operates in the target parent experiment group. For example, the parent experiment is the color of the "view" button in the application, which includes two parent experiment groups, the "view" button in the a parent experiment group is blue, and the "view" button in the B parent experiment group is red. And if the target father experiment group is the A father experiment group, the configuration parameters corresponding to the target father experiment group are that the 'view' button is blue. It should be noted that, the parent experiment may be one or more, the disclosure does not specifically limit this, and in the case of one parent experiment, step 101 to step 102 are executed only once, and in the case of multiple parent experiments, step 101 to step 102 may be executed multiple times.
And 103, according to a second shunt strategy corresponding to the feature information and the sub-experiment, determining a target sub-experiment group matched with an object to be shunted in a second number of sub-experiment groups included in the sub-experiment, wherein an incidence relation exists between the sub-experiment and the parent experiment, and the incidence relation is used for indicating that the flow in at least one sub-experiment group inherits the flow in the parent experiment group.
For example, after the object to be shunted is shunted for the parent experiment, the object to be shunted may be further screened according to the second shunting strategy in which the feature information corresponds to the child experiment. The second split strategy is used to describe which features the subject of the hit neutron experiment has. If the characteristic information meets the second splitting strategy, it indicates that the object to be split is a neutron experiment, and if the characteristic information does not meet the second splitting strategy, it indicates that the object to be split is not a neutron experiment, then the object to be split does not execute a sub-experiment, that is, the object to be split uses a default version of the application program corresponding to the sub-experiment.
After determining the hit sub-experiment of the object to be shunted, hash calculation may be performed on the feature information again to determine the object to be shunted according to the result of the hash calculation, and the object to be shunted is matched with the target sub-experiment packet in the second number of sub-experiment packets included in the sub-experiment (which may be understood as that the object to be shunted misses the target sub-experiment packet). For example, if the sub-experiment includes 2 (i.e., the second number) sub-experiment packets, the hash calculation may be performed on the feature information, and modulo 2 is performed on the result of the hash calculation, if the remainder is 0, it may be determined that the object to be split matches the first sub-experiment packet, that is, the first sub-experiment packet is used as the target sub-experiment packet, and if the remainder is 1, it may be determined that the object to be split matches the second sub-experiment packet, that is, the second sub-experiment packet is used as the target sub-experiment packet.
And 104, if the incidence relation indicates that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted for the sub-experiment.
For example, after determining that the object to be shunted matches the target child experiment packet, an association relationship between the parent experiment and the child experiment may be determined, whether the association relationship indicates that the traffic in the target child experiment packet inherits from the traffic in the target parent experiment packet, that is, whether the object in the target child experiment packet inherits from the object in the target parent experiment packet is determined according to the association relationship. If it is determined that the traffic in the target child experiment packet inherits the traffic in the target parent experiment packet, query may be performed in the first shunting result determined in step 102, determine whether the first shunting result indicates to shunt the object to be shunted into the target parent experiment packet, and in a case where it is determined that the first shunting result indicates to shunt the object to be shunted into the target parent experiment packet, target child experiment packet is used as a second shunting result of the object to be shunted for the child experiment, and is stored. The second splitting result is used for indicating that the object to be split is split into the target sub-experiment packet, where the second splitting result may include the user ID of the object to be split and the target sub-experiment packet, may also include the user ID of the object to be split and the tag of the target sub-experiment packet, and may also include the user ID of the object to be split, the tag of the target sub-experiment packet, and the configuration parameter corresponding to the target sub-experiment packet. The configuration parameters corresponding to the target sub-experiment group may be understood as parameters indicating how the application program operates in the target sub-experiment group. For example, the sub-experiment is an advertisement played in the application program, wherein the advertisement comprises two sub-experiment groups, the sub-experiment group C plays an advertisement A, and the sub-experiment group D plays an advertisement B. And if the target sub-experiment group is the D sub-experiment group, the configuration parameters corresponding to the target sub-experiment group are the advertisement B. It should be noted that the number of sub-experiments may be one or more, and the present disclosure does not specifically limit this, and in the case of one sub-experiment, step 103 to step 104 are performed only once, and in the case of a plurality of sub-experiments, step 103 to step 104 may be performed multiple times.
And 105, sending the first shunting result and the second shunting result to the client where the object to be shunted is located, so that the client executes the target parent experiment group and the target child experiment group.
For example, after obtaining the first and second offloading results, the first and second offloading results may be sent to the client where the object to be offloaded is located, so that after obtaining the first and second offloading results, the client may execute the target parent experiment packet according to the first offloading result, and execute the target child experiment packet according to the second offloading result. Specifically, the first split result and the second split result may be fused (english: Merge) according to a specified data structure to obtain a total split result including the first split result and the second split result, and the total split result is sent to the client together. Therefore, the objects which are shunted to the target sub-experiment group can be realized on the premise of ensuring the mutual independence of the sub-experiment and the father experiment, the objects which are shunted to the target sub-experiment group are inherited from the objects which are shunted to the target father experiment group, the shunting flexibility is improved, and the shunting cost is saved.
In summary, according to the present disclosure, first, a target parent experiment group corresponding to an object to be shunted is determined according to feature information of the object to be shunted and a first shunting policy corresponding to a parent experiment, where the target parent experiment group belongs to a first number of parent experiment groups included in the parent experiment, and the target parent experiment group is used as a first shunting result of the object to be shunted for the parent experiment. And then, according to a second shunt strategy corresponding to the characteristic information and the sub-experiment, determining a target sub-experiment group corresponding to the object to be shunted, wherein the target sub-experiment group belongs to a second number of sub-experiment groups included by the sub-experiment, an incidence relation exists between the sub-experiment and the father experiment, and the flow in at least one sub-experiment group inherits the flow in the father experiment group. And under the condition that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment, and finally sending the first shunting result and the second shunting result to the client where the object to be shunted is located so as to enable the client to execute the target parent experiment packet and the target sub-experiment packet. The method and the device have the advantages that the objects to be shunted are shunted according to the incidence relation among different experiments, the inheritance of flow is realized on the premise of ensuring the independence of different experiments, the flexibility of shunting can be improved, and the shunting cost is saved.
Fig. 3 is a flowchart illustrating another object offloading method according to an exemplary embodiment, and as shown in fig. 3, the implementation of step 101 may include:
step 1011, determining whether the object to be shunted is matched with the parent experiment according to the feature information and the first experiment shunting strategy included in the first shunting strategy.
Step 1012, if the object to be shunted is matched with the parent experiment, determining the target parent experiment group according to the characteristic information and the first shunting strategy included in the first shunting strategy.
For example, the first split policy may include two parts: the system comprises a first experiment shunting strategy and a first sub-shunting strategy, wherein the first experiment shunting strategy is used for describing which characteristics an object which hits a parent experiment group has, and the first sub-shunting strategy is used for describing which characteristics the object which hits each parent experiment group in the parent experiment group has. In this way, the step of determining the target parent experiment group may first determine whether the feature information satisfies the first experiment splitting policy, determine that the object to be split matches the parent experiment (that is, the object to be split hits the parent experiment) if the feature information satisfies the first experiment splitting policy, and then determine the target parent experiment group (that is, the object to be split hits the target parent experiment group) according to the feature information and the first splitting policy. If the characteristic information does not satisfy the first experiment splitting strategy, determining that the object to be split is not matched with the parent experiment, and indicating that the object to be split does not hit the parent experiment, the object to be split does not execute the parent experiment, namely the object to be split uses a default version of the application program corresponding to the parent experiment.
For example, the parent experiment includes M (i.e., a first number) parent experiment groups, and the first experiment splitting policy is: and the tail number of the user ID is a double number, the first packet flow strategy is a hash value corresponding to the characteristic information, modulo M is obtained, and the first packet flow strategy is determined to be distributed to the Nth father experiment packet according to the remainder N. If the tail number of the user ID of the object to be distributed is a double number, matching the object to be distributed with the father experiment, further obtaining a hash value corresponding to the characteristic information, performing modulo operation on the hash value to M, and if the remainder is 3, determining the target father experiment group as the 3 rd father experiment group in the father experiment.
Fig. 4 is a flowchart illustrating another object offloading method according to an exemplary embodiment, and as shown in fig. 4, the implementation manner of step 103 may include:
and step 1031, if the object to be shunted is matched with the parent experiment, determining whether the object to be shunted is matched with the child experiment according to the characteristic information and a second experiment shunting strategy included in the second shunting strategy.
And 1032, if the object to be distributed is matched with the sub-experiment, determining a target sub-experiment group according to the characteristic information and a second grouping distribution strategy included by the second distribution strategy.
For example, in the case that there is an association relationship between the child experiment and the parent experiment, if the object to be shunted does not match the parent experiment (i.e., the object to be shunted does not hit the parent experiment), the object to be shunted does not need to be shunted with respect to the child experiment. Then, the object to be shunted does not execute the parent experiment nor the child experiment, that is, the object to be shunted uses the default version of the application program corresponding to the parent experiment and the default version of the application program corresponding to the parent experiment. For example, the parent experiment is the color of the "view" button in the application, which includes two parent experiment groups, the "view" button in the a parent experiment group is blue, and the "view" button in the B parent experiment group is red. The default color of the "view" button in the default version of the application may be gray if the parent experiment is not performed. If the object to be shunted does not match the parent experiment, the "view" button that the object to be shunted sees while using the application is gray. The sub-experiment is an advertisement played in the application program, wherein the sub-experiment comprises two sub-experiment groups, the sub-experiment group C plays an advertisement A, and the sub-experiment group D plays an advertisement B. And if the target sub-experiment group is the D sub-experiment group, the configuration parameters corresponding to the target sub-experiment group are the advertisement B. If the sub-experiment is not executed, the default version of the application program is that no advertisement is played, and then the object to be shunted does not see any advertisement when using the application program.
If the object to be shunted is matched with the parent experiment, shunting can be performed for the parent experiment according to a second shunting strategy. The second split policy may include two parts: the second experiment distribution strategy is used for describing which characteristics of the object of the neutron experiment are possessed, and the second grouping distribution strategy is used for describing which characteristics of the object of each sub-experiment group in the neutron experiment are possessed. In this way, the step of determining the target sub-experiment group may first determine whether the characteristic information satisfies the second experiment splitting policy, and if the characteristic information satisfies the second experiment splitting policy, determine that the object to be split matches the sub-experiment (i.e., the object to be split hits the sub-experiment), and further determine the target sub-experiment group (i.e., the object to be split hits the target sub-experiment group) according to the characteristic information and the second splitting policy. For example, the sub-experiment includes X (i.e., a second number) sub-experiment packets, and the second experiment splitting policy is: and the registration time is longer than 1 year, the second sub-experiment group distribution strategy is a hash value corresponding to the characteristic information, modulo X is obtained, and the second sub-experiment group is determined to be distributed to the Yth sub-experiment group according to the remainder Y. And if the registration time of the object to be shunted is 2 years, matching the object to be shunted with the sub-experiment, further obtaining a hash value corresponding to the characteristic information, performing modulo operation on the hash value to X, and if the remainder is 1, determining the target sub-experiment group as the 1 st sub-experiment group in the sub-experiment.
Fig. 5 is a flowchart illustrating another object offloading method according to an exemplary embodiment, where as shown in fig. 5, the method may further include:
and 106, if the object to be shunted is not matched with the child experiment, transmitting the first shunting result to the client so that the client executes the target parent experiment grouping.
For example, if the feature information does not satisfy the second experiment splitting policy, it is determined that the object to be split is not matched with the sub-experiment, which indicates that the object to be split does not hit the sub-experiment, and then the object to be split does not execute the sub-experiment, that is, the object to be split uses the default version of the application program corresponding to the sub-experiment. That is, the first split result may be directly transmitted to the client, so that the client performs the target parent experiment grouping according to the first split result without performing the child experiment. For example, the sub-experiment is an advertisement played in the application program, wherein the advertisement comprises two sub-experiment groups, the sub-experiment group C plays an advertisement A, and the sub-experiment group D plays an advertisement B. If the target sub-experiment group is a D sub-experiment group, if the sub-experiment is not executed, the default version of the application program is not to play any advertisement. If the object to be shunted does not match the sub-experience, the object to be shunted does not see any advertisements when using the application.
Fig. 6 is a flowchart illustrating another object offloading method according to an exemplary embodiment, where as shown in fig. 6, the method may further include:
and step 107, if the incidence relation indicates that the flow in the target child experiment grouping does not inherit the flow in the target parent experiment grouping, sending the first shunting result to the client so that the client executes the target parent experiment grouping.
For example, after it is determined that the object to be split matches the target child experiment packet, if the association relationship indicates that the traffic in the target child experiment packet does not inherit the traffic in the target parent experiment packet, it indicates that the object to be split, although the traffic in the target child experiment packet is inherited from the target parent experiment packet, does not execute the child experiment because the traffic in the target child experiment packet should not inherit from the target parent experiment packet (the traffic in the target child experiment packet may inherit from other parent experiment packets or may not inherit from any parent experiment packet), that is, the object to be split uses the default version of the application corresponding to the child experiment. That is, the first split result may be directly transmitted to the client, so that the client performs the target parent experiment grouping according to the first split result without performing the child experiment.
In an application scenario, the first streaming result may further include: a first configuration parameter corresponding to the target parent experimental packet. The first configuration parameter may be understood as a parameter indicating how the target parent experiment group is running, for example, if the target parent experiment group corresponds to a "view" button in red, then the first configuration parameter may be: the "view" button is red in color. The second split result may further include: and the target sub-experiment group corresponds to a second configuration parameter. The second configuration parameter may be understood as a parameter indicating how the target sub-experiment grouping operates, for example, if the target sub-experiment grouping corresponds to playing an a advertisement, the second configuration parameter may be: advertisement is the URL address of the first advertisement.
Accordingly, step 105 may be implemented by:
and sending the first shunt result and the second shunt result to the client so that the client executes the target parent experiment according to the first configuration parameter and executes the target child experiment according to the second configuration parameter.
For example, a first split result including a first configuration parameter and a second split result including a second configuration parameter are sent to the client, so that the client can execute the target parent experiment according to the first configuration parameter and execute the target child experiment according to the second configuration parameter. For example, the client may display the "view" button in red according to the color of the "view" button, and may load the first advertisement from the URL address of the first advertisement according to the URL address of the advertisement.
In another application scenario, the first configuration parameter and the second configuration parameter may be stored in the server in advance, after receiving the first and second split results, the client may obtain the first configuration parameter from the server according to a target parent experiment packet (or a label of the target parent experiment packet) included in the first split result, so as to execute the target parent experiment according to the first configuration parameter, and may obtain the second configuration parameter from the server according to a target child experiment packet (or a label of the target child experiment packet) included in the second split result, so as to execute the target child experiment according to the second configuration parameter.
Fig. 7 is a flowchart illustrating another method for offloading an object according to an exemplary embodiment, where the method further includes, as shown in fig. 7:
and 108, according to a third shunting strategy corresponding to the characteristic information and the independent experiments, determining a target independent experiment group matched with the object to be shunted in a third number of independent experiment groups included in the independent experiments, wherein no incidence relation exists between the independent experiments and the father experiment.
And step 109, taking the target independent experiment group as a third shunting result of the object to be shunted aiming at the independent experiment.
Accordingly, step 105 may be implemented by:
and sending the first shunting result, the second shunting result and the third shunting result to the client so as to enable the client to execute the target parent experiment group, the target child experiment group and the target independent experiment group.
For example, among a plurality of experiments designed for the application, there is an experiment that does not have a correlation with other experiments, that is, an independent experiment. And shunting is carried out aiming at the independent experiment, and objects to be shunted can be screened according to the characteristic information and a third shunting strategy corresponding to the independent experiment. The third split strategy is used to describe which features the subject hit in an independent experiment has. If the characteristic information satisfies the third shunting strategy, it indicates that the object to be shunted hits the independent experiment, and if the characteristic information does not satisfy the third shunting strategy, it indicates that the object to be shunted does not hit the independent experiment, then the object to be shunted does not execute the independent experiment, that is, the object to be shunted uses the default version of the application program corresponding to the independent experiment.
After determining that the object to be shunted hits the independent experiment, performing hash calculation on the characteristic information to determine the object to be shunted according to a result of the hash calculation, and matching the object to be shunted with a target independent experiment group in a third number of independent experiment groups included in the independent experiment. For example, if the independent experiment includes 2 (i.e., the third number) independent experiment groups, hash calculation may be performed on the feature information, and a modulo 2 is performed on a result of the hash calculation, if the remainder is 0, it may be determined that the object to be split is matched with the first independent experiment group, that is, the first independent experiment group is used as the target independent experiment group, and if the remainder is 1, it may be determined that the object to be split is matched with the second independent experiment group, that is, the second independent experiment group is used as the target independent experiment group.
Further, after it is determined that the object to be shunted is matched with the target independent experiment group, the target independent experiment group may be used as a third shunt result of the object to be shunted for the independent experiment, and stored. The third shunting result is used for indicating to shunt the object to be shunted to the target independent experiment group, where the third shunting result may include the user ID of the object to be shunted and the target independent experiment group, may also include the user ID of the object to be shunted and the tag of the target independent experiment group, and may also include the user ID of the object to be shunted, the tag of the target independent experiment group, and the configuration parameters corresponding to the target independent experiment group. The configuration parameters corresponding to the target independent experiment group can be understood as parameters indicating how the application program runs by the target independent experiment group. It should be noted that the number of independent experiments may be one or more, and the present disclosure does not specifically limit this, and in the case of one independent experiment, step 108 to step 109 are performed only once, and in the case of multiple independent experiments, step 108 to step 109 may be performed multiple times.
Finally, the first shunt result, the second shunt result, and the third shunt result may be sent to the client together, so that the client executes the target parent experiment packet according to the first shunt result, executes the target child experiment packet according to the second shunt result, and executes the target independent experiment packet according to the third shunt result. Specifically, the first split result, the second split result, and the third split result may be fused according to a specified data structure to obtain a total split result including the first split result, the second split result, and the third split result, and the total split result is sent to the client together.
In summary, according to the present disclosure, first, a target parent experiment group corresponding to an object to be shunted is determined according to feature information of the object to be shunted and a first shunting policy corresponding to a parent experiment, where the target parent experiment group belongs to a first number of parent experiment groups included in the parent experiment, and the target parent experiment group is used as a first shunting result of the object to be shunted for the parent experiment. And then, according to a second shunt strategy corresponding to the characteristic information and the sub-experiment, determining a target sub-experiment group corresponding to the object to be shunted, wherein the target sub-experiment group belongs to a second number of sub-experiment groups included by the sub-experiment, an incidence relation exists between the sub-experiment and the father experiment, and the flow in at least one sub-experiment group inherits the flow in the father experiment group. And under the condition that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment, and finally sending the first shunting result and the second shunting result to the client where the object to be shunted is located so as to enable the client to execute the target parent experiment packet and the target sub-experiment packet. The method and the device have the advantages that the objects to be shunted are shunted according to the incidence relation among different experiments, the inheritance of flow is realized on the premise of ensuring the independence of different experiments, the flexibility of shunting can be improved, and the shunting cost is saved.
Fig. 8 is a block diagram illustrating an apparatus for shunting of an object according to an exemplary embodiment, and as shown in fig. 8, the apparatus 200 includes:
the first shunting module 201 is configured to determine, according to the feature information of the object to be shunted and a first shunting policy corresponding to the parent experiment, a target parent experiment packet that matches the object to be shunted, from among a first number of parent experiment packets included in the parent experiment.
The first processing module 202 is configured to group the target parent experiment as a first shunting result of the object to be shunted for the parent experiment.
And the second shunting module 203 is configured to determine, according to a second shunting policy corresponding to the feature information and the sub-experiment, a target sub-experiment packet matched with the object to be shunted, from among a second number of sub-experiment packets included in the sub-experiment, where an association exists between the sub-experiment and the parent experiment, and the association is used to indicate that the flow in at least one sub-experiment packet inherits from the flow in the parent experiment packet.
The second processing module 204 is configured to, if the association relationship indicates that the traffic in the target child experiment packet inherits the traffic in the target parent experiment packet, use the target child experiment packet as a second shunting result of the to-be-shunted object for the child experiment.
A sending module 205, configured to send the first splitting result and the second splitting result to the client where the object to be split is located, so that the client executes the target parent experiment packet and the target child experiment packet.
Fig. 9 is a block diagram illustrating another object shunting apparatus according to an exemplary embodiment, and as shown in fig. 9, the first shunting module 201 may include:
the first experiment splitting sub-module 2011 is configured to determine whether the object to be split is matched with the parent experiment according to the feature information and the first experiment splitting policy included in the first splitting policy.
The first packet flow sub-module 2012 is configured to determine, if the object to be distributed is matched with the parent experiment, the target parent experiment packet according to the feature information and the first packet flow policy included in the first flow distribution policy.
Fig. 10 is a block diagram illustrating another object shunting device according to an exemplary embodiment, and as shown in fig. 10, the second shunting module 203 may include:
the second experiment shunting submodule 2031 is configured to, if the object to be shunted is matched with the parent experiment, determine whether the object to be shunted is matched with the child experiment according to the second experiment shunting strategy included in the feature information and the second shunting strategy.
The second sub-packet splitting sub-module 2032 is configured to determine, if the object to be split is matched with the sub-experiment, the target sub-experiment packet according to the feature information and the second sub-packet splitting policy included in the second splitting policy.
In an application scenario, the sending module 205 is further configured to send the first splitting result to the client if the object to be split is not matched with the child experiment, so that the client executes the target parent experiment grouping.
In another application scenario, the sending module 205 is further configured to send the first shunting result to the client, so that the client executes the target parent experiment packet, if the association indicates that the traffic in the target child experiment packet does not inherit from the traffic in the target parent experiment packet.
In another application scenario, the first splitting result further includes: a first configuration parameter corresponding to the target parent experimental packet. The second split result further comprises: and the target sub-experiment group corresponds to a second configuration parameter.
Correspondingly, the sending module 205 is configured to send the first split result and the second split result to the client, so that the client executes the target parent experiment according to the first configuration parameter and executes the target child experiment according to the second configuration parameter.
Fig. 11 is a block diagram illustrating another object shunting apparatus according to an exemplary embodiment, and as shown in fig. 11, the apparatus 200 may further include:
and a third shunting module 206, configured to determine, according to a third shunting policy corresponding to the feature information and the independent experiment, a target independent experiment packet matched with the object to be shunted, in a third number of independent experiment packets included in the independent experiment, where there is no association between the independent experiment and the parent experiment.
And the third processing module 207 is configured to group the target independent experiment as a third shunting result of the object to be shunted for the independent experiment.
Accordingly, the sending module 205 is configured to send the first shunting result, the second shunting result, and the third shunting result to the client, so that the client executes the target parent experiment packet, the target child experiment packet, and the target independent experiment packet.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, according to the present disclosure, first, a target parent experiment group corresponding to an object to be shunted is determined according to feature information of the object to be shunted and a first shunting policy corresponding to a parent experiment, where the target parent experiment group belongs to a first number of parent experiment groups included in the parent experiment, and the target parent experiment group is used as a first shunting result of the object to be shunted for the parent experiment. And then, according to a second shunt strategy corresponding to the characteristic information and the sub-experiment, determining a target sub-experiment group corresponding to the object to be shunted, wherein the target sub-experiment group belongs to a second number of sub-experiment groups included by the sub-experiment, an incidence relation exists between the sub-experiment and the father experiment, and the flow in at least one sub-experiment group inherits the flow in the father experiment group. And under the condition that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment, and finally sending the first shunting result and the second shunting result to the client where the object to be shunted is located so as to enable the client to execute the target parent experiment packet and the target sub-experiment packet. The method and the device have the advantages that the objects to be shunted are shunted according to the incidence relation among different experiments, the inheritance of flow is realized on the premise of ensuring the independence of different experiments, the flexibility of shunting can be improved, and the shunting cost is saved.
Referring now to fig. 12, a schematic diagram of an electronic device (e.g., a client or server as in the above embodiments) 300 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 12, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 12 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: according to the characteristic information of an object to be shunted and a first shunting strategy corresponding to a parent experiment, determining a target parent experiment group matched with the object to be shunted in a first number of parent experiment groups included in the parent experiment; taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment; according to a second shunt strategy corresponding to the feature information and a sub experiment, determining a target sub experiment group matched with the object to be shunted in a second number of sub experiment groups included in the sub experiment, wherein an incidence relation exists between the sub experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub experiment group inherits from the flow in the father experiment group; if the incidence relation indicates that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment; and sending the first shunting result and the second shunting result to a client where the object to be shunted is located, so that the client executes the target parent experiment group and the target child experiment group.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not constitute a limitation to the module itself in some cases, for example, the first shunting module may also be described as a "module that determines a target parent experimental group matching the object to be shunted".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Example 1 provides a method of offloading an object, according to one or more embodiments of the present disclosure, including: according to the characteristic information of an object to be shunted and a first shunting strategy corresponding to a parent experiment, determining a target parent experiment group matched with the object to be shunted in a first number of parent experiment groups included in the parent experiment; taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment; according to a second shunt strategy corresponding to the feature information and a sub experiment, determining a target sub experiment group matched with the object to be shunted in a second number of sub experiment groups included in the sub experiment, wherein an incidence relation exists between the sub experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub experiment group inherits from the flow in the father experiment group; if the incidence relation indicates that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment; and sending the first shunting result and the second shunting result to a client where the object to be shunted is located, so that the client executes the target parent experiment group and the target child experiment group.
According to one or more embodiments of the present disclosure, example 2 provides the method of example 1, where determining, according to a first offloading policy that feature information of an object to be offloaded corresponds to a parent experiment, a target parent experiment packet that matches the object to be offloaded, from among a first number of parent experiment packets included in the parent experiment, includes: determining whether the object to be shunted is matched with the father experiment or not according to the feature information and a first experiment shunting strategy included in the first shunting strategy; and if the object to be shunted is matched with the father experiment, determining the target father experiment group according to the characteristic information and a first shunting strategy included by the first shunting strategy.
Example 3 provides the method of example 2, and the determining, according to the second split policy in which the feature information corresponds to a sub-experiment, a target sub-experiment packet matching the object to be split from among a second number of sub-experiment packets included in the sub-experiment includes: if the object to be shunted is matched with the parent experiment, determining whether the object to be shunted is matched with the child experiment or not according to the characteristic information and a second experiment shunting strategy included by the second shunting strategy; and if the object to be shunted is matched with the sub-experiment, determining the target sub-experiment group according to the characteristic information and a second grouping shunting strategy included by the second shunting strategy.
Example 4 provides the method of example 3, further comprising, in accordance with one or more embodiments of the present disclosure: and if the object to be shunted is not matched with the child experiment, the first shunting result is sent to the client so that the client executes the target parent experiment grouping.
Example 5 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: and if the incidence relation indicates that the flow in the target child experiment grouping does not inherit the flow in the target parent experiment grouping, sending the first shunting result to the client so that the client executes the target parent experiment grouping.
Example 6 provides the method of example 1, the first offload result further comprising, in accordance with one or more embodiments of the present disclosure: a first configuration parameter corresponding to the target parent experimental packet; the second split result further comprises: a second configuration parameter corresponding to the target sub-experiment group; the sending the first shunting result and the second shunting result to the client where the object to be shunted is located includes: and sending the first shunt result and the second shunt result to the client, so that the client executes the target parent experiment according to the first configuration parameter and executes the target child experiment according to the second configuration parameter.
Example 7 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: according to a third shunting strategy corresponding to the characteristic information and independent experiments, determining a target independent experiment group matched with the object to be shunted in a third number of independent experiment groups included in the independent experiments, wherein the independent experiments and the father experiments have no association relation; taking the target independent experiment group as a third shunting result of the object to be shunted aiming at the independent experiment; the sending the first shunting result and the second shunting result to the client where the object to be shunted is located includes: sending the first shunting result, the second shunting result and the third shunting result to the client so as to enable the client to execute the target parent experiment group, the target child experiment group and the target independent experiment group.
Example 8 provides an apparatus for offloading a subject, including: the first shunting module is used for determining a target father experiment group matched with the object to be shunted in a first number of father experiment groups included in the father experiment according to the characteristic information of the object to be shunted and a first shunting strategy corresponding to the father experiment; the first processing module is used for taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment; the second shunting module is used for determining a target sub-experiment packet matched with the object to be shunted in a second number of sub-experiment packets included by the sub-experiment according to a second shunting strategy corresponding to the characteristic information and the sub-experiment, wherein an incidence relation exists between the sub-experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub-experiment packet inherits the flow in the father experiment packet; the second processing module is configured to, if the association relationship indicates that the traffic in the target child experiment packet inherits the traffic in the target parent experiment packet, use the target child experiment packet as a second shunting result of the object to be shunted for the child experiment; and the sending module is used for sending the first shunting result and the second shunting result to the client side where the object to be shunted is located so as to enable the client side to execute the target parent experiment group and the target child experiment group.
Example 9 provides a computer-readable medium having stored thereon a computer program that, when executed by a processing apparatus, implements the steps of the methods of examples 1-7, in accordance with one or more embodiments of the present disclosure.
Example 10 provides, in accordance with one or more embodiments of the present disclosure, an electronic device comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the methods of examples 1-7.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (10)

1. A method of offloading an object, the method comprising:
according to the characteristic information of an object to be shunted and a first shunting strategy corresponding to a parent experiment, determining a target parent experiment group matched with the object to be shunted in a first number of parent experiment groups included in the parent experiment;
taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment;
according to a second shunt strategy corresponding to the feature information and a sub experiment, determining a target sub experiment group matched with the object to be shunted in a second number of sub experiment groups included in the sub experiment, wherein an incidence relation exists between the sub experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub experiment group inherits from the flow in the father experiment group;
if the incidence relation indicates that the flow in the target sub-experiment packet inherits the flow in the target parent experiment packet, taking the target sub-experiment packet as a second shunting result of the object to be shunted aiming at the sub-experiment;
and sending the first shunting result and the second shunting result to a client where the object to be shunted is located, so that the client executes the target parent experiment group and the target child experiment group.
2. The method according to claim 1, wherein the determining, according to a first shunting policy that the feature information of the object to be shunted corresponds to a parent experiment, a target parent experiment packet that matches the object to be shunted, among a first number of parent experiment packets included in the parent experiment, includes:
determining whether the object to be shunted is matched with the father experiment or not according to the feature information and a first experiment shunting strategy included in the first shunting strategy;
and if the object to be shunted is matched with the father experiment, determining the target father experiment group according to the characteristic information and a first shunting strategy included by the first shunting strategy.
3. The method according to claim 2, wherein the determining, according to the second splitting policy in which the feature information corresponds to a sub-experiment, a target sub-experiment packet matching the object to be split from among a second number of sub-experiment packets included in the sub-experiment comprises:
if the object to be shunted is matched with the parent experiment, determining whether the object to be shunted is matched with the child experiment or not according to the characteristic information and a second experiment shunting strategy included by the second shunting strategy;
and if the object to be shunted is matched with the sub-experiment, determining the target sub-experiment group according to the characteristic information and a second grouping shunting strategy included by the second shunting strategy.
4. The method of claim 3, further comprising:
and if the object to be shunted is not matched with the child experiment, the first shunting result is sent to the client so that the client executes the target parent experiment grouping.
5. The method of claim 1, further comprising:
and if the incidence relation indicates that the flow in the target child experiment grouping does not inherit the flow in the target parent experiment grouping, sending the first shunting result to the client so that the client executes the target parent experiment grouping.
6. The method of claim 1, wherein the first split result further comprises: a first configuration parameter corresponding to the target parent experimental packet; the second split result further comprises: a second configuration parameter corresponding to the target sub-experiment group;
the sending the first shunting result and the second shunting result to the client where the object to be shunted is located includes:
and sending the first shunt result and the second shunt result to the client, so that the client executes the target parent experiment according to the first configuration parameter and executes the target child experiment according to the second configuration parameter.
7. The method of claim 1, further comprising:
according to a third shunting strategy corresponding to the characteristic information and independent experiments, determining a target independent experiment group matched with the object to be shunted in a third number of independent experiment groups included in the independent experiments, wherein the independent experiments and the father experiments have no association relation;
taking the target independent experiment group as a third shunting result of the object to be shunted aiming at the independent experiment;
the sending the first shunting result and the second shunting result to the client where the object to be shunted is located includes:
sending the first shunting result, the second shunting result and the third shunting result to the client so as to enable the client to execute the target parent experiment group, the target child experiment group and the target independent experiment group.
8. An apparatus for diverting a subject, the apparatus comprising:
the first shunting module is used for determining a target father experiment group matched with the object to be shunted in a first number of father experiment groups included in the father experiment according to the characteristic information of the object to be shunted and a first shunting strategy corresponding to the father experiment;
the first processing module is used for taking the target parent experiment group as a first shunting result of the object to be shunted aiming at the parent experiment;
the second shunting module is used for determining a target sub-experiment packet matched with the object to be shunted in a second number of sub-experiment packets included by the sub-experiment according to a second shunting strategy corresponding to the characteristic information and the sub-experiment, wherein an incidence relation exists between the sub-experiment and the father experiment, and the incidence relation is used for indicating that the flow in at least one sub-experiment packet inherits the flow in the father experiment packet;
the second processing module is configured to, if the association relationship indicates that the traffic in the target child experiment packet inherits the traffic in the target parent experiment packet, use the target child experiment packet as a second shunting result of the object to be shunted for the child experiment;
and the sending module is used for sending the first shunting result and the second shunting result to the client side where the object to be shunted is located so as to enable the client side to execute the target parent experiment group and the target child experiment group.
9. A computer-readable medium, on which a computer program is stored, characterized in that the program, when being executed by processing means, carries out the steps of the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to carry out the steps of the method according to any one of claims 1 to 7.
CN202110349128.9A 2021-03-31 2021-03-31 Object shunting method and device, readable medium and electronic equipment Active CN113076195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349128.9A CN113076195B (en) 2021-03-31 2021-03-31 Object shunting method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349128.9A CN113076195B (en) 2021-03-31 2021-03-31 Object shunting method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113076195A true CN113076195A (en) 2021-07-06
CN113076195B CN113076195B (en) 2023-04-07

Family

ID=76614205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349128.9A Active CN113076195B (en) 2021-03-31 2021-03-31 Object shunting method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113076195B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8850455B1 (en) * 2013-06-28 2014-09-30 Emc Corporation Method and system for parent backup application monitoring of children backup applications
CN110034953A (en) * 2019-03-12 2019-07-19 平安城市建设科技(深圳)有限公司 Analysis method, device, equipment and the storage medium of tactful chain in being tested between group
CN110046092A (en) * 2019-03-12 2019-07-23 北京创鑫旅程网络技术有限公司 Test shunt method, device, electronic equipment and computer readable storage medium
CN110046296A (en) * 2019-03-12 2019-07-23 平安城市建设科技(深圳)有限公司 Processing method, device, equipment and the storage medium of experimental data
WO2020119231A1 (en) * 2018-12-13 2020-06-18 北京字节跳动网络技术有限公司 Electronic certificate pushing method and apparatus based on position information, and electronic device
CN112333246A (en) * 2020-10-26 2021-02-05 深圳市酷开网络科技有限公司 ABtest experiment method and device, intelligent terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8850455B1 (en) * 2013-06-28 2014-09-30 Emc Corporation Method and system for parent backup application monitoring of children backup applications
WO2020119231A1 (en) * 2018-12-13 2020-06-18 北京字节跳动网络技术有限公司 Electronic certificate pushing method and apparatus based on position information, and electronic device
CN110034953A (en) * 2019-03-12 2019-07-19 平安城市建设科技(深圳)有限公司 Analysis method, device, equipment and the storage medium of tactful chain in being tested between group
CN110046092A (en) * 2019-03-12 2019-07-23 北京创鑫旅程网络技术有限公司 Test shunt method, device, electronic equipment and computer readable storage medium
CN110046296A (en) * 2019-03-12 2019-07-23 平安城市建设科技(深圳)有限公司 Processing method, device, equipment and the storage medium of experimental data
CN112333246A (en) * 2020-10-26 2021-02-05 深圳市酷开网络科技有限公司 ABtest experiment method and device, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN113076195B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110781373B (en) List updating method and device, readable medium and electronic equipment
WO2021082649A1 (en) List update method and apparatus, readable medium, and electronic device
CN111800513B (en) Method and device for pushing information and computer readable medium of electronic equipment
CN112637287B (en) Load balancing method and equipment
CN110300165B (en) Method, device and equipment for calling functional program and storage medium
CN110390493B (en) Task management method and device, storage medium and electronic equipment
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN111432001B (en) Method, apparatus, electronic device and computer readable medium for jumping scenes
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
CN111784380A (en) Advertisement putting attribution method and device
CN111209306A (en) Business logic judgment method and device, electronic equipment and storage medium
CN111163324B (en) Information processing method and device and electronic equipment
CN110633126A (en) Information display method and device and electronic equipment
CN110674481A (en) Account registration method, device, equipment and storage medium of application program
CN110781066B (en) User behavior analysis method, device, equipment and storage medium
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111262744A (en) Multimedia information transmitting method, backup server and medium
CN113076195B (en) Object shunting method and device, readable medium and electronic equipment
CN111752625A (en) Method and device for interface mock
CN113240108A (en) Model training method and device and electronic equipment
CN109614137B (en) Software version control method, device, equipment and medium
CN110752958A (en) User behavior analysis method, device, equipment and storage medium
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111460211A (en) Audio information playing method and device and electronic equipment
CN113709573A (en) Method, device and equipment for configuring video special effects and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: 100190 1309, 13th floor, building 4, Zijin Digital Park, Haidian District, Beijing

Patentee after: Beijing volcano Engine Technology Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Douyin Vision Co.,Ltd.

TR01 Transfer of patent right