CN114331597A - Order parallel generation method and system, electronic equipment and storage medium - Google Patents
Order parallel generation method and system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114331597A CN114331597A CN202111546716.8A CN202111546716A CN114331597A CN 114331597 A CN114331597 A CN 114331597A CN 202111546716 A CN202111546716 A CN 202111546716A CN 114331597 A CN114331597 A CN 114331597A
- Authority
- CN
- China
- Prior art keywords
- order
- transaction
- script
- unit
- many
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides an order parallel generation method, an order parallel generation system, electronic equipment and a storage medium, and relates to the fields of computers and the Internet, in particular to the field of information processing. The specific implementation scheme is as follows: 1) inputting order information of a trade order at a port; 2) confirming that the channel is available; 3) auditing the script; 4) and calculating the processing script. The method provided by the invention can process one-to-one transaction service and many-to-many transaction service, the unit for creating the task can produce orders for a plurality of transaction services, the system can expand the processor of the computing unit, further the computing resource is increased, the plurality of transaction services are processed in parallel, and further the transaction service cannot be completed in time due to the limited computing resource of the computing unit. The transaction actions of the buyer and the seller do not need to be manually created step by step, the transaction service efficiency is high, and the transaction orders can be generated in a large scale more conveniently and quickly.
Description
Technical Field
The present application relates to the field of computers and the internet, and in particular, to a method, a system, an electronic device, and a storage medium for parallel order generation.
Background
The electronic draft in the information age becomes the first choice for public-to-public and private-to-private credit transactions, while the prior art needs manual intervention when processing the electronic draft, and under the condition of a large amount of transactions, a large amount of electronic drafts need to manually design trade orders which meet specific requirements and are in a specific transaction state according to various scene requirements and planning. This manual production of a particular trade order is time consuming and labor intensive, slowing down the daily mass trading process. Therefore, a computer-based system for processing a large number of transactions efficiently and quickly is needed to solve the problem of low processing efficiency of the existing transactions.
Disclosure of Invention
The invention mainly aims to provide an order parallel generation system to solve the problem of low transaction processing efficiency in the prior art.
In order to achieve the above object, according to an embodiment of the present invention, a method and a system for parallel order generation are provided.
The order parallel generation method is characterized by comprising the following steps of:
s1, inputting order information of a trade order at a port, wherein the order information comprises more than one script;
s2, confirming that a payment channel between ports for inputting the transaction information is available;
s3, creating a trading task, wherein the trading task comprises mapping the scripts in the order information of the trading order input by the port, and the mapping is to perform corresponding processing on the scripts of the same type;
s4, the script subjected to mapping processing in the step S3 is checked, and the type consistency of the script and the content type of the script are confirmed to be legal;
and S5, performing calculation processing on the scripts after the step S4, wherein the calculation processing is to change the content of the scripts of the same type, integrate the scripts into a trade order and transmit the trade order to the port for display.
Further, a step S11 is included between steps S1 and S2: and dividing the trading order into a directional order and a common order according to the script, wherein the directional order is an order which is traded by the client in a one-to-one mode, and the common order is an order which is traded by the client in a many-to-many mode.
Further, if the trade order is the targeted order in step S1, the executing step S3 specifically includes: and creating a one-to-one trading task, wherein the one-to-one trading task comprises the step of carrying out mapping processing on the script in order information of the trading order input by the two ports.
Further, if the trade order is the general order in step S1, the executing step S3 specifically includes: creating a many-to-many trading task that includes performing the mapping process on the script in order information of trading orders input by a plurality of ports.
The order parallel generation system is characterized by comprising a port input unit, a transaction creation unit, an auditing unit, a calculation unit and a monitoring unit;
the port input unit is suitable for a customer to input order information of a trade order into the order parallel generation system;
the transaction establishing unit is suitable for establishing a transaction task, the transaction task comprises mapping processing of the scripts in the order information of the transaction order input by the port, the mapping processing is to correspondingly process the scripts of the same type, and then the transaction establishing unit sends the transaction task to the auditing unit;
the auditing unit is suitable for auditing the script subjected to mapping processing, confirming that the type of the script is consistent and the content type of the script is legal, and then sending the confirmed script to the computing unit;
the calculation unit is suitable for calculating and processing the scripts sent by the auditing unit, namely performing content modification on the scripts of the same type, integrating the scripts into a transaction order, and sending the transaction order to the port input unit for display;
the monitoring unit continuously monitors communication connections between ports of the trade orders.
The invention can bring the following beneficial technical effects: the order parallel generation system can process one-to-one transaction service and many-to-many transaction service, the unit for creating the task can produce orders for a plurality of transaction services, the system can expand the processor of the computing unit, further the computing resource is increased, the transaction services are processed in parallel, and further the problem that the transaction service cannot be completed in time due to the limited computing resource of the computing unit is avoided. The transaction actions of the buyer and the seller do not need to be manually created step by step, the transaction service efficiency is high, and the transaction orders can be generated in a large scale more conveniently and quickly.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic diagram illustrating steps of a parallel order generation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system architecture of an order parallel generation system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, it will be appreciated by those skilled 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 disclosure, and as such, a description of known functions and configurations will be omitted from the following description for clarity and conciseness.
The existing method for processing electronic bills aiming at bill transaction, such as the same-city bills, the different-place bills and the like, mainly comprises the following steps: the tester manually designs a trade order according to the specific requirements of the trade scenario. The existing processing method needs multi-party auditing, generates certain communication cost and labor cost, has large pressure on large manual processing amount under the situation of a large amount of orders, and has low efficiency level of processing trade orders by using the method under the large-scale many-to-many trade scene, and almost can not realize matching and processing multi-party trade order information in real time.
The order parallel generation method and system provided by the disclosure can be applied to large one-to-one and many-to-many trading scenes. The bill transaction includes, but is not limited to, a same-city bill transaction, a different-place bill transaction, and other order transactions.
The embodiment of the present disclosure provides an order parallel generation method, which can be used in large one-to-one and many-to-many transaction scenarios, and referring to fig. 1, the method includes:
and S1, inputting order information of the trade order at the port, wherein the order information comprises more than one script. In this embodiment, the script includes key order information such as a ticket amount, an acceptance person type, an order status, an expiration date, a payment method deposit, whether to negotiate a price, a buyer name, a seller name defect condition, a ticket date, a quotation method, a quantity, and the like.
After the step of S1, the trade order is divided into a targeted order and a general order according to the number contained in the buyer name and the seller name in the script. If the buyer name and the seller name in the transaction order only contain one customer, dividing the transaction order into directional orders, wherein the directional transaction orders are one-to-one order types, and the transaction only involves two parties; other situations are divided into common orders, i.e. transactions involving multiple parties.
After dividing the trade order, if the trade order is the oriented order, executing step S3 specifically includes: and creating a one-to-one trading task, wherein the one-to-one trading task comprises the step of carrying out mapping processing on the script in order information of the trading order input by the two ports. The mapping process is to correspond the same script in the order information of both parties of the transaction, for example, to correspond an acceptance person of the buyer and an acceptance person of the seller, and this process is convenient to perform the integrated calculation of the transaction orders of the buyer and the seller in step S5, thereby generating the final transaction order.
If the trade order is the ordinary order, executing step S3 specifically includes: creating a many-to-many trading task that includes performing the mapping process on the script in order information of trading orders input by a plurality of ports. The mapping process is to correspond the same script in the order information of multiple parties in the transaction, for example, all the contractors, and this process facilitates the integration calculation of the transaction order in step S5, thereby generating the final transaction order.
S2, confirming that a payment channel between ports for inputting the transaction order is available, facilitating synchronous change of order information by transaction users involved in the transaction process, and avoiding error in information change and inconsistent change of order information of both parties or multiple parties in the transaction.
And S3, creating a trading task, wherein the trading task comprises mapping the scripts in the order information of the trading order input by the port, and the mapping is to correspondingly process the scripts of the same type.
S4, the script after mapping processing in the step S4 is checked, the fact that the type of the script is consistent with the content type of the script is confirmed, the fact that the script is legal means whether the content in the same type of script is consistent or not, if the due date is required to be the date, the checking is not passed if the due date is not the date. When the contents in all scripts in the transaction order of the client are legal, the audit is passed; and in other cases, the audit is not passed, and the information which is not passed is forwarded to the port.
And S5, performing calculation processing on the scripts after the step S4, wherein the calculation processing is to change the content of the scripts of the same type, integrate the scripts into a trade order, and transmit the trade order to the port input unit for display. The specific processing procedure can be used for writing a transaction program according to the transaction situation, and the program is called for calculation in the calculation.
In an embodiment of the present disclosure, an order parallel generation system is provided, and referring to fig. 2, the order parallel generation system includes: the system comprises a port input unit, a transaction establishing unit, an auditing unit, a calculating unit and a monitoring unit.
The port input unit, the transaction creating unit, the auditing unit, the calculating unit and the monitoring unit can be functional modules or software modules working on the same or different physical machine equipment, and the physical machine equipment can belong to the same or different cluster systems.
In practical application, the constructed order parallel generation system can provide a user operation interface for a user, and the user operation interface can be presented on mobile terminal equipment, such as a mobile phone or a PC, and can also be presented on an ATM terminal. And the user logs in the order parallel generation system through a user operation interface.
And the port input unit is suitable for a client to input order information of a trade order into the order parallel generation system.
And the transaction establishing unit is suitable for establishing a transaction task, the transaction task comprises mapping processing of the scripts in the order information of the transaction order input by the port, the mapping processing is to correspondingly process the scripts of the same type, and then the transaction establishing unit sends the transaction task to the auditing unit. The trade creating unit comprises a type dividing module, the type dividing module divides the trade orders into order oriented orders and common orders according to the script, the oriented orders are orders which are traded by the client in a one-to-one mode, and the common orders are orders which are traded by the client in a many-to-many mode. The trade creating unit further comprises a directional trade module, if the trade order is the directional order, the directional trade module creates a one-to-one trade task, and the one-to-one trade task comprises the step of mapping the script in the order information of the trade order input through the two ports. The transaction establishing unit further comprises a common transaction module, if the transaction order is the common order, the common transaction module establishes a many-to-many transaction task, and the many-to-many transaction task comprises the step of mapping the script in the order information of the transaction order input by the plurality of ports.
And the auditing unit is suitable for auditing the script subjected to mapping processing, confirming that the type of the script is consistent and the content type of the script is legal, and then sending the confirmed script to the computing unit.
And the calculation unit is suitable for calculating and processing the scripts sent by the auditing unit, namely performing content change on the scripts of the same type, integrating the scripts into a transaction order, and sending the transaction order to the port input unit for display.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
The present disclosure also provides an electronic device, referring to fig. 3, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the present disclosure.
The present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements any of the methods of the present disclosure.
It is worthy to emphasize that various embodiments of the systems and techniques described here above may be implemented in digital electronic systems, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products, systems on a chip, load programmable logic devices, computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: in the implementation of one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the block diagrams to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described above can be implemented in a computer system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel, sequentially, or in a different order, and are not limited herein as long as the desired results of the disclosed aspects are achieved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A parallel order generation method is characterized by comprising the following steps:
s1, inputting order information of a trade order at a port, wherein the order information comprises more than one script;
s2, confirming that a payment channel between ports for inputting the transaction information is available;
s3, creating a trading task, wherein the trading task comprises mapping the scripts in the order information of the trading order input by the port, and the mapping is to perform corresponding processing on the scripts of the same type;
s4, the script subjected to mapping processing in the step S3 is checked, and the type consistency of the script and the content type of the script are confirmed to be legal;
and S5, performing calculation processing on the scripts after the step S4, wherein the calculation processing is to change the content of the scripts of the same type, integrate the scripts into a trade order and transmit the trade order to the port for display.
2. The order parallel generation method of claim 1, further comprising a step S11 between steps S1 and S2: and dividing the trading order into a directional order and a common order according to the script, wherein the directional order is an order which is traded by the client in a one-to-one mode, and the common order is an order which is traded by the client in a many-to-many mode.
3. The method for parallel order generation as claimed in claim 2, wherein if the trade order is the targeted order in step S1, the step S3 is executed to further comprise: and creating a one-to-one trading task, wherein the one-to-one trading task comprises the step of carrying out mapping processing on the script in order information of the trading order input by the two ports.
4. The method for parallel order generation as claimed in claim 2, wherein if the trade order is the common order in step S1, the step S3 is executed to further comprise: creating a many-to-many trading task that includes performing the mapping process on the script in order information of trading orders input by a plurality of ports.
5. The order parallel generation system is characterized by comprising a port input unit, a transaction establishing unit, an auditing unit, a calculating unit and a monitoring unit;
the port input unit is suitable for a customer to input order information of a trade order into the order parallel generation system;
the transaction establishing unit is suitable for establishing a transaction task, the transaction task comprises mapping processing of the scripts in the order information of the transaction order input by the port, the mapping processing is to correspondingly process the scripts of the same type, and then the transaction establishing unit sends the transaction task to the auditing unit;
the auditing unit is suitable for auditing the script subjected to mapping processing, confirming that the type of the script is consistent and the content type of the script is legal, and then sending the confirmed script to the computing unit;
the calculation unit is suitable for calculating and processing the scripts sent by the auditing unit, namely performing content modification on the scripts of the same type, integrating the scripts into a transaction order, and sending the transaction order to the port input unit for display;
the monitoring unit continuously monitors communication connections between ports of the trade orders.
6. The order parallel generation system of claim 5, wherein the create transaction unit comprises a type division module, and the type division module divides the transaction order into a targeted order and a common order according to the script, wherein the targeted order is an order which is traded by the client in a one-to-one manner, and the common order is an order which is traded by the client in a many-to-many manner.
7. The order parallel generation system of claim 6, wherein the create transaction unit further comprises a directional transaction module, and if the transaction order is the directional order, the directional transaction module creates a one-to-one transaction task, and the one-to-one transaction task comprises performing the mapping process on the script in the order information of the transaction order input by the two ports.
8. The order parallel generation system according to claim 6, wherein the create transaction unit further includes a general transaction module, and if the transaction order is the general order, the general transaction module creates a many-to-many transaction task, and the many-to-many transaction task includes performing the mapping process on the script in order information of the transaction order input by a plurality of ports.
9. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the order parallel generation method of any one of claims 1-4.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the order parallel generation method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111546716.8A CN114331597A (en) | 2021-12-16 | 2021-12-16 | Order parallel generation method and system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111546716.8A CN114331597A (en) | 2021-12-16 | 2021-12-16 | Order parallel generation method and system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114331597A true CN114331597A (en) | 2022-04-12 |
Family
ID=81052260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111546716.8A Pending CN114331597A (en) | 2021-12-16 | 2021-12-16 | Order parallel generation method and system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114331597A (en) |
-
2021
- 2021-12-16 CN CN202111546716.8A patent/CN114331597A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112633691A (en) | Method and device for generating custom approval process | |
US10474692B2 (en) | Data conversion and distribution systems | |
US10540714B1 (en) | Financial analysis in a computing environment | |
CA3134107A1 (en) | A credit investigation data reporting method, apparutus, system, device and computer storage medium | |
CN110730097B (en) | Internet technology architecture construction method and device, electronic equipment and medium | |
CN113515462A (en) | Method, device, equipment and storage medium for testing | |
CN113485902B (en) | Method, device, equipment and computer readable medium for testing service platform | |
CN107562461B (en) | Feature calculation system, feature calculation method, storage medium, and electronic device | |
CN106708869A (en) | Method and device for group data processing | |
CN114331597A (en) | Order parallel generation method and system, electronic equipment and storage medium | |
CN113657943B (en) | Virtual asset transfer system, method, electronic equipment and storage medium | |
CN105205720A (en) | On-line financing examination and approval method, device and system | |
CN115391343A (en) | Bill data processing method and device, electronic equipment and storage medium | |
CN113778959B (en) | Method, apparatus, device and computer readable medium for data processing | |
CN114218313A (en) | Data management method, device, electronic equipment, storage medium and product | |
CN113610385A (en) | Energy enterprise commodity evaluation result obtaining method and system and computer equipment | |
WO2020173148A1 (en) | Method and system for automatically generating order, and storage medium | |
WO2020155167A1 (en) | Application of cross-organizational transactions to blockchain | |
CN111882294B (en) | Method and device for flow approval | |
CN114997977B (en) | Data processing method, device, electronic equipment and computer readable medium | |
CN114282835A (en) | Method and device for generating financing model in supply chain and electronic equipment | |
CN118172020A (en) | Data restoration method, device, equipment, storage medium and program product | |
CN112862608A (en) | Transaction data matching method and device | |
CN112749868A (en) | Data abnormity monitoring method and device | |
CN115103034A (en) | Message protocol conversion method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |