CN114022174A - Certificate issuing method and device, storage medium and computer equipment - Google Patents

Certificate issuing method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114022174A
CN114022174A CN202111105928.2A CN202111105928A CN114022174A CN 114022174 A CN114022174 A CN 114022174A CN 202111105928 A CN202111105928 A CN 202111105928A CN 114022174 A CN114022174 A CN 114022174A
Authority
CN
China
Prior art keywords
target
information
credential
certificate
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.)
Pending
Application number
CN202111105928.2A
Other languages
Chinese (zh)
Inventor
王强
石峰
荣飞跃
沈鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yifan Fengshun Pharmaceutical Technology Co ltd
Original Assignee
Beijing Absolute Health Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Absolute Health Ltd filed Critical Beijing Absolute Health Ltd
Priority to CN202111105928.2A priority Critical patent/CN114022174A/en
Publication of CN114022174A publication Critical patent/CN114022174A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a certificate issuing method and device, a storage medium and computer equipment, wherein the method comprises the following steps: acquiring target activity information, wherein the target activity information comprises target user information and target resource information; determining target voucher information corresponding to target scene information by using a pre-established voucher issuing model, wherein the target voucher information comprises display information, receiving condition information and use constraint information corresponding to the target voucher; and calling an entity interface corresponding to the target certificate information according to the target certificate information, and creating and releasing the target certificate corresponding to the target certificate information by using the entity interface. This application helps promoting the voucher and provides efficiency, reduces the manual work volume.

Description

Certificate issuing method and device, storage medium and computer equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a credential issuing method and apparatus, a storage medium, and a computer device.
Background
In an actual business scenario, for complex commodity types, different production enterprises, different single stores or chain stores, different purchasing channels (online entrances, offline, and the like), and even under the influence of differences of different regions, subsidized prices have certain differences.
In the prior art, coupons need to be manually configured according to a plurality of different rules, so that when subsidy activities change, a marketing system cannot flexibly expand or reuse new coupons, and the setting steps of the subsidy activities are complex and the efficiency is low.
Disclosure of Invention
In view of the above, the present application provides a credential issuing method and apparatus, a storage medium, and a computer device, which can automatically configure a new coupon meeting requirements according to rules by using a model after a subsidy is set, without requiring manual configuration by a merchant, thereby simplifying the setting step of the subsidy and improving efficiency.
According to an aspect of the present application, there is provided a credential issuing method including:
acquiring target activity information, wherein the target activity information comprises target user information and target resource information;
determining target voucher information corresponding to the target scene information by using a pre-established voucher issuing model, wherein the target voucher information comprises display information, pickup condition information and use constraint information corresponding to the target voucher;
and calling an entity interface corresponding to the target credential information according to the target credential information, and creating and issuing a target credential corresponding to the target credential information by using the entity interface.
Optionally, before the determining target credential information corresponding to the target activity information, the method further includes:
acquiring a pre-established rule set;
determining a plurality of entity interfaces according to the rule set;
and associating the rule set with the entity interface to obtain a certificate issuing model.
Optionally, the determining, by using a pre-established credential issuance model, target credential information corresponding to the target activity information specifically includes:
determining a category of each rule in the rule set, wherein the categories comprise a presentation rule, a pickup rule and a usage rule;
combining the rules according to the categories to obtain a display rule set, a pickup rule set and a use rule set;
determining a target display rule, a target receiving rule and a target using rule corresponding to the target activity information in the display rule set, the receiving rule set and the using rule set respectively by using the certificate issuing model;
determining the display information, the picking condition information and the use constraint information according to the target display rule, the target picking rule and the target use rule respectively;
and obtaining the target voucher information according to the display information, the obtaining condition information and the use constraint information.
Optionally, the invoking an entity interface corresponding to the target credential information specifically includes:
calling a receiving interface and a certificate template interface by using the certificate issuing model;
and calling an activity certificate interface according to the target activity information and the certificate template interface.
Optionally, the creating and issuing the target credential corresponding to the target credential information by using the entity interface specifically includes:
determining the application range of the target certificate according to the target activity information;
calling a target certificate template corresponding to the target activity information by using the certificate template interface according to the application range;
establishing a target activity certificate according to the target use rule by using the target certificate template;
and initializing the target activity certificate by utilizing the activity certificate interface to obtain the target certificate.
Optionally, the creating and issuing the target credential corresponding to the target credential information by using the entity interface specifically includes:
determining a target user according to the target activity information;
establishing a target pickup entry associated with the target user by using the pickup interface;
associating the target credential with the target pickup entry so that the target credential can be issued through the target pickup entry;
receiving account information through the target receiving entrance;
judging whether the account corresponding to the account information meets a target getting condition or not according to the target getting rule;
and issuing the target certificate for the account corresponding to the account information based on that the account corresponding to the account information meets the target getting condition.
Optionally, after the issuing of the target credential by using the entity interface, the method further includes:
in response to an order placing request of the target account, based on that the target account holds at least one target credential, determining a first target credential needing to be used in the at least one target credential according to the target use rule;
settling the target order corresponding to the order placing request according to the first target voucher;
and verifying and canceling the first target certificate.
According to another aspect of the present application, there is provided a credential issuing apparatus including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target activity information, and the target activity information comprises target user information and target resource information;
the computing unit is used for determining target certificate information corresponding to the target activity information by using a pre-established certificate issuing model, wherein the target certificate information comprises display information, pickup condition information and use constraint information corresponding to the target certificate;
and the issuing unit is used for calling an entity interface corresponding to the target certificate information according to the target certificate information and issuing the target certificate by using the entity interface.
Optionally, the apparatus further comprises a model establishing unit, and the model establishing unit includes:
the rule acquisition subunit is used for acquiring a pre-established rule set;
an interface determining subunit, configured to determine a plurality of entity interfaces according to the rule set;
and the first connection subunit associates the rule set with the entity interface to obtain a certificate issuing model.
Optionally, the computing unit specifically includes:
the first classification subunit is used for determining the category of each rule in the rule set, wherein the category comprises a presentation rule, a pickup rule and a use rule;
the second classification subunit is used for combining the rules according to the categories to obtain a display rule set, a pickup rule set and a use rule set;
a rule determining subunit, configured to determine, by using the credential issuance model, a target display rule, a target pickup rule, and a target usage rule corresponding to the target activity information in the display rule set, the pickup rule set, and the usage rule set, respectively;
a first information determining subunit, configured to determine the display information, the pickup condition information, and the usage constraint information according to the target display rule, the target pickup rule, and the target usage rule, respectively;
and the second information determining subunit is used for obtaining the target certificate information according to the display information, the obtaining condition information and the use constraint information.
Optionally, the issuing unit specifically includes:
the interface calling subunit is used for calling a receiving interface and a certificate template interface by using the certificate issuing model;
the interface calling subunit is further configured to call an active credential interface according to the target activity information and the credential template interface.
Optionally, the issuing unit includes:
the range determining subunit is used for determining the application range of the target certificate according to the target activity information;
the template calling subunit is used for calling a target certificate template corresponding to the target activity information by using the certificate template interface according to the application range;
the first establishing subunit is used for establishing a target activity certificate according to the target use rule by utilizing the target certificate template;
and the second establishing subunit is used for initializing the target activity certificate by utilizing the activity certificate interface to obtain the target certificate.
Optionally, the issuing unit includes:
the user determining subunit is used for determining a target user according to the target activity information;
an entry establishing subunit, configured to establish, by using the pickup interface, a target pickup entry associated with the target user;
a second link subunit, configured to associate the target credential with the target pickup entry, so that the target credential can be issued through the target pickup entry;
the receiving subunit is used for receiving account information through the target receiving entrance;
the judging subunit is used for judging whether the account corresponding to the account information meets a target getting condition or not according to the target getting rule;
and the issuing subunit is used for issuing the target certificate for the account corresponding to the account information based on that the account corresponding to the account information meets the target picking-up condition.
Optionally, the apparatus further comprises a using unit, the using unit comprising:
the certificate determining subunit is used for responding to an order placing request of the target account, determining a first target certificate needing to be used in the at least one target certificate according to the target use rule based on that the target account holds the at least one target certificate;
the settlement subunit is used for settling the target order corresponding to the order placing request according to the first target voucher;
and the verification and cancellation subunit is used for verifying and canceling the first target certificate.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the credential issuance method described above.
According to yet another aspect of the present application, there is provided a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the credential issuance method when executing the program.
By means of the technical scheme, the voucher issuing method and device, the storage medium and the computer device provided by the application can determine the target voucher information corresponding to the target activity information by using the pre-established voucher issuing model after the target activity information, namely the subsidy activity information needing to be set, namely the voucher information corresponding to the subsidy activity is determined by using the voucher issuing model, finally, according to the determined target voucher information, the entity interface corresponding to the target voucher information is called, the called interface is used for creating and issuing the target voucher, namely, according to the determined coupon information, the entity interface corresponding to the coupon information is called, and finally, the called entity interface is used for creating and issuing the coupon. The target activity information includes target user information and target resource information, that is, the information of the subsidy activity to be set includes user information capable of participating in the subsidy activity and information of goods or shops covered by the subsidy activity. The target voucher information comprises display information, getting condition information and use constraint information corresponding to the target voucher, namely the coupon information comprises related information of the display, getting conditions and use constraint of the coupon, and the information can limit accounts to which the getting entrance of the coupon can be displayed, and under which condition the coupon can be got or used.
After the subsidy activities are set, the model can be used for automatically configuring the new coupons meeting the requirements according to the rules without manual configuration of merchants, the setting steps of the subsidy activities are simplified, and the efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a credential issuing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating another credential issuance method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a relationship between a credential issuance model and an entity model of a credential issuance method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating a credential issuing device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another credential issuing device according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a credential issuing method is provided, as shown in fig. 1, the method includes:
step 101, acquiring target activity information, wherein the target activity information comprises target user information and target resource information;
the voucher issuing method provided by the embodiment of the application is mainly used for solving the problems that in the prior art, target vouchers need to be manually configured according to a plurality of different rules, and therefore when subsidy activities change, a marketing system cannot flexibly expand or reuse new target vouchers, setting steps of the subsidy activities are complex, and efficiency is low.
Based on this, in step 101, the target activity information may be obtained first, and then the credential that needs to be issued by the target activity is established and issued. The target activity information includes target user information and target resource information, that is, the set information of the subsidy activity may include user information that can participate in the subsidy activity and information of goods or stores covered by the subsidy activity.
Step 102, determining target certificate information corresponding to target activity information by using a pre-established certificate issuing model, wherein the target certificate information comprises display information, pickup condition information and use constraint information corresponding to the target certificate;
after the target activity information is obtained, the credential information corresponding to the target activity information may be determined by using the credential issuance model. In particular, different subsidy activities may require different coupons to be issued, and thus their corresponding target credential information may be different for different target activities. The certificate issuing model of the embodiment of the application is pre-established, and after the target activity information is obtained, the certificate issuing model can determine the corresponding target certificate information according to the target activity information.
Specifically, the target credential information includes presentation information, pickup condition information, and usage constraint information corresponding to the target credential, that is, the coupon information includes relevant information of the presentation, pickup condition, and usage constraint of the coupon, and these information can limit which accounts the pickup entry of the coupon can be presented to, and under which condition the coupon can be picked up or used.
Step 103, according to the target credential information, calling an entity interface corresponding to the target credential information, and creating and releasing a target credential corresponding to the target credential information by using the entity interface.
After the target certificate information is determined, the corresponding entity interface is called, and the entity interface is used for calling the related data information in the entity model, so that the target certificate is created and issued. Specifically, the number of the entity models may be multiple, each entity model has a corresponding entity interface, and data in the corresponding entity model can be called through the entity interface. The user information can be invoked, for example, through an entity interface corresponding to the user model.
Of course, those skilled in the art may determine other entity models and further determine other entity interfaces based on other contents, which is not limited herein.
By applying the technical scheme of the embodiment, after the target activity information, that is, the subsidy activity information which needs to be set, is obtained, the target voucher information corresponding to the target activity information can be determined by using the pre-established voucher issuing model, that is, the coupon information corresponding to the subsidy activity is determined by using the voucher issuing model, finally, according to the determined target voucher information, the entity interface corresponding to the target activity information is called, the target voucher is created and issued by using the called interface, that is, according to the determined coupon information, the entity interface corresponding to the coupon information is called, and finally, the coupon is created and issued by using the called entity interface.
After the subsidy activities are set, the model can be used for automatically configuring the new coupons meeting the requirements according to the rules, and the manual configuration of merchants is not available, so that the setting steps of the subsidy activities are simplified, and the efficiency is improved.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of the embodiment, another credential issuing method is provided, as shown in fig. 2, and the method includes:
step 201, obtaining target activity information, wherein the target activity information includes target user information and target resource information;
step 202, acquiring a pre-established rule set;
specifically, the rule set is established in advance, and may be established according to historical order information, actual business requirements and the like. The rule set comprises a plurality of different rules, and the target voucher information can be obtained by utilizing the rules, so that the available target voucher can be obtained through configuration.
Step 203, determining a plurality of entity interfaces according to the rule set;
from the set of rules, a number of entity interfaces needed to implement the rules are determined. For example, for a rule defining how or through which media a target credential pickup path can be exposed to which users, it can be determined that the rule can pickup a portal model, to determine that the target credential pickup path is only exposed to member users through the pickup portal model, etc., so the rule can pickup a portal model interface.
For example, the relationship of the credential issuance model to the entity model can be as shown in FIG. 3. The plurality of mockups includes a pick-up entry model, an activity model, a coupon template model (i.e., a voucher template model), an activity coupon model (i.e., an activity voucher model), a coupon model (i.e., a target voucher model), a user coupon model, and a dataset model.
Specifically, the entry in the entry model may be a page (e.g., a coupon center page, a membership joining success page, etc.), may also be a certain specific behavior of the user (e.g., behaviors such as browsing a specific commodity, successful ordering pre-ordering, successful payment, successful drug taking, etc. in an ordering process of the user), and may also be a reward for the user meeting a certain rule (e.g., purchasing a specific commodity to reach a certain preferential threshold, or using a new coupon triggers the picking of a re-purchase coupon, etc.).
The coupon template model comprises at least one coupon template, and specific coupons can be generated according to the coupon template.
In the event coupon model, an event can be associated with one or more coupon templates (for example, a new member sends a new coupon, an event can send a plurality of coupons: 5-element new coupon, 18-element new coupon, etc.), and the entity formed by the event and the coupon is the event coupon.
The coupon model can comprise a plurality of coupons, and specifically, the operator can release the activity coupons in batches, and specific coupon entities are generated during release.
The user coupon model comprises a user coupon, when the user successfully takes the coupon, the coupon is stored in a user account, namely the user coupon, and the user coupon comprises user attribution information.
The data set in the data set model refers to a set of values of the same attribute, such as a set of user IDs (Identity documents), a set of IDs of goods, and the like.
The voucher issuing model integrates the display rule, the receiving rule and the use rule, and the C-end (CLIENT-side) user can view, receive and use the coupon by using the rules
Of course, those skilled in the art may determine other entity models and further determine other entity interfaces based on other rules, which are not limited herein.
Step 204, associating the rule set with the entity interface to obtain a certificate issuing model;
since the credential issuance model needs to associate a rule set with an entity interface, the credential issuance model can invoke the entity interface, i.e., it has the capability to invoke the entity interface to invoke data information in the entity model. And the data interaction between the certificate issuing model and the entity model is realized through the association of the rule set and the entity interface.
In the embodiment, the rule is subjected to independent model design, namely, an independent certificate issuing model is designed, and a method that the whole marketing system is taken as a complete model in the existing calculation is replaced. In the practical application process, for the condition that different target certificates need to use a certain same rule, the target certificates can be configured by directly utilizing the certificate issuing model, so that the reuse of the rule is realized. Furthermore, rules are decoupled from other entity models through the certificate issuing model, so that the rules are more flexible when being expanded, and complex rule logics can be supported.
Step 205, determining the category of each rule in the rule set, wherein the category comprises a presentation rule, a pickup rule and a use rule;
the rules in the rule set may be in different categories, and in particular, the category of each rule may be a presentation rule, a pickup rule, or a usage rule. The display rule can limit information such as how the target certificate is displayed in a drawing way, the drawing rule can limit information such as which users can draw the target certificate, and the use rule can limit information such as time limit which the target certificate can be used.
Step 206, combining the rules according to the categories to obtain a display rule set, a pickup rule set and a use rule set;
after the category of each rule is determined, each rule is placed in a corresponding set according to the category. For example, each rule classified as a presentation rule is placed in a presentation rule set, each rule classified as a pickup rule is placed in a pickup rule set, and each rule classified as a usage rule is placed in a usage rule set.
Step 207, determining a target display rule, a target picking rule and a target using rule corresponding to the target activity information in the display rule set, the picking rule set and the using rule set respectively by using the certificate issuing model;
and determining a target rule corresponding to the target activity information by using the certificate issuing model, wherein the target rule comprises a target display rule, a target receiving rule and a target using rule. And determining a target display set in the display rule set, determining a target receiving rule in the receiving rule set, and determining a target using rule in the using rule set so as to establish a corresponding target certificate according to the target rule subsequently.
Step 208, determining the display information, the picking condition information and the use constraint information according to the target display rule, the target picking rule and the target use rule respectively;
after the target rule is determined, the voucher issuing model determines display information according to the target display rule, determines pickup condition information according to the target pickup rule, and determines use constraint information according to the target use rule. For example, if the target earning rule is earning only by the new user, the earning condition information corresponding to the target credential can be determined to be earning only by the new user for the target credential.
Further, the number of the target display rule, the target receiving rule and the target using rule can be multiple. For example, if the first target usage rule is only used within one week after the target credential is received, and the second target usage rule is only used on weekdays, it can be determined that the usage constraint information corresponding to the target credential is only used on weekdays within one week after the target credential is received.
Step 209, obtaining the target voucher information according to the display information, the getting condition information and the usage constraint information;
after the presentation information, the pickup condition information, and the usage constraint information are determined, the information is combined to obtain the target credential information.
In the above embodiment, the scope of each rule is classified into a presentation rule, a pickup rule, and a usage rule, where the scope of the presentation rule provides a pickup entry for the target user, the scope of the domain rule is a stage of issuing the target credential to the target user, and the scope of the usage rule is a stage of using the target credential by the target user. The voucher issuing model uses different types of rules for verification at different stages without mutual influence, so that the rules which are used more can be independently processed in a high-concurrency scene, and the stability of the system in the high-concurrency scene is ensured.
Step 210, utilizing the certificate issuing model to call a receiving interface and a certificate template interface;
the corresponding entity interface may be invoked prior to establishing and issuing the target credential. Specifically, the picking interface and the credential template interface are first called using the credential issuance model. The data information of the entrance model can be called by calling the getting interface to establish a getting entrance, so that a user can get the target certificate through the getting entrance; and the data information of the certificate template model can be called by calling the certificate template interface so as to utilize the certificate template in the certificate template model.
It should be noted that, a target credential may also be automatically issued, in this case, the target credential is automatically issued to the target account without active pickup of the target account, so that a pickup entry does not need to be established, and a pickup interface does not need to be called. In this case, only the pick-up interface needs to be called.
Step 211, calling an active certificate interface according to the target active information and the certificate template interface;
after the voucher template interface is called, the active voucher interface is called according to the target activity information and the voucher template interface, so that the target voucher can be established by using the voucher template.
In the above embodiment, the credential issuance model can invoke the entity interface corresponding to the entity model, so as to invoke the data information in the entity model through the entity interface, thereby implementing the corresponding function. On the premise of ensuring that the data interaction can be carried out between the certificate issuing model and the entity models, the certificate issuing model and the entity models are not interfered with each other, when a certain entity model is modified, other entity models do not need to be correspondingly modified, and the certificate issuing model does not need to be correspondingly modified, so that the modification or the updating of each model is more flexible.
Step 212, determining the application range of the target certificate according to the target activity information;
the application range of the target certificate can be determined according to the target activity information, wherein the application range can include commodities, merchants and the like to which the target certificate is applicable, and can also include users and the like to which the target certificate is applicable.
Step 213, according to the application range, using the credential template interface to call a target credential template corresponding to the target activity information;
a template credential template corresponding to the template activity information may be invoked as a target credential template using the credential template interface. Specifically, after determining the scope of application, which credential template to invoke may be determined according to information such as the scope of application.
Step 214, establishing a target activity certificate according to the target use rule by using the target certificate template;
and establishing a target activity voucher by using the target voucher template, and quoting a target use rule in the establishing process so that target activity voucher information corresponding to the established target activity voucher comprises use constraint information.
Step 215, initializing the target activity voucher by using the activity voucher interface to obtain the target voucher;
after the target activity voucher is established, the data information in the activity voucher entity can be called by using the activity voucher interface to process the target activity voucher so as to obtain the target voucher. Specifically, the number of the data of the active certificate may be multiple, the active certificate is a certificate that is not issued after being established, the active certificate may be initialized, that is, assigned to a default parameter of the active certificate, to obtain a target certificate, and then the target certificate is issued.
In the above embodiments, the credential issuance model builds the target credential using the target credential template according to the target usage rules. In the process of establishing the target certificate, the certificate issuing model only calls the use rule without other rules, so the other rules have no influence on the process of establishing the target certificate.
Step 216, determining a target user according to the target activity information;
and determining target user information according to the target activity information, and further determining a target user according to the target user information. The target user is a user who can obtain a target certificate.
Step 217, establishing a target getting entrance associated with the target user by using the getting interface;
the pick-up entry is a pick-up path of the target certificate, and the target pick-up entry associated with the target user is the pick-up path of the target certificate corresponding to the target user. And establishing a target getting entrance by using the getting interface, namely calling data information in the getting entrance model by using the getting interface to establish a getting path which enables a target user to obtain the target certificate, so that the target user can obtain the target certificate through the getting path.
Further, the number of the target receiving entries may be one or more, and in the case that there are a plurality of target receiving entries, the target user can obtain the target credential through any one of the target receiving entries.
Step 218, associating the target certificate with the target access port so that the target certificate can be issued through the target access port;
the target credential is associated with the target pick-up portal such that the target credential can be issued through the target pick-up portal. The target credential is associated with the target user through the target pickup entry, and specifically, since the target pickup entry is associated with the target user and the target credential is associated with the target pickup entry at the same time, the target user can acquire the target credential through the target pickup entry.
Step 219, receiving account information through the target receiving entrance;
the account information is received through the target getting-in entrance, and specifically, because the target getting-in entrance is associated with the target user, the account information received through the target getting-in entrance is the account information corresponding to the target user, that is, the account corresponding to the account information is the account of the target user.
Step 220, judging whether the account corresponding to the account information meets a target getting condition or not according to the target getting rule;
and after the account information is received, judging whether the account corresponding to the account information can receive the target voucher or not according to the target receiving rule. Specifically, the account is an account of the target user, and whether to issue the target credential is determined according to whether the account meets the target pickup condition.
Step 221, based on that the account corresponding to the account information meets the target picking-up condition, issuing the target certificate for the account corresponding to the account information;
and under the condition that the account corresponding to the account information meets the target picking-up condition, the target certificate can be issued to the account.
For an account that does not satisfy the target getting condition, although the target user corresponding to the account can obtain the getting entry, the target user cannot get the target credential.
Specifically, the pickup condition may be obtained according to the pickup rule, and the pickup condition may be one or more than one. For example, it is first determined whether the account has already received the target credential, and if the target credential has not been received, it is then determined whether the target credential exceeds the reception implementation, and if the target credential does not exceed the reception implementation, the target credential may be issued to the account. Of course, other conditions for acquisition are possible, and the present invention is not limited to this.
Furthermore, historical pickup data of the target account can be acquired by using the target pickup entrance; and optimizing the voucher issuing model according to the acquired historical pickup data.
In the above embodiment, after the target credential is established, the target pickup entry is established, and the target credential is issued to the target account through the target pickup entry. In the issuing process, the voucher issuing model can verify whether the target account can receive the target voucher or not according to the target receiving rule, the target receiving rule and other rules are not affected and are independent, so that the expansion capability is effectively improved, and other rules can be flexibly expanded or changed.
Step 222, in response to an order placing request of the target account, based on that the target account holds at least one target credential, determining a first target credential needing to be used in the at least one target credential according to the target use rule;
after receiving a ordering request of a target account, judging whether the target account holds a target certificate or not, if the target account does not have the target certificate, enabling the target account not to enjoy the discount corresponding to the target certificate; if the target account holds at least one target certificate, whether each target certificate is valid is judged according to the use rule, and the first target certificate needing to be used is determined in the valid target certificates.
Specifically, when determining whether each target voucher is valid, it may be determined whether the target voucher is within the use period, whether the target voucher can be used for goods or stores included in order information corresponding to the order placing request, whether the order amount in the order information satisfies the amount limit, and the like. Of course, the usage rule may also include other limiting conditions, and those skilled in the art may determine whether the target credential is valid according to other limiting conditions, which is not limited herein.
Specifically, when there are a plurality of valid target credentials, one first target credential may be determined, or a plurality of first target credentials may be determined. When a first target voucher is determined, an effective target voucher with the maximum discount amount can be selected as the first target voucher according to the discount amount corresponding to the target voucher; or according to the service life corresponding to the target certificate, selecting a valid target certificate with the nearest service life as the first target certificate. Of course, those skilled in the art may first select a valid target credential as the first target credential according to rules, which are not limited herein.
Step 223, settling the target order corresponding to the order placing request according to the first target voucher;
and calculating the preferential amount of the target order corresponding to the order placing request according to the first target voucher, and settling the target order according to the preferential amount.
In the case that the first target voucher is multiple, the multiple first target vouchers can be superposed to calculate the preferential amount.
Step 224, the first target credential is revoked.
After the order is settled according to the first target voucher, the first target voucher cannot be used again, so that the step of verifying can be performed. Specifically, after receiving the order placing request, the first target certificate is frozen, the order is settled and payment is completed, and after the order is approved without errors, the first target certificate is subjected to logout processing, so that the first target certificate is changed into a used state, and the target account cannot use the first target certificate again.
Further, after the receipt returning request is received, the first target credential can be restored from the used state to the unused state after the receipt returning step is completed, so that the target account can use the first target credential again.
In the above embodiment, after receiving the order placing request, the target voucher to be used is determined according to the target usage rule, and accordingly, order settlement is performed to implement the benefit subsidy.
By applying the technical scheme of the embodiment, the whole life cycle of the target credential includes four different stages of establishing, issuing, getting, and using, each stage corresponds to a different rule, that is, different rules may be used as the basis, specifically, the establishment of the target credential and the use of the target credential may be according to the target usage rule, and the issuing of the target credential and the getting of the target credential may be according to the target getting rule. Before establishing the target voucher, a target receiving entrance can be established according to the target activity information and the target display rule. The method and the device realize corresponding functions through the certificate issuing model without manual configuration of a user. The biggest difference between the application and other similar marketing systems is that the application comprises a certificate issuing model and a plurality of entity models, and data interaction between the certificate issuing model and the entity models is realized through entity interfaces. According to the method and the device, the single certificate issuing model is established according to the rules, so that the multiplexing of the rules can be realized, and the expandability of the rules can be improved. In addition, the rules are divided into different categories, namely, the rules are layered, only the rules of corresponding types are utilized in different stages, and the rules of different categories are not influenced mutually.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides a credential issuing apparatus 400, as shown in fig. 4, the apparatus includes: an acquisition unit 41, a calculation unit 42 and a dispensing unit 43.
An obtaining unit 41, configured to obtain target activity information, where the target activity information includes target user information and target resource information;
the computing unit 42 is configured to determine, by using a pre-established credential issuance model, target credential information corresponding to the target activity information, where the target credential information includes display information, pickup condition information, and usage constraint information corresponding to the target credential;
and the issuing unit 43 is configured to invoke an entity interface corresponding to the target credential information according to the target credential information, and issue the target credential by using the entity interface.
In a specific application scenario, the apparatus further includes a model establishing unit 44, where the model establishing unit 44 includes:
a rule obtaining subunit 441, configured to obtain a rule set established in advance;
an interface determining subunit 442, configured to determine a plurality of entity interfaces according to the rule set;
the first linking subunit 443 associates the rule set with the entity interface to obtain the credential issuance model.
In a specific application scenario, the calculating unit 42 specifically includes: a first classification subunit 421, a second classification subunit 422, a rule determination subunit 423, a first information determination subunit 424, and a second information determination subunit 425.
A first classification subunit 421, configured to determine a category of each rule in the rule set, where the category includes a presentation rule, a pickup rule, and a usage rule;
a second classification subunit 422, configured to combine rules according to the categories to obtain a display rule set, a pickup rule set, and a usage rule set;
a rule determining subunit 423, configured to determine, by using the credential issuance model, a target display rule, a target pickup rule, and a target usage rule corresponding to the target activity information, in the display rule set, the pickup rule set, and the usage rule set, respectively;
a first information determining subunit 424, configured to determine, according to the target display rule, the target obtaining rule, and the target using rule, display information, obtaining condition information, and using constraint information respectively;
and a second information determining subunit 425, configured to obtain the target credential information according to the display information, the obtaining condition information, and the usage constraint information.
In a specific application scenario, the issuing unit 43 includes: the interface calls subunit 431.
The interface calling subunit 431 is configured to call the pickup interface and the credential template interface by using the credential issuing model;
the interface calling subunit 431 is further configured to call the active credential interface according to the target activity information and the credential template interface.
In a specific application scenario, the issuing unit 43 includes: a range determination subunit 432, a template calling subunit 433, a first establishment subunit 434, and a second establishment subunit 435.
A scope determining subunit 432, configured to determine an application scope of the target credential according to the target activity information;
a template calling subunit 433, configured to call, according to the application range, a target credential template corresponding to the target activity information by using the credential template interface;
a first establishing subunit 434, configured to establish, by using the target credential template, a target activity credential according to the target usage rule;
a second establishing subunit 435, configured to initialize the target active credential by using the active credential interface, so as to obtain the target credential.
In a specific application scenario, the issuing unit 43 includes: a user determination subunit 436, an entry establishment subunit 437, a second connection subunit 438, a reception subunit 439, a judgment subunit 440, and a issuance subunit 441.
A user determination subunit 436, configured to determine a target user according to the target activity information;
an entry establishing subunit 437, configured to establish, by using the pickup interface, a target pickup entry associated with the target user;
a second link subunit 438, configured to associate the target credential with the target pickup entry, so that the target credential can be issued through the target pickup entry;
the receiving subunit 439 is configured to receive account information through the target pick-up portal;
a determining subunit 440, configured to determine, according to the target getting rule, whether an account corresponding to the account information meets a target getting condition;
the issuing subunit 441 is configured to issue a target credential for the account corresponding to the account information based on that the account corresponding to the account information meets the target getting condition.
In a specific application scenario, the apparatus 400 further includes a using unit 45, where the using unit 45 includes: a voucher establishment sub-unit 451, a settlement sub-unit 452 and a verification sub-unit 453.
The certificate determination subunit 451, in response to an order placing request of the target account, based on that the target account holds at least one target certificate, determines a first target certificate required to be used in the at least one target certificate according to the target usage rule;
the settlement operator unit 452 is used for settling the target order corresponding to the order placing request according to the first target voucher;
a core pin unit 453 for core-pinning the first target credential
It should be noted that, other corresponding descriptions of the functional units related to the credential issuing device 400 provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not repeated herein.
Based on the above method shown in fig. 1 and fig. 2, correspondingly, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the credential issuance method shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Based on the above methods shown in fig. 1 and fig. 2 and the virtual device embodiments shown in fig. 4 and fig. 5, in order to achieve the above object, an embodiment of the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the credential issuance method as described above in fig. 1 and 2.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. The method comprises a certificate issuing model and a plurality of entity models, and data interaction between the certificate issuing model and the entity models is realized through entity interfaces. According to the method and the device, the single certificate issuing model is established according to the rules, so that the multiplexing of the rules can be realized, and the expandability of the rules can be improved. In addition, the rules are divided into different categories, namely, the rules are layered, only the rules of corresponding types are utilized in different stages, and the rules of different categories are not influenced mutually.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred implementation scenario and that the elements or processes in the drawings are not necessarily required to practice the present application. Those skilled in the art will appreciate that elements of a device in an implementation scenario may be distributed in the device in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The units of the implementation scenario may be combined into one unit, or may be further split into a plurality of sub-units.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A credential issuance method, the method comprising:
acquiring target activity information, wherein the target activity information comprises target user information and target resource information;
determining target voucher information corresponding to the target activity information by using a pre-established voucher issuing model, wherein the target voucher information comprises display information, pickup condition information and use constraint information corresponding to the target voucher;
and calling an entity interface corresponding to the target credential information according to the target credential information, and creating and issuing a target credential corresponding to the target credential information by using the entity interface.
2. The credential issuance method according to claim 1, wherein before the determining the target credential information corresponding to the target activity information, the method further comprises:
acquiring a pre-established rule set;
determining a plurality of entity interfaces according to the rule set;
and associating the rule set with the entity interface to obtain a certificate issuing model.
3. The credential issuing method according to claim 2, wherein the determining, by using the pre-established credential issuing model, the target credential information corresponding to the target activity information specifically includes:
determining a category of each rule in the rule set, wherein the categories comprise a presentation rule, a pickup rule and a usage rule;
combining the rules according to the categories to obtain a display rule set, a pickup rule set and a use rule set;
determining a target display rule, a target receiving rule and a target using rule corresponding to the target activity information in the display rule set, the receiving rule set and the using rule set respectively by using the certificate issuing model;
determining the display information, the picking condition information and the use constraint information according to the target display rule, the target picking rule and the target use rule respectively;
and obtaining the target voucher information according to the display information, the obtaining condition information and the use constraint information.
4. The credential issuing method according to claim 2, wherein the invoking of the entity interface corresponding to the target credential information specifically includes:
calling a receiving interface and a certificate template interface by using the certificate issuing model;
and calling an activity certificate interface according to the target activity information and the certificate template interface.
5. The credential issuing method according to claim 4, wherein the creating and issuing of the target credential corresponding to the target credential information using the entity interface specifically includes:
determining the application range of the target certificate according to the target activity information;
calling a target certificate template corresponding to the target activity information by using the certificate template interface according to the application range;
establishing a target activity certificate according to the target use rule by using the target certificate template;
and initializing the target activity certificate by utilizing the activity certificate interface to obtain the target certificate.
6. The credential issuing method according to claim 4, wherein the creating and issuing of the target credential corresponding to the target credential information using the entity interface specifically includes:
determining a target user according to the target activity information;
establishing a target pickup entry associated with the target user by using the pickup interface;
associating the target credential with the target pickup entry so that the target credential can be issued through the target pickup entry;
receiving account information through the target receiving entrance;
judging whether the account corresponding to the account information meets a target getting condition or not according to the target getting rule;
and issuing the target certificate for the account corresponding to the account information based on that the account corresponding to the account information meets the target getting condition.
7. The credential issuance method according to claim 4, further comprising, after the issuing of the target credential using the entity interface:
in response to an order placing request of the target account, based on that the target account holds at least one target credential, determining a first target credential needing to be used in the at least one target credential according to the target use rule;
settling the target order corresponding to the order placing request according to the first target voucher;
and verifying and canceling the first target certificate.
8. A credential issuance apparatus, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring target activity information, and the target activity information comprises target user information and target resource information;
the computing unit is used for determining target certificate information corresponding to the target activity information by using a pre-established certificate issuing model, wherein the target certificate information comprises display information, pickup condition information and use constraint information corresponding to the target certificate;
and the issuing unit is used for calling an entity interface corresponding to the target certificate information according to the target certificate information and issuing the target certificate by using the entity interface.
9. A storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements a credential issuance method according to any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the credential issuance method of any one of claims 1 to 7 when executing the program.
CN202111105928.2A 2021-09-22 2021-09-22 Certificate issuing method and device, storage medium and computer equipment Pending CN114022174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111105928.2A CN114022174A (en) 2021-09-22 2021-09-22 Certificate issuing method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111105928.2A CN114022174A (en) 2021-09-22 2021-09-22 Certificate issuing method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN114022174A true CN114022174A (en) 2022-02-08

Family

ID=80054499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111105928.2A Pending CN114022174A (en) 2021-09-22 2021-09-22 Certificate issuing method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114022174A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022812A (en) * 2015-11-06 2016-10-12 刘翔英 Discount coupon electronized issuing, use and transaction method
CN107026838A (en) * 2016-11-18 2017-08-08 阿里巴巴集团控股有限公司 The distribution method and device of a kind of electronic certificate
CN108921591A (en) * 2018-05-31 2018-11-30 康键信息技术(深圳)有限公司 Electronic certificate dynamic creation method, server and storage medium
WO2019157983A1 (en) * 2018-02-13 2019-08-22 口碑(上海)信息技术有限公司 Transaction processing method and platform
CN112581139A (en) * 2020-12-31 2021-03-30 支付宝(杭州)信息技术有限公司 Electronic certificate issuing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022812A (en) * 2015-11-06 2016-10-12 刘翔英 Discount coupon electronized issuing, use and transaction method
CN107026838A (en) * 2016-11-18 2017-08-08 阿里巴巴集团控股有限公司 The distribution method and device of a kind of electronic certificate
WO2019157983A1 (en) * 2018-02-13 2019-08-22 口碑(上海)信息技术有限公司 Transaction processing method and platform
CN108921591A (en) * 2018-05-31 2018-11-30 康键信息技术(深圳)有限公司 Electronic certificate dynamic creation method, server and storage medium
CN112581139A (en) * 2020-12-31 2021-03-30 支付宝(杭州)信息技术有限公司 Electronic certificate issuing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李秋池: "基于微服务架构的促销系统的设计与实现", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 02, 15 February 2018 (2018-02-15), pages 138 - 925 *

Similar Documents

Publication Publication Date Title
US20220147978A1 (en) System and methods for online/offline synchronization
US11055708B2 (en) Resource deduction method and apparatus, intelligent terminal, and deduction server
US11330392B2 (en) Systems and methods for providing mobile proving ground
CN109919586B (en) Multi-layer secure mobile transaction enabled platform
US20150088753A1 (en) Method and apparatus for providing a virtual gift card system
US20130080273A1 (en) Systems and Methods for Facilitating Communication Between a Point of Sale Device and a Consumer Device
US10885505B2 (en) Managing electronic funds in a network of computing devices
CN109067582B (en) Data management system, method and device
CA2796583A1 (en) Mobile device rebate system
CN110458544B (en) Payment method and payment service system of multi-cash-register-crossing system
CN106296178A (en) Method of payment based on NFC and device
CN113179282A (en) Method and device for merging account numbers and server
CN106998314B (en) Account interaction method and device
CN110084699A (en) Polymerization, device, transaction List Table system and the storage medium of transaction record
TWI686753B (en) Payment method, device and electronic equipment
US20150347994A1 (en) Information-processing system, information-processing device, storage medium, and electronic money charging method
CN114331435A (en) Task crowdsourcing method and device based on block chain
CN110033310A (en) Quotient area management system and method
CN109345252A (en) A kind of online trading control method, device and computer equipment
WO2017101740A1 (en) Hce-based payment method and device
WO2020253714A1 (en) Data sharing method and apparatus, device and computer readable storage medium
JP6012663B2 (en) Electronic value management system and program
CN114022174A (en) Certificate issuing method and device, storage medium and computer equipment
JP2017097485A (en) Generalization device, member system, portable terminal, and method using them and program used for them
TW201502840A (en) Security information interaction system, device and method

Legal Events

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

Address after: 100102 201 / F, block C, 2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant after: Beijing Shuidi Technology Group Co.,Ltd.

Address before: 100102 201, 2 / F, block C, No.2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant before: Beijing Health Home Technology Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20240326

Address after: Room 603, 6th Floor, Building C, No. 2 Lize Middle Second Road, Chaoyang District, Beijing, 100102

Applicant after: Beijing Yifan Fengshun Pharmaceutical Technology Co.,Ltd.

Country or region after: China

Address before: 100102 201 / F, block C, 2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant before: Beijing Shuidi Technology Group Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right