CN110197383B - Method and device for acquiring user set of client group - Google Patents

Method and device for acquiring user set of client group Download PDF

Info

Publication number
CN110197383B
CN110197383B CN201810160462.8A CN201810160462A CN110197383B CN 110197383 B CN110197383 B CN 110197383B CN 201810160462 A CN201810160462 A CN 201810160462A CN 110197383 B CN110197383 B CN 110197383B
Authority
CN
China
Prior art keywords
condition
sub
group
conditions
public
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.)
Active
Application number
CN201810160462.8A
Other languages
Chinese (zh)
Other versions
CN110197383A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810160462.8A priority Critical patent/CN110197383B/en
Publication of CN110197383A publication Critical patent/CN110197383A/en
Application granted granted Critical
Publication of CN110197383B publication Critical patent/CN110197383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0203Market surveys; Market polls

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a method and a device for acquiring a user set of a client group, wherein the method comprises the following steps: according to the rules corresponding to the client groups, at least one public condition is obtained, wherein the public condition is a condition appearing in the rules corresponding to the two client groups; for each public condition, acquiring a first user set conforming to the public condition according to user data; for each client group, if the rule of the client group comprises a public condition and a non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, acquiring a second user set conforming to the independent sub-condition according to the user data, and carrying out logic operation on all first user sets and all second user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group. According to the method and the device for obtaining the user set of the client group, the public conditions are obtained, high-performance hardware support is not needed, and the efficiency of obtaining the user set of the client group can be improved.

Description

Method and device for acquiring user set of client group
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for obtaining a user set of a client group.
Background
In the marketing field, it is an important step to target a marketing campaign to a target customer base, and the user set of each customer base is obtained according to user data in a database and certain rules. This involves the execution of a large number of rules, which, due to the large number of user data and the large variety of customer groups, results in a very time consuming acquisition of the user set for all customer groups, which affects the usability of the system.
The current method for improving the user set efficiency of all the client groups has the problems that a great deal of conversion operation is needed to be carried out on the original user data, and a great deal of memory is needed to be consumed, and high-performance hardware is needed to be used for supporting, so that the hardware cost is increased.
There is a need for a method for efficiently acquiring a user set for each of a plurality of client groups without requiring high performance hardware.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring user sets of a client group, which can efficiently acquire the user sets of a plurality of client groups without supporting high-performance hardware.
In a first aspect, an embodiment of the present application provides a method for obtaining a user set of a client group, where each client group corresponds to a rule, all users conforming to the corresponding rule form the user set of the corresponding client group, where the rule is at least one composite condition and/or a logical combination between at least one single condition, the composite condition is a logical combination of multiple sub-conditions, and the single condition includes one sub-condition; comprising the following steps:
According to the rules corresponding to the client groups, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is a condition appearing in the rules corresponding to the two client groups;
for each public condition, acquiring a first user set conforming to the public condition according to user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a second user set conforming to the independent sub-condition according to user data, and carrying out logic operation on all first user sets and all second user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group.
According to the method, the public conditions which repeatedly appear in the plurality of client groups are extracted, no matter whether a certain public condition appears in the rules of the plurality of client groups, the user set corresponding to the public condition is calculated once, and when the target user set of the plurality of client groups comprising the public condition is obtained, the user set corresponding to the public condition in the corresponding rules is not required to be obtained again, so that the efficiency of obtaining the user set of the client group is improved.
The method for acquiring the user set of the client group is free from depending on the support of high-performance hardware, and improves the efficiency of acquiring the user set of the client group.
In one possible design, the method further comprises:
when the user data is updated, acquiring a third user set corresponding to each public condition according to the updated user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, acquiring a fourth user set conforming to the independent sub-condition according to updated user data, and carrying out logic operation on all third user sets and all fourth user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group.
In the scheme, when the user data is updated, the user set corresponding to the public condition is updated, and further, a new user set corresponding to the client group is acquired according to the user set corresponding to the updated public condition and the updated user data, the public condition is not required to be acquired again, and the efficiency of updating the user set of the client group is high.
In one possible design, after obtaining at least one common condition according to the plurality of sub-conditions corresponding to all the client groups, the method further includes:
updating the type identifiers of the sub-conditions constituting the corresponding public condition from the first identifier to the second identifier; the second identifier is used for indicating that the sub-condition is a sub-condition composing the public condition, and the first identifier is used for indicating that the sub-condition is a sub-condition composing the public condition.
In one possible design, the sub-condition includes a first operand, where the first operand is used to indicate main body information of the sub-condition, and the total number of the client groups is N, and the acquiring at least one common condition according to the rule corresponding to each client group includes:
comparing the first operands of the sub-conditions corresponding to the target client group with the first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions of the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
If m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
In one possible design, the obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group includes:
if the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
For each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
and obtaining k public conditions according to all the first public conditions and all the second public conditions.
In one possible design, the sub-conditions further include: the second operand is used for indicating constraint information corresponding to the main body information;
The determining whether the first sub-condition and the second sub-condition in the group are the same for the first sub-condition and the second sub-condition which are the same for each group of the first operands, to obtain a comparison result, includes:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
In one possible design, the determining, for each set of first sub-conditions and second sub-conditions that are identical for the first operand, whether the first sub-conditions and the second sub-conditions in the set are identical, and obtaining the comparison result includes:
for the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
In one possible design, the condition description includes a plurality of pieces of description information, and determining whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same includes:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
if yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
In one possible design, the condition description includes a plurality of pieces of description information, and determining whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same includes:
Acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
In one possible design, the condition description includes a cycle type of the first operand, an attribute type of the first operand, a statistics type of the first operand, an operator, a cycle type of the second operand, an attribute type of the second operand, a statistics type of the second operand;
wherein the operator is to indicate a relationship between the first operand and the second operand.
In a second aspect, an embodiment of the present application provides a device for obtaining a user set of a client group, where each client group corresponds to a rule, all users conforming to the corresponding rule form the user set of the corresponding client group, where the rule is at least one composite condition and/or at least one logic combination between single conditions, the composite condition is a logic combination of multiple sub-conditions, and the single condition includes one sub-condition; comprising the following steps:
The public condition acquisition module is used for acquiring at least one public condition according to the rules corresponding to each client group, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is a condition appearing in the rules corresponding to at least two client groups;
the user set acquisition module is used for acquiring a first user set conforming to the public conditions according to the user data for each public condition;
the user set obtaining module is further configured to, for each client group, obtain, according to the user data, a second user set that meets the independent sub-condition for each independent sub-condition that belongs to the non-public condition in the rule of the client group if the rule of the client group includes at least one public condition and at least one non-public condition, and perform a logic operation on all the first user sets and all the second user sets that correspond to the client group according to the logic corresponding to the rule of the client group, to obtain a target user set of the client group.
In one possible design, the user set obtaining module is further configured to obtain a third user set corresponding to each public condition according to the updated user data when the user data is updated;
The user set obtaining module is further configured to obtain, for each client group, a fourth user set according to the updated user data and the logic corresponding to the rule of the client group, and perform logic operation on all third user sets and all fourth user sets corresponding to the client group, so as to obtain a target user set of the client group, where the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group.
In one possible design, the updating module is configured to update the type identifier of the sub-condition that constitutes the corresponding public condition from the first identifier to the second identifier after acquiring at least one public condition according to the plurality of sub-conditions corresponding to all the client groups; the second identifier is used for indicating that the sub-condition is a sub-condition composing the public condition, and the first identifier is used for indicating that the sub-condition is a sub-condition composing the public condition.
In one possible design, the sub-condition includes a first operand, where the first operand is used to indicate main body information of the sub-condition, and the total number of client groups is N, and the common condition obtaining module is specifically configured to:
Comparing the first operands of the sub-conditions corresponding to the target client group with the first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions of the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
if m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
In one possible design, the common condition acquisition module is specifically configured to:
if the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
Then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
for each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
And obtaining k public conditions according to all the first public conditions and all the second public conditions.
In one possible design, the sub-conditions further include: the second operand is used for indicating constraint information corresponding to the main body information;
the public condition acquisition module is specifically configured to:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
In one possible design, the common condition acquisition module is specifically configured to:
for the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
In one possible design, the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
if yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
In one possible design, the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
Acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
In one possible design, the condition description includes a cycle type of the first operand, an attribute type of the first operand, a statistics type of the first operand, an operator, a cycle type of the second operand, an attribute type of the second operand, a statistics type of the second operand;
wherein the operator is to indicate a relationship between the first operand and the second operand.
In a third aspect, embodiments of the present application provide a computer readable storage medium storing a computer program that causes a processor to perform the method of the first aspect and any one of the possible designs of the first aspect.
In a fourth aspect, an embodiment of the present application provides a server, including: a memory and a processor;
the memory is used for storing program instructions;
the processor is configured to invoke the program instructions stored in the memory to implement the method of the first aspect and any possible design of the first aspect.
According to the method and the device for obtaining the user set, the public conditions which repeatedly appear in the plurality of client groups are extracted, no matter whether a certain public condition appears in the rules of the plurality of client groups, the user set corresponding to the public condition is calculated once, and when the target user set of the plurality of client groups comprising the public condition is obtained, the user set corresponding to the public condition in the corresponding rules is not required to be obtained again, so that the efficiency of obtaining the user set of the client group is improved. The method for acquiring the user set of the client group reduces the calculated amount, and does not need to be completed by high-performance hardware, so that the method for acquiring the user set of the client group can improve the efficiency of acquiring the user set of the client group without supporting high-performance hardware.
Drawings
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for obtaining a user set of a client group according to an embodiment of the present application;
FIG. 4 is a flow chart of a method for obtaining at least one common condition provided in an embodiment of the present application;
fig. 5 is a flowchart second of a method for obtaining a user set of a client group according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for obtaining a user set of a client group according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a device for acquiring a user set of a client group according to an embodiment of the present application.
Detailed Description
The terms involved in the embodiments of the present application will be explained first.
Customer base: a community of users or consumers corresponding to a certain market, such as a community of users corresponding to the sales market of high-end vehicles.
Rules corresponding to the client group: a rule is a logical combination between at least one compound condition, which is a logical combination between a plurality of sub-conditions, and/or at least one single condition, which includes one sub-condition. For example, (a or B) and C are a rule, wherein a or B is a compound condition, C is a single condition, A, B, C is a sub-condition, for example, the rule corresponding to the sales market of the high-end vehicle is (a or B) and C, wherein the sub-condition a is annual income greater than 100 ten thousand, the sub-condition B is a fixed asset greater than 200 ten thousand, and the sub-condition C is a loan total amount less than 100 ten thousand, then (annual income greater than 100 ten thousand or fixed asset greater than 200 ten thousand) and (loan total amount less than 100 ten thousand) are rules of the customer group corresponding to the sales market of the high-end vehicle, and a plurality of users meeting the rules form a customer set of the sales market of the high-end vehicle, or the users meeting the annual income greater than 100 ten thousand and the loan total amount less than 100 ten thousand or the fixed asset greater than 200 ten thousand form a customer set of the sales market of the high-end vehicle.
The "all-customer-groups" or "each-customer-group" appearing in the embodiments of the present application refers to all customer groups under the same marketing domain, such as all customer groups under the telecommunications domain, all customer groups under the vehicle sales domain.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application; referring to fig. 1, the server 100 comprises means 101 for obtaining a set of users of a client group and a database 102; wherein the database 102 is configured to store user data, the user data includes a plurality of data of a plurality of users, the user data is data for characterizing user features, and the user data may include: the age of the user, the annual income of the user, the economic risk value of the user, the position of the user, the date of birth of the user, etc. may identify information of the user's characteristics. Each client group corresponds to a rule, all users conforming to the corresponding rule form a user set of the corresponding client group, one rule comprises at least one compound condition and/or at least one single condition, the compound condition comprises a plurality of sub-conditions, and the single condition comprises one sub-condition, that is, the rule of each client group corresponds to at least one sub-condition.
Specifically, the device for acquiring the user set of each of the plurality of client groups acquires at least one public condition according to the rules corresponding to all the client groups, wherein each public condition comprises at least one sub-condition, and the public condition is a condition appearing in the rules corresponding to at least two client groups; for each public condition, the device for acquiring the user set of each of the plurality of client groups acquires a first user set conforming to the public condition according to the user data stored in the database; for each client group, if the rule of the client group comprises independent sub-conditions belonging to non-public conditions, for each independent sub-condition, obtaining a second user set conforming to the independent sub-condition, and if the rule of the client group also comprises at least one public condition, carrying out logic operation on all first user sets and all second user sets corresponding to the client group according to logic corresponding to the rule of the client group, so as to obtain a target user set of the client group.
Because the first user sets corresponding to the public conditions in the public condition set are acquired first, when the user sets of the client groups are acquired, for a certain public condition included in the client groups, the first user sets conforming to the public condition are acquired once without acquiring the first user sets conforming to the public condition again, namely without acquiring each corresponding client group, the first user sets corresponding to the public condition are acquired once, the calculated amount is small, the support of high-performance hardware is not needed, and the efficiency of acquiring the client sets of the client groups can be improved.
The method for obtaining the user set of each of the plurality of client groups is described in detail below with reference to specific embodiments.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 2, an apparatus for obtaining a user set of a client group according to an embodiment of the present application may include: at least one processor 201, a memory 202, and at least one communication bus 203. The communication bus 203 is used to implement connection communication between the processor 201 and the memory 202.
Specifically, the memory 202 may be any one or any combination of the following: solid state disk (Solid State Drives, SSD), mechanical disk, magnetic disk, array of magnetic disks, etc., may provide instructions and data to the processor 201.
Optionally, the memory 202 is further configured to store the following elements: an operating system and application program modules.
The operating system may contain various system programs for implementing various basic services and handling hardware-based tasks, among other things. The application program module can contain various application programs for realizing various application services.
The processor 201 may be configured to execute the following steps by calling a program or instructions stored in the memory 202 and data: according to the rules corresponding to the client groups, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is at least a condition appearing in the rules corresponding to the two client groups;
for each public condition, acquiring a first user set conforming to the public condition according to user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a second user set conforming to the independent sub-condition according to user data, and carrying out logic operation on all first user sets and all second user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group.
Optionally, the processor 201 is further configured to: when the user data is updated, acquiring a third user set corresponding to each public condition according to the updated user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, acquiring a fourth user set conforming to the independent sub-condition according to updated user data, and carrying out logic operation on all third user sets and all fourth user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group.
Optionally, after the processor 201 obtains at least one common condition according to the plurality of sub-conditions corresponding to all the client groups, the processor 201 is further configured to: updating the type identifiers of the sub-conditions constituting the corresponding public condition from the first identifier to the second identifier; the second identifier is used for indicating that the sub-condition is a sub-condition forming the public condition, and the first identifier is used for indicating that the sub-condition is a sub-condition forming the public condition;
the processor 201 is further configured to, before obtaining, from the user data, a second set of users meeting the independent sub-conditions for each independent sub-condition belonging to a non-common condition in the rule for the client group: and obtaining independent sub-conditions with the type identifier as a first identifier in the rule of the client group.
Specifically, the sub-condition includes a first operand, where the first operand is used to indicate main information of the sub-condition, the total number of client groups is N, and the processor 201 is configured to, for each target client group of the nth client group, compare, with each first operand of each sub-condition corresponding to the target client group, a first operand of each sub-condition of the nth client group, and obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions of the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
if m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
Optionally, if the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence; the processor is specifically configured to:
dividing the at least one first target sub-condition into at least one first group and the at least one second target sub-condition into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
for each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
And obtaining k public conditions according to all the first public conditions and all the second public conditions.
Specifically, in one possible embodiment, the sub-conditions further include: the second operand is used for indicating constraint information corresponding to the main body information; the processor 201 is specifically configured to:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
In one possible implementation, the processor 201 is specifically configured to: for the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
More specifically, in one possible implementation, the condition description includes a cycle type of the first operand, an attribute type of the first operand, a statistics type of the first operand, an operator, a cycle type of the second operand, an attribute type of the second operand, a statistics type of the second operand; wherein the operator is to indicate a relationship between the first operand and the second operand; the processor 201 is specifically configured to:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
if yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
In one possible implementation, the processor 201 is specifically configured to:
acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
The method for acquiring the user set of the client group according to the embodiment of the present application may be implemented based on the device for acquiring the user set of the client group.
FIG. 3 is a flowchart of a method for obtaining a user set of a client group according to an embodiment of the present application; referring to fig. 3, the method of the present embodiment includes:
step S101, according to the rules corresponding to each client group, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is at least one condition appearing in the rules corresponding to the two client groups;
Step S102, for each public condition, acquiring a first user set conforming to the public condition according to user data;
step S103, for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a second user set conforming to the independent sub-condition according to the user data, and performing logic operation on all the first user sets and all the second user sets corresponding to the client group according to the logic corresponding to the rule of the client group, so as to obtain the target user set of the client group.
Specifically, for step S101, at least one common condition is obtained according to the rule corresponding to each client group, where the common condition includes at least one sub-condition with the same logic priority, and the common condition is a condition appearing in at least the rule corresponding to each of the two client groups.
The rule is at least one composite condition and/or at least one logic combination among single conditions, the composite condition is a logic combination among a plurality of sub-conditions, the single conditions comprise one sub-condition, and user sets corresponding to different rules are different; i.e., both complex conditions and single conditions may be referred to as conditions; the logical priority of the conditions is the priority of the rule operation, and the operation between the conditions with high logical priority is performed first.
For example, the rule corresponding to a certain customer group is (a and B) or C or D, a and B is a compound condition, and C, D is a single condition; A. b, C, D is a sub-condition corresponding to the client group; the logical priorities of sub-conditions A, B are the same, the logical priorities of sub-conditions C, D are the same, the logical priority of sub-condition A, B is higher than the logical priority of sub-conditions C and D, and the logical priority of compound condition "A and B" is the same as the logical priority of single condition C, D. The form of the sub-condition may be, for example, older than 50, annual income of between 20 ten thousand and 30 ten thousand, birth date before 5 months 4 days in 1987, and so on.
The common condition is a condition appearing in at least the rules corresponding to each of the two client groups, that is, a condition appearing more than once in the rules of each client group; the common condition is not necessarily a complex condition or a single condition in a certain rule, such as: the rule corresponding to the client group 1 is (a or B) and C, the rule corresponding to the client group 2 is D and H and G, the rule corresponding to the client group 3 is G and (B or C), and the rule corresponding to the client group 4 (a or B or C) and D, the common conditions obtained based on the 4 client groups are: condition a or B, condition D, condition B or C, condition G.
It will be appreciated by those skilled in the art that this is illustrated with only 4 customer groups, and that in practice a marketing field will include thousands of customer groups, and corresponding rules will be thousands of.
The specific implementation of step S101 is as follows: comparing the rules of each client group in pairs to obtain at least one public condition; for example, if there are 4 client groups: the rule corresponding to the client group 1 is (A or B) and C, the rule corresponding to the client group 2 is D and H and G, the rule corresponding to the client group 3 is G and (B or C), and the rule corresponding to the client group 4 (A or B or C) and D, at least one public condition can be obtained as follows; comparing the rule corresponding to the client group 1 "(A or B) and C" with the rule corresponding to the client group 2 "D and H and G", wherein the two client groups have no public condition; comparing the rule (A or B) and C' corresponding to the client group 1 with the rule (G and (B or C)) corresponding to the client group 3, wherein the two client groups have no public condition; comparing the rule (A or B) and C 'corresponding to the client group 1 with the rule (A or B or C) and D' corresponding to the client group 4 to obtain a public condition 'A or B'; comparing the rule "D and H and G" corresponding to the client group 2 with the rule "G and (B or C)" corresponding to the client group 3 to obtain a public condition "G"; the rule "D and H and G" corresponding to the customer group 2 is compared with the rule "(a or B or C) and D" corresponding to the customer group 4 to obtain the public condition "D", and the rule "G and (B or C)" corresponding to the customer group 3 is compared with the rule "(a or B or C) and D" corresponding to the customer group 4 to obtain the public condition "B or C".
For step S102, for each public condition, acquiring a first user set conforming to the public condition according to user data;
specifically, for each public condition, according to user data stored in a database, a first user set conforming to the public condition is extracted, and each public condition corresponds to one first user set. The database stores therein a plurality of data for storing user data, the user data including a plurality of users, the user data may include: the age of the user, the annual income of the user, the economic risk value of the user, the position of the user, the date of birth of the user, etc. may identify information of the user's characteristics. That is, the database stores a huge amount of user data, such as ages of the users, annual incomes of the users, birth dates of the users, fixed assets of the users, sexes of the users, and industries of the users.
Such as: for the public condition 'A or B', the annual income is greater than 100 ten thousand, the sub-condition A is greater than 200 ten thousand of fixed assets, and then the first user set corresponding to the public condition 'A or B' is the first user set composed of users meeting the condition 'A or B', namely the first user set composed of users meeting the condition that annual income is greater than 100 ten thousand or the fixed assets is greater than 200 ten thousand.
For step S103, for each client group, if the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, according to the user data, acquiring a second user set meeting the independent sub-condition, and not acquiring a first user set meeting the public condition; and according to the logic corresponding to the rule of the client group, carrying out logic operation on all the first user sets and all the second user sets corresponding to the client group to obtain the target user set of the client group.
When each condition in the rule of the client group is stored in the device, the condition type identifier is stored, namely the sub condition has a type condition, and the compound condition also has a type identifier; wherein the first identifier may be used to indicate that the condition does not belong to a common condition and the second identifier may be used to indicate that the condition belongs to a common bar.
And if the rule of the client group does not comprise the public condition, acquiring a second user set corresponding to each sub-condition in the corresponding rule, and carrying out logic operation on all the second user sets corresponding to the client group according to the logic corresponding to the corresponding rule to obtain a target user set of the client group.
If the rule of the client group does not include the non-public condition, directly performing logic operation on the second user set corresponding to each public condition in the corresponding rule obtained in step S102 according to the logic corresponding to the corresponding rule, so as to obtain the target user set of the client group.
Such as: the rule corresponding to the client group 1 is (a or B or C) and D, the rule corresponding to the client group 2 is D and H and G, and the rule corresponding to the client group 3 is G and (B or C), the common conditions obtained based on the 3 client groups are: condition B or C, condition D, condition G.
When the target user set corresponding to the client group 1 is obtained, the sub-conditions a and D in the rule corresponding to the client group 1 are non-public conditions, and according to the user data stored in the database, a second user set conforming to the sub-condition a is obtained, and the second user set conforming to the sub-condition D is obtained, so that the user sets corresponding to the sub-condition B and the sub-condition C are not required to be obtained, and because the condition B or C is a public condition, the first user set conforming to the condition B or C obtained in the step S102 can be directly used; and then performing OR operation on the second user set meeting the sub-condition A and the first user set meeting the condition B or C to obtain a user set 1, and performing AND operation on the user set 1 and the second user set meeting the sub-condition D to obtain a user set 2, wherein the user set 2 is a target user set corresponding to the client group 1.
When the target user set corresponding to the client group 2 is obtained, the sub-condition H in the rule corresponding to the client group 2 is a non-public condition, and according to the user data stored in the database, a second user set conforming to the sub-condition H is obtained, and the user sets corresponding to the sub-condition D and the sub-condition H are not required to be obtained, because the sub-conditions D and H are both public conditions, the first user set conforming to the condition "D" and the first user set conforming to the condition "H" obtained in the step S102 can be directly used; and then performing AND operation on the second user set meeting the sub-condition D, the first user set meeting the condition 'G' and the second user set meeting the condition 'H', so as to obtain a user set 3, wherein the user set 3 is the target user set corresponding to the client group 1.
When the target user set corresponding to the client group 3 is obtained, the rules corresponding to the client group 3 are public conditions, the user set corresponding to the sub-condition D is not required to be obtained again, and the user set corresponding to the condition B or C is not required to be obtained again, so that the method can be directly used for the first user set meeting the condition D and the first user set meeting the condition B or C obtained in the step S102; and then performing AND operation on the second user set meeting the sub-condition D and the first user set meeting the condition B or C to obtain a user set 4, wherein the user set 4 is the target user set corresponding to the client group 3.
It can be known that, when the target user sets corresponding to the client groups 1, 2 and 3 are acquired, the common condition B or C appears once in the client group 1 and once in the client group 3, but because the first user set conforming to the common condition B or C is acquired in advance, when the target user sets corresponding to the client groups 1 and 3 are acquired, the user sets conforming to the condition B or C do not need to be acquired again, that is, the first user set of the condition B or C needs to be acquired once no matter how many client groups in the corresponding marketing field contain the "B or C", so that the efficiency of acquiring the target user sets of all the client groups in the corresponding marketing field is improved.
In this embodiment, by extracting the common condition repeatedly appearing in the plurality of client groups, no matter whether a certain common condition appears in the rules of several client groups, the user set corresponding to the common condition is calculated only once, and when the target user set of the plurality of client groups including the common condition is obtained, the user set corresponding to the common condition in the corresponding rules is not required to be obtained again, thereby improving the efficiency of obtaining the user sets of all client groups in the corresponding marketing field.
The method for acquiring the user set of the client group reduces the calculated amount, and does not need to rely on the support of high-performance hardware, so that the method for acquiring the user set of the client group can improve the efficiency of acquiring the user sets of all the client groups in the corresponding marketing field without relying on the support of the high-performance hardware.
The method for acquiring the user set of the client group provided by the embodiment comprises the following steps: according to the rules corresponding to the client groups, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is at least a condition appearing in the rules corresponding to the two client groups; for each public condition, acquiring a first user set conforming to the public condition according to user data; for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a second user set conforming to the independent sub-condition according to the user data, and carrying out logic operation on all the first user sets and all the second user sets corresponding to the client group according to the logic corresponding to the rule of the client group to obtain the target user set of the client group. According to the method for acquiring the user set of the client group, high-performance hardware support is not needed, and the efficiency of acquiring the user sets of all the client groups in the corresponding marketing field can be improved.
Step S101 "in the detailed description of the previous embodiment" obtains at least one common condition according to the rule corresponding to each client group "is described in detail below by using a specific embodiment.
FIG. 4 is a flow chart of a method for obtaining at least one common condition provided in an embodiment of the present application; referring to fig. 4, the method of the present embodiment includes:
step S201, for each target client group of the nth client group, comparing respective first operands of the sub-conditions corresponding to the target client group with first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions corresponding to the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, the target client group is a client group which is not compared with the first operands of the N-th client group in the sub-conditions, n=1, 2, … …, N and m are integers greater than or equal to 0;
step S202, if m is not 0, judging whether the first sub-condition and the second sub-condition in the corresponding group are the same for the first sub-condition and the second sub-condition with the same first operand in each group;
Step 203, obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
Specifically, the sub-condition corresponding to the rule includes a first operand, where the first operand is used to indicate main body information of the sub-condition, for example, the sub-condition a is: the annual income is greater than 100 ten thousand, the annual income is a first operand of the sub-condition A, the annual income is a second operand of the sub-condition A, the second operand is used for indicating constraint information corresponding to the main body information, and the annual income is greater than the first operand and is an operator; wherein, the operator of the sub-condition can be any one of the following: equal to, not equal to, contain, not contain, like, not like, empty, not empty, greater than, less than, greater than or equal to, less than or equal to, between, not between, less than before, less than from future, between, not less than, not greater than, month belongs to, day between.
In addition, the sub-condition further includes a condition description including a plurality of pieces of description information: a plurality of descriptive information for a first operand and a plurality of descriptive information for a second operand, and an operator. The plurality of pieces of description information of the first operand comprise a cycle type of the first operand, an attribute type of the first operand and a statistic type of the first operand; the plurality of pieces of descriptive information of the second operand includes: the cycle type of the second operand, the attribute type of the second operand, the statistical type of the second operand.
That is to say if there is a sub-condition 1 in rule 1: age above 80, rule 2 also has sub-condition 2: the age is greater than 80, at this time, the first operand of the sub-condition 1 is the same as the first operand of the sub-condition 2, the operator of the sub-condition 1 is the same as the operator of the sub-condition 2, the second operand of the sub-condition 1 is the same as the second operand of the sub-condition 2, but it cannot be said that the cycle type of the first operand "age" of the sub-condition 1 is the same as the cycle type of the first operand "age" of the sub-condition 2, the attribute type of the first operand "age" of the sub-condition 1 is the same as the attribute type of the first operand "age" of the sub-condition 2, the statistic type of the first operand "age" of the sub-condition 1 is the same as the statistic type of the first operand "age" of the sub-condition 2, the cycle type of the second operand "80" of the sub-condition 1 is the same as the cycle type of the second operand "80" of the sub-condition 2, the attribute type of the second operand "80" of the sub-condition 1 is the same as the attribute type of the second operand "80" of the sub-condition 2, and the statistic type of the second operand "80" of the sub-condition 1 is the same as the statistic type of the second operand "of the sub-condition 2, and the statistic type of the second operand" of the sub-condition 1 is the same as the statistic type of the first operand "of the sub-condition 2.
Wherein the cycle type of the operand includes: no cycle type, daily cycle type, weekly cycle, monthly cycle; the attribute type of the first operand includes: a metric class, a text class, a date class, an enumeration class, a label, and a customer group; the attribute type of the second operand includes: null (when the attribute type of the first operand is tag, customer group), metric class, text class, date class, latitude class, constant; the statistical types of operands include: original value, sum, average, maximum, minimum, growth rate function operation, expression.
When storing sub-conditions in the device, the condition descriptions may be encoded, such as by identifying different types of the same description information with different numbers, such as: the identification of the cycle type of the operand may be "0, 1, 2, 3", when the identification of the cycle type of the operand is 0, indicating that the cycle type of the operand is "no cycle type", i.e., the operand is a constant, when the identification of the cycle type of the operand is 1, indicating that the cycle type of the operand is "daily cycle", when the identification of the cycle type of the operand is 2, indicating that the cycle type of the operand is "weekly cycle", and when the identification of the cycle type of the operand is 3, indicating that the cycle type of the operand is "monthly cycle".
The identification of the attribute type of the first operand may be "1, 2, 3, 4, 5, 6", when the identification of the attribute type of the first operand is 1, the attribute type of the first operand is "metric class", when the identification of the cycle type of the first operand is 2, the attribute type of the first operand is "text class", when the identification of the attribute type of the first operand is 3, the attribute type of the first operand is "date class", when the identification of the attribute type of the first operand is 4, the attribute type of the first operand is "enumeration class", when the identification of the attribute type of the first operand is 5, the attribute type of the first operand is "tag", and when the identification of the attribute type of the first operand is 6, the attribute type of the first operand is "customer group".
The identification of the attribute type of the second operand may be "0, 1, 2, 3, 4, 5", when the identification of the attribute type of the second operand is 0, the attribute type of the second operand is "null", when the identification of the cycle type of the second operand is 1, the attribute type of the second operand is "metric class", when the identification of the attribute type of the second operand is 2, the attribute type of the second operand is "text class", when the identification of the attribute type of the second operand is 3, the attribute type of the second operand is "date class", when the identification of the attribute type of the second operand is 4, the attribute type of the second operand is "latitude class", and when the identification of the attribute type of the second operand is 5, the attribute type of the second operand is "constant".
The identification of the statistical type of the operand may be "0, 1, 2, 3, 4, 5, 6, 7", when the identification of the statistical type of the operand is 0, it means that the statistical type of the operand is "original value", when the identification of the statistical type of the operand is 1, it means that the statistical type of the operand is "sum", when the identification of the statistical type of the operand is 2, it means that the statistical type of the operand is "average", when the identification of the statistical type of the operand is 3, it means that the statistical type of the operand is "maximum", when the identification of the statistical type of the operand is 4, it means that the statistical type of the operand is "minimum", when the identification of the statistical type of the operand is 5, it means that the statistical type of the operand is "growth rate", when the identification of the statistical type of the operand is 6, it means that the statistical type of the operand is "function operation", and when the identification of the statistical type of the operand is 7.
The identification of the operators is not described herein, and different operators may be identified by different numbers.
When the sub-conditions are stored in the device, the condition description is digitally encoded, so that the comparison speed between the two sub-conditions can be increased.
In addition, when the sub-condition is stored in the device, the first operand, the condition description and the second operand are stored, and the logic priority and the type of the sub-condition are stored, wherein the logic priority and the type of the sub-condition can be stored after being digitally encoded. For example, when the type-coded type is identified as 0, it indicates that the type of the sub-condition is a sub-condition that does not belong to the constituent common condition, and when the type-coded type is identified as non-0, for example, 1, it indicates that the type of the sub-condition is a sub-condition in the constituent common condition.
Such as the sub-conditions: age above 80, stored in the device as "10 31009050 |customer age|80 2 0", where "31009050" is descriptive information of the sub-condition, 3 is used to indicate that the cycle type of the first operand is a month cycle, 1 is used to indicate that the attribute type of the first operand is a metric class, 0 is used to indicate that the statistical type of the first operand is an original value, 09 is used to indicate that the operator is above, 0 is used to indicate that the cycle type of the second operand is "null", 5 is used to indicate that the attribute type of the second operand is constant, and 0 is used to indicate that the statistical type of the second operand is an original value. The 2 in "2 0" is used to indicate the logical priority of the sub-condition, and the logical priority of the sub-condition in the same rule with the same identity is the same, and the 0 in "2 0" is used to indicate that the type of the sub-condition is a sub-condition that does not belong to the constituent common condition, that is, is a non-common condition.
To further illustrate the rules, the rules are further described below using the rule of one client group as an example.
For example, a rule of a certain customer group is "(A and B)" or C or D, wherein A is that customer age is greater than 80, B is that behavior age range is 18-25, C is that VIP customer has no data temporarily, D is that the date of birth of the user is less than 34 days from the past, 3 conditions corresponding to the rule are "A and B" (composite condition), C, D "
The rule is stored in the device as "31[22[10 31009050 |customer age|80 2 0;10 34001050 |behavioral age group|young 2.0 ] 1; 10 35000000|vip client| 1 0;10 33015050 |user birth date|34 1 ] 0.
As shown in the above rule, "10 31009050 |client age|80" is a storage form of a sub-condition a, "10 34001050 |behavioral age group|young 2 0" is a storage form of a sub-condition B, "10 35000000|vip client| 1 0" is a storage form of a sub-condition C, "10 33015050 |user birth date|34 1 0" is a storage form of a sub-condition D; the foremost 3 is regular header information, which indicates that there are 3 conditions: "A and B", C, D,3 are followed by 1 being the identification of the logical operator of the rule, 1 representing that the logical relationship between the conditions ("A and B", C, D) in the rule is "OR" - "(A and B)" or C or D.
The storage of "a and B" in the device corresponds to "22[10 31009050|customer age|80 2 0;10 34001050 |behavioral age group|young 2 ] 0", wherein 2 at the forefront is the header information of the condition" a and B ", indicating that there are 2 conditions: a and B, with "2" following "2" being the identity of the logical operator of the condition "a and B", 2 representing that the logical relationship between a and B is "and" - "(a and B)", the penultimate 1 indicating the logical priority of the condition "a and B" (i.e. the compound condition also has a logical priority identity), the penultimate 0 being the type identity of the condition "a and B" (i.e. the compound condition also has a type identity), wherein "0" indicates that the type of the condition a and B "is a non-common condition; a is stored as "10 31009050 |customer age|8020", the first 1 indicates that there are 1 conditions a,0 indicates that there is no logical relationship (because there is only one condition), and information corresponding to each of "31009050 |customer age|8020" refers to the above description, and will not be repeated here; for "10 34001050 |behavioral age group |young 2 0", C "10 35000000|vip client| 1 0", and D "10 33015050 |user birth date|34 1 0", the respective meanings are referred to the above description of a and are not repeated here.
The last two 0 s, of the rule, the first 0 representing a logical priority of "null", the last 0 indicating the type identification of the rule, wherein "0" indicates that the rule type is a non-common condition.
Step S202 "for determining whether the first sub-condition and the second sub-condition in the corresponding group are the same for the first sub-condition and the second sub-condition in which the first operand is the same in each group, and obtaining the comparison result" may be implemented by, but not limited to, the following two embodiments:
the first embodiment is: for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
Because the condition descriptions are of numerical values after encoding, the second operand is of a character type after encoding, and the comparison speed of the numerical values is higher than that of the character type, whether the condition descriptions of the two sub-conditions are identical or not is compared firstly, so that the comparison speed can be increased, and the speed of acquiring the user set of the client group is further improved.
The second embodiment is: for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the second operands of the first sub-condition and the second operands of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
It will be appreciated by those skilled in the art that in the two embodiments, the condition descriptions are identical, and each piece of description information in the condition descriptions of the first sub-condition in the group is identical to the corresponding description information in the condition descriptions of the second sub-condition. For example, the description information "cycle type of first operand" in the condition description of the first sub-condition is "cycle type of first operand" in the corresponding description information in the condition description of the second sub-condition.
Specifically, the above-described "determining whether the condition descriptions of the first sub-condition and the second sub-condition in the group are identical" may be implemented by, but not limited to, the following two embodiments:
the first embodiment is: acquiring respective support degree of each piece of description information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of description information appears in all sub-conditions included in all rules;
And judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
Specifically, all rules refer to rules corresponding to all client groups of the user set to be obtained in the corresponding marketing field. The smaller the support degree, the smaller the same ratio of the description information in each sub-condition is, the easier the comparison of the description information of each of the two sub-conditions is completed, because when the judgment result is that the description information of the first sub-condition is different from the corresponding description information of the second sub-condition, the comparison of the description information corresponding to the two sub-conditions is stopped. Therefore, in the embodiment, according to the order of the support degree from small to large, whether the description information of the first sub-condition is the same as the corresponding description information of the second sub-condition in the group is judged, so that the speed of judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same can be improved, and the speed of acquiring the user set of the client group is further improved.
The second embodiment is: randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
if yes, repeating the process of comparing the description information of the first sub-condition with the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information of the first sub-condition is completely compared with the corresponding description information of the second sub-condition.
It will be appreciated by those skilled in the art that the comparison of the description information of the first sub-condition and the second sub-condition, which are the same for each set of first operands, is actually a comparison of the identification of the description information.
Step S203 "obtains k public conditions of the rule corresponding to the nth client group and the rule corresponding to the corresponding target client group according to the comparison result, the logic of the rule of the nth client group and the logic of the rule of the corresponding target client group, where k is an integer greater than or equal to 0", and includes:
If the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
a. then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
b. for each first group, determining at least one second target group corresponding to the first group from at least one second group, wherein the second target group is a second group containing the same sub-conditions as those of the first group;
c. extracting at least one first candidate sub-condition in the first group for each second target group corresponding to each first group, wherein sub-conditions identical to the first candidate sub-conditions exist in the second target group, combining at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target group identical to each first candidate sub-condition according to a second logic to obtain a second common condition; the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the target client group;
d. And obtaining k public conditions according to all the first public conditions and all the second public conditions.
The method of acquiring at least one common condition in the present embodiment will be described below with specific examples.
Assuming that the total number of client groups is N, the value of N is taken from 1 to N-1. When n=1, the 2 nd to N-1 st client groups are target client groups; extracting at least one sub-condition corresponding to the rule of the 1 st client group, extracting at least one sub-condition corresponding to the rule of the 2 nd client group, comparing the first operands of the at least one sub-condition corresponding to the rule of the 1 st client group with the first operands of the at least one sub-condition corresponding to the rule of the 2 nd client group, and obtaining m first sub-conditions corresponding to the 1 st client group, and m second sub-conditions corresponding to the 2 nd client group, wherein the first operands of the m first sub-conditions are identical to the first operands of the m second sub-conditions.
Such as: at least one sub-condition corresponding to the rule of the 1 st client group is A1, A2, A3, A4, A5 and A6, at least one sub-condition corresponding to the rule of the 2 nd client group is B1, B2, B3, B4, B5, B6, B7, the first operand of A1 is identical to the first operand of B1, the first operand of sub-condition A2 is not identical to the first operand of sub-condition B2, the first operand of sub-condition A3 is identical to the first operand of sub-condition B3, the first operand of sub-condition A4 is identical to the first operand of sub-condition B4, the first operand of sub-condition A5 is identical to the first operand of sub-condition B6, and the first operands of sub-conditions A1, A3, A4, A5, A6 are 5 first sub-conditions, B1, B3, B4, B5 and B6 are 5 second sub-conditions.
The first sub-condition and the second sub-condition that the first operand is the same may be referred to as a group, such as: the sub-condition A1 and the sub-condition B1 are a group, the sub-condition A3 and the sub-condition B3 are a group, the sub-condition A4 and the sub-condition B4 are a group of the same, the sub-condition A5 and the sub-condition B5 are a group of the same, and the sub-condition A6 and the sub-condition B6 are a group.
Comparing whether the sub-condition A1 is identical to the sub-condition B1, whether the sub-condition A3 is identical to the sub-condition B3, whether the sub-condition A4 is identical to the sub-condition B4, whether the sub-condition A5 is identical to the sub-condition B5, and whether the sub-condition A6 is identical to the sub-condition B6, if the sub-condition A1 is identical to the sub-condition B1, the sub-condition A3 is identical to the sub-condition B3, the sub-condition A4 is identical to the sub-condition B4, the sub-condition A5 is identical to the sub-condition B5, and the sub-condition A6 is identical to the sub-condition B6, the comparison result is that the sub-condition A1 is identical to the sub-condition B1, the sub-condition A3 is identical to the sub-condition B3, the sub-condition A4 is identical to the sub-condition B4, the sub-condition A5 is identical to the sub-condition B5, and the sub-condition A6 is identical to the sub-condition B6.
The comparison process of the two sub-conditions will be described below taking as an example whether the sub-condition A1 is identical to the sub-condition B1 or not.
The first operand of the sub-condition A1 is 'age', the cycle type of the first operand is a month period, the attribute type of the first operand is a measurement class, the statistical type of the first operand is an original value, the operator is larger than, the cycle type of the second operand is null (i.e. no cycle type), the attribute type of the second operand is a constant class, and the statistical type of the second operand is an original value.
The support degree of each description information of the sub-condition A1 is obtained, and the obtained result is that the number of times of occurrence of the month period in the description information of all the rule sub-conditions is 4568, namely, the support degree of the period type of the first operand is 4568, the support degree of the attribute type of the first operand is 3054, the support degree of the statistics type of the first operand is 7562, the support degree of the operator is 864, the support degree of the period type of the second operand is 2045, the support degree of the attribute type of the second operand is 6458, and the support degree of the statistics type of the second operand is 6378.
The order of magnitude of the support is: the support degree of the statistic type of the first operand > the support degree of the attribute type of the second operand > the support degree of the statistic type of the second operand > the support degree of the cycle type of the first operand > the support degree of the attribute type of the first operand > the support degree of the cycle type of the second operand > the support degree of the operator.
Comparing the statistic type of the first operand of the sub-condition A1 with the statistic type of the first operand of the sub-condition B1, stopping the comparison if the statistic type of the first operand of the sub-condition A1 is different, indicating that the cycle type of the first operand of the sub-condition A1 is different from the cycle type of the first operand of the sub-condition B1 if the statistic type of the second operand of the sub-condition A1 is different from the attribute type of the second operand of the sub-condition B1, stopping the comparison if the statistic type of the second operand of the sub-condition A1 is different from the statistic type of the second operand of the sub-condition B1, stopping the comparison if the statistic type of the first operand of the sub-condition A1 is different from the cycle type of the first operand of the sub-condition B1, indicating that the sub-condition A1 is different from the cycle type of the first operand of the sub-condition 1 if the cycle of the first operand of the sub-condition is the first condition, comparing the attribute type of the first operand of the sub-condition A1 with the attribute type of the first operand of the sub-condition B1, if different, stopping the comparison, indicating that the sub-condition A1 and the sub-condition B1 are different, if the same, comparing the cycle type of the second operand of the sub-condition A1 with the cycle type of the second operand of the sub-condition B1, if different, stopping the comparison, indicating that the sub-condition A1 and the sub-condition B1 are not identical, if the same, comparing the second operand of the sub-condition A1 with the second operand of the sub-condition B1, if the sub-condition A1 and the sub-condition B1 are different, the comparison is stopped, and if the sub-condition A1 and the sub-condition B1 are identical, whether the second operands of the sub-condition A1 and the sub-condition B1 are identical is compared, if the sub-condition A1 and the sub-condition B1 are not identical, and if the sub-condition A1 and the sub-condition B1 are identical, the comparison is stopped.
That is, the first operand, the cycle type of the first operand, and the attribute type of the first operand of the sub-condition A1, the statistic type of the first operand, the operator, the cycle type of the second operand, the attribute type of the second operand, the statistic type of the second operand, and the second operand are the same as the first operand, the cycle type of the first operand, and the attribute type of the first operand of the sub-condition B1, the statistic type of the first operand, the operator, the cycle type of the second operand, the attribute type of the second operand, the statistic type of the second operand, and the one-to-one correspondence of the second operand are the same, and the sub-condition A1 and the sub-condition B1 are the same.
After the comparison result is that the sub-condition A1 is the same as the sub-condition B1, the sub-condition A3 is the same as the sub-condition B3, the sub-condition A4 is the same as the sub-condition B4, the sub-condition A5 is the same as the sub-condition B5, and the sub-condition A6 is the same as the sub-condition B6, the first sub-conditions A1, A3, A4, A5 and A6 are grouped according to the respective logic priorities, and the second sub-conditions B1, B3, B4, B5 and B6 are grouped according to the respective logic priorities. Wherein, whether the logic priorities of the sub-conditions are the same can be judged according to the identifications of the logic priorities in the sub-conditions in the same rule.
If the logical priorities of the first sub-conditions A1 and A3 are the same, A1, A3 are grouped into a first group, called first group, and if the logical priorities of the first sub-conditions A4, A5, A6 are the same, A4, A5, A6 are grouped into a group, also called first group, so that two first groups are obtained. If the logical priorities of the second sub-conditions B1 and B3 are the same, B1, B3, B4 are grouped into a group, called a second group, and if the logical priorities of the second sub-conditions B5, B6 are the same, B5, B6 are grouped into a group, also called a second group, thus obtaining two second groups; the first group formed by the first sub-conditions A1 and A3 is marked as a first group 1, and the first group formed by the first sub-conditions A4, A5 and A6 is marked as a first group 2; the second group of the second sub-conditions B1, B3, B4 is denoted as second group 1, and the second group of the second sub-conditions B5, B6 is denoted as second group 2.
For the first group 1 comprising the first sub-conditions A1 and A3, determining a second target group corresponding to the group, namely a second group which contains the same sub-conditions as A1 and/or A3 in the second group, wherein the first sub-condition A1 is the same as the second sub-condition B1, the first sub-condition A3 is the same as the second sub-condition B3, B1 is in the second group 1, B3 is also in the second group 1, and then the second target group corresponding to the first group 1 is the second group 1; the same method is adopted, and the second target group corresponding to the first group 2 is a second group 1 and a second group 2.
For the first group 1 and the corresponding second target group, namely the second group 1, the first group 1 comprises first sub-conditions A1 and A3, the second group 1 comprises second sub-conditions B1, B3 and B4, and since the first sub-condition A1 is identical to the second sub-condition B1 and the first sub-condition A3 is identical to the second sub-condition B3, the first sub-condition A1 is the first candidate sub-condition in the first group 1, the first sub-condition A3 is also the first candidate sub-condition in the first group, the second sub-condition B1 is the second candidate sub-condition, and the second sub-condition B3 is the second candidate sub-condition. If there is no first sub-condition in the first group 1 that is identical to the second sub-condition B4, then the second sub-condition B4 is not a second candidate sub-condition.
If the first logic of the first candidate sub-conditions A1 and A3 in the corresponding rule is OR, combining the A1 and the A3 according to the first logic OR to obtain a first public condition A1 or A3, and updating the type identifiers of the first sub-conditions A1 and A3 from a first identifier to a second identifier, wherein the first identifier is used for indicating that the corresponding sub-conditions are sub-conditions forming the public condition, and the second identifier is used for indicating that the corresponding sub-conditions are sub-conditions forming the public condition; meanwhile, if the second logic of the second candidate sub-conditions B1 and B3 in the corresponding rule is and, B1 and B1 are combined according to the second logic and to obtain second common conditions B1 and B3, and the type identifiers of the second sub-conditions B1 and B3 are updated from the first identifiers to the second identifiers.
For the first group 2 and its corresponding second target group, second group 1, the first group 2 includes first sub-conditions A4, A5 and A6, the second group 1 includes second sub-conditions B1, B3, B4, and since the first sub-condition A4 is the same as the second sub-condition B4, the first sub-condition A4 is the first candidate sub-condition in the first group 1, and the second sub-condition B4 is the second candidate sub-condition. The first group 2 has no first sub-condition identical to the second sub-condition B1, no first sub-condition identical to the second sub-condition B3, the second group 1 has no second sub-condition identical to the first sub-condition A4, and when the second sub-condition identical to the first sub-condition A5 is not present, A4 and A5 are not first candidate sub-conditions, and B1 and B3 are not second candidate sub-conditions.
At this time, since the first candidate sub-condition is only A4, the first common condition A4 is obtained, the type identifier of the first sub-condition A4 is updated from the first identifier to the second identifier, and the second candidate sub-condition is only B4, so that the second common condition B4 is obtained, and the type identifier of the second sub-condition B4 is updated from the first identifier to the second identifier.
For the first group 2 and the corresponding second target group-the second group 2, the first group 2 comprises first sub-conditions A4, A5 and A6, the second group 2 comprises second sub-conditions B5 and B6, and since the first sub-condition A5 is identical to the second sub-condition B5 and the first sub-condition A6 is identical to the second sub-condition B6, the first sub-condition A5 is the first candidate sub-condition in the first group 1, the first sub-condition A6 is also the first candidate sub-condition in the first group, the second sub-condition B5 is the second candidate sub-condition, and the second sub-condition B6 is the second candidate sub-condition. There is no first sub-condition in the second set 2 that is identical to the first sub-condition A4, then the first sub-condition A4 is not a first candidate sub-condition.
If the first logic of the first candidate sub-conditions A5 and A6 in the corresponding rule is AND, combining the A5 and the A6 according to the first logic to obtain first public conditions A5 and A6, and updating the type identifiers of the first sub-conditions A5 and A6 from the first identifier to the second identifier; meanwhile, if the second logic of the second candidate sub-conditions B5 and B6 in the corresponding rule is and, combining the second candidate sub-conditions B5 and B6 according to the second logic and to obtain second common conditions B5 and B6, and updating the type identifiers of the second candidate sub-conditions B5 and B6 from the first identifiers to the second identifiers.
Through the steps, the public condition is obtained after the rule of the 1 st client group is compared with the rule of the 2 nd client group: "A1 or A3", "B1 and B3", "A4", "B4", "A5 and A6", "B5 and B6".
According to the same method, public conditions after the comparison of the rule of the 1 st client group and the rule of the 1 st client group, public conditions after the comparison of the rule of the 1 st client group and the rule of the 4 th client group, … …, public conditions after the comparison of the rule of the 1 st client group and the rule of the N th client group are obtained; public conditions after comparing the rule of the 2 nd client group with the rule of the 3 rd client group, public conditions after comparing the rule of the 2 nd client group with the rule of the 4 th client group, … …, public conditions after comparing the rule of the 2 nd client group with the rule of the N th client group; … … the public condition after the rule of the nth customer group is compared with the rule of the n+1th customer group, … … the public condition after the rule of the nth customer group is compared with the rule of the n+2th customer group, and the public condition after the rule of the nth customer group is compared with the rule of the nth customer group; … …, the rules of the N-1 client group and the rules of the N client group are compared to obtain public conditions, and finally all public conditions are obtained to form a public condition set.
In this embodiment, at least one common condition is obtained by comparing the rules in pairs, that is, a common condition set is obtained.
Since the data of the user may change, for example, the age of the user may change in different periods, the occupation of the user may also change, and when the data of the user changes, the user corresponding to a certain client group changes, a method for acquiring the user set of the client group when the user data is updated is described below with reference to a specific embodiment.
Fig. 5 is a flowchart second of a method for obtaining a user set of a client group according to an embodiment of the present application; referring to fig. 5, the method of the present implementation includes:
step S301, according to the rules corresponding to each client group, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is at least a condition appearing in the rules corresponding to the two client groups;
step S302, for each public condition, acquiring a first user set conforming to the public condition according to user data;
step S303, for each client group, if the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a second user set conforming to the independent sub-condition according to the user data, and performing logic operation on all the first user sets and all the second user sets corresponding to the client group according to the logic corresponding to the rule of the client group, so as to obtain the target user set of the client group.
Step S304, when the user data is updated, a third user set corresponding to each public condition is obtained according to the updated user data;
step S305, for each client group, if the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, obtaining a fourth user set according to the updated user data, and performing logic operation on all third user sets and all fourth user sets corresponding to the client group according to the logic corresponding to the rule of the client group, to obtain the target user set of the client group.
Specifically, for step S301 to step S303, refer to the above embodiment, and the description thereof is omitted in this embodiment.
For step S304, for each public condition, according to the updated user data stored in the database, a third user set that meets the public condition is extracted, where each public condition corresponds to a third user set.
Such as: for the public condition 'A or B', the annual income is greater than 100 ten thousand, the sub-condition A is greater than 200 ten thousand of fixed assets, and then the third user set corresponding to the public condition 'A or B' is the third user set composed of users meeting the condition 'A or B' corresponding to the updated user data, namely the third user set composed of users meeting the condition annual income is greater than 100 ten thousand or the fixed assets is greater than 200 ten thousand.
For step S305, for each client group, if the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, a fourth user set conforming to the independent sub-condition is obtained according to the updated user data, and according to the logic corresponding to the rule of the client group, logic operation is performed on all third user sets and all fourth user sets corresponding to the client group, so as to obtain the target user set of the client group.
And if the rule of the client group does not comprise the public condition, acquiring a fourth user set corresponding to each sub-condition in the corresponding rule, and carrying out logic operation on all the fourth user sets corresponding to the client group according to the logic corresponding to the corresponding rule to obtain a target user set of the client group.
If the rule of the client group does not include the non-public condition, directly performing logic operation on the third user set corresponding to each public condition in the corresponding rule obtained in step S304 according to the logic corresponding to the corresponding rule, so as to obtain the target user set of the client group.
In this embodiment, first, public conditions repeatedly appearing in multiple client groups are extracted, no matter a certain public condition appears in rules of several client groups, only a user set corresponding to the public condition is calculated once, and when a target user set of multiple client groups including the public condition is obtained, the user set corresponding to the public condition in the corresponding rules is not required to be obtained again, thereby improving the efficiency of obtaining the user set of the client group. And secondly, when the user data is updated, updating the user set corresponding to the public condition, and further acquiring a new user set corresponding to the client group according to the user set corresponding to the updated public condition and the updated user data, without acquiring each public condition again, the efficiency of updating the user set of the client group is high.
Fig. 6 is a schematic structural diagram of an apparatus for obtaining a user set of a client group according to an embodiment of the present application; referring to fig. 5, the apparatus of the present application includes: a common condition acquisition module 51 and a user set acquisition module 52;
specifically, each client group corresponds to a rule, all users conforming to the corresponding rule form a user set of the corresponding client group, the rule is at least one composite condition and/or at least one logic combination among single conditions, the composite condition is a logic combination of a plurality of sub-conditions, and the single conditions comprise one sub-condition;
a common condition obtaining module 51, configured to obtain at least one common condition according to a rule corresponding to each client group, where the common condition includes at least one sub-condition with the same logic priority, and the common condition is a condition that at least appears in the rule corresponding to each of the two client groups;
a user set obtaining module 52, configured to obtain, for each public condition, a first user set that meets the public condition according to user data;
the user set obtaining module 52 is further configured to, for each client group, obtain, for each independent sub-condition belonging to the non-public condition in the rule of the client group, a second user set according to the user data, and perform a logic operation on all the first user sets and all the second user sets corresponding to the client group according to the logic corresponding to the rule of the client group, so as to obtain the target user set of the client group, if the rule of the client group includes at least one public condition and at least one non-public condition.
The device for acquiring the user set of the client group provided in the embodiment of the present application may execute the corresponding method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
In a possible implementation manner, the user set obtaining module 52 is further configured to, when the user data is updated, obtain a third user set corresponding to each public condition according to the updated user data;
the user set obtaining module 52 is further configured to, for each client group, obtain, for each independent sub-condition belonging to the non-public condition in the rule of the client group, a fourth user set according to the updated user data, and perform a logic operation on all third user sets and all fourth user sets corresponding to the client group according to the logic corresponding to the rule of the client group, so as to obtain the target user set of the client group, if the rule of the client group includes at least one public condition and at least one non-public condition.
In a possible implementation manner, the sub-condition includes a first operand, where the first operand is used to indicate the main body information of the sub-condition, and the total number of the client groups is N, and the common condition obtaining module 51 is specifically configured to:
Comparing the first operands of the sub-conditions corresponding to the target client group with the first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions of the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
if m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
In a possible implementation manner, the public condition obtaining module 51 is specifically configured to:
If the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
for each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
And obtaining k public conditions according to all the first public conditions and all the second public conditions.
In one possible embodiment, the sub-condition further includes: the second operand is used for indicating constraint information corresponding to the main body information; the public condition obtaining module 51 is specifically configured to:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
In a possible implementation manner, the public condition acquisition module is specifically configured to:
for the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
In a possible implementation manner, the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
if yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
In a possible implementation manner, the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
Acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
The uplink information transmission device provided in the embodiment of the present application may execute the corresponding method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
It should be noted that, it should be understood that the division of the units of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into one physical entity or may be physically separated. And these units may all be implemented in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are realized in the form of software called by the processing element and part of the units are realized in the form of hardware. For example, the transmitting unit may be a processing element that is set up separately, may be implemented integrally in a certain chip of the apparatus, or may be stored in a memory of the apparatus in a program form, and the function of the transmitting unit may be called and executed by a certain processing element of the apparatus. The implementation of the other units is similar. Furthermore, all or part of these units may be integrated together or may be implemented independently. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software. Further, the above transmission unit is a unit that controls transmission, and information can be transmitted by transmission means of the device, such as an antenna and a radio frequency device.
The above units may be one or more integrated circuits configured to implement the above methods, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital singnal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or the like. For another example, when a unit above is implemented in the form of a processing element scheduler, the processing element may be a general purpose processor, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program. For another example, the units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 7 is a schematic structural diagram of a device for acquiring a user set of a client group according to an embodiment of the present application; referring to fig. 7, the apparatus of the present application includes: an updating module 53;
an updating module 53, configured to update, after acquiring at least one common condition according to a plurality of sub-conditions corresponding to all client groups, a type identifier of the sub-condition that constitutes the corresponding common condition from a first identifier to a second identifier; the second identifier is used for indicating that the sub-condition is a sub-condition composing the public condition, and the first identifier is used for indicating that the sub-condition is a sub-condition composing the public condition.
The uplink information transmission device provided in the embodiment of the present application may execute the corresponding method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.

Claims (20)

1. A method for obtaining user set of customer group, each customer group corresponds to a rule, all users conforming to the corresponding rule form the user set of the corresponding customer group, the rule is a logic combination between at least one compound condition and/or at least one single condition, the compound condition is a logic combination of a plurality of sub-conditions, the single condition includes a sub-condition; characterized by comprising the following steps:
according to the rules corresponding to the client groups, at least one public condition is obtained, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is a condition appearing in the rules corresponding to the two client groups;
for each public condition, acquiring a first user set conforming to the public condition according to user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, acquiring a second user set conforming to the independent sub-condition according to user data, and carrying out logic operation on all first user sets and all second user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group;
The method further comprises the steps of:
when the user data is updated, acquiring a third user set corresponding to each public condition according to the updated user data;
for each client group, if the rule of the client group comprises at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group, acquiring a fourth user set conforming to the independent sub-condition according to updated user data, and carrying out logic operation on all third user sets and all fourth user sets corresponding to the client group according to logic corresponding to the rule of the client group to obtain a target user set of the client group.
2. The method of claim 1, wherein after obtaining at least one common condition from a plurality of sub-conditions corresponding to all client groups, the method further comprises:
updating the type identifiers of the sub-conditions constituting the corresponding public condition from the first identifier to the second identifier; the second identifier is used for indicating that the sub-condition is a sub-condition composing the public condition, and the first identifier is used for indicating that the sub-condition does not belong to the sub-condition composing the public condition.
3. The method according to claim 1, wherein the sub-condition includes a first operand, the first operand is used to indicate main body information of the sub-condition, and the total number of the client groups is N, and the obtaining at least one common condition according to the rule corresponding to each client group includes:
Comparing the first operands of the sub-conditions corresponding to the target client group with the first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions corresponding to the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
if m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
4. The method of claim 3, wherein the obtaining k common conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group comprises:
If the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
for each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
And obtaining k public conditions according to all the first public conditions and all the second public conditions.
5. A method according to claim 3, wherein the sub-conditions further comprise: the second operand is used for indicating constraint information corresponding to the main body information;
the determining whether the first sub-condition and the second sub-condition in the group are the same for the first sub-condition and the second sub-condition which are the same for each group of the first operands, to obtain a comparison result, includes:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
6. A method according to claim 3, wherein said determining whether the first sub-condition and the second sub-condition in the group are identical for each group of first operands is identical to obtain a comparison result comprises:
For the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
7. The method of claim 5, wherein the condition description includes a plurality of pieces of description information, and determining whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are identical includes:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
If yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
8. The method of claim 5, wherein the condition description includes a plurality of pieces of description information, and determining whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are identical includes:
acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
9. The method of any of claims 3-8, wherein the condition description includes a cycle type of the first operand, an attribute type of the first operand, a statistics type of the first operand, an operator, a cycle type of the second operand, an attribute type of the second operand, a statistics type of the second operand;
wherein the operator is to indicate a relationship between the first operand and the second operand.
10. A device for obtaining a user set of a client group, wherein each client group corresponds to a rule, all users conforming to the corresponding rule form the user set of the corresponding client group, the rule is at least one compound condition and/or logic combination among at least one single condition, the compound condition is logic combination of a plurality of sub-conditions, and the single condition comprises one sub-condition; characterized by comprising the following steps:
the public condition acquisition module is used for acquiring at least one public condition according to the rules corresponding to each client group, wherein the public condition comprises at least one sub-condition with the same logic priority, and the public condition is a condition appearing in the rules corresponding to at least two client groups;
The user set acquisition module is used for acquiring a first user set conforming to the public conditions according to the user data for each public condition;
the user set obtaining module is further configured to, for each client group, obtain, according to user data, a second user set that meets an independent sub-condition for each independent sub-condition that belongs to a non-common condition in a rule of the client group if the rule of the client group includes at least one common condition and at least one non-common condition, and perform a logic operation on all first user sets and all second user sets that correspond to the client group according to logic corresponding to the rule of the client group, to obtain a target user set of the client group;
the user set acquisition module is further used for acquiring a third user set corresponding to each public condition according to the updated user data when the user data is updated;
the user set obtaining module is further configured to obtain, for each client group, a fourth user set according to the updated user data and the logic corresponding to the rule of the client group, and perform logic operation on all third user sets and all fourth user sets corresponding to the client group, so as to obtain a target user set of the client group, where the rule of the client group includes at least one public condition and at least one non-public condition, for each independent sub-condition belonging to the non-public condition in the rule of the client group.
11. The apparatus according to claim 10, wherein the updating module is configured to update the type identifier of the sub-condition constituting the corresponding common condition from the first identifier to the second identifier after acquiring at least one common condition according to the plurality of sub-conditions corresponding to all the client groups; the second identifier is used for indicating that the sub-condition is a sub-condition composing the public condition, and the first identifier is used for indicating that the sub-condition does not belong to the sub-condition composing the public condition.
12. The apparatus according to claim 10, wherein the sub-condition includes a first operand, the first operand being used for indicating main body information of the sub-condition, and the total number of client groups is N, the common condition obtaining module is specifically configured to:
comparing the first operands of the sub-conditions corresponding to the target client group with the first operands of the sub-conditions of the nth client group to obtain m first sub-conditions corresponding to the nth client group and m second sub-conditions of the target client group; the first operands of the m first sub-conditions are the same as the first operands of the m second sub-conditions in a one-to-one correspondence, and the target client group is a client group which is not subjected to sub-condition first operand comparison with the nth client group; n=1, 2, … …, N-1, m is an integer of 0 or more;
If m is not 0, judging whether the first sub-condition and the second sub-condition in each group are the same for the first sub-condition and the second sub-condition with the same first operand in each group, and obtaining a comparison result;
and obtaining k public conditions of the rule corresponding to the nth customer group and the rule corresponding to the corresponding target customer group according to the comparison result, the logic of the rule of the nth customer group and the logic of the rule of the corresponding target customer group, wherein k is an integer greater than or equal to 0.
13. The apparatus according to claim 12, wherein the common condition acquisition module is specifically configured to:
if the comparison result is that at least one first target sub-condition exists in the m first sub-conditions and at least one second target sub-condition in the m second sub-conditions is the same in one-to-one correspondence;
then at least one first target sub-condition is divided into at least one first group and at least one second target sub-condition is divided into at least one second group; the logic priorities of the first target sub-conditions included in each first group are the same, and the logic priorities of the second target sub-conditions included in each second group are the same;
for each first group, determining at least one second target group from at least one second group, the second target group being a second group containing the same sub-condition as the sub-condition of the first group;
Extracting at least one first candidate sub-condition in each first target group corresponding to each first group, wherein sub-conditions which are the same as the first candidate sub-conditions exist in the second target groups, combining the at least one first candidate sub-condition according to a first logic to obtain a first common condition, and combining second candidate sub-conditions in the second target groups which are the same as each first candidate sub-condition according to a second logic to obtain a second common condition; wherein the first logic is logic of at least one first candidate sub-condition in a rule corresponding to the nth client group; the second logic is logic of at least one second candidate sub-condition in a rule corresponding to the corresponding target client group;
and obtaining k public conditions according to all the first public conditions and all the second public conditions.
14. The apparatus of claim 12, wherein the sub-condition further comprises: the second operand is used for indicating constraint information corresponding to the main body information;
the public condition acquisition module is specifically configured to:
for the first sub-condition and the second sub-condition that each group of first operands is the same, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, if so, judging whether the second operands of the first sub-condition and the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition in the group are the same.
15. The apparatus according to claim 12, wherein the common condition acquisition module is specifically configured to:
for the first sub-condition and the second sub-condition that the first operand of each group is the same, judging whether the second operand of the first sub-condition and the second operand of the second sub-condition in the group are the same, if so, judging whether the condition description of the first sub-condition and the condition description of the second sub-condition in the group are the same, and if so, judging that the first sub-condition and the second sub-condition of the group are the same.
16. The apparatus according to claim 14, wherein the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
randomly selecting a first descriptive information from the plurality of descriptive information of the first sub-condition in the group, judging whether the first descriptive information is identical to a corresponding second descriptive information from the plurality of descriptive information of the second sub-condition in the group, if yes, randomly selecting a third descriptive information from the plurality of descriptive information of the first sub-condition except the first descriptive information, and judging whether the third descriptive information is identical to a corresponding fourth descriptive information from the plurality of descriptive information of the second sub-condition;
If yes, repeating the comparison process of the description information of the first sub-condition and the corresponding description information of the second sub-condition until the judgment result is that the Mth description information of the first sub-condition is different from the corresponding Mth+1th description information of the second sub-condition or each description information corresponding to the first sub-condition is completely compared with the corresponding description information of the second sub-condition, wherein M is a positive integer.
17. The apparatus according to claim 14, wherein the condition description includes a plurality of pieces of description information, and the common condition acquisition module is specifically configured to:
acquiring respective support degree of each piece of descriptive information of a first sub-condition in the group, wherein the support degree is the number of times that the corresponding piece of descriptive information appears in all sub-conditions included in all rules;
and judging whether the description information of the first sub-condition is identical to the corresponding description information of the second sub-condition in the group according to the order of the support degree from small to large until the judgment result is that the description information of the first sub-condition is not identical to the corresponding description information of the second sub-condition or each description information of the first sub-condition is compared with the corresponding description information of the second sub-condition.
18. The apparatus of any of claims 12-17, wherein the condition description includes a cycle type of the first operand, an attribute type of the first operand, a statistics type of the first operand, an operator, a cycle type of the second operand, an attribute type of the second operand, a statistics type of the second operand;
wherein the operator is to indicate a relationship between the first operand and the second operand.
19. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which causes a processor to perform the method of any one of claims 1-9.
20. An apparatus for obtaining a set of users of a client group, comprising: a memory and a processor;
the memory is used for storing program instructions;
the processor being operative to invoke the program instructions stored in the memory to implement the method of any of claims 1-9.
CN201810160462.8A 2018-02-27 2018-02-27 Method and device for acquiring user set of client group Active CN110197383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810160462.8A CN110197383B (en) 2018-02-27 2018-02-27 Method and device for acquiring user set of client group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810160462.8A CN110197383B (en) 2018-02-27 2018-02-27 Method and device for acquiring user set of client group

Publications (2)

Publication Number Publication Date
CN110197383A CN110197383A (en) 2019-09-03
CN110197383B true CN110197383B (en) 2023-06-02

Family

ID=67751095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810160462.8A Active CN110197383B (en) 2018-02-27 2018-02-27 Method and device for acquiring user set of client group

Country Status (1)

Country Link
CN (1) CN110197383B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609840A (en) * 2019-09-18 2019-12-24 北京思维造物信息科技股份有限公司 User information screening method, device and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202646A1 (en) * 2010-02-14 2011-08-18 Bhatia Randeep S Policy controlled traffic offload via content smart-loading
CN104424202B (en) * 2013-08-21 2018-11-06 北大方正集团有限公司 Duplicate checking method and system are carried out to the customer information in crm system
CN106294449B (en) * 2015-05-28 2020-01-03 华为技术有限公司 Data processing method and device
CN106933889B (en) * 2015-12-31 2020-07-14 华为技术有限公司 Configuration method, display method and client for screened rules
CN106959965B (en) * 2016-01-12 2021-02-05 腾讯科技(北京)有限公司 Information processing method and server

Also Published As

Publication number Publication date
CN110197383A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
CN108564470B (en) Transaction distribution method for parallel building blocks in block chain
CN111917863B (en) Message pushing method and device, television equipment and computer storage medium
CN108304591A (en) A kind of method for customizing of label, system and terminal device
CN116069300A (en) Workflow control code generation method and device, electronic equipment and storage medium
CN110197383B (en) Method and device for acquiring user set of client group
CN111311328A (en) Method and device for determining advertisement click rate of product under advertisement channel
CN112751785B (en) Method and device for sending pending request, computer equipment and storage medium
CN112182111B (en) Block chain based distributed system layered processing method and electronic equipment
CN111324645B (en) Block chain data processing method and device
CN107209660B (en) Random number generation device and random number generation method
WO2018061219A1 (en) Job scheduling system, job scheduling method, and job scheduling device
CN109213821B (en) Data processing method and system
CN110309367B (en) Information classification method, information processing method and device
CN112650777A (en) Data warehouse manufacturing method and device, terminal equipment and computer storage medium
CN114168275B (en) Task scheduling method, system, terminal device and storage medium
JP2020052451A (en) Computer system and pattern generation method of business flow
CN116523526B (en) Client group information updating method and device, terminal equipment and storage medium
CN112433932B (en) Data processing method and device and computer storage medium
CN112181995B (en) Data processing method, device, equipment and storage medium of data table
CN112381629B (en) Method, electronic device and storage medium for order scheduling
US20230063333A1 (en) Data analysis to determine offers made to credit card customers
US20230034850A1 (en) Method to determine that a credit card number change has occurred
CN117194431A (en) Label management method, device, equipment and storage medium
CN115712851A (en) Method, device, equipment and medium for generating pseudo-line data
CN117668028A (en) SQL-based financial ledger data query method, device, equipment and 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200213

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 HUAWEI Nanjing base, 101 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Applicant before: HUAWEI SOFTWARE TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant