Order aggregation processing method, device and system and electronic equipment

By introducing a unified payment and cashier aggregation platform in offline stores, the problem of high difficulty in connecting multiple payment methods in offline stores is solved, and unified control of payment methods and financial management is achieved, reducing development costs and improving efficiency.

CN119599653APending Publication Date: 2025-03-11BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411676934.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

When offline stores docking multiple payment methods, they face the problems of high docking difficulties, high development costs and low docking efficiency, and require manual management of the ledger system.

Method used

A method of order aggregation processing is proposed. Through a unified payment and cash register aggregation platform, it supports the docking of multiple payment methods, including mini-program payment, card swiping, cash payment, etc., and only a set of payment and cash register process and interface are needed. The method includes determining whether there is matching order information, writing it to the ledger system to generate a receivable ledger record, determining the processing system according to the value transfer method, and completing the value transfer according to the processing process.

Benefits of technology

It reduces the difficulty and cost of offline store docking and multiple payment and cash register systems, improves docking efficiency, realizes unified control of financial management, and saves R&D resources for new store docking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599653A_ABST
    Figure CN119599653A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an order aggregation processing method, device and system and electronic equipment. A specific embodiment of the method comprises the steps of determining whether order information matched with a value transfer request exists in response to the received value transfer request sent by a business system; in response to determining that the matched order information does not exist, writing the order information into a machine account system, and generating a receivable machine account record of the order information; determining a value receiving system for processing the value transfer request according to a value transfer mode of the value transfer request; and processing the value transfer request according to the processing flow of the value receiving system to complete value transfer. The implementation mode is related to e-commerce and payment technologies, different payment modes can be aggregated into one payment process, docking with each payment cashier system is realized, and thus the docking complexity is reduced. And moreover, automatic writing of financial related accounting data can be realized, and financial management and control requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the fields of e-commerce and payment technology, and in particular to an order aggregation processing method, device, system, and electronic device. Background Art

[0002] At present, in offline store business, when making offline payments, different payment methods usually need to be connected to different payment and cashier systems. For example, small program payment and H5 payment need to be connected to the cashier system; if cash payment is made, it needs to be connected to the store's cash system.

[0003] However, the inventors found that if they want to conduct financial management and control of these offline store businesses, they often need to connect multiple payment and cashier systems to each store. This will not only increase the difficulty and development cost of connection, but also affect the efficiency of connection. It also requires manual management and maintenance of the ledger system. Summary of the invention

[0004] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0005] Some embodiments of the present disclosure propose an order aggregation processing method, an order aggregation processing device, an order aggregation processing system, an electronic device, a computer-readable medium and a computer program product to solve one or more of the technical problems mentioned in the above background technology section.

[0006] In a first aspect, some embodiments of the present disclosure provide an order aggregation processing method, including: in response to receiving a value transfer request sent by a business system, determining whether there is order information matching the value transfer request; in response to determining that there is no matching order information, writing the order information into a ledger system to generate an accounts receivable ledger record for the order information; based on the value transfer method of the value transfer request, determining a value receiving system for processing the value transfer request; and processing the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

[0007] In some embodiments, the method further includes: in response to determining that the value transfer request has been completed, generating a received ledger record of the order information in the ledger system; in response to receiving a first notification message sent by the ledger system, updating the status of the order information, wherein the first notification message indicates that the ledger record verification of the order information is complete.

[0008] In some embodiments, the value transfer request is processed according to the processing flow of the value receiving system, including: determining the interface data of the value receiving system, and calling the value receiving system according to the interface data; sending an interface request for processing the value transfer request to the value receiving system, so that the value receiving system processes the value transfer request according to the processing flow.

[0009] In some embodiments, the method further includes: in response to determining that there is matching order information, verifying the validity period of the order information; in response to determining that the order information exceeds the validity period, sending a prompt message indicating that the order is invalid to the business system.

[0010] In some embodiments, determining whether there is order information that matches the value transfer request includes: verifying the request parameters of the value transfer request; in response to determining that the verification passes, determining whether there is order information that matches the value transfer request based on identification information in the value transfer request.

[0011] In some embodiments, the method also includes: in response to receiving a value refund request sent by the business system, sending a refund application to the value refund system according to the target order information indicated by the value refund request, so that the value refund system sends the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing; in response to receiving a second notification information sent by the value refund system, updating the status of the target order information, wherein the second notification information is used to indicate that the value refund of the target order information is completed, and the second notification information is generated when the value receiving system completes the value refund.

[0012] In some embodiments, the value transfer method includes at least two offline value transfer implementation methods, including at least two of the following: software program transfer, device scanning transfer, card swiping transfer, physical currency, offline remittance, corporate accounting, and insurance pooling.

[0013] In a second aspect, some embodiments of the present disclosure provide an order aggregation processing device, including: an order matching unit, configured to determine whether there is order information matching the value transfer request in response to receiving a value transfer request sent by a business system; a ledger record generating unit, configured to write the order information into the ledger system in response to determining that there is no matching order information, and generate an accounts receivable ledger record of the order information; a system determination unit, configured to determine a value receiving system for processing the value transfer request based on the value transfer method of the value transfer request, wherein the value transfer method includes at least two offline methods of realizing value transfer; a value transfer processing unit, configured to process the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

[0014] In some embodiments, the order aggregation processing device also includes an order status update unit, which is configured to generate a received ledger record of the order information in the ledger system in response to determining that the value transfer of the value transfer request is completed; in response to receiving a first notification message sent by the ledger system, update the status of the order information, wherein the first notification message indicates that the ledger record verification of the order information is completed.

[0015] In some embodiments, the value transfer processing unit is further configured to determine the interface data of the value receiving system, and call the value receiving system according to the interface data; send an interface request for processing the value transfer request to the value receiving system, so that the value receiving system processes the value transfer request according to the processing flow.

[0016] In some embodiments, the order aggregation processing device also includes an order verification unit, which is configured to verify the validity period of the order information in response to determining that there is matching order information; in response to determining that the order information exceeds the validity period, send a prompt message indicating that the order is invalid to the business system.

[0017] In some embodiments, the order matching unit is further configured to verify the request parameters of the value transfer request; in response to determining that the verification is passed, determine whether there is order information matching the value transfer request based on the identification information in the value transfer request.

[0018] In some embodiments, the order aggregation processing device also includes a value refund unit, which is configured to, in response to receiving a value refund request sent by the business system, send a refund application to the value refund system according to the target order information indicated by the value refund request, so that the value refund system sends the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing; in response to receiving a second notification information sent by the value refund system, update the status of the target order information, wherein the second notification information is used to indicate that the value refund of the target order information is completed, and the second notification information is generated when the value receiving system completes the value refund.

[0019] In some embodiments, the value transfer method includes at least two offline value transfer implementation methods, including at least two of the following: software program transfer, device scanning transfer, card swiping transfer, physical currency, offline remittance, corporate accounting, and insurance pooling.

[0020] In the third aspect, some embodiments of the present disclosure provide an order aggregation processing system, including: a business system, configured to interact with a user terminal and send a value transfer request generated by the interaction to an aggregation platform; the aggregation platform, configured to respond to receiving a value transfer request sent by the business system, adopt the order aggregation processing method described in any implementation method in the above-mentioned first aspect, call the interface of the relevant system, and process the value transfer request; multiple value receiving systems, configured to respond to receiving an interface request for processing the value transfer request sent by the aggregation platform, and process the value transfer request according to the processing flow; a ledger system, configured to generate an accounts receivable ledger record of the order information according to the order information written by the aggregation platform.

[0021] In some embodiments, multiple value receiving systems are also configured to, in response to the completion of the value transfer, write the order information indicated by the value transfer request into the ledger system; the ledger system is also configured to generate a received ledger record of the order information based on the order information written by the value receiving system, and to verify the receivable ledger record and the received ledger record of the order information, and in response to the completion of the verification, send a first notification message to the aggregation platform; the aggregation platform is also configured to, in response to receiving the first notification message sent by the ledger system, update the status of the order information indicated by the first notification message, and send a notification message to the value receiving system.

[0022] In some embodiments, the order aggregation processing system also includes a value refund system; the aggregation platform is also configured to, in response to receiving a value refund request sent by the business system, send a refund application to the value refund system according to the target order information indicated by the value refund request, in response to receiving a second notification message sent by the value refund system, update the status of the order information, and send notification information to the value receiving system; the value refund system is configured to, in response to receiving a refund application sent by the aggregation platform, send the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing, and in response to receiving information sent by the value receiving system indicating that the value refund is completed, send a second notification message to the aggregation platform.

[0023] In a fourth aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the order aggregation processing method described in any implementation method in the above-mentioned first aspect.

[0024] In a fifth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the order aggregation processing method described in any one of the implementations in the first aspect above is implemented.

[0025] In a sixth aspect, some embodiments of the present disclosure provide a computer program product, including a computer program, which, when executed by a processor, implements the order aggregation processing method described in any implementation manner in the above-mentioned first aspect.

[0026] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: The order aggregation processing method of some embodiments of the present disclosure can reduce the difficulty of connecting offline stores to multiple payment and cashier systems, improve the efficiency of connection, and realize financial control. Specifically, for the offline stores of the main body within the group and the business systems of non-mall orders, in order to meet the financial control requirements of the group, conventional payment methods, such as mini-program payment, QR code payment, cash payment, offline remittance and insurance reimbursement, need to be connected to multiple payment and cashier systems within the group. This will increase the difficulty of connection and development costs, and different stores are connected to the same set of processes, and multiple systems must be connected each time, which is also a waste of resources such as R&D.

[0027] Based on this, the order aggregation processing method disclosed in the present invention provides an order processing method based on a unified payment and cashier aggregation platform. This method can support various payment methods required by the store, but only needs to connect to a set of payment and cashier processes and interfaces. Specifically, after receiving the value transfer request sent by the business system, it can first be determined whether there is order information that matches the value transfer request. If not, it will be written to the ledger system to generate an accounts receivable ledger record for the order information. In this way, the ledger data can be automatically generated, thereby realizing the verification of financial data and meeting financial management requirements.

[0028] In addition, the value receiving system for processing the value transfer request can be determined according to the value transfer method. Then, according to the processing flow of the value receiving system, the value transfer request is processed to complete the value transfer. In other words, the order aggregation processing method based on the unified payment aggregation platform designed in this application can shield the complexity and process docking of multiple payment and cashier systems of the group. In this way, the development difficulty of offline store docking payment and cashier systems can be reduced, the docking cost can be reduced, the R&D resources for new store docking can be saved, and the docking efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0030] Figure 1 is a flow chart of some embodiments of the order aggregation processing method disclosed in the present invention;

[0031] Figure 2 are flow charts of other embodiments of the order aggregation processing method disclosed in the present invention;

[0032] Figure 3 It is a schematic diagram of the structure of some embodiments of the order aggregation processing device disclosed in the present invention;

[0033] Figure 4A is a schematic diagram of the architecture of some embodiments of the order aggregation system disclosed in the present invention;

[0034] Figure 4B yes Figure 4A The interactive diagram of the order aggregation system shown;

[0035] Figure 5 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0036] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0037] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0038] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0039] In addition, the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0040] Figure 1 The process 100 of some embodiments of the order aggregation processing method according to the present disclosure is shown. The method may include the following steps:

[0041] Step 101, in response to receiving a value transfer request sent by a business system, determining whether there is order information matching the value transfer request.

[0042] In some embodiments, the execution subject of the order aggregation processing method disclosed in the present invention is, for example, Figure 4A The aggregation (payment) platform shown in the figure can communicate and connect with other electronic devices (such as the business system in 4A and the systems in the group) through wired or wireless connections. Here, the business system can interact with the user terminal. The business system here can include online business systems and offline business systems. Among them, the online business system can be an e-commerce platform, a mini program or a public account platform, etc. The offline business system can include Figure 4A HIS (Hospital Information System), physical examination store system, etc. For the value transfer generated during the interaction process (such as order payment or settlement, etc.), the business system can send a value transfer request to the execution entity. Among them, the value transfer request can be used to realize the transfer of value, such as a payment request.

[0043] Here, when the execution subject receives the value transfer request sent by the business system, it can first determine whether there is order information matching the value transfer request in the system. Among them, the value transfer request can usually include at least one of the following: request identifier, order identifier (such as code), value attribute value, value transfer method, etc. Here, the request identifier can be used to uniquely indicate the request for request link tracking. The order identifier can be used to uniquely indicate the order for the management of order information. The value attribute value can represent the value attribute of the order, which can include the total amount of the order, the current payment amount, the actual payment amount, etc. The value transfer method can represent the way to achieve value transfer, that is, the payment type. The value transfer method here can be an online value transfer implementation method or an offline value transfer implementation method. In order to meet the business scenarios of offline stores, the above value transfer method can be at least two offline implementation methods, such as software program transfer (i.e. mini program payment), device scanning transfer, card swiping (such as credit card, bank card or shopping card, etc.) transfer, physical currency (i.e. cash), offline remittance, corporate accounting, insurance (such as medical insurance) pooling, etc. The device scanning may include at least one of the following: C scanning B, multi-function terminal (POS, point of sale) scanning code, B scanning C, etc. B represents the merchant, that is, the business system; C represents the consumer, that is, the user.

[0044] In some embodiments, the executing entity can determine whether there is order information that matches (such as the same as) the identification information in the value transfer request, such as the order identification. For another example, the value transfer request may also include a tenant identification to isolate and distinguish data from different business systems. At this time, the executing entity can determine whether there is order information that matches both the order identification and the tenant identification. If so, it means that there is order information that matches the above value transfer request. If not, it means that there is no order information that matches the above value transfer request. At this time, the executing entity can continue to execute subsequent steps.

[0045] Optionally, in order to ensure the effectiveness of data processing and reduce resource waste, after receiving the above value transfer request, the execution entity may first verify the request parameters of the value transfer request. And if it is determined that the verification passes, it may then determine whether there is order information matching the value transfer request.

[0046] It is understandable that the request parameters and verification methods required for verification can be set according to actual needs. That is to say, after the business system initiates a payment request to the aggregation (payment) platform, the platform can first perform a unified parameter verification and a legality verification of the payment amount. Among them, the parameter verification can include whether the required fields are filled in, whether the parameter field type is correct, such as whether the amount is in a numeric format, whether the date type field is legal, etc. After the request parameter verification, it can be determined whether the same order information already exists in the system. If the order information does not exist, it means that it is the first time to initiate, and step 102 can be executed to write the order information into the ledger system.

[0047] In some application scenarios, when it is determined that there is matching order information, the execution entity may also verify the validity period of the order information. The above-mentioned value transfer request may also include a timestamp of the order expiration time. At this time, the execution entity can determine whether the current time has reached the expiration time. If it has not reached, it means that the order information has not exceeded the validity period. If it has reached, it means that the order information has exceeded the validity period. In this case, the execution entity can send a prompt message to the business system indicating that the order has expired. In other words, if the order already exists but has expired, an error message can be returned to the business system: "The order has expired, please change the order number and re-initiate."

[0048] It should be noted that within the validity period of an order, the same order number can be requested repeatedly, and a new expiration time can be passed in. The time is based on the latest parameters. When the validity period of an order is exceeded, the order cannot be paid, and the same order number cannot be requested again. The business system needs to request the order again to generate a new order number.

[0049] Step 102, in response to determining that there is no matching order information, the order information is written into the ledger system to generate an A / R ledger record of the order information.

[0050] In some embodiments, if it is determined that there is no matching order information, the execution entity can write the order information into the ledger system, thereby generating an account receivable record for the order information. In other words, if there is no matching order information, it means that the payment request for the order information is initiated for the first time. In order to realize financial data accounting, the execution entity can first call the external order ledger system interface, through which the order information can be written into the account receivable record. Figure 4A The foreign order ledger system shown in the figure generates the receivables ledger record of the order information. In addition, after the ledger is successfully written, the execution entity can save the order record and the ledger writing status.

[0051] It is understandable that if the order information already exists and is within the validity period, it means that the order information has been written into the foreign order ledger system before, so there is no need to call the foreign order ledger system again to generate the accounts receivable ledger record (i.e., accounts receivable bill). In this case, the execution subject can directly skip the call of the ledger system interface in this step and execute the subsequent steps, i.e., the next step of the transaction system processing.

[0052] Step 103, determining a value receiving system for processing the value transfer request according to the value transfer method of the value transfer request.

[0053] In some embodiments, the execution subject may determine the value receiving system to process the value transfer request based on the value transfer method in the value transfer request. It should be noted that different value transfer methods (i.e. payment methods) often correspond to different value receiving systems (i.e. payment and cashier systems). Figure 4A As shown, mini program payment usually corresponds to the internal cashier system; C scans B, POS scans the code, POS swipes the card, B scans C usually corresponds to the O2O (Online To Offline) transaction system; cash payment usually uses the store cash system; offline remittances generally correspond to the reference system; and the payment method for corporate accounting or insurance reimbursement usually corresponds to a certain calculation system. It should be noted that in the field of e-commerce, internal orders are usually orders generated within the e-commerce platform. These orders are completed by users within the platform through the platform's own shopping process, such as directly placing an order to purchase goods on the e-commerce platform.

[0054] As an example, the execution subject may pre-store a mapping relationship table. The mapping relationship table may represent the correspondence between the value transfer method and the value receiving system. In this way, the execution subject may determine the value receiving system that processes the above value transfer request by querying the mapping relationship table.

[0055] Step 104, processing the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

[0056] In some embodiments, after determining the value receiving system corresponding to the above value transfer request, the execution subject may process the value transfer request according to the processing flow of the value receiving system to complete the transfer of the order value indicated by the value transfer request. As an example, the execution subject may pre-store the access entry address of each value receiving system. In this way, the execution subject can access the access entry address of the value receiving system to achieve communication connection with the value receiving system.

[0057] Optionally, the execution subject may also determine the interface data of the value receiving system, and call the value receiving system according to the interface data. Furthermore, the execution subject may send an interface request for processing the value transfer request to the value receiving system, so that the value receiving system processes the value transfer request according to the processing flow.

[0058] Specifically, the facade design pattern + strategy design pattern can be used to realize the communication connection between the execution subject (i.e., the aggregation platform) and the business system and other systems. Here, the interface class method (such as financeApi in FinanceFacadeJsfService) can serve as the facade entry interface for all business requests. Therefore, the processing logic of each business interface is distributed in this method. The distribution interface logic adopts the strategy pattern, and all different business logic processing classes are uniformly implemented by a strategy interface class (such as FinanceJsfService). That is, the strategy interface is used as a facade interface to uniformly connect to various business systems. In addition, in the attribute information of the interface implementation class, objects (such as Map objects, objects that map keys to values) can be used to store the mapping relationship between all strategy implementation class objects and strategy enumeration class objects. In this way, after the execution subject receives the request of the business system, it can find the corresponding strategy enumeration class object according to the method identifier (such as functionId) field in the request. Among them, the method identifier can correspond to the interface strategy of a specific system. According to the mapping relationship between the strategy implementation class object and the strategy enumeration class object, the strategy implementation class that needs to be forwarded for this request is found, and the processing method of the strategy implementation class is called. Here, the strategy implementation class can mainly include the implementation class for initiating payment request, the implementation class for querying payment result, the implementation class for initiating refund request, the implementation class for querying refund result, the implementation class for querying order status, etc.

[0059] It should be noted that the processing procedures for different value transfer methods are often different. After the execution entity determines the payment and cashier system, it can assemble the interface input parameters of the corresponding system, then initiate the payment and cashier interface request of the corresponding system, and then return different processing results.

[0060] For mini program payment, after initiating a payment interface request to the internal single cashier, a payment link can be returned to the user terminal. The mini program on the user terminal pops up a password input page, and then the payment is completed.

[0061] For the three payment methods of POS code scanning, POS card swiping, and B scanning C, usually after initiating a payment interface request to the O2O transaction system, the payment terminal will be awakened, including barcode scanning guns, barcode scanning boxes, POS machines and other equipment, and the payment will be completed after the user completes the user terminal operation.

[0062] For the payment method of C scanning B, after initiating a payment interface request to the O2O transaction system, a QR code image will generally be returned to the business terminal interface for display, so that the user will actively scan the QR code in the next step to complete the payment.

[0063] For cash payment, after initiating an interface request to the store cash system, the cash system successfully records a cash payment bill, and the real-time payment is completed. Later, the financial staff deposits the cash into the bank account regularly, and then settles the cash bill in the store cash system, and the entire cash payment process is completed.

[0064] For offline remittance payment methods, after initiating an interface request to the reference system, the reference system will record the remittance bill record and return the electronic remittance code to be displayed to the user. The user will operate the bank transfer and carry the electronic remittance code returned by the interface on the electronic transfer slip. Later, when the corporate account receives the transfer funds flow, the corporate financial staff will confirm the previously created remittance bill and the funds collection flow record in the reference system. After the confirmation is completed, the collection process is completed.

[0065] For payment methods such as corporate accounting and insurance reimbursement, an interface request can be initiated to a certain computing system. When making a real-time payment on the spot, it only records an accounting order to be collected. Later, the payment will be recorded in the certain computing system for the enterprise or insurance unit. In real-time transactions, the payment interface request is completed after the interface successfully records the bill.

[0066] It can be seen from the above description that the order aggregation processing method of some embodiments of the present disclosure provides an order processing method based on a unified payment and cashier aggregation platform. This method can support various payment methods required by the store, but only needs to connect to a set of payment and cashier processes and interfaces. Specifically, after receiving the value transfer request sent by the business system, it can first be determined whether there is order information that matches the value transfer request. If not, it will be written to the ledger system to generate an accounts receivable ledger record for the order information. In this way, the ledger data can be automatically generated, thereby realizing the verification of financial data and meeting financial management requirements.

[0067] In addition, the value receiving system for processing the value transfer request can be determined according to the value transfer method. Then, according to the processing flow of the value receiving system, the value transfer request is processed to complete the value transfer. In other words, the order aggregation processing method based on the unified payment aggregation platform designed in this application can shield the complexity and process docking of multiple payment and cashier systems of the group. In this way, the development difficulty of offline store docking payment and cashier systems can be reduced, the docking cost can be reduced, the R&D resources for new store docking can be saved, and the docking efficiency can be improved.

[0068] It should be noted that in order to further realize financial data accounting, after the executing entity determines that the value transfer of the value transfer request is completed, it can also generate a received ledger record of the above order information in the ledger system. As an example, after determining that the value transfer is completed, each value receiving system can send a notification message to the executing entity. In this way, the executing entity can call the interface of the ledger system to write the received ledger record of the order information into the ledger system. For another example, in order to reduce the data interaction process and improve data processing efficiency, when the value transfer is completed, Figure 4B As shown, each value receiving system can also communicate directly with the ledger system, thereby writing the actual receipt ledger record of the order information into the ledger system.

[0069] Here, the ledger system will reconcile the receivable ledger records and the actual receipt ledger records. After the reconciliation is completed, a first notification message indicating the completion of the ledger record reconciliation will be sent to the execution entity. Here, the ledger system can send the information directly to the execution entity, or it can send the information through an MQ (Message Queue) message. The execution entity can listen and subscribe to the message. After receiving the first notification message, the execution entity can update the status of the order information indicated by the first notification message. That is, change the order status to payment completed. In addition, the execution entity can also save and record the content of the information, such as recording the actual payment amount and payment channel transaction serial number in the information content.

[0070] Furthermore, if Figure 4B As shown in the figure, after the order status is updated, the execution entity can notify each business system. Here, multiple notification technologies are also supported, including MQ message notification and http interface active request notification. After the business system receives the notification, the payment collection process is completed.

[0071] Continue to refer Figure 2 , which shows a process 200 of another embodiment of the order aggregation processing method according to the present disclosure. The method may include the following steps:

[0072] Step 201, in response to receiving a value refund request sent by a business system, a refund application is sent to a value refund system according to target order information indicated by the value refund request.

[0073] In some embodiments, in order to meet various application scenarios, the order aggregation processing method disclosed in the present invention can also implement refund processing of the business system. In the embodiments of the present invention, the user can also perform an order refund operation in the business system, thereby generating a refund request (i.e., a value refund request). The execution subject of the order aggregation processing method disclosed in the present invention (i.e., the aggregation platform), upon receiving the value refund request sent by the business system, can send a refund to the value refund system (e.g., the value refund system) according to the target order information indicated by the value refund request. Figure 4A The refund application is sent to the external order refund system shown in . Among them, the value refund request and the refund application can be used to realize the refund of value. It should be noted that in the e-commerce field, external orders are generally orders generated through external channels of the e-commerce platform. These orders may come from offline stores, social platforms or other e-commerce platforms.

[0074] Here, after receiving the refund application, the value refund system can send the refund application to the corresponding value receiving system according to the value transfer method of the target order information. In this way, the value receiving system can perform value refund processing on the target order information. It is understandable that before sending the refund application to the value receiving system, the value refund system can also verify the refund application. The verification content is also not limited, such as whether the target order information exists, the status of the target order information, whether it is within the refund validity period, whether the refund value attribute value in the application is reasonable and correct, etc. In addition, after determining that the value refund is completed, the value refund system can also send corresponding notification information to the executing entity.

[0075] Step 202: in response to receiving the second notification information sent by the value refund system, updating the status of the target order information.

[0076] In some embodiments, upon receiving the second notification information sent by the value refund system, the execution entity may further update the status of the target order information, that is, the order status may be changed to refund completed. The second notification information may be used to indicate that the value refund of the target order information is completed.

[0077] From the above description, it can be seen that the order aggregation processing method disclosed in the present invention has the same process as the refund request process. Figure 1The payment process in the embodiment is similar. After the aggregation platform receives the request, it first initiates a refund application to the foreign order refund system. Then the foreign order refund system forwards the payment method of the positive order to the corresponding actual payment cashier system, and the payment cashier system initiates the actual refund fund processing. The mapping relationship between the payment method and the payment cashier system has been described in detail before and will not be repeated here. When the payment cashier system completes the refund, it will notify the foreign order refund system. The foreign order refund system will record the actual refund amount and refund serial number, and can notify the aggregation platform of the refund completion message. Similarly, the aggregation platform can notify each business system of the refund completion information.

[0078] The order aggregation processing method of the disclosed embodiment further enriches and improves the value return processing flow, which can meet the business scenarios related to value transfer in various business systems, expand the scope of application of the method, and improve the versatility of the method.

[0079] Further references Figure 3 , as a response to the above Figure 1 , 2 The present disclosure provides some embodiments of an order aggregation processing device. These device embodiments are similar to Figure 1 , 2 The device can be specifically applied to various electronic devices.

[0080] like Figure 3 As shown, the order aggregation processing device 300 of some embodiments may include: an order matching unit 301, configured to determine whether there is order information matching the value transfer request in response to receiving a value transfer request sent by the business system; a ledger record generation unit 302, configured to write the order information into the ledger system in response to determining that there is no matching order information, and generate an accounts receivable ledger record of the order information; a system determination unit 303, configured to determine a value receiving system for processing the value transfer request based on the value transfer method of the value transfer request; a value transfer processing unit 304, configured to process the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

[0081] In some embodiments, the order aggregation processing device 300 may also include an order status update unit (not shown in the figure), which is configured to generate a received ledger record of the order information in the ledger system in response to determining that the value transfer of the value transfer request is completed; in response to receiving a first notification message sent by the ledger system, update the status of the order information, wherein the first notification message indicates that the ledger record verification of the order information is completed.

[0082] In some embodiments, the value transfer processing unit 304 can be further configured to determine the interface data of the value receiving system, and call the value receiving system according to the interface data; send an interface request for processing the value transfer request to the value receiving system, so that the value receiving system processes the value transfer request according to the processing flow.

[0083] In some embodiments, the order aggregation processing device 300 may also include an order verification unit (not shown in the figure), which is configured to verify the validity period of the order information in response to determining that there is matching order information; in response to determining that the order information exceeds the validity period, send a prompt message indicating that the order is invalid to the business system.

[0084] In some embodiments, the order matching unit 301 may be further configured to verify the request parameters of the value transfer request; in response to determining that the verification is passed, determine whether there is order information matching the value transfer request based on the identification information in the value transfer request.

[0085] In some embodiments, the order aggregation processing device 300 may also include a value refund unit (not shown in the figure), which is configured to, in response to receiving a value refund request sent by the business system, send a refund application to the value refund system according to the target order information indicated by the value refund request, so that the value refund system sends the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing; in response to receiving a second notification information sent by the value refund system, update the status of the target order information, wherein the second notification information is used to indicate that the value refund of the target order information is completed, and the second notification information is generated when the value receiving system completes the value refund.

[0086] In some embodiments, the value transfer method may include at least two offline value transfer implementation methods, including at least two of the following: software program transfer, device scanning transfer, card swiping transfer, physical currency, offline remittance, corporate accounting, and insurance pooling.

[0087] It is understandable that the units recorded in the order aggregation processing device 300 are similar to those in the reference Figure 1 , 2 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the order aggregation processing device 300 and the units contained therein, and will not be described in detail here.

[0088] Some embodiments of the present disclosure also provide an order aggregation processing system. Figure 4A and 4BAs shown, the system may include a business system, an aggregation platform, and multiple value receiving systems and a ledger system in the group's middle office.

[0089] Here, the business system can be configured to: interact with the user terminal and send the value transfer request generated by the interaction to the aggregation platform. The aggregation platform can be configured to: respond to the value transfer request sent by the business system, adopt the above Figure 1 , 2 The order aggregation processing method described in any implementation of the embodiment calls the interface of the relevant system to process the value transfer request. Multiple value receiving systems can be configured to: in response to receiving an interface request for processing a value transfer request sent by the aggregation platform, process the value transfer request according to the processing flow. The ledger system can be configured to: generate an account receivable ledger record of the order information based on the order information written by the aggregation platform.

[0090] Furthermore, the multiple value receiving systems may also be configured to: in response to the completion of the value transfer, write the order information indicated by the value transfer request into the ledger system. The ledger system may also be configured to: generate a received ledger record of the order information based on the order information written by the value receiving system, and check the receivable ledger record and the received ledger record of the order information; in response to the completion of the check, send a first notification message to the aggregation platform. The aggregation platform may also be configured to: in response to receiving the first notification message sent by the ledger system, update the status of the order information indicated by the first notification message, and send a notification message to the value receiving system.

[0091] In some application scenarios, the order aggregation processing system disclosed in the present invention may also include a value refund system. In this case, the aggregation platform may also be configured to: in response to receiving a value refund request sent by the business system, send a refund application to the value refund system according to the target order information indicated by the value refund request; in response to receiving a second notification message sent by the value refund system, update the status of the order information, and send a notification message to the value receiving system. At this time, the value refund system may be configured to: in response to receiving a refund application sent by the aggregation platform, send the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing; in response to receiving information sent by the value receiving system indicating that the value refund is completed, send a second notification message to the aggregation platform.

[0092] It is understood that the interactive processing flow between the various systems recorded in the order aggregation processing system can be found in Figure 1 , 2 The relevant description in the embodiments will not be repeated here.

[0093] This application is mainly aimed at offline stores within the group, and provides a unified cash register platform for non-e-commerce platform orders that aggregates multiple payment methods. This solution summarizes and abstracts an aggregated payment interface by sorting out the docking process and technical implementation details of the group's various payment methods. In the aggregate interface, through a variety of software design patterns, the call process of multiple ledger systems and multiple transaction systems of the group and the complex docking process of various payment methods are aggregated. This reduces the development difficulty and docking cost of offline stores docking payment and cashiering, saves R&D resources for new store docking, and improves docking efficiency.

[0094] Reference below Figure 5 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing some embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0095] like Figure 5 As shown, the electronic device 500 may include a processing device 501 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0096] Typically, the following devices may be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a speaker, a vibrator, etc.; storage devices 508 including, for example, a disk, a hard disk, a memory card, etc.; and communication devices 509. The communication devices 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 5 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0097] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0098] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-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 of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer 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. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0099] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0100] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to receiving a value transfer request sent by the business system, determines whether there is order information matching the value transfer request; in response to determining that there is no matching order information, writes the order information into the ledger system and generates an accounts receivable ledger record for the order information; determines the value receiving system for processing the value transfer request according to the value transfer method of the value transfer request; processes the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

[0101] In addition, the computer program code for performing the operation of some embodiments of the present disclosure can be written in one or more programming languages ​​or a combination thereof, and the programming language includes an object-oriented programming language and also includes a conventional procedural programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0102] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0103] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including an order matching unit, a ledger record generating unit, a system determining unit, and a value transfer processing unit. Among them, the names of these units do not constitute a limitation on the units themselves in certain cases, for example, the order matching unit may also be described as "a unit for determining whether there is order information that matches the value transfer request".

[0104] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0105] Some embodiments of the present disclosure further provide a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned order aggregation processing methods.

[0106] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. An order aggregation processing method, comprising: In response to receiving a value transfer request sent by the business system, determining whether there is order information matching the value transfer request; In response to determining that there is no matching order information, writing the order information into a ledger system and generating an accounts receivable ledger record of the order information; Determining a value receiving system for processing the value transfer request according to the value transfer method of the value transfer request; According to the processing flow of the value receiving system, the value transfer request is processed to complete the value transfer.

2. The order aggregation processing method according to claim 1, wherein: The method further comprises: In response to determining that the value transfer of the value transfer request is completed, generating a received account record of the order information in the account system; In response to receiving a first notification message sent by the ledger system, the status of the order information is updated, wherein the first notification message indicates that the ledger record verification of the order information is completed.

3. The order aggregation processing method according to claim 1, wherein: The processing of the value transfer request according to the processing flow of the value receiving system includes: Determining interface data of the value receiving system, and calling the value receiving system according to the interface data; An interface request for processing the value transfer request is sent to the value receiving system, so that the value receiving system processes the value transfer request according to a processing flow.

4. The order aggregation processing method according to claim 1, wherein: The method further comprises: In response to determining that there is matching order information, verifying the validity period of the order information; In response to determining that the order information has exceeded the validity period, a prompt message indicating that the order has expired is sent to the business system.

5. The order aggregation processing method according to claim 1, wherein: The determining whether there is order information matching the value transfer request includes: Verifying the request parameters of the value transfer request; In response to determining that the verification is passed, it is determined whether there is order information matching the value transfer request based on the identification information in the value transfer request.

6. The order aggregation processing method according to claim 1, wherein: The method further comprises: In response to receiving the value refund request sent by the business system, sending a refund application to the value refund system according to the target order information indicated by the value refund request, so that the value refund system sends the refund application to the corresponding value receiving system according to the value transfer method of the target order information for value refund processing; In response to receiving second notification information sent by the value return system, the status of the target order information is updated, wherein the second notification information is used to indicate that the value return of the target order information is completed, and the second notification information is generated when the value receiving system completes the value return.

7. The order aggregation processing method according to any one of claims 1 to 6, wherein: The value transfer method includes at least two offline value transfer implementation methods, including at least two of the following: software program transfer, device scanning transfer, card swiping transfer, physical currency, offline remittance, corporate accounting, and insurance pooling.

8. An order aggregation processing device, comprising: an order matching unit, configured to, in response to receiving a value transfer request sent by a business system, determine whether there is order information matching the value transfer request; A ledger record generating unit, configured to, in response to determining that there is no matching order information, write the order information into a ledger system and generate a receivables ledger record of the order information; A system determination unit, configured to determine a value receiving system for processing the value transfer request according to a value transfer mode of the value transfer request; The value transfer processing unit is configured to process the value transfer request according to the processing flow of the value receiving system to complete the value transfer.

9. An order aggregation processing system, comprising: The business system is configured to interact with the user terminal and send the value transfer request generated by the interaction to the aggregation platform; The aggregation platform is configured to, in response to receiving a value transfer request sent by the business system, adopt the order aggregation processing method according to any one of claims 1 to 7, call an interface of a related system, and process the value transfer request; a plurality of value receiving systems, configured to process the value transfer request according to a processing flow in response to receiving an interface request for processing the value transfer request sent by the aggregation platform; The ledger system is configured to generate an accounts receivable ledger record of the order information based on the order information written by the aggregation platform.

10. The order aggregation processing system according to claim 9, wherein: The multiple value receiving systems are further configured to write the order information indicated by the value transfer request into the ledger system in response to the completion of the value transfer; The ledger system is further configured to generate a received ledger record of the order information according to the order information written by the value receiving system, and to check the receivable ledger record and the received ledger record of the order information, and in response to completion of the check, send a first notification message to the aggregation platform; The aggregation platform is also configured to update the status of the order information indicated by the first notification information sent by the ledger system in response to receiving the first notification information sent by the ledger system, and send notification information to the value receiving system.

11. The order aggregation processing system according to claim 9, wherein: The order aggregation processing system also includes a value refund system; The aggregation platform is further configured to, in response to receiving a value refund request sent by the business system, send a refund application to the value refund system according to the target order information indicated by the value refund request, and in response to receiving second notification information sent by the value refund system, update the status of the order information, and send notification information to the value receiving system; The value refund system is configured to, in response to receiving a refund application sent by the aggregation platform, send the refund application to the corresponding value receiving system for value refund processing according to the value transfer method of the target order information, and in response to receiving information sent by the value receiving system indicating that the value refund is completed, send a second notification message to the aggregation platform.

12. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the order aggregation processing method as described in any one of claims 1-7.

13. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the order aggregation processing method as described in any one of claims 1 to 7 is implemented.

14. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the order aggregation processing method as described in any one of claims 1 to 7.