CN117519938A - Form data-based order receiving task processing method, device, equipment and medium - Google Patents
Form data-based order receiving task processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN117519938A CN117519938A CN202311562573.9A CN202311562573A CN117519938A CN 117519938 A CN117519938 A CN 117519938A CN 202311562573 A CN202311562573 A CN 202311562573A CN 117519938 A CN117519938 A CN 117519938A
- Authority
- CN
- China
- Prior art keywords
- payment
- form data
- processed
- database
- data
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 239000012634 fragment Substances 0.000 claims abstract description 66
- 238000012545 processing Methods 0.000 claims abstract description 43
- 238000000034 method Methods 0.000 claims description 24
- 238000013467 fragmentation Methods 0.000 claims description 10
- 238000006062 fragmentation reaction Methods 0.000 claims description 10
- 238000012423 maintenance Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000007726 management method Methods 0.000 description 7
- 238000013473 artificial intelligence Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000012502 risk assessment Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2255—Hash tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the technical field of big data, and provides a form data-based order receiving task processing method, device, equipment and medium, which can carry out hash slicing on form data to be processed to obtain at least one form slice, and respectively store the at least one form slice into at least one database, so that the form data to be processed is uniformly stored in each database; and responding to the receipt command, generating at least one transaction event according to the form fragments, extracting the corresponding form fragments from the database, and executing at least one transaction event in parallel according to the extracted form fragments, so that the concurrent processing capacity of the receipt task is effectively improved by combining the fragment processing, and the processing efficiency of the receipt task is improved.
Description
Technical Field
The present invention relates to the field of big data technologies, and in particular, to a method, an apparatus, a device, and a medium for processing an order receiving task based on form data.
Background
With the continuous development of economy, consumers have higher and higher consumption capacities, and the daily data collection amount can even reach millions.
However, due to the fact that daily receipt data size is high, the prior art is difficult to process the receipt data efficiently, payment efficiency is low, and shopping experience of consumers is affected.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, a device, and a medium for processing an order receiving task based on form data, which aim to solve the problem of low processing efficiency of the order receiving task.
A method for processing an order receiving task based on form data comprises the following steps:
when form data to be processed is received, hash slicing is carried out on the form data to be processed, and at least one form slice is obtained;
storing the at least one form fragment into at least one database, respectively;
generating at least one transaction event according to the form fragments in response to a receipt instruction;
and extracting the corresponding form fragments from the database, and executing the at least one transaction event in parallel according to the extracted form fragments.
According to a preferred embodiment of the present invention, the hash fragmentation of the form data to be processed includes:
acquiring an order number of each form data to be processed in the form data to be processed;
calculating a hash value of an order number of each form data to be processed;
and performing modular operation on the hash value of the order number of each form data to be processed to obtain the fragment number corresponding to each form data to be processed.
According to a preferred embodiment of the present invention, storing the at least one form tile into at least one database includes:
coding the databases to obtain the number of each database;
matching the fragment number corresponding to each form data to be processed with the number of each database;
when the detected fragment number corresponding to the form data to be processed is the same as the number of any database, storing the detected form data to be processed into the any database;
when the number of the form data to be processed matched by the first database exceeds the configuration number, randomly acquiring the form data to be processed of the configuration number from the matched form data to be processed, storing the form data to the first database, and determining the rest form data to be processed in the matched form data to be candidate data; and determining the residual space of each database in the at least one database, and sequentially storing the candidate data into the at least one database according to the sequence from the large space to the small space.
According to a preferred embodiment of the present invention, the executing the at least one transaction event in parallel according to the extracted form fragments includes:
for a payment event of the at least one transaction event, determining a payment type for each payment event;
executing each payment event according to the payment type;
for payment events of a closing payment type, acquiring a merging instruction, acquiring payment events to be merged from each payment event according to the merging instruction, and carrying out merged payment on the payment events to be merged;
and for the payment event of the combined payment type, acquiring the selected payment channel and the distribution amount of each payment channel, and calling an interface of the corresponding payment channel to carry out payment processing according to the distribution amount of each payment channel.
According to a preferred embodiment of the present invention, before executing each payment event according to the payment type, the method further comprises:
determining a consumer corresponding to each payment event;
obtaining overdue records of each consumer;
when the consumer has overdue records, the corresponding payment event is refused to be executed.
According to a preferred embodiment of the present invention, after the at least one transaction event is executed in parallel according to the extracted form fragments, the method further includes:
recording the execution condition of each transaction event;
and generating a tracking report of the settlement period of the commercial tenant according to the execution condition of each transaction event.
According to a preferred embodiment of the invention, the method further comprises:
acquiring execution data of a history order receiving instruction;
determining the payment success rate and the payment speed of each payment channel according to the execution data;
and when the payment success rate of the payment channel is smaller than the configuration success rate and the payment speed is smaller than the configuration speed, sending out maintenance prompt information for the payment channel.
A form data-based order taking task processing device, the form data-based order taking task processing device comprising:
the system comprises a fragmentation unit, a processing unit and a processing unit, wherein the fragmentation unit is used for carrying out hash fragmentation on form data to be processed when the form data to be processed is received, so as to obtain at least one form fragment;
the storage unit is used for respectively storing the at least one form fragment into at least one database;
the generation unit is used for responding to the order receiving instruction and generating at least one transaction event according to the form fragments;
and the execution unit is used for extracting the corresponding form fragments from the database and executing the at least one transaction event in parallel according to the extracted form fragments.
A computer device, the computer device comprising:
a memory storing at least one instruction; and
And the processor executes the instructions stored in the memory to realize the order receiving task processing method based on the form data.
A computer-readable storage medium having stored therein at least one instruction that is executed by a processor in a computer device to implement the form data based order taking task processing method.
According to the technical scheme, hash fragmentation can be performed on the form data to be processed to obtain at least one form fragment, and the at least one form fragment is respectively stored in at least one database, so that the form data to be processed is uniformly stored in each database; and responding to the receipt command, generating at least one transaction event according to the form fragments, extracting the corresponding form fragments from the database, and executing at least one transaction event in parallel according to the extracted form fragments, so that the concurrent processing capacity of the receipt task is effectively improved by combining the fragment processing, and the processing efficiency of the receipt task is improved.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the order receiving task processing method based on form data of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the order task processing device based on form data according to the present invention.
Fig. 3 is a schematic structural diagram of a computer device according to a preferred embodiment of the present invention for implementing a form data-based order receiving task processing method.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the order taking task processing method based on form data according to the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The order-receiving task processing method based on the form data is applied to one or more computer devices, wherein the computer device is a device capable of automatically carrying out numerical calculation and/or information processing according to preset or stored instructions, and the hardware comprises, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable gate array (Field-Programmable Gate Array, FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device and the like.
The computer device may be any electronic product that can interact with a user in a human-computer manner, such as a personal computer, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game console, interactive internet protocol television (Internet Protocol Television, IPTV), smart wearable device, etc.
The computer device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
S10, when form data to be processed are received, hash slicing is carried out on the form data to be processed, and at least one form slice is obtained.
The form data to be processed may be an order to be processed, etc., and the data size of the form data to be processed is higher, which results in slower processing speed of the order receiving task.
In this embodiment, the hash partitioning the form data to be processed to obtain at least one form partition includes:
acquiring an order number of each form data to be processed in the form data to be processed;
calculating a hash value of an order number of each form data to be processed;
and performing modular operation on the hash value of the order number of each form data to be processed to obtain the fragment number corresponding to each form data to be processed.
According to the embodiment, the data of the form to be processed can be automatically split based on the hash algorithm, and the hash value calculated by the hash algorithm has uniqueness, so that each obtained data of the form to be processed can be effectively distinguished through the calculated fragment number, and the condition of disordered marking is avoided.
S11, storing the at least one form fragment into at least one database respectively.
In this embodiment, storing the at least one form tile in at least one database includes:
coding the databases to obtain the number of each database;
matching the fragment number corresponding to each form data to be processed with the number of each database;
when the detected fragment number corresponding to the form data to be processed is the same as the number of any database, storing the detected form data to be processed into the any database;
when the number of the form data to be processed matched by the first database exceeds the configuration number, randomly acquiring the form data to be processed of the configuration number from the matched form data to be processed, storing the form data to the first database, and determining the rest form data to be processed in the matched form data to be candidate data; and determining the residual space of each database in the at least one database, and sequentially storing the candidate data into the at least one database according to the sequence from the large space to the small space.
For example: when the number of the forms to be processed matched by the database A is 10, if the number of the configurations is 7, 7 forms to be processed can be arbitrarily acquired from the matched forms to be processed and stored in the database A, and the rest 3 forms are used as the candidate data; further, determining the remaining space of the remaining databases, and when the databases with the highest remaining space are the database B, the database C and the database D in sequence, sequentially storing the remaining 3 databases into the database B, the database C and the database D.
In an ideal state, one form data to be processed can be stored in each database, so that the database is fully utilized to perform concurrent processing on the form data to be processed.
Therefore, the form data to be processed can be uniformly stored in each database, and the concurrency processing capability of the form data to be processed is improved.
And S12, responding to a receipt instruction, and generating at least one transaction event according to the form fragments.
In this embodiment, the order receiving instruction may be triggered by a bank.
In this embodiment, the generating at least one transaction event according to the form shard includes:
determining a transaction type corresponding to each form fragment;
generating a transaction event corresponding to each form fragment according to the transaction type;
the transaction types may include payment types, refund types, transfer types, ledger types, presentation types, and the like, among others.
Specifically, the account dividing type refers to dividing transaction amounts to a plurality of partners according to a specified rule, such as dividing transaction amounts to a plurality of merchants.
S13, extracting the corresponding form fragments from the database, and executing the at least one transaction event in parallel according to the extracted form fragments.
In this embodiment, the executing the at least one transaction event in parallel according to the extracted form shards includes:
for a payment event of the at least one transaction event, determining a payment type for each payment event;
executing each payment event according to the payment type;
for payment events of a closing payment type, acquiring a merging instruction, acquiring payment events to be merged from each payment event according to the merging instruction, and carrying out merged payment on the payment events to be merged;
and for the payment event of the combined payment type, acquiring the selected payment channel and the distribution amount of each payment channel, and calling an interface of the corresponding payment channel to carry out payment processing according to the distribution amount of each payment channel.
For example: when the payment event A and the payment event B need to be combined, combining the payment event A and the payment event B into one payment order to carry out unified payment; when the payment event C needs to be paid through the payment channel X and the payment channel Y, and the payment channel X needs to pay M elements, and the payment channel Y needs to pay N elements, interfaces corresponding to the payment channel X and the payment channel Y are respectively called, the payment channel X pays M elements, and the payment channel Y pays N elements.
In the embodiment, multiple payment modes can be supported to adapt to the development of multiple services, and the adaptability to various payment types is improved.
In this embodiment, before the executing each payment event according to the payment type, the method further includes:
determining a consumer corresponding to each payment event;
obtaining overdue records of each consumer;
when the consumer has overdue records, the corresponding payment event is refused to be executed.
Through the embodiment, the risk management and control of the payment process can be realized, overdue is avoided, and the payment risk is reduced.
In this embodiment, after the at least one transaction event is executed in parallel according to the extracted form slice, the method further includes:
recording the execution condition of each transaction event;
and generating a tracking report of the settlement period of the commercial tenant according to the execution condition of each transaction event.
Specifically, according to the success or failure of the payment transaction, accounts of all merchants are settled and cleared, so that accurate transfer of funds and effective management of a calculation period are ensured.
In this embodiment, the method further includes:
acquiring execution data of a history order receiving instruction;
determining the payment success rate and the payment speed of each payment channel according to the execution data;
and when the payment success rate of the payment channel is smaller than the configuration success rate and the payment speed is smaller than the configuration speed, sending out maintenance prompt information for the payment channel.
The configuration success rate and the configuration speed can be configured according to actual transaction requirements, average values of all payment channels can be calculated according to historical data, and the configuration success rate and the configuration speed can be determined according to the average values of all payment channels.
In the above embodiment, when the payment success rate of the payment channel is smaller than the configuration success rate and the payment speed is smaller than the configuration speed, it is indicated that the payment service of the payment channel is poor, so that maintenance prompt information for the payment channel is sent.
Of course, the payment condition can be further analyzed through the execution data of the historical order receiving instruction, and risk assessment is performed, so that references are provided for business decisions.
According to the technical scheme, hash fragmentation can be performed on the form data to be processed to obtain at least one form fragment, and the at least one form fragment is respectively stored in at least one database, so that the form data to be processed is uniformly stored in each database; and responding to the receipt command, generating at least one transaction event according to the form fragments, extracting the corresponding form fragments from the database, and executing at least one transaction event in parallel according to the extracted form fragments, so that the concurrent processing capacity of the receipt task is effectively improved by combining the fragment processing, and the processing efficiency of the receipt task is improved.
FIG. 2 is a functional block diagram of a preferred embodiment of the order task processing device based on form data according to the present invention. The order-receiving task processing device 11 based on the form data includes a slicing unit 110, a storage unit 111, a generating unit 112, and an executing unit 113. The module/unit referred to in the present invention refers to a series of computer program segments, which are stored in a memory, capable of being executed by a processor and of performing a fixed function. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
The slicing unit 110 is configured to, when receiving form data to be processed, hash the form data to be processed to obtain at least one form slice;
the storage unit 111 is configured to store the at least one form slice into at least one database respectively;
the generating unit 112 is configured to generate at least one transaction event according to the form fragment in response to a receipt instruction;
the execution unit 113 is configured to extract a corresponding form slice from the database, and execute the at least one transaction event in parallel according to the extracted form slice.
According to the technical scheme, hash fragmentation can be performed on the form data to be processed to obtain at least one form fragment, and the at least one form fragment is respectively stored in at least one database, so that the form data to be processed is uniformly stored in each database; and responding to the receipt command, generating at least one transaction event according to the form fragments, extracting the corresponding form fragments from the database, and executing at least one transaction event in parallel according to the extracted form fragments, so that the concurrent processing capacity of the receipt task is effectively improved by combining the fragment processing, and the processing efficiency of the receipt task is improved.
Fig. 3 is a schematic structural diagram of a computer device according to a preferred embodiment of the present invention for implementing a form data-based order receiving task processing method.
The computer device 1 may comprise a memory 12, a processor 13 and a bus, and may further comprise a computer program stored in the memory 12 and executable on the processor 13, for example a order taking task handler based on form data.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, the computer device 1 may be a bus type structure, a star type structure, the computer device 1 may further comprise more or less other hardware or software than illustrated, or a different arrangement of components, for example, the computer device 1 may further comprise an input-output device, a network access device, etc.
It should be noted that the computer device 1 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
The memory 12 includes at least one type of readable storage medium including flash memory, a removable hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 12 may in some embodiments be an internal storage unit of the computer device 1, such as a removable hard disk of the computer device 1. The memory 12 may in other embodiments also be an external storage device of the computer device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 1. Further, the memory 12 may also include both an internal storage unit and an external storage device of the computer device 1. The memory 12 may be used not only for storing application software installed in the computer device 1 and various types of data, such as codes of order-receiving task processing programs based on form data, but also for temporarily storing data that has been output or is to be output.
The processor 13 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, a combination of various control chips, and the like. The processor 13 is a Control Unit (Control Unit) of the computer device 1, connects the respective components of the entire computer device 1 using various interfaces and lines, executes various functions of the computer device 1 and processes data by running or executing programs or modules stored in the memory 12 (for example, executing a form data-based order-receiving task processing program or the like), and calls data stored in the memory 12.
The processor 13 executes the operating system of the computer device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps of the above-described respective form data-based order receiving task processing method embodiments, such as the steps shown in fig. 1.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the computer program in the computer device 1. For example, the computer program may be divided into a partition unit 110, a storage unit 111, a generation unit 112, an execution unit 113.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute a portion of the order-receiving task processing method based on form data according to the embodiments of the present invention.
The modules/units integrated in the computer device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on this understanding, the present invention may also be implemented by a computer program for instructing a relevant hardware device to implement all or part of the procedures of the above-mentioned embodiment method, where the computer program may be stored in a computer readable storage medium and the computer program may be executed by a processor to implement the steps of each of the above-mentioned method embodiments.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory, or the like.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one straight line is shown in fig. 3, but not only one bus or one type of bus. The bus is arranged to enable a connection communication between the memory 12 and at least one processor 13 or the like.
Although not shown, the computer device 1 may further comprise a power source (such as a battery) for powering the various components, preferably the power source may be logically connected to the at least one processor 13 via a power management means, whereby the functions of charge management, discharge management, and power consumption management are achieved by the power management means. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The computer device 1 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described in detail herein.
Further, the computer device 1 may also comprise a network interface, optionally comprising a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used for establishing a communication connection between the computer device 1 and other computer devices.
The computer device 1 may optionally further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
Fig. 3 shows only a computer device 1 with components 12-13, it being understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the computer device 1 and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In connection with fig. 1, the memory 12 in the computer device 1 stores a plurality of instructions to implement a form data based order task processing method, the processor 13 being executable to implement:
when form data to be processed is received, hash slicing is carried out on the form data to be processed, and at least one form slice is obtained;
storing the at least one form fragment into at least one database, respectively;
generating at least one transaction event according to the form fragments in response to a receipt instruction;
and extracting the corresponding form fragments from the database, and executing the at least one transaction event in parallel according to the extracted form fragments.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
The data in this case were obtained legally.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The invention is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. The order receiving task processing method based on the form data is characterized by comprising the following steps of:
when form data to be processed is received, hash slicing is carried out on the form data to be processed, and at least one form slice is obtained;
storing the at least one form fragment into at least one database, respectively;
generating at least one transaction event according to the form fragments in response to a receipt instruction;
and extracting the corresponding form fragments from the database, and executing the at least one transaction event in parallel according to the extracted form fragments.
2. The method for processing an order receiving task based on form data according to claim 1, wherein the hash slicing is performed on the form data to be processed, and obtaining at least one form slice comprises:
acquiring an order number of each form data to be processed in the form data to be processed;
calculating a hash value of an order number of each form data to be processed;
and performing modular operation on the hash value of the order number of each form data to be processed to obtain the fragment number corresponding to each form data to be processed.
3. The method for processing an order-receiving task based on form data according to claim 2, wherein storing the at least one form fragment in at least one database, respectively, comprises:
coding the databases to obtain the number of each database;
matching the fragment number corresponding to each form data to be processed with the number of each database;
when the detected fragment number corresponding to the form data to be processed is the same as the number of any database, storing the detected form data to be processed into the any database;
when the number of the form data to be processed matched by the first database exceeds the configuration number, randomly acquiring the form data to be processed of the configuration number from the matched form data to be processed, storing the form data to the first database, and determining the rest form data to be processed in the matched form data to be candidate data; and determining the residual space of each database in the at least one database, and sequentially storing the candidate data into the at least one database according to the sequence from the large space to the small space.
4. The form data based order taking task processing method as recited in claim 1, wherein said executing said at least one transaction event in parallel according to the extracted form fragments comprises:
for a payment event of the at least one transaction event, determining a payment type for each payment event;
executing each payment event according to the payment type;
for payment events of a closing payment type, acquiring a merging instruction, acquiring payment events to be merged from each payment event according to the merging instruction, and carrying out merged payment on the payment events to be merged;
and for the payment event of the combined payment type, acquiring the selected payment channel and the distribution amount of each payment channel, and calling an interface of the corresponding payment channel to carry out payment processing according to the distribution amount of each payment channel.
5. The form data-based order taking task processing method as recited in claim 4, wherein before each payment event is executed according to the payment type, the method further comprises:
determining a consumer corresponding to each payment event;
obtaining overdue records of each consumer;
when the consumer has overdue records, the corresponding payment event is refused to be executed.
6. The form data based order receiving task processing method as set forth in claim 1, wherein after said executing said at least one transaction event in parallel according to the extracted form fragments, said method further comprises:
recording the execution condition of each transaction event;
and generating a tracking report of the settlement period of the commercial tenant according to the execution condition of each transaction event.
7. The form data-based order taking task processing method as set forth in claim 1, wherein the method further comprises:
acquiring execution data of a history order receiving instruction;
determining the payment success rate and the payment speed of each payment channel according to the execution data;
and when the payment success rate of the payment channel is smaller than the configuration success rate and the payment speed is smaller than the configuration speed, sending out maintenance prompt information for the payment channel.
8. The utility model provides a form data based order task processing device which characterized in that, order task processing device based on form data includes:
the system comprises a fragmentation unit, a processing unit and a processing unit, wherein the fragmentation unit is used for carrying out hash fragmentation on form data to be processed when the form data to be processed is received, so as to obtain at least one form fragment;
the storage unit is used for respectively storing the at least one form fragment into at least one database;
the generation unit is used for responding to the order receiving instruction and generating at least one transaction event according to the form fragments;
and the execution unit is used for extracting the corresponding form fragments from the database and executing the at least one transaction event in parallel according to the extracted form fragments.
9. A computer device, the computer device comprising:
a memory storing at least one instruction; and
A processor executing instructions stored in the memory to implement the order-taking task processing method based on form data as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized by: the computer-readable storage medium has stored therein at least one instruction that is executed by a processor in a computer device to implement the form data-based order taking task processing method as recited in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311562573.9A CN117519938A (en) | 2023-11-22 | 2023-11-22 | Form data-based order receiving task processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311562573.9A CN117519938A (en) | 2023-11-22 | 2023-11-22 | Form data-based order receiving task processing method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117519938A true CN117519938A (en) | 2024-02-06 |
Family
ID=89741636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311562573.9A Pending CN117519938A (en) | 2023-11-22 | 2023-11-22 | Form data-based order receiving task processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117519938A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109472563A (en) * | 2018-10-26 | 2019-03-15 | 数贸科技(北京)有限公司 | The means of payment based on cross-border payment platform automates O&M method and device |
CN111723073A (en) * | 2019-03-19 | 2020-09-29 | 北京沃东天骏信息技术有限公司 | Data storage processing method, device, processing system and storage medium |
CN112417044A (en) * | 2020-11-20 | 2021-02-26 | 中国平安人寿保险股份有限公司 | Data processing method and device for newly added additional risk system and computer equipment |
CN113204535A (en) * | 2021-05-20 | 2021-08-03 | 中国工商银行股份有限公司 | Routing method and device, electronic equipment and computer readable storage medium |
CN115239446A (en) * | 2021-05-25 | 2022-10-25 | 支付宝(杭州)信息技术有限公司 | Data processing method and device based on block chain |
CN116681429A (en) * | 2023-06-27 | 2023-09-01 | 支付宝(杭州)信息技术有限公司 | Transaction processing method and device |
-
2023
- 2023-11-22 CN CN202311562573.9A patent/CN117519938A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109472563A (en) * | 2018-10-26 | 2019-03-15 | 数贸科技(北京)有限公司 | The means of payment based on cross-border payment platform automates O&M method and device |
CN111723073A (en) * | 2019-03-19 | 2020-09-29 | 北京沃东天骏信息技术有限公司 | Data storage processing method, device, processing system and storage medium |
CN112417044A (en) * | 2020-11-20 | 2021-02-26 | 中国平安人寿保险股份有限公司 | Data processing method and device for newly added additional risk system and computer equipment |
CN113204535A (en) * | 2021-05-20 | 2021-08-03 | 中国工商银行股份有限公司 | Routing method and device, electronic equipment and computer readable storage medium |
CN115239446A (en) * | 2021-05-25 | 2022-10-25 | 支付宝(杭州)信息技术有限公司 | Data processing method and device based on block chain |
CN116681429A (en) * | 2023-06-27 | 2023-09-01 | 支付宝(杭州)信息技术有限公司 | Transaction processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114124968B (en) | Load balancing method, device, equipment and medium based on market data | |
CN115936886B (en) | Failure detection method, device, equipment and medium for heterogeneous securities trading system | |
CN112733531A (en) | Virtual resource allocation method and device, electronic equipment and computer storage medium | |
CN114185776A (en) | Big data point burying method, device, equipment and medium for application program | |
CN116823437A (en) | Access method, device, equipment and medium based on configured wind control strategy | |
CN114372892A (en) | Payment data monitoring method, device, equipment and medium | |
CN115310979A (en) | Data payment method and device, electronic equipment and storage medium | |
CN117519938A (en) | Form data-based order receiving task processing method, device, equipment and medium | |
CN114936920A (en) | Bank interest-metering method, device, equipment and storage medium based on daily record | |
CN116739611B (en) | Customer information tracking management method, device, equipment and medium | |
CN116225789B (en) | Transaction system backup capability detection method, device, equipment and medium | |
CN116957649B (en) | Customer screening method, device, equipment and medium | |
CN116843454B (en) | Channel information management method, device, equipment and medium | |
CN116934263B (en) | Product batch admittance method, device, equipment and medium | |
CN116629596B (en) | Supply chain risk prediction method, device, equipment and medium | |
CN118037453B (en) | Order processing method, device, equipment and medium of transaction system | |
CN114860349B (en) | Data loading method, device, equipment and medium | |
CN118014732A (en) | Data return method, device, equipment and medium | |
CN116483747B (en) | Quotation snapshot issuing method, device, equipment and medium | |
CN112527842B (en) | System flow pushing method and device, electronic equipment and computer readable storage medium | |
CN118037198B (en) | Event-related article management method, device, equipment and medium | |
CN118052604B (en) | AI-based material price main data determination method, apparatus, device and medium | |
CN115934576B (en) | Test case generation method, device, equipment and medium in transaction scene | |
CN116821876A (en) | Processing method, device, equipment and medium for product configuration data | |
CN117114845A (en) | Enterprise risk prediction method, equipment and medium |
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 |