Distributed order processing method, apparatus, device and readable storage medium
An order processing and distributed technology, applied in the computer field, can solve problems such as low order processing efficiency and load imbalance, and achieve the effect of improving order processing efficiency and load balancing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flow chart of the distributed order processing method provided by Embodiment 1 of the present invention. The embodiment of the present invention provides a distributed order processing method for the problems in the prior art that orders are distributed randomly or in a balanced manner to each sub-library, resulting in unbalanced load of each sub-library and low order processing efficiency. The method in this embodiment is applied to computer equipment. In other embodiments, the method can also be applied to other devices. This embodiment uses a terminal device as an example for schematic illustration. like figure 1 As shown, the specific steps of the method are as follows:
[0027] Step S101, acquiring hardware configuration information of multiple sub-warehouses, time of putting into use and order quantity.
[0028] This embodiment is applied to a distributed order processing system. The order system includes a distributed database cluster composed...
Embodiment 2
[0044] figure 2 It is a flow chart of the distributed order processing method provided by Embodiment 2 of the present invention. On the basis of the first embodiment above, in this embodiment, after calculating the order weight of each sub-library according to the hardware configuration information and order quantity of multiple sub-libraries, it also includes: detecting whether a plurality of sub-libraries fails; If any sub-library is detected to be faulty, the order weight of the faulty sub-library is set to 0. like figure 2 As shown, the specific steps of the method are as follows:
[0045] Step S201. Obtain hardware configuration information, commissioning time and order quantity of multiple sub-warehouses.
[0046] This embodiment is applied to a distributed order processing system. The order system includes a distributed database cluster composed of multiple sub-databases, and orders are allocated to each sub-database. Each sub-library is responsible for data stora...
Embodiment 3
[0092] image 3 It is a schematic structural diagram of a distributed order processing device provided in Embodiment 3 of the present invention. The distributed order processing apparatus provided in the embodiment of the present invention can execute the processing flow provided in the embodiment of the distributed order processing method. like image 3As shown, the device 30 includes: an acquisition module 301 , a weight calculation module 302 and an order allocation module 303 .
[0093] Specifically, the acquiring module 301 is used to acquire hardware configuration information, commissioning time and order quantity of multiple sub-warehouses.
[0094] The weight calculation module 302 is used to calculate the order weight of each sub-warehouse according to the hardware configuration information of multiple sub-warehouses, the time of putting into use and the order quantity.
[0095] The order distribution module 303 is used to distribute orders to multiple sub-warehous...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com