CN116562877A - Product activity information management method, device, server side and storage medium - Google Patents
Product activity information management method, device, server side and storage medium Download PDFInfo
- Publication number
- CN116562877A CN116562877A CN202310541424.8A CN202310541424A CN116562877A CN 116562877 A CN116562877 A CN 116562877A CN 202310541424 A CN202310541424 A CN 202310541424A CN 116562877 A CN116562877 A CN 116562877A
- Authority
- CN
- China
- Prior art keywords
- order
- activity
- client
- instance
- settlement
- 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
Links
- 230000000694 effects Effects 0.000 title claims abstract description 167
- 238000007726 management method Methods 0.000 title claims abstract description 33
- 238000012795 verification Methods 0.000 claims abstract description 65
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000012797 qualification Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/387—Payment using discounts or coupons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0211—Determining the effectiveness of discounts or incentives
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0236—Incentive or reward received by requiring registration or ID from user
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a product activity information management method, a device, a server and a storage medium, and relates to the technical field of information management. According to the method, the order to be settled is settled through the binding relation between the current login user of the client and the effective activity instance, which is stored in the local database, and the binding relation between the current login user of the client and the effective activity instance, which is stored in the local database, is determined according to the verification result of the activity participation qualification verification of the current login user of the client, so that the order settlement process is not required to be manually interfered, the uncertainty of the order settlement result is overcome, the condition of order omission is avoided, and the product activity participation experience of the user is ensured.
Description
Technical Field
The present invention relates to the field of information management technologies, and in particular, to a method and an apparatus for product activity information management, a server side, and a storage medium.
Background
Two common product campaign propaganda modes are adopted, one is to make a plane poster, forward the plane poster under a client manager line, and the other is to make a propaganda page and put the propaganda page into an application program for display. However, the two modes only provide propaganda display of the contents of the product activities, when the user actually places an order for the product on the relevant platform, the user can actually participate in the product activities only by adjusting the settlement mode for the order by manual intervention, otherwise, the user can only take a conventional order.
That is, settlement of orders of users participating in product activities has uncertainty, manual intervention is easy to cause the condition of order omission, timeliness of docking cannot be guaranteed, users are easy to be discontented, processing efficiency is low, and scale business cannot be dealt with.
Disclosure of Invention
The product activity information management method, the device, the server and the storage medium provided by the embodiment of the invention can overcome the uncertainty of an order settlement result, avoid the condition of missing orders and ensure the participation experience of users on the product activity.
The technical scheme of the embodiment of the invention can be realized as follows:
in a first aspect, an embodiment of the present invention provides a product activity information management method, which is applied to a server, where an activity configuration device, an order device, and a settlement device are deployed on the server, and the server is communicatively connected to a client, where the method includes:
according to the preset activity rules obtained from the activity configuration device, generating an effective activity instance corresponding to the target product, and storing the effective activity instance into a local database;
releasing the effective activity instance to the client so that a current login user of the client initiates an order creation request for the target product to the order device;
when the order device responds to the order creation request and creates an order to be settled, performing activity participation qualification verification on the current login user of the client to obtain a verification result;
according to the verification result, determining the binding relation between the current login user of the client and the effective activity instance, and storing the binding relation in the local database;
when the order device responds to an order settlement request for the order to be settled initiated by a current login user of the client, and invokes the settlement device, determining effective settlement logic of the order to be settled according to the binding relation stored in the local database, so that the settlement device settles the order to be settled based on the effective settlement logic.
Optionally, the server side is further provided with a user center device, and the order creation request includes a first ID of a current login user of the client side and a second ID of the valid activity instance;
the step of performing activity participation qualification verification on the current login user of the client to obtain a verification result comprises the following steps:
acquiring the registration time of the current login user of the client from the user center device according to the first ID;
acquiring the number of active participation times of the current login user of the client from the local database according to the first ID and the second ID;
and determining the verification result according to the registration time and the activity participation times.
Optionally, the step of determining the verification result according to the registration time and the number of active participation times includes:
acquiring a registration time limit condition and a participation frequency limit condition corresponding to the effective activity instance from the local database according to the second ID;
if the registration time meets the registration time limiting condition and the activity participation times meet the participation times limiting condition, determining that the verification result is passed;
and if the registration time does not meet the registration time limiting condition and/or the number of the activity participation does not meet the participation number limiting condition, determining that the verification result is not passed.
Optionally, the binding relationship includes a user ID, an instance ID, and an order ID, and the step of determining, according to the verification result, a binding relationship between the current login user of the client and the active instance includes:
if the verification result is passed and the user ID and the instance ID are not obtained from the local database and are respectively the binding relations to be processed of the first ID and the second ID, the first ID, the second ID and the third ID of the order to be settled are respectively used as the user ID, the instance ID and the order ID, and the binding relations between the current login user of the client and the effective activity instance are generated and stored in the local database.
Optionally, the step of determining the binding relationship between the current login user of the client and the valid activity instance according to the verification result further includes:
and if the verification result is that the to-be-processed binding relation is passed and the to-be-processed binding relation is obtained from the local database, modifying the order ID of the to-be-processed binding relation into the third ID to obtain the binding relation between the current login user of the client and the effective activity instance.
Optionally, the order settlement request includes a third ID of the order to be settled, and the binding relationship includes an instance ID and an order ID;
the step of determining the effective settlement logic of the order to be settled according to the binding relation stored in the local database comprises the following steps:
if the target binding relation of the order ID as the third ID is obtained from the local database, obtaining settlement logic corresponding to the effective activity instance from the local database according to the instance ID of the target binding relation;
and determining the effective settlement logic as the settlement logic corresponding to the effective activity instance.
Optionally, the step of determining the effective settlement logic of the order to be settled according to the binding relationship stored in the local database further includes:
and if the target binding relation of the order ID as the third ID is not obtained from the local database, determining the effective settlement logic as a preset default logic.
In a second aspect, an embodiment of the present invention provides a product activity information management device, which is applied to a server, where the server is deployed with an activity configuration device, an order device and a settlement device, and the server is communicatively connected with a client, and the product activity information management device includes:
the generation module is used for generating an effective activity instance corresponding to the target product according to the preset activity rule acquired from the activity configuration device and storing the effective activity instance into a local database;
the release module is used for releasing the effective activity instance to the client so that a current login user of the client initiates an order creation request for the target product to the order device;
the verification module is used for performing activity participation qualification verification on the current login user of the client side when the order device responds to the order creation request and creates an order to be settled, so as to obtain a verification result;
the determining module is used for determining the binding relation between the current login user of the client and the effective activity instance according to the verification result and storing the binding relation to a local database;
and the settlement module is used for determining the effective settlement logic of the order to be settled according to the binding relation stored in the local database when the order device responds to the order settlement request for the order to be settled initiated by the current login user of the client and invokes the settlement device, so that the settlement device settles the order to be settled based on the effective settlement logic.
In a third aspect, an embodiment of the present invention provides a server, which includes a memory and a processor, where the memory stores a computer program, and the computer program implements the product activity information management method according to the foregoing first aspect when executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the product activity information management method according to the foregoing first aspect.
Compared with the prior art, the product activity information management method applied to the server provided by the embodiment of the invention firstly generates an effective activity instance corresponding to a target product according to the activity rule acquired from the activity configuration device, and stores the effective activity instance into the local database; then, issuing an effective activity instance to the client so that a current login user of the client initiates an order creation request for a target product to the order device; when an order device responds to an order creation request and creates an order to be settled, performing activity participation qualification verification on a current login user of a client to obtain a verification result; then, according to the verification result, determining the binding relation between the current login user of the client and the effective activity instance, and storing the binding relation in a local database; and finally, when the order device responds to an order settlement request for an order to be settled initiated by a current login user of the client, and the settlement device is called, determining effective settlement logic of the order to be settled according to the binding relation stored in the local database, so that the settlement device settles the order to be settled based on the effective settlement logic. According to the embodiment of the invention, the order to be settled is settled through the binding relation between the current login user of the client and the effective activity instance stored in the local database, and the binding relation between the current login user of the client and the effective activity instance stored in the local database is determined according to the verification result of the activity participation qualification verification of the current login user of the client, so that the order settlement process is not required to be manually interfered, the uncertainty of the order settlement result is overcome, the condition of order omission is avoided, and the user is ensured to participate in the product activity.
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 will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic flow chart of a product activity information management method according to an embodiment of the present invention;
fig. 3 is a second flow chart of a product activity information management method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for managing product activity information according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a product activity information management apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram illustrating a structure of a server according to an embodiment of the present invention.
Icon: 100-a product activity information management device; 101-a generation module; 102-a release module; 103-a verification module; 104-determining a module; 105-a settlement module; 200-a server side; 210-memory; 220-processor.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In order to overcome uncertainty in order settlement process, avoid missing of order, and ensure user to participate in product activity experience, the embodiment of the invention provides a product activity information management method applied to a server in fig. 1, and the method is described in detail below.
As shown in fig. 1, the server is communicatively connected to the client, and an activity configuration device, an order device, a settlement device, a user center device, and a product activity information management device in the form of software are deployed on the server, wherein the product activity information management device is integrated by a program of a product activity information management method described below.
The local database of the server is used for maintaining all data generated by the activity configuration device, the order device, the settlement device, the user center device and the product activity information management device.
The server may be an independent computer device, a cluster formed by a plurality of computer devices, a storage array, or the like.
The client can receive the product activity push content sent by the server and display the product activity push content on the interactive interface. The client can be a mobile phone, a tablet computer or a notebook computer, etc.
Referring to fig. 2, the product activity information management method includes steps S101 to S105.
S101, generating an effective activity instance corresponding to the target product according to the preset activity rule acquired from the activity configuration device, and storing the effective activity instance into a local database.
The preset activity rule comprises five aspects of contents, namely, fee discount/benefit (the fee comprises service fee, interest rate, warehouse fee and logistics fee), html code of an activity poster page, participation time limit condition, product entry address pointed by the activity and registration time limit condition.
Illustratively, assume that the rule name of an activity rule is new activity rule 1, whose rule content is as follows:
for the target product1, the fuzzy screening condition of the rule name can be transmitted by calling an activity rule list interface of the activity configuration device: and (3) acquiring an activity rule with a rule name of 'new activity rule 1', copying the activity rule, and generating an effective activity instance corresponding to the product1, wherein the instance ID is 11.
S102, issuing an effective activity instance to the client so that a current login user of the client initiates an order creation request for a target product to the order device.
The method comprises the steps that an active poster page is displayed on a display interface of a client, and when a current login user clicks the active poster page, the current login user jumps to a product ordering page according to a product entry address pointed by an activity.
The current login user can initiate an order creation request to the order device by clicking a related control on the product order placing page, so that the order device creates an order to be settled for the target product.
For example, assuming that the instance ID of the active instance issued by the server to the client is 11, the corresponding target product is product1, when the current login user clicks on the active poster page, the current login user jumps to the product order page of product1 according to the address "https:// www.xxx.com/product 1/range".
The current login user can initiate an order creation request to the order device by clicking a related control on the product placement page of the product1, so that the order device creates an order to be settled for the product 1.
S103, when the order device responds to the order creation request and creates an order to be settled, the current login user of the client side is subjected to activity participation qualification verification, and a verification result is obtained.
Wherein the order creation request contains a first ID of the current logged-in user of the client and a second ID of the active instance.
It will be appreciated that the first ID is the user ID of the currently logged-in user and the second ID is the instance ID of the active instance.
Referring to fig. 3, the implementation process of step S103 may be as follows:
s103-1, acquiring the registration time of the current login user of the client from the user center device according to the first ID.
In the embodiment of the invention, the first ID is transmitted to the user center device, so that the user center device queries a local database according to the first ID to return the registration time of the current login user.
S103-2, according to the first ID and the second ID, acquiring the number of active participation times of the current login user of the client from a local database.
In the embodiment of the invention, after each order settlement is completed, one activity participation record is stored, and each activity participation record contains a user ID and an instance ID, so that the number of the activity participation records of the current login user can be determined by inquiring the number of the activity participation records with the user ID being a first ID and the instance ID being a second ID.
S103-3, determining a verification result according to the registration time and the activity participation times.
The implementation process of step S103-3 may be as follows:
s103-3-1, acquiring registration time limit conditions and participation times limit conditions corresponding to the valid activity examples from the local database according to the second ID.
Because a plurality of activity examples are stored in the local database, and the activity example with the example ID being the second ID is the effective activity example published on the client, the registration time limit condition and the participation frequency limit condition corresponding to the effective activity example can be obtained by inquiring the activity example with the example ID being the second ID.
Illustratively, assuming that the second ID is 11, since the activity instance with instance ID of 11 stored in the local database is generated according to the activity rule with rule name "new activity rule 1", the registration time limit condition is "registration time is 30 days or less", and the participation count limit condition is "no more than 3 times per user".
S103-3-2, if the registration time meets the registration time limiting condition and the number of the active participation times meets the participation time limiting condition, determining that the verification result is passed.
For example, assuming that the acquired registration time of the current login user is 10 days, the number of active participation is 2, the registration time limit condition corresponding to the active instance with the instance ID of 11 is "registration time is 30 days or less", and the participation number limit condition is "no more than 3 users per user".
Because the registration time of the current login user does not exceed 30 days, the registration time limiting condition is met, the number of the participation times of the activity does not exceed 3, and the participation time limiting condition is met, the current login user has the qualification of participating in the activity, and accordingly, the verification result is passed.
S103-3-3, if the registration time does not meet the registration time limiting condition and/or the number of the active participation does not meet the participation number limiting condition, determining that the verification result is not passed.
For example, assuming that the acquired registration time of the current login user is 43 days, the number of active participation is 2, the registration time limit condition corresponding to the active instance with the instance ID of 11 is "30 days or less", and the participation number limit condition is "3 times per user".
Although the number of participation of the activity does not exceed 3, the participation limit condition is satisfied, but the registration time of the current login user exceeds 30 days, and the registration time limit condition is not satisfied, so the current login user does not qualify to participate in the activity, and accordingly, the verification result is failed.
S104, according to the verification result, determining the binding relation between the current login user of the client and the effective activity instance, and storing the binding relation in a local database.
Wherein the binding relationship includes a user ID, an instance ID, and an order ID.
In the embodiment of the present invention, the implementation process of step S104 has the following two cases:
if the verification result is passed and the pending binding relation of the user ID and the instance ID, which are the first ID and the second ID, is not obtained from the local database, the first ID, the second ID and the third ID of the order to be settled are respectively used as the user ID, the instance ID and the order ID, and the binding relation of the current login user of the client and the effective activity instance is generated and stored in the local database.
And secondly, if the verification result is that the binding relationship to be processed is passed and is obtained from the local database, modifying the order ID of the binding relationship to be processed into a third ID to obtain the binding relationship between the current login user of the client and the effective activity instance.
It will be appreciated that the order ID of the pending binding relationship is not the third ID, meaning that the current logged-in user of the client has previously completed order settlement for the relevant activity if the pending binding relationship exists in the local database.
Accordingly, if the pending binding relationship does not exist in the local database, this means that the current logged-in user of the client has never completed order settlement for the relevant activity before.
It should be noted that, when the verification result is not passed, no processing is performed regardless of whether or not there is a binding relationship in the local database in which the user ID and the instance ID are the first ID and the second ID, respectively.
S105, when the order device responds to an order settlement request for an order to be settled initiated by a current login user of the client, and invokes the settlement device, determining effective settlement logic of the order to be settled according to a binding relation stored in a local database, so that the settlement device settles the order to be settled based on the effective settlement logic.
The order settlement request comprises a third ID of an order to be settled, and the binding relation comprises an instance ID and an order ID.
Referring to fig. 4, the implementation process of step S105 may be as follows:
s105-1, if the target binding relation with the order ID of the third ID is obtained from the local database, obtaining settlement logic corresponding to the effective activity instance from the local database according to the instance ID of the target binding relation.
S105-2, determining the effective settlement logic as the settlement logic corresponding to the effective activity instance.
Illustratively, assuming that the instance ID included in the target binding relationship is 11 and the activity instance with the instance ID of 11 is generated according to the activity rule with the rule name of "new activity rule 1", the relevant content of "discount/offer" of the activity rule with the rule name of "new activity rule 1" is taken as the settlement logic of the order to be settled, namely, service fee total exemption, interest rate 9 discount, warehouse fee 8 discount and logistic fee exemption 400 yuan.
S105-3, if the target binding relation with the order ID being the third ID is not obtained from the local database, determining the effective settlement logic as a preset default logic.
Along with the above example, the default logic may be that the service fee is not deducted, the interest rate is not discounted, the warehouse fee is not discounted, and the logistic fee is not deducted.
In order to perform the corresponding steps in the above method embodiments and various possible implementations, a product activity information management apparatus 100 applied to a server is given below.
Referring to fig. 5, the product activity information management apparatus 100 includes a generating module 101, a publishing module 102, a verifying module 103, a determining module 104 and a settlement module 105.
The generating module 101 is configured to generate an effective activity instance corresponding to the target product according to the preset activity rule acquired from the activity configuration device, and store the effective activity instance to the local database.
And the release module 102 is used for releasing the valid activity instance to the client so that the current login user of the client initiates an order creation request for the target product to the order device.
And the verification module 103 is used for performing activity participation qualification verification on the current login user of the client side when the order device responds to the order creation request and creates an order to be settled, so as to obtain a verification result.
And the determining module 104 is configured to determine, according to the verification result, a binding relationship between the current login user of the client and the valid activity instance, and store the binding relationship in the local database.
And the settlement module 105 is used for determining the effective settlement logic of the order to be settled according to the binding relation stored in the local database when the order device responds to the order settlement request for the order to be settled initiated by the current login user of the client and invokes the settlement device, so that the settlement device settles the order to be settled based on the effective settlement logic.
Optionally, the order creation request contains a first ID of the current logged-in user of the client and a second ID of the active instance; the verification module 103 is specifically configured to obtain, from the user center device, a registration time of a current login user of the client according to the first ID; acquiring the number of active participation times of the current login user of the client from a local database according to the first ID and the second ID; and determining a verification result according to the registration time and the number of the active participation times.
Optionally, the verification module 103 is specifically configured to obtain, when determining a verification result according to the registration time and the number of participation times, a registration time limitation condition and a participation time limitation condition corresponding to the valid activity instance from the local database according to the second ID; if the registration time meets the registration time limiting condition and the number of the active participation times meets the participation time limiting condition, determining that the verification result is passed; if the registration time does not meet the registration time limit condition and/or the number of active participation does not meet the participation number limit condition, the verification result is determined to be failed.
Optionally, the binding relationship includes a user ID, an instance ID, and an order ID, and the determining module 104 is specifically configured to, if the verification result is passed and the binding relationship to be processed that the user ID and the instance ID are the first ID and the second ID are not obtained from the local database, respectively, use the first ID, the second ID, and the third ID of the order to be settled as the user ID, the instance ID, and the order ID, generate a binding relationship between the current logged-in user of the client and the active instance, and store the binding relationship to the local database.
Optionally, the determining module 104 is further specifically configured to modify an order ID of the pending binding relationship to a third ID if the verification result is passed and the pending binding relationship is obtained from the local database, so as to obtain a binding relationship between the current login user of the client and the active instance.
Optionally, the order settlement request includes a third ID of the order to be settled, and the binding relationship includes an instance ID and an order ID; the settlement module 105 is specifically configured to obtain, if a target binding relationship with an order ID being a third ID is obtained from the local database, settlement logic corresponding to an active instance from the local database according to an instance ID of the target binding relationship; and determining the effective settlement logic as the settlement logic corresponding to the effective activity instance.
Optionally, the settlement module 105 is further specifically configured to determine the valid settlement logic as the preset default logic if the target binding relationship with the order ID of the third ID is not obtained from the local database.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the product activity information management apparatus 100 described above may refer to the corresponding process in the foregoing method embodiment, and will not be described herein again.
Further, in the embodiment of the present invention, a server 200 is further provided, referring to fig. 6, the server 200 may further include a memory 210 and a processor 220.
The processor 220 may be a general-purpose central processing unit (Central Processing Unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the product activity information management method provided by the above method embodiment.
The MEMory 210 may be, but is not limited to, ROM or other type of static storage device that can store static information and instructions, RAM or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable Read-Only MEMory (EEPROM), compact Read-Only MEMory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 210 may be stand alone and be coupled to the processor 220 via a communication bus. Memory 210 may also be integrated with processor 220. Wherein the memory 210 is used to store machine executable instructions for performing aspects of the present application. Processor 220 is operative to execute machine executable instructions stored in memory 210 to implement the method embodiments described above.
The embodiment of the present invention also provides a computer readable storage medium containing a computer program, which when executed can be used to perform the related operations in the product activity information management method provided in the above-mentioned method embodiment.
The present invention is not limited to the above embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. The product activity information management method is characterized by being applied to a server, wherein an activity configuration device, an order device and a settlement device are deployed on the server, and the server is in communication connection with a client, and the method comprises the following steps:
according to the preset activity rules obtained from the activity configuration device, generating an effective activity instance corresponding to the target product, and storing the effective activity instance into a local database;
releasing the effective activity instance to the client so that a current login user of the client initiates an order creation request for the target product to the order device;
when the order device responds to the order creation request and creates an order to be settled, performing activity participation qualification verification on the current login user of the client to obtain a verification result;
according to the verification result, determining the binding relation between the current login user of the client and the effective activity instance, and storing the binding relation in the local database;
when the order device responds to an order settlement request for the order to be settled initiated by a current login user of the client, and invokes the settlement device, determining effective settlement logic of the order to be settled according to the binding relation stored in the local database, so that the settlement device settles the order to be settled based on the effective settlement logic.
2. The method of claim 1, wherein the server is further deployed with a user centric appliance, the order creation request comprising a first ID of a currently logged-in user of the client and a second ID of the active activity instance;
the step of performing activity participation qualification verification on the current login user of the client to obtain a verification result comprises the following steps:
acquiring the registration time of the current login user of the client from the user center device according to the first ID;
acquiring the number of active participation times of the current login user of the client from the local database according to the first ID and the second ID;
and determining the verification result according to the registration time and the activity participation times.
3. The method of claim 2, wherein the step of determining the verification result based on the registration time and the number of active participation times comprises:
acquiring a registration time limit condition and a participation frequency limit condition corresponding to the effective activity instance from the local database according to the second ID;
if the registration time meets the registration time limiting condition and the activity participation times meet the participation times limiting condition, determining that the verification result is passed;
and if the registration time does not meet the registration time limiting condition and/or the number of the activity participation does not meet the participation number limiting condition, determining that the verification result is not passed.
4. The method of claim 2, wherein the binding includes a user ID, an instance ID, and an order ID, and wherein the step of determining the binding of the current logged-in user of the client with the active instance based on the verification result includes:
if the verification result is passed and the user ID and the instance ID are not obtained from the local database and are respectively the binding relations to be processed of the first ID and the second ID, the first ID, the second ID and the third ID of the order to be settled are respectively used as the user ID, the instance ID and the order ID, and the binding relations between the current login user of the client and the effective activity instance are generated and stored in the local database.
5. The method of claim 4, wherein the step of determining the binding of the current logged-on user of the client and the active activity instance based on the verification result further comprises:
and if the verification result is that the to-be-processed binding relation is passed and the to-be-processed binding relation is obtained from the local database, modifying the order ID of the to-be-processed binding relation into the third ID to obtain the binding relation between the current login user of the client and the effective activity instance.
6. The method of claim 1, wherein the order settlement request contains a third ID of the order to be settled, the binding relationship including an instance ID and an order ID;
the step of determining the effective settlement logic of the order to be settled according to the binding relation stored in the local database comprises the following steps:
if the target binding relation of the order ID as the third ID is obtained from the local database, obtaining settlement logic corresponding to the effective activity instance from the local database according to the instance ID of the target binding relation;
and determining the effective settlement logic as the settlement logic corresponding to the effective activity instance.
7. The method of claim 6, wherein the step of determining valid settlement logic for the order to be settled based on the binding relationships maintained in the local database further comprises:
and if the target binding relation of the order ID as the third ID is not obtained from the local database, determining the effective settlement logic as a preset default logic.
8. The utility model provides a product activity information management device which characterized in that is applied to the server, the server disposes activity configuration device, order device and settlement device, the client is connected in communication to the server, product activity information management device includes:
the generation module is used for generating an effective activity instance corresponding to the target product according to the activity rule acquired from the activity configuration device and storing the effective activity instance into a local database;
the release module is used for releasing the effective preset activity instance to the client so that a current login user of the client initiates an order creation request for the target product to the order device;
the verification module is used for performing activity participation qualification verification on the current login user of the client side when the order device responds to the order creation request and creates an order to be settled, so as to obtain a verification result;
the determining module is used for determining the binding relation between the current login user of the client and the effective activity instance according to the verification result and storing the binding relation to a local database;
and the settlement module is used for determining the effective settlement logic of the order to be settled according to the binding relation stored in the local database when the order device responds to the order settlement request for the order to be settled initiated by the current login user of the client and invokes the settlement device, so that the settlement device settles the order to be settled based on the effective settlement logic.
9. A server comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the product activity information management method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the product activity information management method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310541424.8A CN116562877A (en) | 2023-05-11 | 2023-05-11 | Product activity information management method, device, server side and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310541424.8A CN116562877A (en) | 2023-05-11 | 2023-05-11 | Product activity information management method, device, server side and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116562877A true CN116562877A (en) | 2023-08-08 |
Family
ID=87487592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310541424.8A Pending CN116562877A (en) | 2023-05-11 | 2023-05-11 | Product activity information management method, device, server side and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116562877A (en) |
-
2023
- 2023-05-11 CN CN202310541424.8A patent/CN116562877A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9330080B2 (en) | Methods and systems to facilitate providing spreadsheet and database data to users via a social network | |
US8788370B2 (en) | Web service architecture for product version retrieval | |
JP7239969B2 (en) | System, information processing method, and program for providing information on legal consultation | |
CN111858872B (en) | Question-answer interaction method and device, electronic equipment and storage medium | |
CN114444478A (en) | Voucher visualization method and device, electronic equipment and storage medium | |
CN108509582B (en) | Information reply method, terminal equipment and computer readable storage medium | |
US8707403B2 (en) | Subscription interface for providing access to digital publications | |
CN113034178A (en) | Multi-system integral calculation method and device, terminal equipment and storage medium | |
CN116562877A (en) | Product activity information management method, device, server side and storage medium | |
CN110889073A (en) | Page request response method, server and computer storage medium | |
CN114445128A (en) | Card ticket management method and device, electronic equipment and computer readable medium | |
CN111914165B (en) | Target object recommendation method, device, equipment and storage medium | |
CN111192088B (en) | Method and device for determining settlement object of point and computer readable storage medium | |
CN114722782A (en) | Data application method and device, electronic equipment and storage medium | |
CN112328450A (en) | Data monitoring method and device, computer equipment and storage medium | |
CN113204561A (en) | Method for keeping consistency of data of multi-system and multi-system adopting method | |
US20010027444A1 (en) | Member card administration system using a rewritable card, method therefor, and recording medium recorded with program therefor | |
CN107608690B (en) | Configuration management method and device | |
CN112990995A (en) | Commodity object publishing method and device and computer system | |
CN109559240A (en) | Prevent premium from repeating method, apparatus, equipment and the readable storage medium storing program for executing of withholding | |
US20040138915A1 (en) | Management method, management terminal, and program for managing representatives in e-commerce | |
CN111586133B (en) | Information pushing method and related device | |
CN109727144A (en) | Insure Incidence calculus method, apparatus, equipment and computer readable storage medium | |
TWI837492B (en) | Information processing system, information processing method, program and recording medium | |
US11720234B2 (en) | Automation tool for generating web pages and links |
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 |