User multi-dimensional data-based crowd access method, apparatus and device, and medium

By simplifying logical judgments by using embedded expressions in the crowd access system, the problems of complex and poor scalability of logical judgments in the prior art are solved, and more flexible and efficient crowd access management is achieved.

CN119128422APending Publication Date: 2024-12-13SHENZHEN YISHIHUOLALA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411108384.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The existing population access methods have complex logical judgments and poor scalability, making it difficult to deal with complex user needs and dynamic adjustment of access rules.

Method used

Using an embedded access expression based on user multi-dimensional data, a first embedded expression is generated through crowd encoding and preset configuration information, and a second embedded expression is generated based on variable value filling, and the expression is executed To achieve access judgment.

Benefits of technology

It simplifies access logic judgment, improves code readability and maintainability, supports dynamic configuration of access rules, and is more applicable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119128422A_ABST
    Figure CN119128422A_ABST
Patent Text Reader

Abstract

The invention provides a crowd access method, device and equipment based on multi-dimensional data of a user and a medium. The method comprises the following steps: receiving crowd access information; obtaining a first embeddable access expression corresponding to a crowd code according to the crowd code in the crowd access information and preset crowd configuration information; according to a variable value in the crowd admission information and the first embedded admission expression, obtaining a second embedded admission expression filled with the variable value; and executing the second embeddable access expression to obtain an access result. Compared with a traditional logic judgment statement, the admission expression is more concise and flexible, the readability and maintainability of codes are greatly improved, meanwhile, after variables are added into the admission expression, dynamic configuration of the admission expression is achieved, the admission rule can be changed according to input variable values, and the applicability is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software application technology, and in particular to a method, device, equipment and medium for crowd access based on multi-dimensional user data. Background Art

[0002] In today's society, the concept of crowd access is widely used in many fields, from the negative list of market access to community operations, to the crowd promotion settings of e-commerce platforms, all of which reflect the modern demand for accurate management and service of target groups. The purpose of setting up crowd access is to ensure that specific fields or services are only open to people who meet specific conditions, thereby ensuring the realization of multiple goals such as quality, safety and efficiency.

[0003] For example, in marketing or promotion activities, setting crowd access can ensure that the activity can attract and serve a specific target group, thereby improving the effectiveness of the activity. By clarifying the target group of the activity, the content and form of the activity can be designed more specifically, thereby increasing the attractiveness and participation of the activity. At the same time, reasonable crowd access settings can also effectively manage and control the scale of the activity. For some activities with limited resources or requiring a specific environment, the number of people can be effectively controlled through access conditions to ensure that every participant can have a good experience.

[0004] At present, the common crowd access method requires the platform to build access logic specifically according to the needs of the requester. The access logic is implemented through the combination of multiple conditions. This access logic has many shortcomings in actual application: First, when the user needs are more complex, there are many statements for combined judgment, which are easy to be confused; second, for each user's demand, the access logic must be customized separately, and it does not support dynamic customization by passing parameters, and the scalability is poor. Summary of the invention

[0005] In view of the above defects of the prior art, the present invention provides a method, device, equipment and medium for population access based on multi-dimensional user data to solve the technical problems of complex logical judgment and poor scalability.

[0006] To achieve the above-mentioned purpose and other related purposes, the present invention provides a crowd access method based on user multi-dimensional data, comprising the following steps: receiving crowd access information; obtaining a first embeddable access expression corresponding to the crowd code according to the crowd code in the crowd access information and preset crowd configuration information; obtaining a second embeddable access expression filled with the variable value according to the variable value in the crowd access information and the first embeddable access expression; executing the second embeddable access expression to obtain an access result.

[0007] In one embodiment of the present invention, the second embeddable access expression is executed to obtain an access result, including: obtaining multiple conditional checkers according to the second embeddable access expression; executing each conditional checker separately to obtain the verification result of each conditional checker; and obtaining the access result according to the verification results of all conditional checkers.

[0008] In one embodiment of the present invention, each conditional verifier is executed separately to obtain the verification result of each conditional verifier, including: obtaining user data according to the user code in the population access information; obtaining the user label value corresponding to the conditional verifier according to the label of the conditional verifier and the user data; obtaining the population label value corresponding to the conditional verifier according to the label parameter of the conditional verifier; obtaining the verification result of the user corresponding to the conditional verifier according to the user label value and the population label value.

[0009] In one embodiment of the present invention, a user label value corresponding to the conditional checker is obtained based on the label of the conditional checker and the user data, including: determining whether the label in the user data is consistent with the label of the conditional checker: if so, obtaining the user label value corresponding to the conditional checker based on the value of the label corresponding to the conditional checker in the user data; if not, generating the user label value corresponding to the conditional checker based on the label of the conditional checker and the user data.

[0010] In one embodiment of the present invention, a user label value corresponding to the conditional verifier is generated based on the label of the conditional verifier and the user data, including: obtaining a label generator based on the label of the conditional verifier and preset population configuration information; generating a user label value corresponding to the conditional verifier based on the label generator and the user data.

[0011] In one embodiment of the present invention, a verification result of the user corresponding to the condition verifier is obtained based on the user label value and the population label value, including: judging whether the user label value and the population label value are consistent: if yes, the verification result of the user corresponding to the condition verifier is compliant; if not, the verification result of the user corresponding to the condition verifier is non-compliant.

[0012] In one embodiment of the present invention, the preset population configuration information includes population codes corresponding to all admitted population requirements, a first embeddable admission expression, a label of a conditional verifier, and a label generator.

[0013] To achieve the above-mentioned purpose and other related purposes, the present invention also provides a crowd access device based on user multi-dimensional data, including: a receiving unit, used to receive crowd access information sent by a requester; an acquisition unit, used to obtain a first embeddable access expression corresponding to the crowd code according to the crowd code in the crowd access information and preset crowd configuration information; a filling unit, used to obtain a second embeddable access expression filled with variable values ​​according to the variable values ​​passed in the crowd access information and the first embeddable access expression; an execution unit, used to execute the second embeddable access expression to obtain an access result; and a sending unit, used to return the access result to the requester.

[0014] To achieve the above-mentioned purpose and other related purposes, the present invention also provides an electronic device, including a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement a method provided in any one of the above embodiments.

[0015] To achieve the above-mentioned object and other related objects, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to enable a computer to execute the method provided in any one of the above-mentioned embodiments.

[0016] Beneficial effects of the present invention: The present invention proposes a method, device, equipment and medium for population access based on multi-dimensional user data. The method performs access logic judgment by configuring an embeddable access expression. Compared with traditional logic judgment statements, the method is more concise and flexible, and the readability and maintainability of the code are greatly improved. At the same time, after adding variables to the embeddable access expression, the dynamic configuration of the embeddable access expression is realized, and the access rules can be changed according to the passed-in variable values, which is more applicable. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flow chart of a crowd admission method provided by an embodiment of the present invention;

[0019] Figure 2 A flowchart of obtaining preset crowd configuration information provided by an embodiment of the present invention;

[0020] Figure 3 A schematic diagram of a crowd configuration page provided by an embodiment of the present invention;

[0021] Figure 4 A flowchart of obtaining access results provided by an embodiment of the present invention;

[0022] Figure 5 A flowchart of obtaining a verification result provided by an embodiment of the present invention;

[0023] Figure 6 A flow chart of generating a user tag value provided by an embodiment of the present invention;

[0024] Figure 7 A complete flow chart of a crowd access method provided by an embodiment of the present invention;

[0025] Figure 8 A schematic diagram of the structure of a crowd access device provided by an embodiment of the present invention;

[0026] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0027] Explanation of the reference numerals: 101, receiving unit; 102, acquiring unit; 103, filling unit; 104, executing unit; 201, processor; 202, memory. DETAILED DESCRIPTION

[0028] The following describes the embodiments of the present invention through specific specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. It should be noted that the following embodiments and the features in the embodiments can be combined with each other without conflict. In addition to the specific methods, equipment, and materials used in the embodiments, according to the technical personnel in this technical field's grasp of the prior art and the records of the present invention, any methods, equipment, and materials of the prior art that are similar or equivalent to the methods, equipment, and materials described in the embodiments of the present invention can also be used to implement the present invention.

[0029] It should be understood that the terms used in the embodiments of the present invention are for describing specific embodiments rather than for limiting the scope of protection of the present invention. Unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those generally understood by those skilled in the art.

[0030] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In some of the embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0031] The flowchart and block diagram in the accompanying drawings illustrate the system architecture, functions and operations that may be implemented according to the methods and computer program products of various embodiments disclosed in the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, the program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0032] See also Figure 1 , Figure 1 A method for crowd access based on multi-dimensional user data is provided in accordance with an embodiment of the present invention, and includes steps S100 to S400.

[0033] Step S100, receiving crowd access information. This method is run on a server (e.g., a crowd platform), and the crowd access information may be sent by a requester, an access party, or other third party, and may include a user code, a crowd code, etc., wherein the user code is required for crowd access judgment, and may be a single user code or multiple user codes. The crowd code corresponds to the crowd based on which crowd access is judged.

[0034] Step S200, according to the crowd code in the crowd access information and the preset crowd configuration information, obtain the first embeddable access expression corresponding to the crowd code. In this step, by introducing the first embeddable expression to replace the traditional if-else statement, the amount of code can be reduced, the nested structure can be avoided, and the readability and maintainability are also greatly improved. The first embeddable access expression can be implemented, for example, using the MVEL expression. In the specific embodiments below, MVEL expressions are also used as examples. The preset crowd configuration information includes the crowd code and its corresponding first embeddable expression. Therefore, after the crowd code is obtained, the first embeddable expression can be read from the preset crowd configuration information.

[0035] See also Figure 2 In a specific embodiment of the present invention, the preset crowd configuration information includes crowd codes corresponding to all admitted crowd requirements, a first embeddable admission expression, labels of conditional validators, and a label generator. The crowd configuration information is a database stored on the crowd platform. It can be saved on the crowd platform after being constructed in the early stage, or new crowd requirements can be added later through the following steps S201 to S204.

[0036] Step S201, accepting crowd request; this crowd request can be sent by the requesting party, or by other third parties or operators. For example, you can build a crowd configuration page, such as Figure 3 As shown in the figure, taking the operator as an example, the operator can configure the crowd according to the crowd requirements on the crowd configuration page, and click Submit after the configuration is completed, and we can receive the crowd requirements. For example, the crowd requirements can select conditions such as city (Shanghai, Guangzhou), label (user current registration, number of orders completed by the user), etc., among which the number of orders completed by the user supports the use of variable n to represent the specific number of orders.

[0037] Step S202: Generate a crowd code and its corresponding first embeddable access expression according to the crowd requirement, and build a label generator for the condition checker in the first embeddable access expression. The crowd code is used to distinguish different crowds, and the crowd code corresponding to each crowd requirement is unique.

[0038] Taking the example that the crowd needs to meet the requirements of registration city in Shanghai or Guangzhou, registration on the same day, and the number of completed orders is greater than k, the first embedded access expression (MVEL expression) generated is: TagRuleFactory.getByName("REALTIME").check(tagConfig,0,userInfo,matchResult)&&TagRuleFactory.getByName("CITY").check(["1001","1002"],1,userInfo,matchResult).

[0039] In this expression, TagRuleFactory.getByName() means getting the corresponding condition validator, REALTIME is the tag, and CITY is the city. The condition validator defines the check(checkSamples,relation,userInfo,matchResult) method for specific condition verification, which contains 4 parameters. The parameter explanations are as follows: checkSamples represents the specific conditions, generic parameters, and the MVEL expression will fill in the parameters when it is executed. The city parameter directly uses the specific value, such as 1001 and 1002 for Shanghai and Guangzhou respectively. The tag parameter uses tagConfig (this value will also be saved in the crowd configuration table and will be used when executing step S400 later). The tagConfig that meets the registration on the same day and the number of completed orders is greater than k orders is as follows:

[0040] {

[0041] "contents":[{

[0042] "code":"TODAY_REGISTERED_USER",

[0043] "name":"User registered on the same day"

[0044] },{

[0045] "code":"USER_COMPLETE_ORDER", / / label code

[0046] "name":"Number of completed orders by user", / / Tag name

[0047] "variable":{ / / label variable

[0048] "n":k,

[0049] "symbol":"gt"

[0050] }

[0051] }],

[0052] "relation":0, / / The relationship between multiple tags needs to be satisfied

[0053] "type":10

[0054] }

[0055] relation expresses the relationship between label conditions, for example, 0 represents and, 1 represents or; userInfo represents the user's information, which is passed in by the interface caller; matchResult represents the result of a single validator verification, and the final population admission result is generated by this value combination.

[0056] In the above example, for example, the user data includes the CITY tag. Therefore, when executing the check() method of the TagRuleFactory.getByName("CITY") conditional validator, the user tag value can be directly obtained based on the user data and the CITY tag. However, when executing the check() method of the TagRuleFactory.getByName("REALTIME") conditional validator, the user tag value needs to be generated according to certain rules based on the user data. Therefore, in this step, a tag generator needs to be built for the conditional validator in the MVEL expression.

[0057] Step S203, save the population code and its corresponding first embeddable access expression, the label of the condition checker and its corresponding label generator as the preset population configuration information. This step is equivalent to generating a mapping between the population code and the first embeddable access expression, and a mapping between the label of the condition checker and the label generator. The mapping can be defined by enumeration, taking the label and label generator of the condition checker as an example:<UserConditionCodeEnum,RealTimeTagGenerator> realTimeTagGeneratorMap = newEnumMap<>(UserConditionCodeEnum.class); UserConditionCodeEnum represents the tag code of the specific condition checker, and RealTimeTagGenerator represents the corresponding tag generator.

[0058] Step S204, return the crowd code. After the crowd configuration information is obtained, it will be saved and the crowd code will be returned to the party that sent the crowd request. When making subsequent crowd access judgments, there is no need to pass in complex crowd requirements, only the crowd code needs to be passed in. The crowd code can be, for example, any string or number such as "Crowd 1", "GZ-SH-registered on the same day-number of completed orders>k", etc.

[0059] Step S300, according to the variable values ​​in the crowd access information and the first embeddable access expression, obtain a second embeddable access expression filled with the variable values. The crowd access information received in step S100 may include variable values, for example, variable k=3, then k in the above MVEL expression is 3, corresponding to the crowd that needs to meet the registration city in Shanghai or Guangzhou, and meet the registration on the same day, and meet the number of completed orders greater than 3. It is precisely through the variable values ​​that the variables in the MVEL expression can be modified, so that the conditions of the crowd are changed, thereby supporting the flexible configuration of multi-dimensional conditions of the crowd.

[0060] Step S400: Execute the second embeddable admission expression to obtain an admission result. Because the second embeddable admission expression is used, when performing admission judgment, there is no need to perform complex logical judgments, and only the second embeddable admission expression needs to be executed to obtain the admission result.

[0061] See also Figure 4 In a specific embodiment of the present invention, step S400 includes steps S410 to S430.

[0062] Step S410: According to the second embeddable access expression, multiple conditional verifiers are obtained. Taking the above MVEL expression as an example, two conditional verifiers can be obtained, namely TagRuleFactory.getByName("REALTIME") and TagRuleFactory.getByName("CITY").

[0063] See also Figure 5 , step S420, respectively execute each condition checker to obtain the check result of each condition checker. Execute each condition checker, that is, execute the check() method corresponding to the condition checker. In a specific embodiment of the present invention, step S420 includes steps S421 to S424.

[0064] Step S421: Obtain user data according to the user code in the crowd access information. The user code and user data may be preset in the crowd platform, and the two have a mapping relationship, and the corresponding user data may be obtained according to the user code. The user data may be stored in the crowd platform or obtained from an external application.

[0065] Step S422: According to the label of the condition checker and the user data, the user label value corresponding to the condition checker is obtained. The user data may include labels that are the same as the labels of the condition checker, such as the CITY label mentioned above. For label values ​​of more complex condition checkers, the labels in the user data are generally inconsistent with the labels of the condition checker, such as the REALTIME label mentioned above. For different labels, the steps for obtaining the user label value are different.

[0066] In a specific embodiment of the present invention, step S422 includes: determining whether the label in the user data is consistent with the label of the conditional verifier: if so, obtaining the user label value corresponding to the conditional verifier according to the value of the label corresponding to the conditional verifier in the user data, such as the above-mentioned CITY label. When the user data also includes the CITY label, the value of the label can be directly read to obtain the user label value; if not, generating the user label value corresponding to the conditional verifier according to the label of the conditional verifier and the user data, such as the above-mentioned REALTIME label. This label does not exist in the user data and needs to be generated according to certain rules by integrating multiple data in the user data.

[0067] See also Figure 6 In a specific embodiment of the present invention, a user label value corresponding to the condition verifier is generated according to the label of the condition verifier and user data, including: S4221, a label generator is obtained according to the label of the condition verifier and the preset crowd configuration information; S4222, a user label value corresponding to the condition verifier is generated according to the label generator and user data. Taking the above-mentioned REALTIME label as an example, in the step of generating the preset crowd configuration information in step S203, the REALTIME label of the condition verifier and its corresponding label generator have been saved, so the corresponding label generator can be found directly according to the label of the condition verifier. Subsequently, the user label value corresponding to the condition verifier can be generated according to the label generator and user data. For users who meet the requirements, the user label value is generated as follows:

[0068] [{

[0069] "code":"TODAY_REGISTERED_USER",

[0070] "name":"User registered on the same day"

[0071] },{

[0072] "code":"USER_COMPLETE_ORDER", / / label code

[0073] "name":"Number of completed orders by user", / / Tag name

[0074] "variable":{ / / label variable

[0075] "n":3,

[0076] "symbol":"gt"

[0077] }

[0078] }]

[0079] Step S423: Obtain the crowd tag value corresponding to the condition checker according to the tag parameter of the condition checker. The tag parameter of the condition checker, that is, tagConfig in the above example, can be directly read from the crowd configuration information.

[0080] Step S424, based on the user tag value and the crowd tag value, obtain the verification result of the user corresponding to the condition verifier. This step is automatically compared by the condition verifier during execution, and its specific comparison logic is as follows: Determine whether the user tag value and the crowd tag value are consistent: if yes, the verification result of the user corresponding to the condition verifier is consistent; if not, the verification result of the user corresponding to the condition verifier is inconsistent. The verification result will be saved in the matchResult variable of the check() method of the condition verifier.

[0081] Step S430, obtain the access result according to the verification results of all condition verifiers. There are also logical operators between the condition verifiers. When the verification result of each condition verifier is known, the result of the MVEL expression can be obtained according to the logical operation relationship between them. This result is the final population access result. Taking the above-mentioned two condition verifiers as an example, the logical operation symbol between them is "&&", and the corresponding logical operation relationship is logical AND. Therefore, only when the results of the two condition verifiers are in compliance, the final access result is to allow access. If the result of any condition verifier is not in compliance, the final access result is not to allow access.

[0082] Figure 7 A complete flow chart of a crowd access method provided in one embodiment of the present invention. From this figure, the specific process sequence in the above embodiments can be fully seen. The crowd access method is deployed on the crowd platform to execute the above steps; the access party and the external application interact with the crowd platform. It can be understood that if the user data is stored on the crowd platform, the external application may not be connected.

[0083] It should be noted that the step division of the above methods is only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0084] The following is a detailed description of the above crowd access method in combination with specific scenarios. For example, the operator needs to launch a marketing campaign to promote new users and complete orders. When configuring the activity, it is necessary to support different groups of people to complete different tasks. At this time, it is necessary to support the configuration of multi-dimensional conditions for the crowd. For example, to complete Task 1, the crowd must meet the following criteria: to complete 1 order, the registered city must be in Shanghai; to complete Task 2, the crowd must meet the following criteria: to complete 2 orders, or the registered city must be in Shanghai or Shenzhen. This multi-condition judgment can be achieved through the above crowd access method by introducing MVEL expressions. Tags such as the number of completed orders use dynamic tags, and the specific number of completed orders can be indicated by the specific variable value passed in.

[0085] See also Figure 8 , Figure 8 A crowd access device based on user multi-dimensional data provided by an embodiment of the present invention includes: a receiving unit 101, an acquisition unit 102, a filling unit 103 and an execution unit 104; wherein the receiving unit 101 is used to receive crowd access information sent by a requesting party; the acquisition unit 102 is used to obtain a first embeddable access expression corresponding to the crowd code according to the crowd code in the crowd access information and preset crowd configuration information; the filling unit 103 is used to obtain a second embeddable access expression filled with variable values ​​according to the variable values ​​passed in the crowd access information and the first embeddable access expression; the execution unit 104 is used to execute the second embeddable access expression to obtain an access result.

[0086] It should be noted that the crowd access device of this embodiment is a device corresponding to the above-mentioned crowd access method, and the functional modules in the crowd access device may correspond to the corresponding steps in the crowd access method. The crowd access device of this embodiment can be implemented in coordination with the crowd access method, that is, in the absence of conflict, the relevant technical details mentioned in the crowd access method of the above-mentioned embodiment can also be applied to the crowd access device of this embodiment.

[0087] See also Fig. 9 , Fig. 9An electronic device provided for one embodiment of the present invention includes a processor 201, a memory 202 and a communication bus; the communication bus is used to connect the processor 201 and the memory 202; the processor 201 is used to execute the computer program stored in the memory 202 to implement the above-mentioned crowd access method.

[0088] The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0089] The electronic device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0090] The electronic device may also include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.

[0091] The network where the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0092] The above-mentioned processor can be, for example, a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components; the above-mentioned memory may include random access memory (RAM), and may also include non-volatile memory (Non-volatile Memory), such as at least one disk storage.

[0093] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and the computer program is used to enable a computer to execute the above-mentioned crowd access method.

[0094] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A crowd access method based on multi-dimensional user data, characterized in that: The steps include: Receive crowd access information; According to the crowd code in the crowd access information and the preset crowd configuration information, obtaining a first embeddable access expression corresponding to the crowd code; According to the variable value in the population access information and the first embeddable access expression, a second embeddable access expression filled with the variable value is obtained; Execute the second embeddable admission expression to obtain an admission result.

2. The method for crowd access based on multi-dimensional user data according to claim 1, characterized in that: Execute the second embeddable admission expression to obtain an admission result, including: According to the second embeddable admission expression, a plurality of condition checkers are obtained; Execute each condition checker separately to obtain the check result of each condition checker; The admission result is obtained according to the verification results of all condition verifiers.

3. The method for crowd access based on multi-dimensional user data according to claim 2, characterized in that: Execute each condition checker separately to obtain the check result of each condition checker, including: Obtaining user data according to the user code in the crowd access information; According to the label of the condition checker and the user data, a user label value corresponding to the condition checker is obtained; According to the label parameter of the conditional verifier, the population label value corresponding to the conditional verifier is obtained; According to the user label value and the crowd label value, a verification result of the condition verifier corresponding to the user is obtained.

4. The method for crowd access based on multi-dimensional user data according to claim 3, characterized in that: According to the label of the condition checker and the user data, a user label value corresponding to the condition checker is obtained, including: Determine whether the label in the user data is consistent with the label of the conditional checker: If yes, obtaining a user label value corresponding to the condition checker according to the label value of the corresponding condition checker in the user data; If not, a user tag value corresponding to the condition checker is generated according to the tag of the condition checker and the user data.

5. The method for crowd access based on multi-dimensional user data according to claim 4, characterized in that: Generating a user label value corresponding to the condition checker according to the label of the condition checker and the user data, including: According to the label of the condition verifier and the preset crowd configuration information, a label generator is obtained; A user label value corresponding to the condition checker is generated according to the label generator and the user data.

6. The method for crowd access based on multi-dimensional user data according to claim 3 is characterized in that: According to the user tag value and the crowd tag value, a verification result of the user corresponding to the condition verifier is obtained, including: Determine whether the user tag value is consistent with the crowd tag value: If yes, the verification result of the user corresponding to the condition verifier is in compliance; If not, the user's verification result for the condition verifier is non-compliance.

7. The method for crowd access based on multi-dimensional user data according to claim 1, characterized in that: The preset crowd configuration information includes crowd codes corresponding to all admitted crowd requirements, a first embeddable admission expression, a label of a conditional verifier, and a label generator.

8. A crowd access device based on multi-dimensional user data, characterized in that: include: A receiving unit, used for receiving crowd access information; An acquisition unit, configured to obtain a first embeddable access expression corresponding to the crowd code according to the crowd code in the crowd access information and preset crowd configuration information; A filling unit, configured to obtain a second embeddable access expression filled with the variable value according to the variable value in the population access information and the first embeddable access expression; An execution unit is used to execute the second embeddable admission expression to obtain an admission result.

9. An electronic device, characterized in that: The method comprises a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute the computer program stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to enable a computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Object admission detection method and device, equipment and storage medium

    CN111681101A

  • Request processing method and device, electronic equipment and computer readable medium

    CN115617851A

  • Method, device and equipment for generation optimization of customer group rule and customer group delineation

    CN116610845A