CN111324338B - Customer group creation method and system - Google Patents

Customer group creation method and system Download PDF

Info

Publication number
CN111324338B
CN111324338B CN202010097379.8A CN202010097379A CN111324338B CN 111324338 B CN111324338 B CN 111324338B CN 202010097379 A CN202010097379 A CN 202010097379A CN 111324338 B CN111324338 B CN 111324338B
Authority
CN
China
Prior art keywords
guest group
group
guest
basic
rule
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
CN202010097379.8A
Other languages
Chinese (zh)
Other versions
CN111324338A (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.)
Jiangsu Biying Technology Co ltd
Jiangsu Suning Cloud Computing Co ltd
Original Assignee
Suning Cloud Computing 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 Suning Cloud Computing Co Ltd filed Critical Suning Cloud Computing Co Ltd
Priority to CN202010097379.8A priority Critical patent/CN111324338B/en
Publication of CN111324338A publication Critical patent/CN111324338A/en
Application granted granted Critical
Publication of CN111324338B publication Critical patent/CN111324338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

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

Abstract

The invention discloses a guest group creation method and a guest group creation system, comprising the following steps: creating a base guest group pool comprising at least one base guest group; creating a rule check library, wherein the rule check library comprises at least one rule checker; and creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information. Compared with the prior art, the method and the system have the advantages that firstly, the basic guest group pool formed by a plurality of basic guest groups and the rule checking library formed by a plurality of rule checking devices are created, based on different service scene requirements, the basic guest groups are selected from the basic guest group pool to be combined to obtain the specific guest groups through configuration, the rule checking devices are selected from the rule checking library to limit the specific guest groups, the specific guest groups do not need to be customized and developed according to the service scene requirements, the development workload is reduced, and the online time is shortened. The basic guest groups in the basic guest group pool and the rule verifiers in the rule checking library can be reused, repeated development is not needed, and development efficiency is improved.

Description

Customer group creation method and system
Technical Field
The invention relates to the technical field of Internet information, in particular to a guest group creation method and system.
Background
The service system defines a plurality of service scenes, each service scene has corresponding applicable guest groups, the existing method screens out specific guest groups from all guest group data through screening rules, the existing method for creating the specific guest groups is customized and developed according to service requirements, the specific guest groups are obtained through screening rules based on all guest group data, the development workload is large, and if the screening rules are changed, the development of the whole creation of the specific guest groups needs to be carried out again.
Disclosure of Invention
The embodiment of the invention provides a guest group creation method and a guest group creation system, which can obtain a specific guest group through configuration and reduce development workload.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a guest group creation method, including:
creating a base guest group pool, the base guest group pool comprising at least one base guest group;
creating a rule check library, wherein the rule check library comprises at least one rule checker;
and creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the creating, according to configuration information, a demand guest group based on the base guest group pool and the rule check library specifically includes:
selecting a basic guest group from the basic guest group pool according to the configuration information;
selecting a rule checker from the rule checking library according to configuration information;
and generating a guest group identification code, and respectively establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
acquiring a verification request of a user, wherein the verification request comprises a guest group identification code;
judging whether the user belongs to a basic guest group corresponding to the guest group identification code, and if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result;
and combining the rule verification result to obtain a verification result.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the creating a basic group pool specifically includes:
acquiring group data of a basic guest group, wherein the group data comprises a group name of the basic guest group and a user number of a user belonging to the basic guest group;
and storing the group data to obtain a basic guest group pool.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the acquiring group data of the basic guest group specifically includes:
acquiring group data of a basic guest group from an Excel resource server;
or receiving group data of the base guest group in the kafka message queue using Spark Streaming task.
In a second aspect, an embodiment of the present invention provides a guest group creation system, including:
a guest group pool module for creating a base guest group pool, the base guest group pool comprising at least one base guest group;
the rule base module is used for creating a rule checking base which comprises at least one rule checker;
and the configuration module is used for creating a demand guest group based on the basic guest group pool and the rule checking library according to the configuration information.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the configuration module includes:
a basic guest group selection unit for selecting a basic guest group from the basic guest group pool according to the configuration information;
a checker selecting unit for selecting a rule checker from the rule check library according to the configuration information;
and the association unit is used for generating a guest group identification code and establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker respectively.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the system further includes:
the request module is used for acquiring a verification request of a user, wherein the verification request comprises a guest group identification code;
the verification module is used for judging whether the user belongs to a basic guest group corresponding to the guest group identification code, and if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result;
and the result module is used for combining the rule verification result to obtain a verification result.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the guest pool module includes:
an acquisition unit configured to acquire group data of a basic guest group, the group data including a group name of the basic guest group and a user number of a user belonging to the basic guest group;
and the storage unit is used for storing the group data to obtain a basic guest group pool.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the obtaining unit further includes:
an importing subunit, configured to obtain group data of a basic guest group from an Excel resource server;
an interface subunit, configured to receive the group data of the basic group of guests in the kafka message queue by using a Spark Streaming task.
The guest group creation method and the guest group creation system provided by the embodiment of the invention can obtain the specific guest group through configuration, thereby reducing the development workload. The guest group creation method of the embodiment comprises the steps of creating a basic guest group pool, wherein the basic guest group pool comprises at least one basic guest group; creating a rule check library, wherein the rule check library comprises at least one rule checker; and creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information. Compared with the prior art, the method and the system have the advantages that firstly, the basic guest group pool formed by a plurality of basic guest groups and the rule checking library formed by a plurality of rule checking devices are created, based on different service scene requirements, the basic guest groups are selected from the basic guest group pool to be combined to obtain the specific guest groups through configuration, the rule checking devices are selected from the rule checking library to limit the specific guest groups, the specific guest groups do not need to be customized and developed according to the service scene requirements, the development workload is reduced, and the online time is shortened. The basic guest groups in the basic guest group pool and the rule verifiers in the rule checking library can be reused, repeated development is not needed, and development efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of a group management server running a group creation method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for creating a guest group according to an embodiment of the present invention;
fig. 3 is a block diagram of a guest group creation system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the drawings and detailed description for the purpose of better understanding of the technical solution of the present invention to those skilled in the art. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. Based on the embodiments of the present invention, those skilled in the art should not make any advance of the inventive work to obtain the embodiments, which are all intended to fall within the scope of the present invention.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The guest group creation method provided by the embodiment of the invention can be specifically operated in the guest group management server shown in fig. 1.
The guest group management server comprises an input unit, a processor unit, an output unit, a communication unit, a storage unit, a peripheral unit and other components. The components communicate via one or more buses. Specific:
the input unit is used for realizing interaction between the user and the guest group management server and/or inputting information into the guest group management server. For example, the input unit may receive numeric or character information input by a user to generate signal inputs related to user settings or function controls. In a specific embodiment of the present invention, the input unit may be a touch panel, or may be other man-machine interaction interfaces, such as a physical input key, a mouse, or a joystick.
The processor unit is a control center of the guest group management server, connects various parts of the whole server by various interfaces and lines, and executes or executes software programs and/or modules stored in the storage unit and invokes data stored in the storage unit to perform various functions of the guest group management server and/or process data. The processor unit may be formed by an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or a packaged IC that connects multiple ICs of the same function or different functions. For example, the processor unit may include only a central processing unit (Central Processing Unit, abbreviated as CPU), or may be a combination of a GPU, a digital signal processor (Digital Signal Processor, abbreviated as DSP), and a control chip (e.g., baseband chip) in the communication unit. In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
The communication unit is used for establishing a communication channel, so that the guest group management server is connected to the remote device through the communication channel and performs data interaction with the remote device.
The output unit includes, but is not limited to, an image output unit and a sound output unit. The image output unit is used for outputting characters, pictures and/or videos. The image output unit may include a display panel, for example, a display panel configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), a field emission display (field emission display, FED) or the like.
The storage unit may be used to store software programs and modules, and the processing unit executes the software programs and modules stored in the storage unit, thereby executing various functional applications of the guest group management server and realizing data processing. The memory unit mainly includes a program memory area and a data memory area, wherein the program memory area can store an operating system, at least one application program required for a function. In embodiments of the present invention, the Memory unit may include volatile Memory, such as nonvolatile dynamic random access Memory (Nonvolatile Random Access Memory, abbreviated as NVRAM), phase Change random access Memory (PRAM), magnetoresistive random access Memory (Magetoresistive RAM, abbreviated as MRAM), and the like, and may further include nonvolatile Memory, such as at least one magnetic disk Memory device, electrically erasable programmable read Only Memory (Electrically Erasable Programmable Read-Only Memory, abbreviated as EEPROM), flash Memory device, such as flash Memory (NORflash Memory) or flash Memory (NAND flash Memory). The nonvolatile memory stores an operating system and application programs executed by the processing unit. The processing unit loads the operating program and data from the nonvolatile memory into the memory and stores the digital content in the mass storage device.
The power supply is used to power the various components of the guest group management server to maintain its operation, including an external power supply, such as an AC adapter, that directly powers the guest group management server. In some embodiments of the present invention, the power supply may also be defined more broadly, and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with power generation, management, and distribution of the server.
The guest group creation method provided by the embodiment of the invention can comprise the following steps, as shown in fig. 2:
step S10, a basic guest group pool is created, wherein the basic guest group pool comprises at least one basic guest group;
step S20, a rule check library is created, wherein the rule check library comprises at least one rule checker;
and step S30, creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information.
The embodiment of the invention firstly forms a basic guest group pool by a plurality of basic guest groups, and forms a rule check library by a plurality of rule check devices, wherein the basic guest group combination rule check devices can be multiplexed, one or more basic guest groups are selected from the basic guest group pool according to configuration, the rule check devices selected from the rule check library are added on the basis of the basic guest groups for limiting, the demand guest groups meeting the service requirements are obtained, the development workload and the development repetition rate are reduced, the online time is accelerated, and the development efficiency is improved.
According to one embodiment of the present invention, step S10 specifically includes:
acquiring group data of a basic guest group, wherein the group data comprises a group name of the basic guest group and a user number of a user belonging to the basic guest group;
and storing the group data, (taking the user number as a primary key, and storing the group name of the basic guest group to which the user belongs in a database) to obtain a basic guest group pool.
In the embodiment of the invention, the basic guest group is a guest group formed by a plurality of users, can be a guest group maintained in each business state, can be a guest group custom developed for each business, and can also be a custom guest group. For example, the group of advanced members is a basic group, and the group of general members is a basic group, etc. And obtaining a basic guest group pool by acquiring group data of each basic guest group and storing.
Specifically, the guest group management system may receive the group data of the basic guest group sent by other systems through the Kafka interface, process the data received by the Kafka interface through the Spark Streaming task, and store the group data of the basic guest group into the Hbase database. The group data of the basic guest group can also be stored in an Excel resource server in an Excel form, and the guest group management system imports the Excel data into the Hbace database from the Excel resource server.
Preferably, the group data of the basic guest group is stored in the Hbase database with the group name of the basic guest group to which the user belongs as a column with the user number RowKey. When the group data of the new basic guest group is stored, a new user number is added or a group list of the user number is modified, and the Hbase database is updated. In such a storage mode, the user can search the group name of the basic guest group to which the user belongs for verification according to the user number during verification, so that the verification speed is increased.
In step S20, a rule checker, such as an age checker, a sex checker, a user class checker, etc., is constructed according to the check logic of the guest group check rule. The age checker is used for checking whether the age of the user accords with a preset age rule, the gender checker is used for checking whether the gender of the user accords with a preset gender rule, and the user grade checker is used for checking whether the grade of the user accords with a preset grade rule. The constructed rule checker forms a rule check library.
The embodiment of the invention builds and generates a rule checker aiming at one guest group checking rule logic, so that the rule restriction of the specific guest group defined by the service requirement can be realized by executing one or more rule checkers, and one rule checker can also be used for the rule restriction of a plurality of different specific guest groups. When a service newly defines a limit rule of a specific guest group, the limit can be realized by operating the existing rule checker, the new limit logic does not need to be independently developed, if a new rule exists, only the new rule checker is required to be developed, the development time and cost are reduced, only the code of the rule checker is required to be maintained, the maintenance is simple, and the workload is small. When defining a new specific guest group, if a rule checker in the rule checking library is available to limit the specific guest group, the selected rule checker is associated after selecting a base guest group from the base guest group pool.
According to one embodiment of the present invention, step S30 specifically includes:
step S301, selecting a basic guest group from the basic guest group pool according to the configuration information, and selecting a rule checker from the rule checking library.
Specifically, the configuration information includes a group name of the base guest group, and the base guest group is selected from the base guest group pool according to the group name. If the basic guest group does not exist in the basic guest group pool, the group data of the basic guest group is acquired first and stored and added into the basic guest group pool.
The configuration information also includes a rule checker name and a logical relationship of the rule checker, and the rule checker is selected from the rule check library according to the rule checker name. If the rule checking library does not have the rule checking device, the rule checking device is firstly constructed, and the rule checking device is added into the rule checking library.
Step S302, combining the basic guest group and the rule checker to obtain a demand guest group.
The demand group is a group meeting a certain rule and proposed by the service system. For example, the female senior member group is a demand group, a basic group of senior members is selected from a basic group pool according to the configuration information, a rule checker of a sex checker with a checking parameter of female is selected from a rule check library, and the senior members and the sex checker with the checking parameter of female form the female senior member group.
Step S303, generating a guest group identification code of the demand guest group, and establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker. The generation of the guest group identification code may be generated using a random method or according to a predetermined rule.
According to the embodiment of the invention, the basic guest group is selected from the basic guest group pool according to the configuration information of operators, the rule checker is selected from the rule check library, the rule checker is added based on the basic guest group, so that the demand guest group is obtained, the guest group identification code is generated and is used as the unique identification of the demand guest group and is provided for the peripheral system, the peripheral system positions the demand guest group through the guest group identification code, so that the peripheral system does not need to participate in guest group rule limiting processing, the information interaction between the peripheral system and the guest group management system is simple, and the development workload and development difficulty are reduced.
According to one embodiment of the present invention, further comprising:
step S401, obtaining a verification request of a user, where the verification request includes a guest group identifier.
In a specific service scene, the service system sends a verification request of a user to the guest group management system, and the guest group management system obtains a user number and a guest group identification code according to the verification request.
Step S402, judging whether the user belongs to a basic guest group corresponding to the guest group identification code, if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result.
The guest group management system finds out the corresponding basic guest group according to the guest group identification code, inquires the group name of the basic guest group to which the user number corresponds, and if the group names of the two basic guest groups are different, the user is not in the basic guest group, and the direct feedback verification is not passed to the service system. If the group names of the two basic guest groups are the same, the user belongs to the basic guest group, a rule checker corresponding to the guest group identification code is executed, and the rule checker calls an external RSF service interface to conduct rule judgment, so that a rule check result is obtained. Wherein the external RSF service interface is, for example, a payment interface, an order interface, a shopping cart interface, etc.
Step S403, combining the rule verification result to obtain a verification result.
The configuration information also comprises logic relations among the rule verifiers, and the rule verification results of the rule verifiers are subjected to logic operation according to the logic relations among the verifiers to obtain verification results which are used for being fed back to the service system.
When the user verifies whether the user belongs to the demand customer group, firstly, the customer group identification code is used for verifying whether the user belongs to the basic customer group associated with the demand customer group, if so, one or more rule verifiers associated with the demand customer group are executed, and the rule verification is carried out by executing the rule verifiers.
The following describes a specific example of a process of the guest group creation method according to the embodiment of the present invention. The instance creates a manually imported group of demand guests with a user level of two.
The group management system receives the group data of the base group of guests manually imported, and stores the group data of the base group of guests in a database, that is, joins the base group pool. And generating a specific guest group identification code according to the configuration information, and establishing a corresponding relation between the specific guest group identification code and the manually-imported basic guest group and user grade verifier. When a user enters a service scene of a service system through a client, a guest group management system receives a verification request of the user sent by the service system, judges whether the user is in a basic guest group which is manually imported again according to a specific guest group identification code and a user code, if not, sends verification failure to the service system, if so, executes a user grade checker, judges whether the user is in a second grade, and obtains a verification result. And sending the verification result to a service system as a verification result.
The guest group creation method provided by the embodiment of the invention comprises the steps of creating a basic guest group pool, wherein the basic guest group pool comprises at least one basic guest group; creating a rule check library, wherein the rule check library comprises at least one rule checker; and creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information. Compared with the prior art, the method and the system have the advantages that firstly, the basic guest group pool formed by a plurality of basic guest groups and the rule checking library formed by a plurality of rule checking devices are created, based on different service scene requirements, the basic guest groups are selected from the basic guest group pool to be combined to obtain the specific guest groups through configuration, the rule checking devices are selected from the rule checking library to limit the specific guest groups, the specific guest groups do not need to be customized and developed according to the service scene requirements, the development workload is reduced, and the online time is shortened. The basic guest groups in the basic guest group pool and the rule verifiers in the rule checking library can be reused, repeated development is not needed, and development efficiency is improved.
The embodiment of the invention also provides a guest group creation system, as shown in fig. 3, comprising:
a guest group pool module for creating a base guest group pool, the base guest group pool comprising at least one base guest group;
the rule base module is used for creating a rule checking base which comprises at least one rule checker;
and the configuration module is used for creating a demand guest group based on the basic guest group pool and the rule checking library according to the configuration information.
According to one embodiment of the invention, the configuration module comprises:
a basic guest group selection unit for selecting a basic guest group from the basic guest group pool according to the configuration information;
a checker selecting unit for selecting a rule checker from the rule check library according to the configuration information;
and the association unit is used for generating a guest group identification code and establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker respectively.
According to one embodiment of the invention, the system further comprises:
the request module is used for acquiring a verification request of a user, wherein the verification request comprises a guest group identification code;
the verification module is used for judging whether the user belongs to a basic guest group corresponding to the guest group identification code, and if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result;
and the result module is used for combining the rule verification result to obtain a verification result.
According to one embodiment of the invention, the guest pool module comprises:
an acquisition unit configured to acquire group data of a basic guest group, the group data including a group name of the basic guest group and a user number of a user belonging to the basic guest group;
and the storage unit is used for storing the group data to obtain a basic guest group pool.
According to an embodiment of the invention, the acquisition unit further comprises:
an importing subunit, configured to obtain group data of a basic guest group from an Excel resource server;
an interface subunit, configured to receive the group data of the basic group of guests in the kafka message queue by using a Spark Streaming task.
The guest group creation system provided by the embodiment of the invention can obtain the specific guest group through configuration, thereby reducing the development workload. In this embodiment, the guest group pool module creates a base guest group pool, where the base guest group pool includes at least one base guest group; the rule base module creates a rule check base which comprises at least one rule checker; and the configuration module creates a demand guest group based on the basic guest group pool and the rule check library according to the configuration information. Compared with the prior art, the method and the system have the advantages that firstly, the basic guest group pool formed by a plurality of basic guest groups and the rule checking library formed by a plurality of rule checking devices are created, based on different service scene requirements, the basic guest groups are selected from the basic guest group pool to be combined to obtain the specific guest groups through configuration, the rule checking devices are selected from the rule checking library to limit the specific guest groups, the specific guest groups do not need to be customized and developed according to the service scene requirements, the development workload is reduced, and the online time is shortened. The basic guest groups in the basic guest group pool and the rule verifiers in the rule checking library can be reused, repeated development is not needed, and development efficiency is improved.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (6)

1. A method of guest group creation, comprising:
creating a base guest group pool, the base guest group pool comprising at least one base guest group; the creating a basic guest group pool specifically comprises the following steps:
acquiring group data of a basic guest group, wherein the group data comprises a group name of the basic guest group and a user number of a user belonging to the basic guest group; storing the group data to obtain a basic guest group pool;
creating a rule check library, wherein the rule check library comprises at least one rule checker;
creating a demand guest group based on the basic guest group pool and the rule check library according to configuration information;
the creating a demand guest group based on the basic guest group pool and the rule check library according to the configuration information specifically comprises:
selecting a basic guest group from the basic guest group pool according to the configuration information, and selecting a rule checker from the rule checking library;
combining the basic guest group and the rule checker to obtain a demand guest group;
and generating a guest group identification code of the demand guest group, and respectively establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker.
2. The method according to claim 1, wherein the method further comprises:
acquiring a verification request of a user, wherein the verification request comprises a guest group identification code;
judging whether the user belongs to a basic guest group corresponding to the guest group identification code, and if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result;
and combining the rule verification result to obtain a verification result.
3. The method according to claim 1, wherein the obtaining group data of the base guest group specifically comprises:
acquiring group data of a basic guest group from an Excel resource server; or,
group data of the base guest group in the kafka message queue is received using Spark Streaming task.
4. A guest group creation system, comprising:
a guest group pool module for creating a base guest group pool, the base guest group pool comprising at least one base guest group; the guest pool module includes:
an acquisition unit configured to acquire group data of a basic guest group, the group data including a group name of the basic guest group and a user number of a user belonging to the basic guest group; the storage unit is used for storing the group data to obtain a basic guest group pool;
the rule base module is used for creating a rule checking base which comprises at least one rule checker;
the configuration module is used for creating a demand guest group based on the basic guest group pool and the rule checking library according to the configuration information;
the configuration module comprises:
a selection unit, configured to select a basic guest group from the basic guest group pool according to configuration information, and select a rule checker from the rule check library;
the combining unit is used for combining the basic guest group and the rule checker to obtain a demand guest group;
and the association unit is used for generating the guest group identification code of the demand guest group and establishing a corresponding relation between the guest group identification code and the basic guest group and the rule checker respectively.
5. The system of claim 4, wherein the system further comprises:
the request module is used for acquiring a verification request of a user, wherein the verification request comprises a guest group identification code;
the verification module is used for judging whether the user belongs to a basic guest group corresponding to the guest group identification code, and if so, executing a rule checker corresponding to the guest group identification code to obtain a rule check result;
and the result module is used for combining the rule verification result to obtain a verification result.
6. The system of claim 4, wherein the acquisition unit further comprises:
an importing subunit, configured to obtain group data of a basic guest group from an Excel resource server;
an interface subunit, configured to receive the group data of the basic group of guests in the kafka message queue by using a Spark Streaming task.
CN202010097379.8A 2020-02-17 2020-02-17 Customer group creation method and system Active CN111324338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010097379.8A CN111324338B (en) 2020-02-17 2020-02-17 Customer group creation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010097379.8A CN111324338B (en) 2020-02-17 2020-02-17 Customer group creation method and system

Publications (2)

Publication Number Publication Date
CN111324338A CN111324338A (en) 2020-06-23
CN111324338B true CN111324338B (en) 2024-03-26

Family

ID=71167080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010097379.8A Active CN111324338B (en) 2020-02-17 2020-02-17 Customer group creation method and system

Country Status (1)

Country Link
CN (1) CN111324338B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798597A (en) * 2017-10-09 2018-03-13 上海二三四五金融科技有限公司 A kind of dynamic excessive risk visitor group detection method and system
CN109558134A (en) * 2017-09-27 2019-04-02 北京京东尚科信息技术有限公司 The method and apparatus of business datum verification
CN110442424A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method and apparatus for realizing virtual machine management platform dynamic configuration rule
CN110716955A (en) * 2019-09-16 2020-01-21 苏宁云计算有限公司 Method and system for quickly responding to data query request
CN110796494A (en) * 2019-10-30 2020-02-14 北京爱笔科技有限公司 Passenger group identification method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10498548B2 (en) * 2017-05-19 2019-12-03 Slack Technologies, Inc. Method, apparatus, and computer program product for a scalable group-based communication system with a reduced client memory footprint requirement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558134A (en) * 2017-09-27 2019-04-02 北京京东尚科信息技术有限公司 The method and apparatus of business datum verification
CN107798597A (en) * 2017-10-09 2018-03-13 上海二三四五金融科技有限公司 A kind of dynamic excessive risk visitor group detection method and system
CN110442424A (en) * 2019-07-12 2019-11-12 苏州浪潮智能科技有限公司 A kind of method and apparatus for realizing virtual machine management platform dynamic configuration rule
CN110716955A (en) * 2019-09-16 2020-01-21 苏宁云计算有限公司 Method and system for quickly responding to data query request
CN110796494A (en) * 2019-10-30 2020-02-14 北京爱笔科技有限公司 Passenger group identification method and device

Also Published As

Publication number Publication date
CN111324338A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN111258725A (en) Data processing method, device, equipment and medium based on block chain
CN111741026A (en) Cross-chain transaction request processing method, device, equipment and storage medium
CN106685907B (en) A kind of generation method and device of session key
CN113055380B (en) Message processing method and device, electronic equipment and medium
CN110264147B (en) Approval chain approval method, device, terminal and storage medium
CN113382017B (en) Permission control method and device based on white list, electronic equipment and storage medium
CN102103505A (en) Method and equipment for generating workflow interface
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN113641360B (en) Configuration method, device, equipment and storage medium of system front end
CN113779528A (en) Multi-system front-end page integration method, device, equipment and medium
CN113221154A (en) Service password obtaining method and device, electronic equipment and storage medium
CN111324338B (en) Customer group creation method and system
CN112085611A (en) Asynchronous data verification method and device, electronic equipment and storage medium
CN111353811B (en) Unified resource issuing method and system
CN112257078B (en) Block chain encryption and decryption service security trusted system based on TEE technology
CN114896164A (en) Interface optimization method and device, electronic equipment and storage medium
CN114611477A (en) Design recommendation method and device for data table, electronic equipment and medium
CN114826725A (en) Data interaction method, device, equipment and storage medium
CN111158739A (en) Task checking method and device
CN111651509A (en) Data importing method and device based on Hbase database, electronic device and medium
CN116843454B (en) Channel information management method, device, equipment and medium
CN116739611B (en) Customer information tracking management method, device, equipment and medium
CN116599954B (en) Block chain-based game sharing method, device, equipment and storage medium
CN113542105B (en) Method and device for adding friends

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210042

Patentee after: Jiangsu Suning cloud computing Co.,Ltd.

Country or region after: China

Address before: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210042

Patentee before: Suning Cloud Computing Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240716

Address after: Room 3104, Building A5, No. 3 Gutan Avenue, Economic Development Zone, Gaochun District, Nanjing City, Jiangsu Province, 210000

Patentee after: Jiangsu Biying Technology Co.,Ltd.

Country or region after: China

Address before: No.1-1 Suning Avenue, Xuzhuang Software Park, Xuanwu District, Nanjing, Jiangsu Province, 210042

Patentee before: Jiangsu Suning cloud computing Co.,Ltd.

Country or region before: China