Transaction processing method and device, storage medium and electronic device

By handling transaction orders and production tasks in public systems, the problem of repeated development of transaction business processes is solved, development and maintenance costs are reduced, and transaction data management efficiency is improved.

CN110852819BActive Publication Date: 2024-11-19BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810949818.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-08-20
Publication Date
2024-11-19
Estimated Expiration
2038-08-20

AI Technical Summary

Technical Problem

In the process of e-commerce business development, developers need to quickly respond to new business needs, resulting in repeated development of transaction business processes and increasing development and maintenance costs.

Method used

Provide a transaction processing method, which calls the general ordering interface to respond to transaction orders sent by the business system, obtains and verifys ledger information, and performs transaction end tasks based on production results, and places a common process that is not related to business personalized needs in the public. System, avoiding duplication of common processes for new business development.

Benefits of technology

It reduces the workload of developing business systems, reduces maintenance costs, avoids resource consumption of repeated tests of general processes, and improves the management efficiency of transaction data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110852819B_ABST
    Figure CN110852819B_ABST
Patent Text Reader

Abstract

The present invention discloses a transaction processing method and device, a storage medium and an electronic device, and relates to the field of Internet technology. The transaction processing method includes: calling a general order interface in response to a transaction order sent by a business system so that a user can complete payment based on the business system; obtaining ledger information and verifying the ledger information; if the ledger information meets the verification requirements, calling a production interface so that the business system can execute a production task corresponding to the transaction order; obtaining the production result fed back by the business system after executing the production task, and executing a transaction end task based on the production result. The present disclosure can solve the problem of repeated development of transaction business processes and reduce the cost of development and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of e-commerce, new businesses are constantly emerging. In order to meet market demand more quickly, developers need to respond quickly to new businesses and launch them in a short time.

[0003] At present, for new businesses, developers often need to develop a full-process transaction system. These transaction processes may include some personalized transaction logic, as well as some common processing methods. When developing different businesses, there will be problems with repeated development of some processes. These repeated development parts all involve problems such as test regression and system joint debugging, which increases the development and maintenance costs of the system.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a transaction processing method, a transaction processing device, a storage medium and an electronic device, thereby overcoming, at least to a certain extent, the problem of repeated development of transaction business processes caused by the limitations and defects of related technologies.

[0006] According to one aspect of the present disclosure, a transaction processing method is provided, including: calling a general order interface in response to a transaction order sent by a business system so that a user can complete payment based on the business system; obtaining ledger information and verifying the ledger information; if the ledger information meets the verification requirements, calling a production interface so that the business system executes a production task corresponding to the transaction order; obtaining a production result fed back by the business system after executing the production task, and executing a transaction termination task based on the production result.

[0007] Optionally, the transaction processing method further includes: configuring an order interface so that the business system generates the transaction order according to an interface standard of the order interface.

[0008] Optionally, the transaction processing method further includes: storing the transaction order in a storage space corresponding to the business system.

[0009] Optionally, storing the transaction order in a storage space corresponding to the business system includes: determining personalized data in the transaction order; and storing the personalized data in a dynamic field area of ​​the storage space according to attributes of the personalized data.

[0010] Optionally, verifying the ledger information includes: verifying one or more of whether the transaction order in the ledger information exists, the status of the transaction order, and the amount of the transaction order.

[0011] Optionally, before verifying the ledger information, the transaction processing method further includes: eliminating information in the ledger information that does not belong to the business system.

[0012] Optionally, executing the transaction end task based on the production result includes: if the production task is successfully executed, executing a settlement operation; if the production task fails to be executed, executing a refund operation.

[0013] Optionally, the business system feeds back the production results as an asynchronous feedback process; wherein the transaction processing method further comprises: calling a reverse query interface a first preset time after calling the production interface, so as to obtain the production results from the business system.

[0014] Optionally, the business system feeds back the production results as a synchronous feedback process; wherein the transaction processing method further includes: if the production results are not received within a second preset time after calling the production interface, determining whether the number of executions of the synchronous feedback process reaches a preset number; if the number of executions of the synchronous feedback process does not reach the preset number, re-executing the synchronous feedback process; if the number of executions of the synchronous feedback process reaches the preset number, calling a reverse query interface to obtain the production results from the business system.

[0015] According to one aspect of the present disclosure, there is provided a transaction processing method, comprising: sending a transaction order to a public system so that the public system calls a universal order interface in response to the transaction order; generating a payment interface based on the call of the universal order interface so that the user can complete the payment; executing a production task corresponding to the transaction order in response to the operation of the public system calling a production interface; and feeding back to the public system the production result generated after executing the production task.

[0016] Optionally, the transaction processing method further includes: generating the transaction order according to an interface standard of an order interface of the public system.

[0017] Optionally, executing the production task corresponding to the transaction order includes: determining an agent corresponding to the transaction order; and sending a task processing request to the agent so that the agent responds to the task processing request to process the task corresponding to the transaction order.

[0018] Optionally, feeding back to the public system a production result generated after executing the production task includes: determining the task processing result of the agent; generating a production result based on the task processing result; and sending the production result to the public system.

[0019] Optionally, feeding back the production results to the public system is an asynchronous feedback process; wherein, feeding back the production results generated after executing the production task to the public system includes: responding to the public system's operation of calling a reverse query interface, sending a task processing result acquisition request to the agent; generating a production result based on the task processing result sent by the agent in response to the task processing result acquisition request; and sending the production result to the public system.

[0020] According to one aspect of the present disclosure, a transaction processing device is provided, which may include an order response module, a ledger processing module, a production interface calling module and a production result acquisition module.

[0021] Specifically, the order response module can be used to respond to the transaction order sent by the business system and call the general order interface so that the user can complete the payment based on the business system; the ledger processing module can be used to obtain the ledger information and verify the ledger information; the production interface calling module can be used to call the production interface if the ledger information meets the verification requirements so that the business system can execute the production task corresponding to the transaction order; the production result acquisition module can be used to obtain the production result fed back by the business system after executing the production task, and execute the transaction termination task based on the production result.

[0022] Optionally, the transaction processing device may further include an interface configuration module.

[0023] Specifically, the interface configuration module can be used to configure the order interface so that the business system generates the transaction order according to the interface standard of the order interface.

[0024] Optionally, the transaction processing device may further include an order storage module.

[0025] Specifically, the order storage module can be used to store the transaction order in a storage space corresponding to the business system.

[0026] Optionally, the order storage module may include a personalized data determination unit and a personalized data storage unit.

[0027] Specifically, the personalized data determination unit can be used to determine the personalized data in the transaction order; the personalized data storage unit can be used to store the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data.

[0028] Optionally, the ledger processing module may include a ledger verification unit.

[0029] Specifically, the ledger verification unit can be used to verify one or more of whether the transaction order in the ledger information exists, the status of the transaction order, and the amount of the transaction order.

[0030] Optionally, the ledger processing module may also include an information elimination unit.

[0031] Specifically, the information elimination unit can be used to eliminate information that does not belong to the business system in the ledger information.

[0032] Optionally, the production result acquisition module may include a settlement unit and a refund unit.

[0033] Specifically, the settlement unit may be used to perform a settlement operation if the production task is successfully executed; and the refund unit may be used to perform a refund operation if the production task fails to be executed.

[0034] Optionally, the business system feeds back the production result as an asynchronous feedback process. In this case, the transaction processing device may further include a reverse query interface calling module.

[0035] Specifically, the reverse query interface calling module can be used to call the reverse query interface at a first preset time after calling the production interface, so as to obtain the production result from the business system.

[0036] Optionally, the business system feeds back the production results as a synchronous feedback process. In this case, if the production results are not received within a second preset time after calling the production interface, it is determined whether the number of executions of the synchronous feedback process reaches a preset number of times; if the number of executions of the synchronous feedback process does not reach the preset number of times, the synchronous feedback process is re-executed; if the number of executions of the synchronous feedback process reaches the preset number of times, the reverse query interface is called to obtain the production results from the business system.

[0037] According to one aspect of the present disclosure, another transaction processing device is provided, which may include an order sending module, a user payment module, a production task execution module and a production result feedback module.

[0038] Specifically, the order sending module can be used to send a transaction order to the public system, so that the public system calls the general order interface in response to the transaction order; the user payment module can be used to generate a payment interface based on the call of the general order interface, so that the user can complete the payment; the production task execution module can be used to respond to the operation of the public system calling the production interface and execute the production task corresponding to the transaction order; the production result feedback module can be used to feedback the production result generated after executing the production task to the public system.

[0039] Optionally, the transaction processing device may further include a transaction order generating module.

[0040] Specifically, the transaction order generation module can be used to generate the transaction order according to the interface standard of the order interface of the public system.

[0041] Optionally, the production task execution module may include an agent determination unit and a first request sending unit.

[0042] Specifically, the agent determination unit can be used to determine the agent corresponding to the transaction order; the first request sending unit can be used to send a task processing request to the agent, so that the agent responds to the task processing request to process the task corresponding to the transaction order.

[0043] Optionally, the production result feedback module includes a processing result determination unit, a first production result generation unit and a first production result sending unit.

[0044] Specifically, the processing result determination unit can be used to determine the task processing result of the agent; the first production result generation unit can be used to generate a production result based on the task processing result; and the first production result sending unit can be used to send the production result to the public system.

[0045] Optionally, the production result feedback module may include a second request sending unit, a second production result generating unit and a second production result sending unit.

[0046] Specifically, the second request sending unit can be used to respond to the operation of the public system calling the reverse query interface and send a task processing result acquisition request to the agent; the second production result generating unit can be used to generate a production result based on the task processing result sent by the agent in response to the task processing result acquisition request; the second production result sending unit can be used to send the production result to the public system.

[0047] According to one aspect of the present disclosure, there is provided a storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the transaction processing methods described above is implemented.

[0048] According to one aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the transaction processing methods described above by executing the executable instructions.

[0049] In the technical solutions provided by some embodiments of the present disclosure, the public system responds to the transaction order sent by the business system and calls the order interface so that the user can complete the payment based on the backend payment system; the public system obtains the ledger information and verifies the ledger information to determine the control business system to complete the production task after the incident; the business system feeds back the production result to the public system after executing the production task, and the public system executes the transaction end task based on the production result. The present disclosure implements the general process that is not related to the personalized needs of the business in the public system, avoiding the situation where all new businesses will develop general processes, reducing the workload of developing business systems, and thus avoiding the consumption of resources for repeated testing of general processes, reducing maintenance costs.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0052] Figure 1 A flowchart schematically illustrates a transaction processing method applied to a public system according to an exemplary embodiment of the present disclosure;

[0053] Figure 2 A flowchart schematically illustrates a transaction processing method applied to a business system according to an exemplary embodiment of the present disclosure;

[0054] Figure 3 A flowchart schematically shows the entire process of a transaction processing method according to an exemplary embodiment of the present disclosure;

[0055] Figure 4 A block diagram schematically shows a transaction processing device applied to a public system according to an exemplary embodiment of the present disclosure;

[0056] Figure 5 A block diagram schematically shows a transaction processing device applied to a public system according to another exemplary embodiment of the present disclosure;

[0057] Figure 6 A block diagram schematically shows a transaction processing device applied to a public system according to another exemplary embodiment of the present disclosure;

[0058] Figure 7 Schematically shows a block diagram of an order storage module applied to a utility system according to an exemplary embodiment of the present disclosure;

[0059] Figure 8 A block diagram schematically shows a ledger processing module applied to a public system according to an exemplary embodiment of the present disclosure;

[0060] Fig. 9 A block diagram of a ledger processing module applied to a public system according to another exemplary embodiment of the present disclosure is schematically shown;

[0061] Fig.10 A block diagram schematically shows a production result acquisition module applied to a public system according to an exemplary embodiment of the present disclosure;

[0062] Fig.11 A block diagram schematically shows a transaction processing device applied to a public system according to another exemplary embodiment of the present disclosure;

[0063] Fig.12 A block diagram schematically shows a transaction processing device applied to a business system according to an exemplary embodiment of the present disclosure;

[0064] Fig.13 A block diagram schematically shows a transaction processing device applied to a business system according to another exemplary embodiment of the present disclosure;

[0065] Fig.14 A block diagram schematically shows a production task execution module applied to a business system according to an exemplary embodiment of the present disclosure;

[0066] Fig.15 Schematically shows a block diagram of a production result feedback module applied to a business system according to an exemplary embodiment of the present disclosure;

[0067] Fig.16 Schematically shows a block diagram of a production result feedback module applied to a business system according to another exemplary embodiment of the present disclosure;

[0068] Fig.17 A schematic diagram showing a storage medium according to an exemplary embodiment of the present disclosure; and

[0069] Fig.18A block diagram of an electronic device according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0070] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0071] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0072] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.

[0073] In the transaction process, although different business systems implement different businesses, these business systems all involve processes such as order placement, payment, settlement, refund, etc. Each business system will assemble unified parameters, in which case there will be repeated development, increasing development and maintenance costs.

[0074] In addition, currently, order data is stored in various business systems in a scattered manner, and the back-end order management functions are repeated. When business personnel are responsible for multiple systems, they need to switch between multiple back-end systems, and the data collection, analysis, and statistics processes are not conducive to integration.

[0075] In view of this, the present disclosure provides a transaction data method and device, which can solve the problem of repeated development of the above-mentioned business systems by configuring the process that is not related to the personalized business needs in a public system. The public system described in the present disclosure can be a system developed by business personnel themselves, which is used to execute the steps of the following transaction data method or include the following transaction data device. Specifically, the public system can be understood as a server, that is, the following transaction data method or transaction data device can be implemented using a server.

[0076] Figure 1 The flowchart schematically shows a transaction processing method applied to a public system according to an exemplary embodiment of the present disclosure. Figure 1 , the transaction processing method applied to the public system may include the following steps:

[0077] S12. In response to the transaction order sent by the business system, a general order placement interface is called so that the user can complete the payment based on the business system.

[0078] First, the business system can generate a transaction order based on the user's order operation (for example, purchasing goods, paying fees, etc.), and the transaction order can include but is not limited to the following information: the amount, quantity, merchant information, user ID, whether to enjoy discounts, etc. Then, the business system can send the transaction order to the public system.

[0079] In addition, the public system can configure the order interface in advance in response to the developer's operation. In this case, the business system can generate a transaction order according to the interface standard of the order interface and send it to the public system.

[0080] Next, the public system can call the general order interface in response to the transaction order. Specifically, by calling the general order interface, the public system can send the information of the transaction order to the system responsible for the transaction logic (referred to as the general system), so that the general system can determine the logical process of processing the transaction order and generate a unique order number.

[0081] After calling the general ordering interface, the general system can send a payment link to the business system to trigger the payment process in the business system. The user can complete the payment according to the payment interface corresponding to the payment link of the business system.

[0082] According to some embodiments of the present disclosure, the public system can store the transaction order. Specifically, the public system allocates different storage spaces for different business systems, that is, the transaction order of business system A will only be stored in the storage space corresponding to business system A, and will not be stored in the storage space corresponding to business system B. In this way, the horizontal expansion of business data storage can be achieved, the management of business data can be strengthened, and the efficiency can be improved.

[0083] In addition, a transaction order usually contains common data and personalized data actually associated with the business. In order to manage data in a unified manner. The exemplary embodiment of the present disclosure uses dynamic fields to store transaction order data. Specifically, the storage space may include a static field area and a dynamic field area, wherein the static field area may store some data in a common format, and for the dynamic field area, developers can configure the dynamic field area according to the actual data type and length related to the business, thereby, in the subsequent process of storing and / or querying order data, the order data can be stored and / or queried according to the configured attributes.

[0084] In this case, the public system may determine the personalized data in the transaction order, and store the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data.

[0085] S14. Obtain ledger information and verify the ledger information.

[0086] After the user completes the payment, since the system used for payment is associated with the above-mentioned general system, or the general system includes the system used for payment, the above-mentioned general system can determine whether the payment is completed. After the general system determines that the payment is completed, the ledger information can be sent to the public system, where the ledger information can be an MQ message after the payment is successful. In addition, the MQ message can use Apache Kafka middleware. It should be understood that the ledger information described in the present disclosure can include all transaction information currently triggered by different business systems.

[0087] After obtaining the ledger information, the public system can perform logical processing on the ledger information. Specifically, on the one hand, the public system can remove the information in the ledger information that does not belong to the business system corresponding to the transaction order in step S12 to reduce the processing burden of the system. On the other hand, the public system can also verify whether the transaction order exists, the status of the transaction order, and the amount of the transaction order in the ledger information. In addition, other items related to the transaction order can also be verified. For example, it can be verified whether the transaction order has been withdrawn by the user. If it is verified that the transaction order is withdrawn, the public system can execute the refund process.

[0088] S16. If the ledger information meets the verification requirements, the production interface is called so that the business system executes the production task corresponding to the transaction order.

[0089] The verification requirements described in the present disclosure may include, but are not limited to, the ledger information includes the transaction order, the status of the transaction order is normal and has not been processed, the amount of the transaction order in the ledger information is consistent with the amount stored in the public system itself, etc. It is easy for those skilled in the art to understand that the verification requirements may also include other items, which are not particularly limited in this exemplary embodiment.

[0090] If the ledger information meets the verification requirements, for example, as described above, the public system can call the production interface, in which case the business system can execute the production task corresponding to the transaction order. Specifically, in a scenario where interaction with an agent is required (e.g., mobile phone recharge), first, the business system can determine the agent corresponding to the transaction order, and then the business system can send a task processing request to the agent so that the agent responds to the task processing request to process the task corresponding to the transaction order.

[0091] Taking mobile phone recharge as an example, the business system can call the communication agent's interface and send a recharge instruction of 100 yuan to the agent. The communication agent can respond to the instruction to complete the recharge of the mobile phone number contained in the instruction.

[0092] S18. Obtain the production result fed back by the business system after executing the production task, and execute the transaction ending task based on the production result.

[0093] After executing the production task, the business system can generate a production result, and can send the production result to the public system in a synchronous or asynchronous manner. The production result can, for example, include an indication of whether the production is successful.

[0094] The public system can execute the transaction end task based on the production result. Specifically, if the production result indicates that the production task is successful, that is, the processing of the transaction order has been completed, the public system can perform a settlement operation. In addition, if the production result indicates that the production task failed, that is, the processing of the transaction order could not be completed due to reasons such as agents and transmission networks, the public system can perform a refund operation to return the amount paid by the user to the user.

[0095] In addition, in the case where an agent is involved in the execution of a production task, first, the business system can determine the agent's task processing results; then, the business system can generate production results based on the task processing results; next, the business system can send the production results to the public system.

[0096] According to some embodiments of the present disclosure, in the case of asynchronously sending production results to a public system, the public system can obtain the production results by calling a reverse query interface. Specifically, the public system can call the reverse query interface after a first preset time after calling the above-mentioned production interface. The first preset time can be set by the developer according to the actual business situation, for example, 2 minutes. This is not particularly limited in this exemplary embodiment.

[0097] In addition, in the scenario of sending production results asynchronously, first, the business system can respond to the public system's call of the reverse query interface and send a request to the agent to obtain the task processing result; next, the business system can generate the production result based on the task processing result sent by the agent in response to the request to obtain the task processing result; then, the business system can send the production result to the public system.

[0098] According to some other embodiments, in the case of synchronously sending the production results to the public system, after the business system generates the production results, the public system can directly obtain the production results and execute the corresponding transaction completion task.

[0099] In addition, in the scenario of synchronously sending production results, if the public system does not receive the production results sent by the business system within a second preset time after calling the production interface, the public system can determine whether the number of executions of the synchronous feedback results has reached a preset number (for example, 3 times, 5 times, 10 times, etc.). Among them, the second preset time can be set by the developer according to the actual business situation, for example, 1 minute. If the number of executions of the synchronous feedback process does not reach the preset number, the public system re-executes the synchronous feedback process; if the number of executions of the synchronous feedback process reaches the preset number, the public system can call the reverse query interface described above so that the public system can obtain the production results from the business system.

[0100] Figure 2 The flowchart of the transaction processing method applied to the business system according to the exemplary embodiment of the present disclosure is schematically shown. Figure 2 , the transaction processing method applied to the business system may include the following steps:

[0101] S22. Sending a transaction order to a public system so that the public system calls a general order placement interface in response to the transaction order;

[0102] S24. Generate a payment interface based on the call of the general order interface so that the user can complete the payment;

[0103] S26. In response to the public system calling the production interface operation, executing the production task corresponding to the transaction order;

[0104] S28. Feedback the production results generated after executing the production task to the public system.

[0105] The descriptions of steps S22 to S28 have been described in detail in the above-mentioned transaction processing method applied to the public system and will not be repeated here.

[0106] The following will refer to Figure 3 The entire process of the transaction processing method according to the exemplary embodiment of the present disclosure is described.

[0107] In step S301, the business system can generate a transaction order; in step S303, the business system can send the transaction order to the public system; in step S305, the public system can call the general order interface so that the business system user can complete the payment; in step S307, the business system can respond to the user operation to complete the payment; in step S309, the public system can obtain the ledger information, and process and verify the ledger information; in step S311, when the ledger information meets the verification requirements, the public system can call the production interface so that the business system performs the production task; in step S313, the business system can call the agent interface; in step S315, the agent can process the order task and generate the task processing result; in step S317, the agent can send the task processing result to the business system; in step S319, the business system can generate the production result based on the task processing result sent by the agent, and send the production result to the public system; in step S321, the public system can execute the transaction end task and complete the settlement or refund process.

[0108] In summary, in the transaction processing method of the exemplary embodiment of the present disclosure, the public system responds to the transaction order sent by the business system and calls the order interface so that the user can complete the payment based on the backend payment system; the public system obtains the ledger information and verifies the ledger information to determine the control business system to complete the production task after the incident; the business system feeds back the production result to the public system after executing the production task, and the public system executes the transaction end task based on the production result. The present disclosure implements the general process that is not related to the personalized needs of the business in the public system, avoiding the situation where all new businesses will develop general processes, reducing the workload of developing business systems, and thus avoiding the consumption of resources for repeated testing of general processes, reducing maintenance costs.

[0109] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0110] Furthermore, this example implementation also provides a transaction processing device.

[0111] Figure 4 The block diagram schematically shows a transaction processing device applied to a public system according to an exemplary embodiment of the present disclosure. Figure 4 According to an exemplary embodiment of the present disclosure, a transaction processing device 4 applied to a public system may include an order response module 41, a ledger processing module 43, a production interface calling module 45 and a production result acquisition module 47.

[0112] Specifically, the order response module 41 can be used to respond to the transaction order sent by the business system and call the general order interface so that the user can complete the payment based on the business system; the ledger processing module 43 can be used to obtain the ledger information and verify the ledger information; the production interface calling module 45 can be used to call the production interface if the ledger information meets the verification requirements so that the business system can execute the production task corresponding to the transaction order; the production result acquisition module 47 can be used to obtain the production result fed back by the business system after executing the production task, and execute the transaction termination task based on the production result.

[0113] According to an exemplary embodiment of the present disclosure, referring to Figure 5 Compared with the transaction processing device 4, the transaction processing device 5 includes not only the order response module 41, the ledger processing module 43, the production interface calling module 45 and the production result acquisition module 47, but also an interface configuration module 51.

[0114] Specifically, the interface configuration module 51 may be used to configure an order interface so that the business system generates the transaction order according to the interface standard of the order interface.

[0115] According to an exemplary embodiment of the present disclosure, referring to Figure 6 Compared with the transaction processing device 4, the transaction processing device 6 includes, in addition to the order response module 41, the ledger processing module 43, the production interface calling module 45 and the production result acquisition module 47, an order storage module 61 can also be included.

[0116] Specifically, the order storage module 61 may be used to store the transaction order in a storage space corresponding to the business system.

[0117] According to an exemplary embodiment of the present disclosure, referring to Figure 7 The order storage module 61 may include a personalized data determination unit 701 and a personalized data storage unit 703 .

[0118] Specifically, the personalized data determination unit 701 can be used to determine the personalized data in the transaction order; the personalized data storage unit 703 can be used to store the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data.

[0119] According to an exemplary embodiment of the present disclosure, referring to Figure 8 The ledger processing module 43 may include a ledger verification unit 801.

[0120] Specifically, the ledger verification unit 801 can be used to verify one or more of whether the transaction order in the ledger information exists, the status of the transaction order, and the amount of the transaction order.

[0121] According to an exemplary embodiment of the present disclosure, referring to Fig. 9 The ledger processing module 43 may also include an information elimination unit 901.

[0122] Specifically, the information elimination unit 901 can be used to eliminate information that does not belong to the business system in the ledger information.

[0123] According to an exemplary embodiment of the present disclosure, referring to Fig.10 The production result acquisition module 47 may include a settlement unit 101 and a refund unit 103 .

[0124] Specifically, the settlement unit 101 may be used to perform a settlement operation if the production task is successfully executed; and the refund unit 103 may be used to perform a refund operation if the production task fails to be executed.

[0125] According to an exemplary embodiment of the present disclosure, the business system feedbacks the production result as an asynchronous feedback process. In this case, reference Fig.11 Compared with the transaction processing device 4, the transaction processing device 11 includes, in addition to the order response module 41, the ledger processing module 43, the production interface calling module 45 and the production result acquisition module 47, also a reverse query interface calling module 111.

[0126] Specifically, the reverse query interface calling module 111 can be used to call the reverse query interface at a first preset time after calling the production interface, so as to obtain the production result from the business system.

[0127] According to an exemplary embodiment of the present disclosure, the business system feeds back the production results as a synchronous feedback process. In this case, if the production results are not received within a second preset time after calling the production interface, it is determined whether the number of executions of the synchronous feedback process reaches the preset number; if the number of executions of the synchronous feedback process does not reach the preset number, the synchronous feedback process is re-executed; if the number of executions of the synchronous feedback process reaches the preset number, the reverse query interface is called to obtain the production results from the business system.

[0128] Fig.12 The block diagram schematically shows a transaction processing device applied to a business system according to an exemplary embodiment of the present disclosure. Fig.12 According to an exemplary embodiment of the present disclosure, the transaction processing device 12 applied to the business system may include an order sending module 121, a user payment module 123, a production task execution module 125 and a production result feedback module 127.

[0129] Specifically, the order sending module 121 can be used to send a transaction order to the public system, so that the public system calls the general order interface in response to the transaction order; the user payment module 123 can be used to generate a payment interface based on the call of the general order interface, so that the user can complete the payment; the production task execution module 125 can be used to respond to the operation of the public system calling the production interface and execute the production task corresponding to the transaction order; the production result feedback module 127 can be used to feedback the production result generated after executing the production task to the public system.

[0130] According to an exemplary embodiment of the present disclosure, referring to Fig.13 Compared with the transaction processing device 12, the transaction processing device 13 may include a transaction order generating module 131 in addition to the order sending module 121, the user payment module 123, the production task execution module 125 and the production result feedback module 127.

[0131] Specifically, the transaction order generating module 131 may be used to generate the transaction order according to the interface standard of the order interface of the public system.

[0132] According to an exemplary embodiment of the present disclosure, referring to Fig.14 The production task execution module 125 may include an agent determination unit 1401 and a first request sending unit 1403 .

[0133] Specifically, the agent determination unit 1401 can be used to determine the agent corresponding to the transaction order; the first request sending unit 1403 can be used to send a task processing request to the agent, so that the agent responds to the task processing request to process the task corresponding to the transaction order.

[0134] According to an exemplary embodiment of the present disclosure, referring to Fig.15 The production result feedback module 127 includes a processing result determination unit 1501 , a first production result generation unit 1503 and a first production result sending unit 1505 .

[0135] Specifically, the processing result determination unit 1501 can be used to determine the task processing result of the agent; the first production result generation unit 1503 can be used to generate a production result based on the task processing result; and the first production result sending unit 1505 can be used to send the production result to the public system.

[0136] According to an exemplary embodiment of the present disclosure, referring to Fig.16 The production result feedback module 127 may include a second request sending unit 1601 , a second production result generating unit 1603 , and a second production result sending unit 1605 .

[0137] Specifically, the second request sending unit 1601 can be used to respond to the operation of the public system calling the reverse query interface and send a task processing result acquisition request to the agent; the second production result generating unit 1603 can be used to generate a production result based on the task processing result sent by the agent in response to the task processing result acquisition request; the second production result sending unit 1605 can be used to send the production result to the public system.

[0138] In the transaction processing device of the exemplary embodiment of the present disclosure, general processes that are unrelated to the personalized needs of the business are placed in a public system for implementation, thereby avoiding the situation where all new businesses have to develop general processes, reducing the workload of developing business systems, and further avoiding the consumption of resources due to repeated testing of general processes, thereby reducing maintenance costs.

[0139] Since the functional modules of the program running performance analysis device according to the embodiment of the present invention are the same as those in the above-mentioned method invention embodiment, they will not be described in detail here.

[0140] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0141] refer to Fig.17As shown, a program product 1700 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0142] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0143] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0144] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0145] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0146] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0147] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0148] Refer to the following Fig.18 18. An electronic device 1800 according to this embodiment of the present invention is described. Fig.18 The electronic device 1800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0149] like Fig.18 As shown, the electronic device 1800 is in the form of a general computing device. The components of the electronic device 1800 may include, but are not limited to: the at least one processing unit 1810, the at least one storage unit 1820, a bus 1830 connecting different system components (including the storage unit 1820 and the processing unit 1810), and a display unit 1840.

[0150] The storage unit stores program codes, which can be executed by the processing unit 1810, so that the processing unit 1810 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1810 can perform the following steps: Figure 1 Steps S12 to S18 shown in FIG. Figure 2 Steps S22 to S28 shown in FIG.

[0151] The storage unit 1820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 18201 and / or a cache storage unit 18202 , and may further include a read-only storage unit (ROM) 18203 .

[0152] The storage unit 1820 may also include a program / utility 18204 having a set (at least one) of program modules 18205, such program modules 18205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0153] Bus 1830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0154] The electronic device 1800 may also communicate with one or more external devices 1900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1800, and / or communicate with any device that enables the electronic device 1800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1850. In addition, the electronic device 1800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1860. As shown, the network adapter 1860 communicates with other modules of the electronic device 1800 via a bus 1830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0155] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0156] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0157] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0158] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0159] It should be understood that the present disclosure is not limited to the exact 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 disclosure is limited only by the appended claims.

Claims

1. A transaction processing method, characterized in that: include: The public system responds to the transaction order sent by the business system and calls the general order interface so that the user can complete the payment based on the business system; wherein the public system allocates different storage spaces for different business systems, determines the personalized data in the transaction order, and stores the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data; The public system obtains the ledger information and verifies the ledger information; If the ledger information meets the verification requirements, calling the production interface so that the business system executes the production task corresponding to the transaction order; Obtaining the production result fed back by the business system after executing the production task, and executing the transaction ending task based on the production result; The business system feedbacks the production result as an asynchronous feedback process; wherein the transaction processing method further comprises: After a first preset time has passed since the production interface was called, a reverse query interface is called to obtain the production result from the business system; or The business system feeds back the production result as a synchronous feedback process; wherein the transaction processing method further comprises: If the production result is not received within a second preset time after calling the production interface, determining whether the number of times the synchronous feedback process is executed reaches a preset number; If the number of executions of the synchronous feedback process does not reach the preset number, re-execute the synchronous feedback process; If the number of executions of the synchronous feedback process reaches the preset number, the reverse query interface is called to obtain the production result from the business system.

2. The transaction processing method according to claim 1, characterized in that: The transaction processing method further includes: An order interface is configured so that the business system generates the transaction order according to the interface standard of the order interface.

3. The transaction processing method according to claim 1, characterized in that: Verifying the account information includes: Verify one or more of whether the transaction order in the ledger information exists, the status of the transaction order, and the amount of the transaction order.

4. The transaction processing method according to claim 1 or 3, characterized in that: Before verifying the ledger information, the transaction processing method further includes: Eliminate the information in the ledger that does not belong to the business system.

5. The transaction processing method according to claim 1, characterized in that: Executing the transaction closing task based on the production result includes: If the production task is successfully executed, a settlement operation is performed; If the production task fails to be executed, a refund operation is performed.

6. A transaction processing method, characterized in that: include: Sending a transaction order to a public system so that the public system calls a universal order placement interface in response to the transaction order; Generate a payment interface based on the call of the universal ordering interface so that the user can complete the payment; In response to the public system calling the production interface operation, executing the production task corresponding to the transaction order; including: determining the agent corresponding to the transaction order; sending a task processing request to the agent, so that the agent responds to the task processing request to process the task corresponding to the transaction order; Feedback to the public system the production results generated after executing the production task; Feedback of the production result to the public system is an asynchronous feedback process; and feedback of the production result generated after executing the production task to the public system includes: In response to the public system calling the reverse query interface, sending a task processing result acquisition request to the agent; generating a production result based on the task processing result sent by the agent in response to the task processing result acquisition request; sending the production result to the public system; The public system allocates different storage spaces to different business systems, and stores the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data in the transaction order.

7. The transaction processing method according to claim 6, characterized in that: The transaction processing method further includes: The transaction order is generated according to the interface standard of the order interface of the public system.

8. The transaction processing method according to claim 6, characterized in that: Feeding back to the public system the production result generated after executing the production task also includes: Determining the task processing results of the agent; generating a production result based on the task processing result; The production results are sent to the public system.

9. A transaction processing device, applied to a public system, characterized in that: include: An order response module is used to respond to the transaction order sent by the business system and call the general order interface so that the user can complete the payment based on the business system; wherein the public system allocates different storage spaces for different business systems, determines the personalized data in the transaction order, and stores the personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data; A ledger processing module, used to obtain ledger information and verify the ledger information; A production interface calling module, used for calling the production interface so that the business system executes the production task corresponding to the transaction order if the ledger information meets the verification requirements; A production result acquisition module, used to acquire the production result fed back by the business system after executing the production task, and execute the transaction end task based on the production result; The business system feeds back the production result as an asynchronous feedback process, and the device further comprises: A reverse query interface calling module is used to call the reverse query interface a first preset time after calling the production interface, so as to obtain the production result from the business system; or, The business system feeds back production results as a synchronous feedback process; the device is also used to determine whether the number of times the synchronous feedback process is executed reaches a preset number if no production results are received within a second preset time after calling the production interface; if the number of times the synchronous feedback process is executed does not reach the preset number, re-execute the synchronous feedback process; if the number of times the synchronous feedback process is executed reaches the preset number, call the reverse query interface to obtain the production results from the business system.

10. A transaction processing device, characterized in that: include: An order sending module, used for sending a transaction order to a public system, so that the public system calls a universal order placement interface in response to the transaction order; A user payment module, used to generate a payment interface based on the call of the universal ordering interface, so that the user can complete the payment; A production task execution module, used to respond to the operation of the public system calling the production interface and execute the production task corresponding to the transaction order; A production result feedback module, used for feeding back to the public system the production result generated after executing the production task; The production task execution module includes an agent determination unit and a first request sending unit; wherein the agent determination unit is used to determine the agent corresponding to the transaction order; the first request sending unit is used to send a task processing request to the agent, so that the agent responds to the task processing request to process the task corresponding to the transaction order; The production result feedback module includes a second request sending unit, a second production result generating unit and a second production result sending unit, wherein the second request sending unit is used to respond to the operation of the public system calling the reverse query interface and send a task processing result acquisition request to the agent; the second production result generating unit is used to generate a production result based on the task processing result sent by the agent in response to the task processing result acquisition request; the second production result sending unit is used to send the production result to the public system; wherein the public system allocates different storage spaces for different business systems, and stores personalized data in the dynamic field area of ​​the storage space according to the attributes of the personalized data in the transaction order.

11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the transaction processing method according to any one of claims 1 to 8 is implemented.

12. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to perform the transaction processing method according to any one of claims 1 to 8 by executing the executable instructions.