Order data processing method and device

By receiving and checking order instructions on a third -party platform, allocating processing threads and generating order processing instructions, the problem of low order docking efficiency is solved, and higher processing accuracy and user experience are achieved.

CN119379377APending Publication Date: 2025-01-28BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310932865.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-27
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The order docking efficiency of existing third-party platforms is low, resulting in users receiving inaccurate product data, affecting the purchasing experience, and it is difficult to ensure response efficiency in high concurrency or network abnormal scenarios.

Method used

By receiving multiple order instructions on the platform, effective verification is performed, and processing threads are allocated to generate order processing instructions, routing to matching processing interfaces to achieve the decoupling and asynchronous processing of order processing.

Benefits of technology

The accuracy and efficiency of the third -party platform order instruction have been improved, the impact of noise data is reduced, computing resources are saved, and the user experience is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119379377A_ABST
    Figure CN119379377A_ABST
Patent Text Reader

Abstract

The invention discloses an order data processing method and device, and relates to the technical field of electronic commerce. A specific embodiment of the method comprises the steps of receiving a plurality of order instructions of a platform, and determining corresponding platform codes; verifying the validity of each order instruction to allocate a corresponding processing thread to each valid order instruction; for each processing thread, in response to determining that a payment parameter included in the order instruction is a target value, querying in a data pool according to the platform code and the order instruction to obtain order information, so as to generate a corresponding order processing instruction based on the order information; and an order instruction corresponding to the order processing instruction is routed to a matched processing interface. Therefore, the technical problem that the order docking processing efficiency of the existing third-party platform is low can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of e-commerce, and in particular to an order data processing method and device. Background Art

[0002] At present, the application of third-party e-commerce platforms is very common. Third-party e-commerce platforms refer to the intermediary e-commerce platforms that enterprises use to receive and process sales orders in addition to their own e-commerce platforms. Third-party e-commerce platforms expand Internet promotion channels for enterprise users, which can greatly reduce the operating costs of enterprise users. At the same time, they also provide online users with convenient and fast online ordering services.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] While users enjoy the convenient online shopping function, the problem of low efficiency of third-party platform order docking is common. This is because in the current third-party platform business processing logic, business processing operations are mostly initiated by the third-party platform, and the corresponding processing interface is a real-time intercommunication mode; as a result, it is difficult for the third-party platform's product information to be synchronized with the product information in the corresponding enterprise user data pool, resulting in the third-party platform users receiving inaccurate product data, so they cannot smoothly advance the subsequent purchase process, reducing the purchase experience of third-party platform users. At the same time, the highly coupled synchronous order docking processing mechanism is also difficult to guarantee the response efficiency to third-party platform users in business scenarios with high order concurrency or network anomalies, which further affects the user experience. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides an order data processing method and device, which can solve the technical problem of low efficiency in order docking processing on existing third-party platforms.

[0006] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, there is provided an order data processing method, comprising receiving multiple order instructions from a platform and determining a corresponding platform code; performing validity verification on each order instruction to assign a corresponding processing thread to each valid order instruction; for each processing thread: in response to determining that a payment parameter included in the order instruction is a target value, querying in a data pool to obtain order information according to the platform code and the order instruction to generate a corresponding order processing instruction based on the order information; and routing the order instruction corresponding to the order processing instruction to a matching processing interface.

[0007] Optionally, before receiving multiple order instructions from the platform, including:

[0008] Retrieving a preset item pool to upload each item information included in the item pool to the platform to obtain a plurality of link information;

[0009] It is monitored that the link information and the corresponding item information in the item pool are not synchronized, and the corresponding link information is updated according to the item information.

[0010] Optionally, before determining that the payment parameter included in the order instruction is a target value, the method further includes:

[0011] Generate a distributed identifier corresponding to the order instruction, and determine that the distributed identifier competes to obtain a corresponding distributed lock.

[0012] Optionally, in response to the distributed identifier not being competed for, obtaining a corresponding distributed lock includes:

[0013] Terminate the corresponding processing thread;

[0014] The number of repetitions corresponding to the order instruction is updated in the exception database, and corresponding exception prompt information is generated and sent to the platform.

[0015] Optionally, generating a corresponding order processing instruction based on the order information includes:

[0016] Determine the corresponding order status based on the order information.

[0017] Optionally, after determining the corresponding order status according to the order information, the following steps are included:

[0018] In response to determining that the order status is a pending order status, determining whether the order information meets a preset purchase rule;

[0019] If yes, then generate corresponding abnormal prompt information and send it to the platform;

[0020] If not, the order information is standardized to obtain the target order information, create a system code, associate the order information, target order information and system code, generate the corresponding ledger record, and generate the corresponding order processing instruction according to the identifier corresponding to the pending order status and the system code.

[0021] Optionally, after determining the corresponding order status according to the order information, the following steps are included:

[0022] In response to determining that the order status is not a pending order status, a system code corresponding to the order information is queried in the ledger record to generate a corresponding order processing instruction based on the system code and an identifier corresponding to the order status.

[0023] Optionally, after routing the order instruction corresponding to the order processing instruction to the matching processing interface, the process includes:

[0024] Monitor the processing interface to obtain corresponding logistics information and forward it to the platform.

[0025] In addition, the present invention also provides an order data processing device, including an acquisition module, which is used to receive multiple order instructions from the platform and determine the corresponding platform code; a screening module, which is used to check the validity of each order instruction to assign a corresponding processing thread to each valid order instruction; a processing module, which is used to: in response to determining that the payment parameters included in the order instruction are target values, query the data pool to obtain order information according to the platform code and the order instruction, so as to generate corresponding order processing instructions based on the order information; a routing module, which is used to route the order instructions corresponding to the order processing instructions to the matching processing interface.

[0026] One embodiment of the above invention has the following advantages or beneficial effects: the present invention receives multiple order instructions from the platform, verifies the validity of each order instruction, and allocates a corresponding processing thread to each valid order instruction, thereby realizing the decoupling of the order instructions of the third-party platform and the corresponding merchant order processing. By making the order processing docking asynchronous, the processing accuracy of each third-party platform order instruction can be improved to the greatest extent. At the same time, based on the preset rules, the validity of multiple order instructions is judged, and the noise data caused by the third-party platform service abnormality or network abnormality can be filtered out as soon as possible, and the multiple valid order instructions obtained by filtering are multi-threaded, so as to further improve the docking processing efficiency of the order instructions. At the same time, the present invention completes the processing process of further screening the received order instructions by determining the payment parameters of the order instructions in each processing thread as the target value, that is, corresponding to the order status that the third-party platform user has paid. This is because considering that users usually have a psychological activity of reduced willingness to purchase before payment, the processing of unpaid orders is avoided in this step. A single instruction performs too much order docking processing, which can save computing resources to a certain extent, allocate more computing resources to paid orders with higher conversion rates, and thus enhance the overall product conversion rate; and, the present invention obtains order information by querying according to the platform code and the corresponding order instruction in each processing thread, and generates corresponding order processing instructions based on the order information, thereby realizing the process of configured storage and query of orders, and, through the unique corresponding order processing instruction, while completing the archiving processing of the order information at this stage, each order information is also classified according to the order processing progress, thereby laying the foundation for the subsequent routing of the corresponding order instructions to the matching processing interface; in addition, the present invention routes the order instruction corresponding to the order processing instruction to the matching processing interface, indicating that all received order instructions have been filtered, screened and archived for multiple times, and the legal data therein, that is, the order instructions that are valid and meet the processing expectations are allocated to the corresponding processing interface, and the effect of smooth data docking between the third-party platform and the actual order processing interface is achieved through asynchronous processing.

[0027] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0029] Figure 1 is a schematic diagram of the main flow of the order data processing method according to the first embodiment of the present invention;

[0030] Figure 2is a schematic diagram of the main flow of the order data processing method according to the second embodiment of the present invention;

[0031] Figure 3 is a schematic diagram of the main flow of the order data processing method according to the third embodiment of the present invention;

[0032] Figure 4 is a schematic diagram of main modules of an order data processing device according to a first embodiment of the present invention;

[0033] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0034] Figure 6 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0036] Figure 1 FIG. 1 is a schematic diagram of the main flow of the order data processing method according to the first embodiment of the present invention. Figure 1 As shown, the order data processing method includes:

[0037] Step S101, receiving multiple order instructions from the platform and determining the corresponding platform code.

[0038] In an embodiment, the platform may be a third-party e-commerce platform (hereinafter referred to as "third-party platform"). Enterprise users can expand product sales channels and strengthen product marketing by listing products on the third-party platform; and online users of the third-party platform can conduct online shopping of corresponding products on the platform, thereby enriching the services and functions provided to online users. For example, shopping website A can open an online sales store on network platform B to attract fixed users of network platform B to achieve consumption conversion. In a further embodiment, in order to enhance the attractiveness to online users, the third-party platform may provide multiple interfaces including a personal computer interface, a mobile phone software interface, and a mini-program interface; users of the third-party platform may browse, search, place orders, pay, apply for refunds, and other user behaviors on the platform for the listed products, and the above-mentioned user behaviors provide data support through interactive events such as information synchronization, bill of lading processing, ledger records, logistics synchronization, refund approval, etc. between enterprise users and the third-party platform, and provide system support in the order center, logistics center, risk control system, and ledger system in the interactive system of the present invention, respectively, to record the corresponding business logic and archive the corresponding business status. In a further embodiment, each enterprise user can connect to multiple third-party platforms. Therefore, by pre-configuring the platform code corresponding to each third-party platform, the received order instructions can be preliminarily identified and classified, thereby improving the accuracy of the corresponding order processing.

[0039] In some embodiments, in order to ensure that the internal product information of the enterprise user and the product information on the third-party platform are highly synchronized and the synchronization delay is small, before receiving multiple order instructions from the platform, the preset item pool can be retrieved to upload each item information included in the item pool to the platform to obtain multiple link information; if it is monitored that the link information and the corresponding item information in the item pool are not synchronized, the corresponding link information is updated according to the item information. In a further embodiment, when updating the link information, the type of update can be first determined, including information update, price update and inventory update, so as to perform different update processing procedures according to the judgment result; for example, the update processing procedure corresponding to the information update type can include: querying the corresponding commodity information, approval number information and common name information, etc., and obtaining the corresponding filtering rules of the third-party platform and the corresponding filtering rules of the enterprise user to determine whether the queried information hits the above filtering rules, if so, abandon the information update, otherwise, use the obtained information to update the link information.

[0040] Step S102, performing validity check on each order instruction, so as to allocate a corresponding processing thread to each valid order instruction.

[0041] In an embodiment, performing validity verification on each order instruction may include reading the corresponding order instruction message, extracting the corresponding message primary key, message type and message body, and using preset constraint rules to perform validity verification respectively, thereby realizing the authentication process of each order instruction and achieving the effect of preliminary filtering of all order instructions, filtering out illegal data that does not meet processing expectations, so as to avoid wasting computing resources on the illegal data; assigning a corresponding processing thread to each valid order instruction can maximize the response rate to each order instruction, thereby achieving the purpose of enhancing user experience.

[0042] Step S103, for each processing thread: in response to determining that the payment parameter included in the order instruction is a target value, query the data pool for order information according to the platform code and the order instruction, so as to generate a corresponding order processing instruction based on the order information.

[0043] In some embodiments, in order to filter out duplicate order instructions, before determining that the payment parameter included in the order instruction is a target value, a distributed identifier corresponding to the order instruction can be generated, and it can be determined that the distributed identifier competes for a corresponding distributed lock. In actual data docking scenarios, it is very common to generate duplicate order instructions, which may be caused by erroneous operations of users of the third-party platform, or by erroneous processing of the third-party platform, or by network anomalies during data docking. Therefore, considering that duplicate business processing, especially duplicate online shopping bills of lading, can greatly affect the user's service experience, it is very important to remove duplicate business data before performing data processing. Through the processing of this step, the purpose of determining the business idempotence of the order instructions retained in the processing thread is achieved.

[0044] In a further embodiment, in response to the distributed identifier not competing to obtain the corresponding distributed lock, that is, in response to determining that the corresponding order instruction is repeated, the corresponding processing thread is terminated; and the number of repetitions corresponding to the order instruction is updated in the exception database, and the corresponding exception prompt information is generated and sent to the platform. Through the processing of this step, the resources allocated by the repeated order instruction are stopped in time, and the corresponding abnormal situation records and abnormal situation reports are completed, which helps to further reduce the error rate of data docking processing between the interactive system and the third-party platform.

[0045] In an embodiment, the payment parameter included in the order instruction is determined to be a target value, which corresponds to determining that the corresponding order has been paid. In actual scenarios, it may include situations where a third-party user has paid the full amount or a third-party user has paid a deposit, etc.; compared with unpaid orders, paid orders usually have a higher conversion rate and the possibility of users canceling their orders is lower. Therefore, by screening paid orders, the computing resources for processing order instructions can be more focused on some order instructions with higher conversion potential, while avoiding the situation of wasting computing resources for orders with low certainty, thereby increasing the order processing priority of third-party platform users with higher conversion potential, so as to further enhance the user's purchasing experience.

[0046] In an embodiment, the query service of order information can be uniformly stored in a cache pool, and different platform codes corresponding to different third-party platforms can be configured at the same time, so that the platform code can be used as a keyword to retrieve the corresponding platform server; in addition to the platform code, the order identifier of the third-party platform needs to be extracted from the order instruction to query the corresponding server to obtain the matching order information. After this step, the content of each order instruction is expanded, and the corresponding order details are obtained, including but not limited to: goods, amount, store, address, invoice and other information, which provides more sufficient data support for the subsequent execution of the order instruction.

[0047] In other embodiments, each queried order information can be standardized according to preset order data processing rules to obtain target order information, and then the target order information can be mapped to the interactive system of the present invention for archiving to achieve data update of the interactive system of the present invention.

[0048] In the embodiment, after obtaining the corresponding order information, the corresponding order status, that is, the order processing progress, is determined based on the order information, so as to determine the processing logic of the next link of the order by determining the current processing progress of the order. The above-mentioned order processing status includes but is not limited to the pending order status, the pending refund status and the pending after-sales status. Through different order status determinations, a judgment basis is provided for the subsequent generation of corresponding order processing instructions.

[0049] In some embodiments, in order to conduct corresponding review, archiving and coding processing for order instructions that the user has not initiated a refund and are in the state of pending billing, it can be determined in response to determining that the order status is pending billing, whether the order information meets the preset purchase rules; if so, the corresponding abnormal prompt information is generated and sent to the platform; if not, the order information is standardized, the target order information is obtained, the system code is created, the order information, the target order information and the system code are associated, and the corresponding ledger record is generated, and the corresponding order processing instruction is generated according to the identification corresponding to the pending billing state and the system code. The above-mentioned purchase rules can be determined according to the corresponding inventory quantity, prescription review requirements, food and drug administration regulations, etc. The above-mentioned system code is the code of the order that the order information uniquely corresponds to in the interactive system of the present invention, so that multiple identity identifiers are generated for the corresponding order instructions during the docking process, so as to achieve the effect of repeatedly checking the order instructions. The above-mentioned ledger record corresponds to the shipment processing of the goods, so when it is determined that the order bill is successful (that is, it is in the specified order state and meets the purchase rules and is successfully archived), the corresponding ledger record is immediately generated to prompt the corresponding warehouse end to issue a warehouse. After this step, the order instructions are repeatedly checked in multiple dimensions, and then connected from the third-party platform to the corresponding warehouse. At the same time, the corresponding bill of lading processing instructions are accurately generated according to the order status.

[0050] In some embodiments, in order to process the order instructions of users initiating refunds or after-sales applications, in response to determining that the order status is not a pending order status, the system code corresponding to the order information can be queried in the ledger record to generate the corresponding order processing instructions based on the system code and the identifier corresponding to the order status.

[0051] Step S104, routing the order instruction corresponding to the order processing instruction to a matching processing interface.

[0052] In an embodiment, according to the corresponding order processing instruction, a matching processing interface can be determined, so that the corresponding order instruction is routed to the processing interface, so as to perform the corresponding order processing. After being processed by the interactive system of the present invention, it can be ensured that the order instructions routed to the processing interface are correct instructions that conform to the preset business logic, thereby enhancing the user experience.

[0053] In some embodiments, in order to timely push the logistics information corresponding to the order instruction, thereby promoting the overall data exchange between enterprise users and third-party platforms, the order instruction corresponding to the order processing instruction can be routed to the matching processing interface, and then the processing interface can be monitored to obtain the corresponding logistics information and forwarded to the platform.

[0054] In a further embodiment, in response to determining that the order status is in a pending after-sales status, the monitored logistics can be intercepted through the corresponding order after-sales processing interface, thereby accelerating the overall after-sales processing response speed.

[0055] Figure 2 : is a schematic diagram of the main flow of the order data processing method according to the second embodiment of the present invention, the order data processing method comprises:

[0056] Step S201, calling a preset item pool to upload each item information included in the item pool to the platform to obtain a plurality of link information.

[0057] Step S202: if it is monitored that the link information and the corresponding item information in the item pool are out of sync, the corresponding link information is updated according to the item information.

[0058] Step S203, receiving multiple order instructions from the platform and determining the corresponding platform code.

[0059] Step S204, performing validity check on each order instruction, so as to allocate a corresponding processing thread to each valid order instruction.

[0060] Preferably, the order instruction message is determined to be legal, that is, the corresponding message primary key, message type, message body and other contents are determined to comply with the constraints.

[0061] Step S205: Generate a distributed identifier corresponding to the order instruction.

[0062] Step S206, determining whether the distributed identifier has obtained the corresponding distributed lock through competition, if so, executing step S207, if not, executing step S208.

[0063] Step S207, determining whether the payment parameter included in each order instruction is the target value, if not, executing step S208, if yes, executing step S209.

[0064] Step S208, terminating the corresponding processing thread.

[0065] Step S209, querying the data pool to obtain order information according to the platform code and each order instruction, so as to determine the corresponding order status according to the order information.

[0066] Step S210, in response to determining that the order status is a pending refund status or a pending after-sales status.

[0067] Step S211, query the ledger record to obtain the system code corresponding to the order information.

[0068] Step S212: Generate a corresponding order processing instruction according to the system code and the identifier corresponding to the order status.

[0069] Step S213: routing the order instruction corresponding to the order processing instruction to a matching processing interface.

[0070] Figure 3 : is a schematic diagram of the main flow of the order data processing method according to the third embodiment of the present invention, the order data processing method comprises:

[0071] Step S301, calling a preset item pool to upload each item information included in the item pool to the platform to obtain a plurality of link information.

[0072] Step S302: if it is monitored that the link information and the corresponding item information in the item pool are out of sync, the corresponding link information is updated according to the item information.

[0073] Step S303, receiving multiple order instructions from the platform and determining the corresponding platform code.

[0074] Step S304, performing validity check on each order instruction, so as to allocate a corresponding processing thread to each valid order instruction.

[0075] Preferably, the order instruction message is determined to be legal, that is, the corresponding message primary key, message type, message body and other contents are determined to comply with the constraints.

[0076] Step S305: Generate a distributed identifier corresponding to the order instruction.

[0077] Step S306, determining whether the distributed identifier has obtained the corresponding distributed lock through competition, if so, executing step S307, if not, executing step S308.

[0078] Step S307, determining whether the payment parameter included in each order instruction is the target value, if not, executing step S308, if yes, executing step S309.

[0079] Step S308, terminating the corresponding processing thread.

[0080] Step S309, querying the data pool to obtain order information according to the platform code and each order instruction, so as to determine the corresponding order status according to the order information.

[0081] Step S310, in response to determining that the order status is a pending order status.

[0082] Step S311, determine whether the order information meets the preset purchase rules, if not, execute step S312, if yes, execute step S313.

[0083] Step S312, generating corresponding abnormal prompt information and sending it to the platform.

[0084] Step S313, standardize the order information, obtain the target order information, create a system code, associate the order information, the target order information and the system code, and generate a corresponding ledger record.

[0085] Step S314, generating a corresponding order processing instruction according to the identification and system code corresponding to the pending order status.

[0086] Step S315: routing the order instruction corresponding to the order processing instruction to a matching processing interface.

[0087] Step S316, monitor the processing interface to obtain corresponding logistics information and forward it to the platform.

[0088] Figure 4 is a schematic diagram of the main modules of the order data processing device according to an embodiment of the present invention. Figure 4 As shown, the order data processing device 400 includes an acquisition module 401, a screening module 402, a processing module 403 and a routing module 404. The acquisition module 401 is used to receive multiple order instructions from the platform and determine the corresponding platform code; the screening module 402 is used to check the validity of each order instruction to allocate a corresponding processing thread to each valid order instruction; the processing module 403 is used to query the data pool for each processing thread in response to determining that the payment parameter included in the order instruction is a target value, and obtain the order information according to the platform code and the order instruction, so as to generate the corresponding order processing instruction based on the order information; and the routing module 404 is used to route the order instruction corresponding to the order processing instruction to the matching processing interface.

[0089] In some embodiments, the acquisition module 401 is also used to: before receiving multiple order instructions from the platform, call a preset item pool to put each item information included in the item pool on the platform to obtain multiple link information; monitor that the link information and the corresponding item information in the item pool are not synchronized, and update the corresponding link information according to the item information.

[0090] In some embodiments, the processing module 403 is further used to: before determining that the payment parameter included in the order instruction is a target value, generate a distributed identifier corresponding to the order instruction, and determine that the distributed identifier competes to obtain a corresponding distributed lock.

[0091] In some embodiments, the processing module 403 is also used to: in response to the distributed identifier failing to obtain the corresponding distributed lock through competition, terminate the corresponding processing thread; update the number of repetitions corresponding to the order instruction in the exception database, and generate corresponding exception prompt information and send it to the platform.

[0092] In some embodiments, the processing module 403 is further used to: generate a corresponding order processing instruction based on the order information, and determine a corresponding order status according to the order information.

[0093] In some embodiments, the processing module 403 is also used to: after determining the corresponding order status according to the order information, in response to determining that the order status is a pending order status, determine whether the order information complies with the preset purchase rules; if so, generate corresponding abnormal prompt information and send it to the platform; if not, standardize the order information to obtain the target order information, create a system code, associate the order information, the target order information and the system code, generate a corresponding ledger record, and generate a corresponding order processing instruction according to the identifier corresponding to the pending order status and the system code.

[0094] In some embodiments, the processing module 403 is also used to: after determining the corresponding order status according to the order information, in response to determining that the order status is not a pending order status, query the ledger record to obtain the system code corresponding to the order information, so as to generate a corresponding order processing instruction according to the system code and the identifier corresponding to the order status.

[0095] In some embodiments, the routing module 404 is further used to: after routing the order instruction corresponding to the order processing instruction to the matching processing interface, monitor the processing interface to obtain corresponding logistics information, and forward it to the platform.

[0096] It should be noted that the order data processing method and the order data processing device described in the present invention have a corresponding relationship in terms of specific implementation contents, so the repeated contents will not be described again.

[0097] Figure 5 An exemplary system architecture 500 is shown to which the order data processing method or order data processing device according to the embodiment of the present invention can be applied.

[0098] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0099] The user can use the terminal devices 501, 502, 503 to interact with the server 505 through the network 504 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 501, 502, 503.

[0100] The terminal devices 501 , 502 , and 503 may be various electronic devices having a page display processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0101] The server 505 may be a server that provides various services, such as a background management server (only an example) that provides support for users to use the terminal devices 501, 502, and 503. The background management server may analyze and process the received data such as the product information query request, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0102] It should be noted that the order data processing method provided in the embodiment of the present invention is generally executed by the server 505 , and accordingly, the computing device is generally arranged in the server 505 .

[0103] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0104] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal 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 invention.

[0105] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0106] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal page display processor (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0107] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention 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 such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present invention are executed.

[0108] It should be noted that the computer-readable medium shown in the present invention 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 the present invention, 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 the present invention, 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. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, 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 appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0109] 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 invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flow chart, and the combination of the boxes in the block diagram 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.

[0110] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a screening module, a processing module and a routing module. The names of these modules do not constitute limitations on the modules themselves in some cases.

[0111] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes receiving multiple order instructions from the platform, determining the corresponding platform code; performing validity check on each order instruction to allocate a corresponding processing thread to each valid order instruction; for each processing thread: in response to determining that the payment parameter included in the order instruction is a target value, querying the data pool to obtain order information according to the platform code and the order instruction, so as to generate a corresponding order processing instruction based on the order information; routing the order instruction corresponding to the order processing instruction to the matching processing interface.

[0112] The technical solution according to the embodiment of the present invention can solve the technical problem of low efficiency in order docking processing on existing third-party platforms.

[0113] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0114] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution disclosed in this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

Claims

1. A method for processing order data, characterized in that: include: Receive multiple order instructions from the platform and determine the corresponding platform code; Perform validity check on each order instruction to allocate a corresponding processing thread to each valid order instruction; For each processing thread: in response to determining that the payment parameter included in the order instruction is a target value, querying the data pool to obtain order information according to the platform code and the order instruction, so as to generate a corresponding order processing instruction based on the order information; The order instruction corresponding to the order processing instruction is routed to a matching processing interface.

2. The method according to claim 1, characterized in that Before receiving multiple order instructions from the platform, including: Retrieving a preset item pool to upload each item information included in the item pool to the platform to obtain a plurality of link information; It is monitored that the link information and the corresponding item information in the item pool are not synchronized, and the corresponding link information is updated according to the item information.

3. The method according to claim 1, characterized in that Before confirming that the payment parameters included in the order instruction are the target values, include: Generate a distributed identifier corresponding to the order instruction, and determine that the distributed identifier competes to obtain a corresponding distributed lock.

4. The method according to claim 3, characterized in that In response to the distributed identifier not being competed for, obtaining a corresponding distributed lock includes: Terminate the corresponding processing thread; The number of repetitions corresponding to the order instruction is updated in the exception database, and corresponding exception prompt information is generated and sent to the platform.

5. The method according to claim 1, characterized in that Generate corresponding order processing instructions based on order information, including: Determine the corresponding order status based on the order information.

6. The method according to claim 5, characterized in that After determining the corresponding order status according to the order information, it includes: In response to determining that the order status is a pending order status, determining whether the order information meets a preset purchase rule; If yes, then generate corresponding abnormal prompt information and send it to the platform; If not, the order information is standardized to obtain the target order information, create a system code, associate the order information, target order information and system code, generate the corresponding ledger record, and generate the corresponding order processing instruction according to the identifier corresponding to the pending order status and the system code.

7. The method according to claim 5, characterized in that After determining the corresponding order status according to the order information, it includes: In response to determining that the order status is not a pending order status, a system code corresponding to the order information is queried in the ledger record to generate a corresponding order processing instruction based on the system code and an identifier corresponding to the order status.

8. The method according to claim 6, characterized in that After routing the order instruction corresponding to the order processing instruction to the matching processing interface, it includes: Monitor the processing interface to obtain corresponding logistics information and forward it to the platform.

9. An order data processing device, characterized in that: include: An acquisition module is used to receive multiple order instructions from the platform and determine the corresponding platform code; A screening module is used to check the validity of each order instruction so as to allocate a corresponding processing thread to each valid order instruction; A processing module, configured to: for each processing thread: in response to determining that the payment parameter included in the order instruction is a target value, query the data pool to obtain order information according to the platform code and the order instruction, so as to generate a corresponding order processing instruction based on the order information; A routing module is used to route the order instruction corresponding to the order processing instruction to a matching processing interface.

10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

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