Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2020-11-17
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a distributed order processing method, device, equipment and readable storage medium, which are used to solve the problem of randomly or evenly distributed orders to each sub-library in the prior art, resulting in unbalanced load of each sub-library. The problem of low order processing efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed order processing method, apparatus, device and readable storage medium
  • Distributed order processing method, apparatus, device and readable storage medium
  • Distributed order processing method, apparatus, device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a distributed order processing method, a device, an apparatus and a readable storage medium. The method comprises the following steps: acquiring hardware configuration information of a plurality of sub-database, put use time and order quantity; calculating an order placing weight of each sub-database according to the hardware configuration information of the plurality of sub-databases, the put use time and the order quantity; assigning an order to the plurality of sub-databases according to the order placing weight of each sub-database. By obtaining hardware configuration information for multiple sub-database, the put use time and the order quantity, the order placing weight of each sub-database is calculated, and the orders are assigned to multiple sub-warehouses according to the weight of each sub-warehouse, so that the load balance of each sub-warehouse is realized, and the order processing efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a distributed order processing method, device, equipment and readable storage medium. Background technique [0002] With the development of e-commerce online marketing activities, the order volume of e-commerce platforms has increased rapidly in the short term, which has put a lot of pressure on the order database. For this reason, a distributed database cluster has appeared, including multiple sub-databases, and multiple sub-databases perform order processing in a distributed manner. [0003] At present, for a distributed database cluster, when an order is placed, the order is usually randomly or evenly distributed to each sub-database. Since the hardware configuration of each sub-library is different, the performance of each sub-library is also different. Orders are distributed to each sub-library randomly or in a balanced manner. Some sub-libraries with low configur...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50G06F16/27G06Q30/06
CPCG06F9/5083G06Q30/0635
Inventor 马刚胡奎杨萌赵锡成
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products