Method, device, equipment and storage medium for distributing and processing electronic vouchers
By defining the process pipeline information and subprocess logic corresponding to the electronic credential type in the process library, the problem of excessive strategy classes and high maintenance costs in the existing technology is solved, and faster and more economical electronic credential generation and maintenance is achieved.
Patent Information
- Application Number
- CN202011308788.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-19
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2040-11-19
AI Technical Summary
In the prior art, the client of the device needs to write a large number of policy classes, which leads to bloat, which is not conducive to determining electronic credentials, and requires maintenance of a large number of policy classes, which is relatively high.
Through the preset process library, the process pipeline information corresponding to the electronic credential type is determined. The process pipeline information is composed of multiple subprocesses, and there is an execution logical relationship between the subprocesses, which directly constitutes calculation logic based on the subprocesses, reducing the writing and maintenance of policy classes and conditional statements.
It reduces the cost of code development and maintenance, improves the speed and efficiency of electronic credentials generation, and simplifies the maintenance and expansion of process libraries.
Smart Images

Figure CN113763011B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular, to a method, apparatus, device and storage medium for distributing and processing electronic credentials. Background Art
[0002] With the development of mobile Internet, the devices of e-commerce platforms can provide items to consumer users. After the devices of e-commerce platforms sell items, electronic vouchers can be provided to the e-commerce platforms in order to motivate them.
[0003] In the prior art, when determining an electronic credential for an e-commerce platform, multiple strategy classes can be encapsulated, and each strategy class is used to execute the calculation algorithm (i.e., execution code) of each electronic credential; when it is necessary to generate an electronic credential, the corresponding strategy class can be analyzed and executed.
[0004] Therefore, in the process of implementing this application, the inventors found that there are at least the following problems in the prior art: a large number of policy classes need to be written on the client side of the device, which makes the classes in the client side of the device very bloated, which is not conducive to determining the electronic certificate; and a large number of policy classes need to be maintained, resulting in high maintenance costs. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for distributing and processing electronic credentials, so as to solve the problem that the classes in the client of the device are very bloated, which is not conducive to determining the electronic credentials; and a large number of policy classes need to be maintained, resulting in high maintenance costs.
[0006] In a first aspect, an embodiment of the present application provides a method for distributing and processing an electronic certificate, the method being applied to a first device, the method comprising:
[0007] In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determining process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each of the process pipeline information includes at least one sub-process, and each of the sub-processes in the process pipeline information has an execution logic relationship;
[0008] Execute the process pipeline information corresponding to the electronic certificate type according to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type to obtain the electronic certificate corresponding to the electronic certificate type;
[0009] The electronic certificate corresponding to the electronic certificate type is sent to a second device, where the second device is a device of the e-commerce platform.
[0010] One embodiment of the above application has the following advantages or beneficial effects: since the calculation logic corresponding to each electronic certificate category is determined as multiple sub-processes; different calculation logics can have the same sub-processes; these sub-processes are placed in the process library, and then multiple process pipeline information are composed according to different execution logic relationships, and each process pipeline information includes at least one sub-process; thus, there is no need to write a policy class or conditional statement for the calculation logic, and a calculation logic is directly constructed based on the sub-process (i.e., the sub-process calculator); further, there is no need to maintain a policy class or conditional statement, which reduces a lot of code development, saves code, and reduces maintenance costs; and the electronic certificate can be obtained directly based on the execution logic relationship of the process pipeline information, and the electronic certificate can be obtained quickly.
[0011] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: according to the output result of the previous sub-process in the single-chain execution relationship, the next sub-process in the single-chain execution relationship can be executed, and finally an electronic certificate can be obtained, which represents the total amount of rebates. Thus, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic certificate type, and the electronic certificate can be obtained according to the single-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic certificate can be obtained quickly.
[0012] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: for adjacent sub-processes in a multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the preceding sub-processes in the adjacent sub-processes to obtain an electronic certificate corresponding to the electronic certificate type. Thus, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic certificate type, and the electronic certificate can be obtained according to the multi-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic certificate can be obtained quickly.
[0013] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: it is possible to establish sub-processes and execution logic relationships of sub-processes, and then obtain each process pipeline information; and, when it is necessary to adjust the calculation logic of the electronic certificate, it is only necessary to adjust the process pipeline information corresponding to the electronic certificate type, for example, to adjust the calculation logic of a sub-process in the process pipeline information, or to adjust the connection method of each sub-process in the process pipeline information (that is, the execution logic relationship). It is only necessary to adjust the individual sub-processes to adjust the calculation method of the electronic certificate. The maintenance method of the process library is fast and simple; the expansion and maintenance of the process library is very convenient. The generated electronic certificate can also be adjusted based on the information of the second device, so that the electronic certificate and the second device are more matched, that is, the electronic certificate and the e-commerce platform are more matched.
[0014] In a second aspect, an embodiment of the present application provides an electronic certificate distribution processing device, the device comprising:
[0015] A first determining unit is configured to respond to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, and to determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each of the process pipeline information includes at least one sub-process, and each of the sub-processes in the process pipeline information has an execution logic relationship;
[0016] An execution unit, configured to execute the process pipeline information corresponding to the electronic certificate type according to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, and obtain an electronic certificate corresponding to the electronic certificate type;
[0017] The storage unit is used to send the electronic certificate corresponding to the electronic certificate type to the second device, where the second device is a device of the e-commerce platform.
[0018] One embodiment of the above application has the following advantages or beneficial effects: since the calculation logic corresponding to each electronic certificate category is determined as multiple sub-processes; different calculation logics can have the same sub-processes; these sub-processes are placed in the process library, and then multiple process pipeline information are composed according to different execution logic relationships, and each process pipeline information includes at least one sub-process; thus, there is no need to write a policy class or conditional statement for the calculation logic, and a calculation logic is directly constructed based on the sub-process (i.e., the sub-process calculator); further, there is no need to maintain a policy class or conditional statement, which reduces a lot of code development, saves code, and reduces maintenance costs; and the electronic certificate can be obtained directly based on the execution logic relationship of the process pipeline information, and the electronic certificate can be obtained quickly.
[0019] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: according to the output result of the previous sub-process in the single-chain execution relationship, the next sub-process in the single-chain execution relationship can be executed, and finally an electronic certificate can be obtained, which represents the total amount of rebates. Thus, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic certificate type, and the electronic certificate can be obtained according to the single-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic certificate can be obtained quickly.
[0020] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: for adjacent sub-processes in a multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the preceding sub-processes in the adjacent sub-processes to obtain an electronic certificate corresponding to the electronic certificate type. Thus, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic certificate type, and the electronic certificate can be obtained according to the multi-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic certificate can be obtained quickly.
[0021] Alternatively, another embodiment of the above application has the following advantages or beneficial effects: it is possible to establish sub-processes and execution logic relationships of sub-processes, and then obtain each process pipeline information; and, when it is necessary to adjust the calculation logic of the electronic certificate, it is only necessary to adjust the process pipeline information corresponding to the electronic certificate type, for example, to adjust the calculation logic of a sub-process in the process pipeline information, or to adjust the connection method of each sub-process in the process pipeline information (that is, the execution logic relationship). It is only necessary to adjust the individual sub-processes to adjust the calculation method of the electronic certificate. The maintenance method of the process library is fast and simple; the expansion and maintenance of the process library is very convenient. The generated electronic certificate can also be adjusted based on the information of the second device, so that the electronic certificate and the second device are more matched, that is, the electronic certificate and the e-commerce platform are more matched.
[0022] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0023] A memory for storing instructions executable by the processor;
[0024] The processor is used to execute the method provided in the first aspect according to the executable instructions.
[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method provided in the first aspect.
[0026] In a fifth aspect, an embodiment of the present application provides a program product, comprising: a computer program, the computer program being stored in a readable storage medium, at least one processor of a server being able to read the computer program from the readable storage medium, and the at least one processor executing the computer program so that the server executes the method provided in the first aspect.
[0027] In a sixth aspect, the present application provides a computer program, comprising a program code. When a computer runs the computer program, the program code executes the method provided in the first aspect.
[0028] The electronic voucher distribution processing method, device, equipment and storage medium provided by the embodiment of the present application, by pre-establishing a process library including multiple process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship; then, the process pipeline information corresponding to the electronic voucher type is determined; since each sub-process in the process pipeline information has an execution logic relationship, the process pipeline information corresponding to the electronic voucher type can be directly executed according to the execution logic relationship, and the electronic voucher corresponding to the electronic voucher type can be obtained. Since the calculation logic corresponding to each electronic voucher category is determined as multiple sub-processes; different calculation logics can have the same sub-process; these sub-processes are placed in the process library, and then according to different execution logic relationships, multiple process pipeline information are formed, and each process pipeline information includes at least one sub-process; thus, there is no need to write a strategy class or conditional statement for the calculation logic, and a calculation logic is directly formed according to the sub-process (i.e., the sub-process calculator); further, there is no need to maintain a strategy class or conditional statement, which reduces a large amount of code development, saves code, and reduces maintenance costs; and the electronic voucher can be obtained directly according to the execution logic relationship of the process pipeline information, and then the electronic voucher can be obtained quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0030] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0031] Figure 2 A flowchart of a method for distributing and processing electronic certificates provided in an embodiment of the present application;
[0032] Figure 3 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 1 ;
[0033] Figure 4 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 2 ;
[0034] Figure 5 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 3 ;
[0035] Figure 6 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 4 ;
[0036] Figure 7 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application;
[0037] Figure 8 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 5 ;
[0038] Fig. 9 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application;
[0039] Fig.10 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 6 ;
[0040] Fig.11 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application;
[0041] Fig.12 A schematic diagram of establishing a process library provided in an embodiment of the present application;
[0042] Fig.13 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application;
[0043] Fig.14 A schematic diagram of the structure of an electronic voucher distribution and processing device provided in an embodiment of the present application;
[0044] Fig.15 A schematic diagram of the structure of another electronic voucher distribution and processing device provided in an embodiment of the present application;
[0045] Fig.16 A block diagram of an electronic device provided in an embodiment of the present application.
[0046] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0048] With the development of mobile Internet, when consumers shop on the devices of e-commerce platforms, the devices of e-commerce platforms can sell items. In order to motivate e-commerce platforms, electronic vouchers can be provided to e-commerce platforms. Electronic vouchers can be electronic red envelopes, electronic shopping coupons, rebate amounts, etc.
[0049] In one example, when determining an electronic credential for an e-commerce platform, the electronic credential can be determined based on multiple conditional statements (i.e., if-else statements), that is, some information about the items sold by the e-commerce platform can be analyzed to analyze which of the multiple conditional statements the e-commerce platform meets. When it is determined that a certain conditional statement is met, the algorithm logic under the conditional statement is called (i.e., the execution code) to obtain the electronic credential.
[0050] For example, multiple conditional statements are as follows:
[0051]
[0052]
[0053] In the above multiple conditional statements, when it is determined that an electronic certificate needs to be generated, the electronic certificate type of the electronic certificate is analyzed. When it is determined that the electronic certificate type is electronic certificate type 1, "calculation logic 1" is executed to obtain the electronic certificate. When it is determined that the electronic certificate type is electronic certificate type 2, "calculation logic 2" is executed to obtain the electronic certificate. By analogy, when it is determined that the electronic certificate type is electronic certificate type N, "calculation logic N" is executed to obtain the electronic certificate. Among them, the electronic certificate can be an electronic red envelope. The obtained electronic certificate is then fed back to the e-commerce platform (that is, the obtained electronic certificate is fed back to the device of the e-commerce platform, or the obtained electronic certificate is stored in the account of the e-commerce platform).
[0054] However, in the above method, the method of obtaining electronic certificates based on multiple conditional statements requires configuring judgment codes for each conditional statement and writing execution codes for each conditional statement; each time the electronic certificate needs to be determined, the entire multiple conditional statements need to be analyzed, the algorithm logic is complex, and it is not easy to determine the electronic certificate. In addition, since each calculation logic needs to be written into each conditional statement; the calculation logic is mixed into one conditional statement, the code structure is huge and chaotic. When the execution code of the conditional statement needs to be adjusted, the entire conditional statement needs to be adjusted, which is difficult to maintain.
[0055] In one example, when determining an electronic credential for an e-commerce platform, multiple strategy classes can be encapsulated, each of which is used to execute the calculation algorithm (i.e., execute code) of each electronic credential; when an electronic credential needs to be generated, the corresponding strategy class can be analyzed and executed. In the above method, each strategy class serves as a calculation interface.
[0056] For example, multiple policy classes such as policy class a, policy class b, policy class c, etc. are encapsulated; policy class a is used to execute the calculation logic corresponding to electronic credential type 1, policy class b is used to execute the calculation logic corresponding to electronic credential type 2, policy class c is used to execute the calculation logic corresponding to electronic credential type 3, and so on. When the electronic credential type is determined to be electronic credential type 1, policy class a is called to execute the calculation logic 1 of policy class a to obtain the electronic credential.
[0057] However, in the above method, a large number of policy classes need to be written in the client of the device, which makes the classes in the client of the device very bloated, which is not conducive to determining the electronic certificate. In addition, a large number of policy classes need to be maintained; similar to the above conditional statement method, when a policy class needs to be added or adjusted, the policy class needs to be rewritten, which results in high maintenance costs.
[0058] The electronic certificate distribution processing method, device, equipment and storage medium provided in the embodiments of the present application are intended to solve the above technical problems in the prior art.
[0059] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0060] The following introduces the application scenarios of the electronic certificate distribution and processing method provided in the embodiments of the present application. Figure 1 The following is a schematic diagram of an application scenario provided by an embodiment of the present application, such as Figure 1 As shown, when a consumer user shops on a second device 12 (i.e., a device of an e-commerce platform), the second device 12 can sell items (item information of the items, provided by the first device 11 to the second device 12); wherein the items are provided by the merchant, and in order to incentivize the e-commerce platform, the first device 11 can provide an electronic certificate to the second device 12.
[0061] It is understandable that the application scenarios of the electronic voucher distribution processing method provided in the embodiment of the present application can also be other application scenarios, and the application scenarios are not limited in the embodiment of the present application. Other application scenarios will be exemplified in the introduction of subsequent embodiments.
[0062] Figure 2 A flowchart of a method for distributing and processing electronic certificates provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method includes:
[0063] 101. In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0064] In one example, the execution logic relationship corresponding to the process pipeline information in the process library includes at least one of the following: a single-chain execution relationship, a multi-chain execution relationship, and a binary tree execution relationship.
[0065] Exemplarily, the execution subject of this embodiment may be a first device, wherein the first device may be a terminal device, or an electronic device, or an electronic certificate distribution and processing device, or an electronic certificate distribution and processing device, or other devices or equipment that can execute this embodiment, without limitation.
[0066] The first device pre-establishes a process library, which includes at least one process pipeline information, and each process pipeline information corresponds to each type of electronic voucher. The process library includes at least one process pipeline information, and each process pipeline information is composed of at least one sub-process; for each process pipeline information, there is an execution logic relationship between the sub-processes in the process pipeline information; each process pipeline information is a computing logic, and the sub-process is a part of the logical process in the computing logic. Among them, the process pipeline information can also be called a process or a pipeline; the sub-process can also be called a sub-process processor.
[0067] For each process pipeline information, the execution logic relationship between the sub-processes in the process pipeline information can ensure that an electronic certificate corresponding to a certain type of electronic certificate is obtained; however, there is no restriction on the execution logic relationship, and the execution logic relationship can be one or more of a single-chain execution relationship, a multi-chain execution relationship, and a binary tree execution relationship.
[0068] The single-chain execution relationship means that each sub-process in a process pipeline information forms a single linked list, and the next sub-process is executed after the previous sub-process is executed.
[0069] Figure 3 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 1 ,like Figure 3As shown, the process library includes at least process pipeline information A, process pipeline information B, process pipeline information C and process pipeline information D. Among them, process pipeline information A is composed of sub-process a, sub-process b, sub-process c, sub-process g and sub-process h; process pipeline information B is composed of sub-process a, sub-process d, sub-process g and sub-process h; process pipeline information C is composed of sub-process a, sub-process e, sub-process g and sub-process h; process pipeline information D is composed of sub-process a, sub-process f, sub-process g and sub-process h. Each process pipeline information is a single linked list, that is, each sub-process in the process pipeline information is a single-link execution relationship. For example, for process pipeline information A, only one sub-process is executed for each step; sub-process a is executed first, then sub-process b is executed, and so on; that is, sub-process a, sub-process b, sub-process c, sub-process g, and sub-process h are executed in sequence.
[0070] The multi-chain execution relationship means that each sub-process in a process pipeline information constitutes a multi-link list. After the first N sub-processes are executed, the next M sub-processes are executed, where N and M are positive integers greater than or equal to 1.
[0071] Figure 4 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, the process library includes at least process pipeline information A and process pipeline information B. Among them, process pipeline information A is composed of sub-process a, sub-process b, sub-process c, sub-process e and sub-process f; process pipeline information B is composed of sub-process a, sub-process c, sub-process d and sub-process g. Each process pipeline information is a multi-link list, that is, each sub-process in the process pipeline information is a multi-link execution relationship. For example, for process pipeline information A, each step needs to execute at least one sub-process; execute sub-process a first, then execute sub-process b and sub-process c at the same time, and then execute sub-process e and sub-process f in sequence. For process pipeline information B, each step needs to execute at least one sub-process; execute sub-process a first, then execute sub-process c and sub-process d at the same time, and then execute sub-process g.
[0072] The binary tree execution relationship means that multiple process pipeline information constitutes a binary tree. In this case, each process pipeline information is also a single linked list; the execution logic relationship of multiple process pipeline information constitutes multiple process pipeline information into a binary tree. Among them, each process pipeline information in the process library can constitute multiple binary trees.
[0073] Figure 5 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 3 ,like Figure 5As shown, the process library includes at least process pipeline information A, process pipeline information B, process pipeline information C and process pipeline information D. Among them, process pipeline information A is composed of sub-process a, sub-process b and sub-process d; process pipeline information B is composed of sub-process a, sub-process b, sub-process e and sub-process h; process pipeline information C is composed of sub-process a, sub-process c, sub-process f and sub-process i; process pipeline information D is composed of sub-process a, sub-process c and sub-process g. Each process pipeline information constitutes a binary tree. Each process pipeline information is a single linked list, that is, each sub-process in the process pipeline information is a single-link execution relationship. For example, for process pipeline information A, sub-process a, sub-process b, and sub-process d are executed in sequence.
[0074] The execution logic relationship of the process pipeline information in the process library can be a combination of one or more of the above execution logic relationships. For example, the execution logic relationship of some process pipeline information in the process library is a single-chain execution relationship, and the execution logic relationship of some process pipeline information is a multi-chain execution relationship.
[0075] Figure 6 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 4 ,like Figure 6 As shown, the process library includes at least process pipeline information A and process pipeline information B. Among them, process pipeline information A is composed of sub-process a, sub-process b, sub-process c, sub-process e and sub-process f; process pipeline information B is composed of sub-process a, sub-process d and sub-process g. Each sub-process of process pipeline information A is a multi-chain execution relationship, and each sub-process of process pipeline information B is a single-chain execution relationship.
[0076] After the second device sells a plurality of items, the second device sends an electronic certificate creation request to the first device, and then the second device requests the first device to return the electronic certificate (i.e., the second device requests the first device to make a rebate). Alternatively, after the second device sells a plurality of items, the first device automatically generates an electronic certificate creation request after a preset time, and then the first device determines that the electronic certificate needs to be returned to the second device (i.e., the first device automatically makes a rebate to the second device after a preset time).
[0077] When the electronic certificate creation request is obtained, since the electronic certificate creation request includes the electronic certificate type, the first device can determine the process pipeline information corresponding to the electronic certificate type from the process library. Thus, the first device obtains each sub-process corresponding to the electronic certificate type, and each sub-process has an execution logic relationship.
[0078] 102. According to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type.
[0079] Exemplarily, since there is an execution logic relationship between the sub-processes corresponding to the electronic certificate type, the first device can directly execute the sub-processes in the process pipeline information corresponding to the electronic certificate type based on the execution logic relationship, wherein each sub-process represents a part of the calculation logic corresponding to the electronic certificate type, and then the first device can obtain the various information of the electronic certificate, and the various information of the electronic certificate can constitute an electronic certificate.
[0080] Among them, electronic vouchers include, for example, electronic red envelopes, electronic shopping vouchers, etc.
[0081] For example, if the electronic certificate type corresponds to Figure 3 The process pipeline information B needs to be based on Figure 3 The execution logic relationship of the process pipeline information B is to execute sub-process a, sub-process d, sub-process g, and sub-process h in sequence, and then sub-process h can output the electronic certificate.
[0082] For example, if the electronic certificate type corresponds to Figure 4 The process pipeline information A needs to be based on Figure 3 The execution logic relationship of the process pipeline information B is to execute sub-process a first, then execute sub-process c and sub-process d at the same time, and then execute sub-process g, and then sub-process g can output electronic certificates.
[0083] 103. Send the electronic certificate corresponding to the electronic certificate type to a second device, where the second device is a device of the e-commerce platform.
[0084] Exemplarily, after step 102, the first device may also display the electronic certificate. The first device sends the obtained electronic certificate to the second device (ie, the device of the e-commerce platform), and then the second device obtains the electronic certificate, that is, the second device obtains a rebate.
[0085] In this embodiment, a process library including multiple process pipeline information is pre-established, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship; then, the process pipeline information corresponding to the electronic voucher type is determined; since each sub-process in the process pipeline information has an execution logic relationship, the process pipeline information corresponding to the electronic voucher type can be directly executed according to the execution logic relationship, and the electronic voucher corresponding to the electronic voucher type can be obtained. Since the calculation logic corresponding to each electronic voucher category is determined as multiple sub-processes; different calculation logics can have the same sub-process; these sub-processes are put into the process library, and then according to different execution logic relationships, multiple process pipeline information are formed, and each process pipeline information includes at least one sub-process; thus, there is no need to write a strategy class or conditional statement for the calculation logic, and a calculation logic is directly formed according to the sub-process (i.e., the sub-process calculator); further, there is no need to maintain a strategy class or conditional statement, which reduces a large amount of code development, saves code, and reduces maintenance costs; and the electronic voucher can be obtained directly according to the execution logic relationship of the process pipeline information, and then the electronic voucher can be quickly obtained and returned to the e-commerce platform.
[0086] Figure 7 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the method includes:
[0087] 201. In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0088] Exemplarily, the execution subject of this embodiment may be a first device, wherein the first device may be a terminal device, or an electronic device, or an electronic certificate distribution and processing device, or an electronic certificate distribution and processing device, or other devices or equipment that can execute this embodiment, without limitation.
[0089] This step can be seen in Figure 2 Step 101 is not described again.
[0090] 202. The execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type is a single-chain execution relationship; the electronic certificate creation request includes item information; according to the item information, the first sub-process in the single-chain execution relationship is executed.
[0091] Exemplarily, the process pipeline information corresponding to the electronic voucher type can be a single-chain execution relationship. A single-chain execution relationship means that each sub-process in a process pipeline information constitutes a single-link list, and the next sub-process is executed after the previous sub-process is executed. It can be seen that each sub-process in the process pipeline information needs to be executed one by one.
[0092] Since each sub-process in the process pipeline information needs to be executed one by one, the first sub-process in the single-chain execution relationship can be executed according to the item information in the electronic certificate creation request, and then the output information of the first sub-process can be obtained, and the output information is input into the second sub-process for calculation.
[0093] 203. Repeat the following steps until the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type: according to the output result of the previous sub-process in the single-chain execution relationship, execute the next sub-process in the single-chain execution relationship.
[0094] For example, in a single-chain execution relationship, the adjacent sub-processes include two sub-processes, namely the previous sub-process and the next sub-process. The output result of the previous sub-process needs to be input into the next sub-process, and then the output result of the next sub-process is obtained, and so on, and finally the output result of the last sub-process is obtained; the output result of the last sub-process is an electronic certificate corresponding to the electronic certificate type.
[0095] In one example, the categories of sub-processes in the process library include the following categories: matching sub-processes (i.e., matching processors), electronic credential information calculation sub-processes (i.e., electronic credential information calculation processors), single calculation sub-processes (i.e., single calculation processors), and aggregate calculation sub-processes (i.e., aggregate calculation processors).
[0096] The matching sub-process represents the rebate calculation requirements; the rebate calculation requirements include, for example, rebate cycle, item whitelist, item category whitelist, item type whitelist, specified time period, etc. Among them, the rebate cycle refers to the periodic time for calculating the rebate amount information, for example, the rebate amount information is settled every other month. The item whitelist refers to which items can be used to calculate the rebate amount information. The item category whitelist refers to which item categories can be used to calculate the rebate amount information. The item type whitelist refers to which item brands can be used to calculate the rebate amount information. The specified time period means that only items purchased within the specified time period are allowed to calculate the rebate amount information.
[0097] The sub-process of calculating the electronic voucher information represents the calculation method of the item information of each item to be calculated.
[0098] A single calculation sub-process represents the need to calculate the rebate amount information of each item to be calculated under the same order.
[0099] The summary calculation sub-process represents the need to calculate the rebate amount information for each order.
[0100] For example, the sub-process for calculating the electronic voucher information may be any of the following: a fixed ratio calculation sub-process, a fixed amount calculation sub-process, a linear step calculation sub-process, an excess step calculation sub-process, a sales rebate calculation sub-process, a gross guarantee rebate calculation sub-process, etc. Fixed ratio, fixed amount, linear step, and excess step are all calculation methods for the amount information of the electronic voucher; sales rebate means that the more items there are, the higher the amount information; gross guarantee rebate means that the expected gross profit of the item is subtracted from the implemented gross profit of the item to obtain the amount information.
[0101] Each process pipeline information may include: one or more matching sub-processes, sub-processes for calculating electronic voucher information, sub-processes for single calculations, and sub-processes for aggregate calculations.
[0102] For a single-chain execution relationship, each matching sub-process can be executed in sequence according to the item information to obtain output information, which represents the item to be calculated; the item information of the item to be calculated is input into the sub-process of electronic voucher information calculation to obtain the rebate amount information of each item to be calculated; the rebate amount information of each item to be calculated is input into a single calculation sub-process to obtain the rebate amount information of an order; the rebate amount information of each order is input into the summary calculation sub-process to obtain an electronic voucher, which represents the total rebate amount.
[0103] For example, Figure 8 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 5 ,like Figure 8As shown, the process library includes at least process pipeline information A, process pipeline information B, and process pipeline information C. Among them, process pipeline information A is composed of a sub-process for rule matching (i.e., a processor for rule matching, which can be called RuleMatchHandler), a sub-process for order amount summary (i.e., a processor for order amount summary, which can be called RuleSunHandler), a sub-process for ladder matching (i.e., a processor for ladder matching, which can be called LaddierRetioHandler), a sub-process for a single order (i.e., a processor for a single order, which can be called SingleRebateHandler), and a sub-process for summary calculation (i.e., a processor for summary calculation, which can be called TotalRebateHandler); process pipeline information B is composed of a sub-process for rule matching, a sub-process for calculation of a fixed amount (i.e., a processor for calculation of a fixed amount), a sub-process for a single order, and a sub-process for summary calculation; process pipeline information C is composed of a sub-process for rule matching, a sub-process for calculation of a fixed ratio (i.e., a processor for calculation of a fixed ratio), a sub-process for a single order, and a sub-process for summary calculation. Among them, the rule matching sub-process is used to determine the items to be calculated based on the item information. The order amount summary sub-process is used to summarize the order amounts of the items to be calculated. The ladder matching sub-process is used to calculate the rebate amount information of each item to be calculated based on the order amount of the items to be calculated. The fixed amount calculation sub-process is used to calculate the rebate amount information of each item to be calculated based on the fixed amount. The fixed ratio calculation sub-process is used to calculate the rebate amount information of each item to be calculated based on a fixed ratio (for example, based on a fixed ratio and the price of the item to be calculated). The single calculation sub-process is used to obtain the rebate amount information of an order based on the rebate amount information of each item to be calculated. The summary calculation sub-process is used to obtain an electronic voucher based on the rebate amount information of each order, and the electronic voucher represents the total rebate amount.
[0104] In the above example, based on the type of electronic voucher, it is determined that the process pipeline information C needs to be executed, and the rule matching sub-process is first called to determine the items to be calculated for which the rebate needs to be calculated. Then, the fixed ratio calculation sub-process is called to calculate the rebate amount information for each item to be calculated based on the fixed ratio (for example, based on the fixed ratio and the price of the item to be calculated). Next, the sub-process for a single order is called to obtain the rebate amount information for an order based on the rebate amount information for each item to be calculated. Finally, the summary calculation sub-process is called to obtain the electronic voucher based on the rebate amount information for each order, which represents the total rebate amount.
[0105] 204. Send the electronic certificate corresponding to the electronic certificate type to the second device, where the second device is a device of the e-commerce platform.
[0106] For example, this step can be referred to Figure 2 Step 103 is not described again.
[0107] In this embodiment, based on the above embodiment, the next sub-process in the single-chain execution relationship can be executed according to the output result of the previous sub-process in the single-chain execution relationship, and finally an electronic voucher can be obtained, which represents the total amount of rebates. Therefore, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic voucher type, and the electronic voucher can be obtained according to the single-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic voucher can be obtained quickly.
[0108] Fig. 9 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the method includes:
[0109] 301. In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0110] Exemplarily, the execution subject of this embodiment may be a first device, wherein the first device may be a terminal device, or an electronic device, or an electronic certificate distribution and processing device, or an electronic certificate distribution and processing device, or other devices or equipment that can execute this embodiment, without limitation.
[0111] This step can be seen in Figure 2 Step 101 is not described again.
[0112] 302. The execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type is a multi-chain execution relationship; for adjacent sub-processes in the multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the previous sub-processes in the adjacent sub-processes to obtain the electronic certificate corresponding to the electronic certificate type.
[0113] Exemplarily, a multi-chain execution relationship means that each sub-process in a process pipeline information constitutes a multi-chain list. After the first N sub-processes are executed, the next M sub-processes are executed, where N and M are positive integers greater than or equal to 1.
[0114] For multi-chain execution relationships, in the adjacent sub-processes in the execution order, there can be at least one sub-process in the front order and at least one sub-process in the back order. After executing each sub-process in the front order of the adjacent sub-process, the sub-process in the back order of the adjacent sub-process is executed according to the obtained calculation results; finally, an electronic certificate corresponding to the electronic certificate type is obtained.
[0115] For example, Fig.10 Schematic diagram of process pipeline information provided in the embodiment of the present application Figure 6 ,like Fig.10 As shown, the process library includes at least process pipeline information A and process pipeline information B. Among them, process pipeline information A is composed of rule matching sub-process, ladder matching sub-process, fixed amount calculation sub-process, single order sub-process and summary calculation sub-process; process pipeline information B is composed of rule matching sub-process, fixed amount calculation sub-process, fixed ratio calculation sub-process and order sub-process.
[0116] In the above example, based on the type of electronic voucher, it is determined that the process pipeline information A needs to be executed, then the rule matching sub-process is called first to determine the items to be calculated for which the rebate needs to be calculated. Then, the ladder matching sub-process and the fixed amount calculation sub-process are called to calculate the rebate amount information of each item to be calculated based on the ladder matching method and the fixed amount. Among them, the ladder matching method refers to the ladder matching processing of multiple information, and the ladder matching algorithm can adopt the existing algorithm. Next, the sub-process of a single order is called to obtain the rebate amount information of an order based on the rebate amount information of each item to be calculated. Finally, the summary calculation sub-process is called to obtain the electronic voucher based on the rebate amount information of each order, which represents the total rebate amount.
[0117] 303. Send the electronic certificate corresponding to the electronic certificate type to a second device, where the second device is a device of the e-commerce platform.
[0118] For example, this step can be referred to Figure 2 Step 103 is not described again.
[0119] In this embodiment, based on the above embodiment, for adjacent sub-processes in a multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the preceding sub-processes in the adjacent sub-processes to obtain an electronic certificate corresponding to the electronic certificate type. Thus, the process pipeline information in the process library can be used to obtain the process pipeline information corresponding to the electronic certificate type, and the electronic certificate can be obtained according to the multi-chain execution relationship between the sub-processes in the process pipeline information, so that the electronic certificate can be obtained quickly.
[0120] Fig.11A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application is shown as follows: Fig.11 As shown, the method includes:
[0121] 401. Obtain multiple sub-processes and each electronic certificate type.
[0122] Exemplarily, the execution subject of this embodiment may be a first device, wherein the first device may be a terminal device, or an electronic device, or an electronic certificate distribution and processing device, or an electronic certificate distribution and processing device, or other devices or equipment that can execute this embodiment, without limitation.
[0123] Before calculating the electronic voucher, the first device needs to establish a process library. First, multiple sub-processes need to be established. A sub-process can also be called a sub-process processor. A sub-process is a part of the logical process in the calculation logic.
[0124] Furthermore, in order to establish the process pipeline information in the process library, it is necessary to determine a plurality of electronic certificate types, each electronic certificate type corresponding to each type of process pipeline information.
[0125] 402. According to the first matching relationship between the electronic certificate type and the sub-process, determine each sub-process corresponding to each electronic certificate type.
[0126] In one example, before step 402, it also includes: training the training data according to a preset intelligent model to obtain a first matching relationship and a second matching relationship; wherein the training data is a sub-process with an execution logical relationship, and the sub-process with an execution logical relationship includes a corresponding electronic certificate type.
[0127] Exemplarily, since a first matching relationship between the electronic credential type and the sub-process is pre-established, it is possible to determine which sub-processes correspond to each electronic credential type based on the first matching relationship.
[0128] For example, the categories of sub-processes in the process library include the following categories: matching sub-processes (i.e., matching processors), electronic credential information calculation sub-processes (i.e., electronic credential information calculation processors), single calculation sub-processes (i.e., single calculation processors), and aggregate calculation sub-processes (i.e., aggregate calculation processors).
[0129] The data to be trained can be obtained, and the data to be trained is a plurality of process pipeline information to be trained, each process pipeline information includes a sub-process with an execution logic relationship, and each process pipeline information corresponds to each electronic certificate type. The training data can be trained according to a preset intelligent model (for example, a neural network model) to obtain a first matching relationship and a second matching relationship, wherein the first matching relationship is a matching relationship between the electronic certificate type and the sub-process, and the second matching relationship is a corresponding relationship between the electronic certificate type and the execution logic relationship.
[0130] 403. According to each electronic credential type, determine the execution logic relationship between the sub-processes corresponding to each electronic credential type.
[0131] In one example, step 403 specifically includes: determining the execution logic relationship between the sub-processes corresponding to each electronic credential type according to the second matching relationship, wherein the second matching relationship is the corresponding relationship between the electronic credential type and the execution logic relationship.
[0132] Exemplarily, after determining which sub-processes are required for the electronic credential type, it is also necessary to establish process pipeline information based on the sub-processes, and then it is necessary to know the execution logic relationship between the sub-processes corresponding to each electronic credential type. In one example, the execution logic relationship corresponding to the electronic credential type (i.e., the execution logic relationship between the sub-processes corresponding to each electronic credential type) can be determined based on the second matching relationship between the electronic credential type and the execution logic relationship.
[0133] In one example, Fig.12 A schematic diagram of establishing a process library provided in an embodiment of the present application is shown in FIG. Fig.12 As shown, the calculation rules of the rebate are input into the unified configuration center; the unified configuration center uses Zookeeper to arrange the calculation rules of the rebate to obtain each sub-process (i.e., sub-process processor). The unified configuration center determines each sub-process corresponding to each electronic certificate type based on the first matching relationship between the electronic certificate type and the sub-process. Then, the unified configuration center can determine the execution logic relationship corresponding to the electronic certificate type based on the second matching relationship between the electronic certificate type and the execution logic relationship.
[0134] 404. Create each process pipeline information in the process library according to each sub-process corresponding to each electronic voucher type and the execution logic relationship between the sub-processes corresponding to each electronic voucher type.
[0135] Exemplarily, for each electronic credential type, each sub-process corresponding to the electronic credential type is obtained from the unified configuration center, and then each sub-process corresponding to the electronic credential type is placed in the pipeline to obtain the process pipeline information corresponding to the electronic credential type. That is, for each electronic credential type, a pipeline (i.e., process pipeline information) will be created; when the pipeline is created, the sub-process in the unified configuration center will be read according to the electronic credential type, and the execution order and connection relationship of each sub-process corresponding to the electronic credential type will be deployed according to the execution logic relationship corresponding to the electronic credential type, thereby obtaining the process pipeline information corresponding to the electronic credential type. Then, a process library is obtained.
[0136] 405. In response to an add instruction, a sub-process is added to the process library, or process pipeline information is added to the process library; or, in response to a modify instruction, a sub-process in the process library is modified, or the execution logical relationship between each sub-process in the process pipeline information in the process library is modified.
[0137] For example, when a sub-process needs to be added to the process library, an addition instruction can be obtained, and the addition instruction is used to indicate the calculation logic method of the sub-process. Then, a sub-process can be established according to the addition instruction, and the sub-process includes a calculation logic method.
[0138] Alternatively, an add instruction can be obtained, the add instruction is used to instruct the addition of a process pipeline information, and the add instruction includes the electronic certificate type; then, based on the first matching relationship, the sub-processes corresponding to the electronic certificate type are determined, and based on the second matching relationship, the execution logic relationship corresponding to the electronic certificate type is determined; based on the execution logic relationship corresponding to the electronic certificate type, the execution order of the sub-processes corresponding to the electronic certificate type can be connected to obtain the process pipeline information corresponding to the electronic certificate type.
[0139] Alternatively, a modification instruction may be obtained, and an addition instruction may be used to indicate the calculation logic mode of the sub-process. Then, the calculation logic mode of the indicated sub-process may be adjusted according to the addition instruction.
[0140] Alternatively, a modification instruction may be obtained, the modification instruction being used to instruct adjustment of the calculation logic of the electronic voucher, that is, the modification instruction being used to instruct adjustment of the execution logic relationship of a process pipeline information; then, the execution logic relationship between each sub-process in the process pipeline information in the process library may be modified according to the modification instruction.
[0141] It can be seen that in the above process, when the calculation logic of the electronic certificate needs to be adjusted, it is only necessary to adjust the process pipeline information corresponding to the electronic certificate type, for example, to adjust the calculation logic of a sub-process in the process pipeline information, or to adjust the connection method of each sub-process in the process pipeline information (that is, the execution logic relationship).
[0142] It can be seen that the calculation method of the electronic voucher can be adjusted by simply adjusting the individual sub-processes. The maintenance method of the process library is fast and simple.
[0143] 406. When it is determined that the account information of the second device meets the preset condition, generate an electronic credential creation request.
[0144] In one example, the preset conditions are one or more of the following: the location of the second device is within a preset location area, the number of electronic certificates of the second device is within a preset number range, the item information corresponding to the second device indicates that the item meets preset requirements, and the account category of the second device is a preset category.
[0145] Exemplarily, when an electronic credential needs to be generated, the second device (ie, the device of the e-commerce platform) sends an electronic credential creation request to the first device, and then the first device determines that an electronic credential needs to be generated for the second device.
[0146] Alternatively, the first device may automatically determine whether an electronic credential needs to be generated; in this case, the first device may make a judgment based on the account information of the second device, and generate an electronic credential creation request when it is determined that the account information of the second device meets the preset conditions.
[0147] For example, when it is determined that the location of the second device is within a preset location area, it is determined to generate an electronic certificate for the second device, and an electronic certificate creation request is automatically generated.
[0148] When it is determined that the number of electronic certificates of the second device is within a preset number range, it is determined to generate an electronic certificate for the second device, and an electronic certificate creation request is automatically generated.
[0149] When it is determined that the item information sold by the second device indicates that the item meets the preset requirements, it is determined to generate an electronic certificate for the second device, and an electronic certificate creation request is automatically generated. For example, the item information sold by the second device indicates that the item is an item of a preset brand, or the item information sold by the second device indicates that the number of items sold is greater than a preset number.
[0150] When it is determined that the account category of the second device is a preset category, it is determined to generate an electronic certificate for the second device, and an electronic certificate creation request is automatically generated. For example, the account category of the second device indicates that the platform corresponding to the second device is a platform for selling sports goods, or the account category of the second device indicates that the platform corresponding to the second device is a platform for selling food, or the account category of the second device indicates that the platform corresponding to the second device is a platform for selling cosmetics.
[0151] 407. In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0152] For example, this step can be referred to Figure 2 Step 101 is not described again.
[0153] 408. According to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type.
[0154] For example, this step can be referred to Figure 2 or see step 102 of Figure 7 or see steps 202-203 of Fig. 9 Step 302 is not described again.
[0155] 409. Send the electronic certificate corresponding to the electronic certificate type to the second device, where the second device is a device of the e-commerce platform.
[0156] In one example, if the preset condition of step 406 is that the location of the second device is within the preset location area, step 409 specifically includes: obtaining historical data information of the second device; adjusting the electronic certificate corresponding to the electronic certificate type based on the historical data information so that the adjusted electronic certificate matches the historical data information; and sending the adjusted electronic certificate to the second device.
[0157] In one example, if the preset condition of step 406 is that the account category of the second device is a preset category, step 409 specifically includes: adjusting the electronic certificate corresponding to the electronic certificate type according to the account category so that the adjusted electronic certificate matches the account category; and sending the adjusted electronic certificate to the second device.
[0158] Exemplarily, after step 408, after the electronic certificate is obtained according to the process pipeline information, if it is automatically determined in step 406 that the electronic certificate needs to be generated, the electronic certificate obtained in step 408 can be adjusted.
[0159] In one example, if the location of the second device is within the preset location area, it is determined that an electronic certificate needs to be generated. After executing step 408, the electronic certificate can be adjusted according to the historical data information of the second device. In one example, the electronic certificate corresponding to the electronic certificate type can be adjusted according to the historical data information so that the adjusted electronic certificate matches the historical data information. Finally, the adjusted electronic certificate can be sent to the second device.
[0160] For example, if the historical data information indicates that the amount of the electronic certificate used by the second device is within a preset range, the amount of the electronic certificate generated in step 408 is adjusted to be within the preset range.
[0161] For another example, if the historical data information indicates that the amount of the electronic certificate that the second device can bear is within a preset range, the amount of the electronic certificate generated in step 408 is adjusted to be within the preset range.
[0162] In one example, if the account category of the second device is a preset category, it is determined that an electronic certificate needs to be generated. After executing step 408, the electronic certificate corresponding to the electronic certificate type can be adjusted according to the account category so that the adjusted electronic certificate matches the account category. Finally, the adjusted electronic certificate can be sent to the second device.
[0163] For example, if the account category of the second device indicates that the platform corresponding to the second device is a platform for selling sports goods, the amount of the electronic certificate generated in step 408 is adjusted to match the sports goods; and the category of items supported by the electronic certificate generated in step 408 can also be adjusted to sports goods.
[0164] For another example, if the account category of the second device indicates that the platform corresponding to the second device is a platform for selling food, the amount of the electronic voucher generated in step 408 is adjusted to match sports items; and the category of items supported by the electronic voucher generated in step 408 can also be adjusted to food.
[0165] After step 409, the obtained electronic certificate can also be persisted, and then the electronic screen certificate can be stored in the Mysql database. In one example, after the electronic certificate is obtained through the process pipeline information, a single table of the electronic certificate and the details of the electronic certificate can be obtained, wherein the single table of the electronic certificate is the visual content such as the picture of the electronic certificate, and the details of the electronic certificate are the detailed information of the electronic certificate (for example, the items that the electronic certificate can support, the categories of items that the electronic certificate can support). Then, as Fig.12 As shown, the single table of electronic certificates and the details of electronic certificates are persisted in the MySQL database.
[0166] In this embodiment, on the basis of the above-mentioned embodiment, it is possible to establish a sub-process and a logical relationship of execution of the sub-process, and then obtain each process pipeline information; and when it is necessary to adjust the calculation logic of the electronic certificate, it is only necessary to adjust the process pipeline information corresponding to the electronic certificate type, for example, to adjust the calculation logic of a sub-process in the process pipeline information, or to adjust the connection method of each sub-process in the process pipeline information (that is, the execution logical relationship). It is only necessary to adjust a single sub-process to adjust the calculation method of the electronic certificate. The maintenance method of the process library is fast and simple; the expansion and maintenance of the process library is very convenient. The generated electronic certificate can also be adjusted according to the information of the second device, so that the electronic certificate and the second device are more matched, that is, the electronic certificate and the e-commerce platform are more matched.
[0167] Fig.13 A flowchart of another method for distributing and processing electronic certificates provided in an embodiment of the present application is shown in FIG. Fig.13 As shown, the method includes:
[0168] 501. Receive an electronic certificate creation request sent by a second device, wherein the electronic certificate creation request is initiated when the second device determines that the item meets preset requirements.
[0169] Exemplarily, the execution subject of this embodiment may be a first device, wherein the first device may be a terminal device, or an electronic device, or an electronic certificate distribution and processing device, or an electronic certificate distribution and processing device, or other devices or equipment that can execute this embodiment, without limitation.
[0170] The second device (i.e., the device of the e-commerce platform) can provide items for the consumer user. For example, an operation interface is displayed on the terminal device of the consumer user, and the operation interface displays items; after the consumer user clicks to purchase an item, the device of the e-commerce platform can obtain an order, and each order includes at least one item.
[0171] When the second device (i.e., the device of the e-commerce platform) determines that the item meets the preset requirements, it sends an electronic certificate creation request to the first device (i.e., the supplier's device). The preset requirements include, for example, that all items are sold or a preset time period. The electronic certificate creation request is used to indicate the type of electronic certificate.
[0172] For example, the device of the e-commerce platform can send an electronic voucher creation request to the device of the supplier after receiving an order or after receiving multiple orders. Then, the device of the e-commerce platform requests the device of the supplier to provide an electronic voucher, that is, the device of the e-commerce platform requests the device of the supplier to provide a rebate.
[0173] 502. In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0174] For example, this step can be referred to the introduction of the above embodiment and will not be described in detail.
[0175] 503. According to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type.
[0176] For example, this step can be referred to the introduction of the above embodiment and will not be described in detail.
[0177] 504. Send the electronic certificate corresponding to the electronic certificate type to the second device, where the second device is a device of the e-commerce platform.
[0178] Exemplarily, after the first device (i.e., the supplier's device) obtains the electronic certificate through steps 502-503, the first device returns the electronic certificate to the second device (i.e., the e-commerce platform's device); then, the second device (i.e., the e-commerce platform's device) obtains the rebate information provided by the supplier's device. Furthermore, the second device (i.e., the e-commerce platform's device) stores the electronic certificate in the account corresponding to the e-commerce platform's device. Through the solution provided in the embodiment, the e-commerce platform's device can obtain the rebate information from the supplier's device.
[0179] In this embodiment, based on the above embodiment, through the interaction process between the device of the e-commerce platform and the device of the supplier, the device of the supplier returns the electronic certificate obtained by rapid calculation to the device of the e-commerce platform; then, the device of the e-commerce platform obtains the rebate information provided by the device of the supplier, and then, the device of the e-commerce platform stores the electronic certificate in the account corresponding to the device of the e-commerce platform.
[0180] Fig.14 A schematic diagram of the structure of an electronic voucher distribution processing device provided in an embodiment of the present application, such as Fig.14 As shown, the device is applied to a first device, and the device includes:
[0181] The first determination unit 31 is used to respond to an electronic credential creation request, wherein the electronic credential creation request is used to indicate the electronic credential type, and determine the process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each process pipeline information includes at least one sub-process, and each sub-process in each process pipeline information has an execution logic relationship.
[0182] The execution unit 32 is used to execute the process pipeline information corresponding to the electronic certificate type according to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, and obtain the electronic certificate corresponding to the electronic certificate type.
[0183] The storage unit 33 is used to send the electronic certificate corresponding to the electronic certificate type to the second device, where the second device is a device of the e-commerce platform.
[0184] For example, this embodiment can refer to the above method embodiment, and its principles and technical effects are similar and will not be described in detail.
[0185] Fig.15 A schematic diagram of the structure of another electronic voucher distribution processing device provided in an embodiment of the present application, Fig.14 Based on the embodiment shown, Fig.15 As shown, in the device provided by this embodiment, the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type is a single-chain execution relationship. The execution unit 32 is specifically used to: repeat the following steps until the process pipeline information corresponding to the electronic certificate type is executed: according to the output result of the previous sub-process in the single-chain execution relationship, execute the next sub-process in the single-chain execution relationship.
[0186] In one example, the electronic certificate creation request includes item information; the execution unit 32, before executing the next sub-process in the single-chain execution relationship according to the output result of the previous sub-process in the single-chain execution relationship, is also used to: execute the first sub-process in the single-chain execution relationship according to the item information.
[0187] In one example, the execution logic relationship between the sub-processes in the process pipeline information corresponding to the electronic certificate type is a multi-chain execution relationship; the execution unit 32 is specifically used to: for adjacent sub-processes in the multi-chain execution relationship, according to the previous sub-processes in the adjacent sub-processes, execute the subsequent sub-processes in the adjacent sub-processes to obtain the electronic certificate corresponding to the electronic certificate type.
[0188] In one example, the device provided by this embodiment further includes:
[0189] The generating unit 42 is configured to generate an electronic credential creation request when it is determined that the account information of the second device meets a preset condition before the first determining unit 31 responds to the electronic credential creation request.
[0190] In one example, the preset conditions are one or more of the following:
[0191] The location of the second device is within a preset location area, the number of electronic certificates of the second device is within a preset number range, the item information corresponding to the second device indicates that the item meets preset requirements, and the account category of the second device is a preset category.
[0192] In one example, if the preset condition is that the location of the second device is within a preset location area, the storage unit 33 includes:
[0193] The acquisition module 331 is used to acquire historical data information of the second device.
[0194] The first adjustment module 332 is used to adjust the electronic certificate corresponding to the electronic certificate type according to the historical data information, so that the adjusted electronic certificate matches the historical data information.
[0195] The first storage module 333 is used to send the adjusted electronic certificate to the second device.
[0196] In one example, if the preset condition is that the account category of the second device is a preset category, the storage unit 33 includes:
[0197] The second adjustment module 334 is used to adjust the electronic certificate corresponding to the electronic certificate type according to the account category, so that the adjusted electronic certificate matches the account category.
[0198] The second storage module 335 is used to send the adjusted electronic certificate to the second device.
[0199] In one example, the device provided by this embodiment further includes:
[0200] The second receiving unit 49 is configured to receive an electronic credential creation request sent by the second device before the first determining unit 31 responds to the electronic credential creation request, wherein the electronic credential creation request is initiated when the second device determines that the item meets preset requirements.
[0201] In one example, the device provided by this embodiment further includes:
[0202] The acquisition unit 43 is used to acquire multiple sub-processes and each electronic voucher type.
[0203] The second determining unit 44 is used to determine each sub-process corresponding to each electronic credential type according to the first matching relationship between the electronic credential type and the sub-process.
[0204] The third determining unit 45 is used to determine, according to each electronic credential type, the execution logic relationship between the sub-processes corresponding to each electronic credential type.
[0205] The creation unit 46 is used to create each process pipeline information in the process library according to each sub-process corresponding to each electronic voucher type and the execution logic relationship between the sub-processes corresponding to each electronic voucher type.
[0206] In one example, the third determining unit 45 is specifically used to determine the execution logic relationship between the sub-processes corresponding to each electronic credential type according to the second matching relationship, wherein the second matching relationship is the corresponding relationship between the electronic credential type and the execution logic relationship.
[0207] In one example, the device provided by this embodiment further includes:
[0208] The training unit 46 is used to train the training data according to the preset intelligent model to obtain the first matching relationship and the second matching relationship; wherein the training data is a sub-process with an execution logic relationship, and the sub-process with an execution logic relationship includes a corresponding electronic certificate type.
[0209] In one example, the device provided by this embodiment further includes:
[0210] The adding unit 47 is used to add a sub-process in the process library or add process pipeline information in the process library in response to the adding instruction.
[0211] Alternatively, the modification unit 48 is used to modify the sub-process in the process library in response to the modification instruction, or to modify the execution logical relationship between the sub-processes in the process pipeline information in the process library.
[0212] In one example, the execution logic relationship corresponding to the process pipeline information in the process library includes at least one of the following: a single-chain execution relationship, a multi-chain execution relationship, and a binary tree execution relationship.
[0213] For example, this embodiment can refer to the above method embodiment, and its principles and technical effects are similar and will not be described in detail.
[0214] Fig.16 A block diagram of an electronic device provided for an embodiment of the present application, which device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0215] The device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0216] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0217] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0218] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0219] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0220] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0221] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0222] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800 and the temperature change of the device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0223] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0224] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0225] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0226] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables a terminal device to execute the above method.
[0227] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0228] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for distributing and processing electronic vouchers, characterized in that: The method is applied to a first device, and the method includes: In response to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, determining process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each of the process pipeline information includes at least one sub-process, each of the sub-processes in the process pipeline information has an execution logic relationship, and different computing logics have the same sub-process; Execute the process pipeline information corresponding to the electronic certificate type according to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type to obtain the electronic certificate corresponding to the electronic certificate type; Sending the electronic certificate corresponding to the electronic certificate type to a second device, where the second device is a device of the e-commerce platform; The method further comprises: In response to an add instruction, a sub-process is added to the process library, or process pipeline information is added to the process library; or, in response to a modify instruction, a sub-process in the process library is modified, or a logical relationship between sub-processes in the process pipeline information in the process library is modified; The sending the electronic certificate corresponding to the electronic certificate type to the second device includes: adjusting the electronic certificate corresponding to the electronic certificate type according to the historical data information or account type of the second device; and sending the adjusted electronic certificate to the second device; The method further includes: obtaining a plurality of sub-processes and each electronic voucher type; Determine, according to the first matching relationship between the electronic credential type and the sub-process, each sub-process corresponding to each electronic credential type; and determine, according to each electronic credential type, an execution logic relationship between the sub-processes corresponding to each electronic credential type; The process pipeline information in the process library is created according to each sub-process corresponding to each electronic certificate type and the execution logic relationship between the sub-processes corresponding to each electronic certificate type.
2. The method according to claim 1, characterized in that The execution logic relationship between the sub-processes in the process pipeline information corresponding to the electronic voucher type is a single-chain execution relationship; According to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type, including: Repeat the following steps until the process pipeline information corresponding to the electronic voucher type is executed: The next sub-process in the single-chain execution relationship is executed according to the output result of the previous sub-process in the single-chain execution relationship.
3. The method according to claim 2, characterized in that The electronic voucher creation request includes item information; Before executing the next sub-flow in the single-chain execution relationship according to the output result of the previous sub-flow in the single-chain execution relationship, the method further includes: According to the item information, the first sub-process in the single-chain execution relationship is executed.
4. The method according to claim 1, characterized in that: The execution logic relationship between the sub-processes in the process pipeline information corresponding to the electronic voucher type is a multi-chain execution relationship; According to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, the process pipeline information corresponding to the electronic certificate type is executed to obtain the electronic certificate corresponding to the electronic certificate type, including: For the adjacent sub-processes in the multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the preceding sub-processes in the adjacent sub-processes to obtain the electronic certificate corresponding to the electronic certificate type.
5. The method according to claim 1, characterized in that Before responding to the electronic credential creation request, the method further includes: When it is determined that the account information of the second device meets the preset condition, the electronic credential creation request is generated.
6. The method according to claim 5, characterized in that The preset conditions are one or more of the following: The location of the second device is within a preset location area, the number of electronic certificates of the second device is within a preset number range, the item information corresponding to the second device indicates that the item meets preset requirements, and the account category of the second device is a preset category.
7. The method according to claim 6, characterized in that If the preset condition is that the location of the second device is within a preset location area, sending the electronic certificate corresponding to the electronic certificate type to the second device includes: Acquire historical data information of the second device; According to the historical data information, adjusting the electronic certificate corresponding to the electronic certificate type so that the adjusted electronic certificate matches the historical data information; The adjusted electronic certificate is sent to the second device.
8. The method according to claim 6, characterized in that If the preset condition is that the account category of the second device is a preset category, sending the electronic certificate corresponding to the electronic certificate type to the second device includes: According to the account category, adjusting the electronic credential corresponding to the electronic credential type so that the adjusted electronic credential matches the account category; The adjusted electronic certificate is sent to the second device.
9. The method according to claim 1, characterized in that: Before responding to the electronic credential creation request, the method further includes: The electronic credential creation request sent by the second device is received, wherein the electronic credential creation request is initiated when the second device determines that the item meets preset requirements.
10. The method according to claim 1, characterized in that According to each electronic credential type, determining the execution logic relationship between the sub-processes corresponding to each electronic credential type includes: According to the second matching relationship, the execution logic relationship between the sub-processes corresponding to each electronic credential type is determined, wherein the second matching relationship is the corresponding relationship between the electronic credential type and the execution logic relationship.
11. The method according to claim 10, characterized in that The method further comprises: According to the preset intelligent model, training the training data to obtain the first matching relationship and the second matching relationship; The data to be trained are sub-processes with execution logic relationships, and the sub-processes with execution logic relationships include corresponding electronic certificate types.
12. The method according to any one of claims 1 to 9, characterized in that: The execution logic relationship corresponding to the process pipeline information in the process library includes at least one of the following: Single-chain execution relationship, multi-chain execution relationship, binary tree execution relationship.
13. An electronic voucher distribution processing device, characterized in that: The device is applied to a first device, and includes: A first determining unit is configured to respond to an electronic credential creation request, wherein the electronic credential creation request is used to indicate an electronic credential type, and to determine process pipeline information corresponding to the electronic credential type from a preset process library; wherein the process library includes at least one process pipeline information, each of the process pipeline information includes at least one sub-process, each of the sub-processes in the process pipeline information has an execution logic relationship, and different computing logics have the same sub-process; An execution unit, configured to execute the process pipeline information corresponding to the electronic certificate type according to the execution logic relationship between each sub-process in the process pipeline information corresponding to the electronic certificate type, and obtain an electronic certificate corresponding to the electronic certificate type; A storage unit, used to send the electronic certificate corresponding to the electronic certificate type to a second device, where the second device is a device of the e-commerce platform; The device further comprises: In response to an add instruction, a sub-process is added to the process library, or process pipeline information is added to the process library; or, in response to a modify instruction, a sub-process in the process library is modified, or a logical relationship between sub-processes in the process pipeline information in the process library is modified; The storage unit is specifically used to adjust the electronic certificate corresponding to the electronic certificate type according to the historical data information or account type of the second device; and send the adjusted electronic certificate to the second device; The device further includes: an acquisition unit, configured to acquire the plurality of sub-processes and each electronic voucher type; A second determining unit, configured to determine, according to a first matching relationship between the electronic credential type and the sub-process, each sub-process corresponding to each electronic credential type; A third determining unit, configured to determine, according to each electronic credential type, an execution logic relationship between sub-processes corresponding to each electronic credential type; The creation unit is used to create each process pipeline information in the process library according to each sub-process corresponding to each electronic certificate type and the execution logic relationship between the sub-processes corresponding to each electronic certificate type.
14. The device according to claim 13, characterized in that The execution logic relationship between the sub-processes in the process pipeline information corresponding to the electronic voucher type is a single-chain execution relationship; The execution unit is specifically used for: Repeat the following steps until the process pipeline information corresponding to the electronic voucher type is executed: The next sub-process in the single-chain execution relationship is executed according to the output result of the previous sub-process in the single-chain execution relationship.
15. The device according to claim 13, characterized in that The execution logic relationship between the sub-processes in the process pipeline information corresponding to the electronic voucher type is a multi-chain execution relationship; The execution unit is specifically used for: For the adjacent sub-processes in the multi-chain execution relationship, the subsequent sub-processes in the adjacent sub-processes are executed according to the preceding sub-processes in the adjacent sub-processes to obtain the electronic certificate corresponding to the electronic certificate type.
16. An electronic device, characterized in that: include: Memory, processor; A memory for storing instructions executable by the processor; The processor is used to execute the method according to any one of claims 1-12 according to the executable instructions.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 12 when executed by a processor.
Citation Information
Patent Citations
Electronic coupon data generation method and electronic coupon data generation device
CN102999852A
Method for realizing complex program logic through manual configuration
CN110471646A
Business engine operation method and device, storage medium and electronic device
CN111031133A
Coupon management method and device and storage medium
CN111507772A