CN104021481A - High-efficiency order batch-processing method of tobacco industry orders - Google Patents
High-efficiency order batch-processing method of tobacco industry orders Download PDFInfo
- Publication number
- CN104021481A CN104021481A CN201410308131.6A CN201410308131A CN104021481A CN 104021481 A CN104021481 A CN 104021481A CN 201410308131 A CN201410308131 A CN 201410308131A CN 104021481 A CN104021481 A CN 104021481A
- Authority
- CN
- China
- Prior art keywords
- order
- orders
- batch
- queue
- processing
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a high-efficiency order batch-processing method of tobacco industry orders, belonging to the field of order processing methods. The high-efficiency order batch-processing method comprises the steps: sending messages to an order processing application queue by order foreground applications in turn, after the order processing application receives a request of submitting orders, packing order information into one message, placing the message in an order queue, and then returning to user prompt information; timing-starting processing the orders by a background, executing a plurality of threads, firstly generating a batch by a timer, namely, packing a plurality of orders into an order group, then transmitting the order group into an order batch processor, and summating order combined goods by the order batch processor for reserving inventory. Compared with the prior art, the high-efficiency order batch-processing method of tobacco industry orders, disclosed by the invention, is capable of effectively increasing transaction processing capacity per second of order processing, and has good popularization and application values.
Description
Technical field
The present invention relates to a kind of order processing method, specifically a kind of efficient tobacco business order Batch orders disposal route, is particluarly suitable for carrying out order processing under large concurrent order business scenario.
Background technology
Tobacco business order business application system is that tobacco company is the effective utilization that realizes enterprise's running efficiently and resource, the a set of complete information management system of setting up, user can realize online division, inquiry, payment function by this system, realizes robotization order, robotization dispensing, robotization clearing and the robotization storekeeper of tobacco monopoly system.
Online division be take tobacco external website as carrier, not restricted by time, place, and the timely and effective property that order business application system can raising information be transmitted, can provide inquiry and the sales analysis of historical sales data easily for retail customer, the efficiency that contributes to order goods improves, therefore, online division has become a kind of ordering method the most frequently used in tobacco business prior art.
Yet, in existing tobacco business order business application system, the method for order processing remains according to order submission order successively single processing order, although this disposal route is simple, easily realizes, but will produce a large amount of locks to shared resources such as stocks, wait for, cause order concurrent processing ability to reduce.
Summary of the invention
Technical assignment of the present invention is for above-mentioned the deficiencies in the prior art, and a kind of efficient tobacco business order Batch orders disposal route is provided.
Technical assignment of the present invention is realized in the following manner:
A kind of efficient tobacco business order Batch orders disposal route, be characterized in that order foreground application sends message in turn to order processing application queue, order processing application is received after the request of submitting order to, and sequence information is encapsulated as to a message, puts into indent queue;
Backstage start by set date is processed order, carry out a plurality of threads, first timer produces batch, according to order submission order, a plurality of orders are packaged into an order group, then order group is imported into order batch processing device, order batch processing device adds up to according to commodity order group, the unified reserved stock together of each commodity.
Sequence information is encapsulated as message, puts into after indent queue, and each queue is preferably in background queue.
Order processing application is encapsulated as a message sequence information, puts into after indent queue, returns to user's information.
Indent queue and timer-triggered scheduler process simulation message-oriented middleware are processed, and when order is submitted to, are only inserted in queue, then by timer, regularly read queue, a plurality of orders are packaged into order group and give the processing of batch processing device.
In efficient tobacco business order Batch orders disposal route of the present invention, order foreground application is submitted order to, and order backstage merges rear batch processing to order.
Compared with prior art, efficient tobacco business order Batch orders disposal route of the present invention has following outstanding beneficial effect:
(1) after the method is applied to tobacco business form ordering system, order processing number per second rises to 100 left and right from 5-10, greatly promoted operation system ability, in the situation that not increasing server resource, can meet the order business processing at 100,000 retail families, both improve the satisfaction that user uses, reduced again system operation and maintenance cost;
(2) can be good at adapting to existing tobacco business order business application system, be easy to realize, realize cost low.
Accompanying drawing explanation
Accompanying drawing 1 is the FB(flow block) of the efficient tobacco business order of the present invention Batch orders disposal route.
Embodiment
With reference to Figure of description, with specific embodiment, efficient tobacco business order Batch orders disposal route of the present invention is described in detail below.
Embodiment:
Tobacco business order Batch orders disposal route of the present invention, by the processing of simulation message-oriented middleware, has improved the processing speed of order in a large number.
Order foreground application sends message in turn to order processing application queue, and order processing application is received after the request of submitting order to, and sequence information is encapsulated as to a message, put into indent queue, then return to user, prompting " processing ", now each queue is in background queue.
Order can be processed by start by set date in backstage, can carry out a plurality of threads, first timer produces batch, a plurality of orders are bundled into an order group, then order group is imported into order batch processing device, order batch processing device can combine order, and reserved stock, has improved the issued transaction amount per second of order processing.Wherein indent queue and timer-triggered scheduler process simulation message-oriented middleware are processed.
As shown in drawings, efficient tobacco business order Batch orders disposal route of the present invention comprises the following steps:
Step 1, order foreground application send message in turn to order processing application queue, and order processing application is received after the request of submitting order to, and sequence information is encapsulated as to a message, puts into indent queue, then returns to user's information.When order is submitted to, order is not done to any processing, be directly inserted into indent queue, be labeled as untreated.
Step 2, backstage timer timing scan message queue, take out a collection of untreated order (front n) packing while having untreated order in queue, give an order processing device, simultaneously by this collection of hand marker for processing.
Step 3, order processing device add up to according to commodity after receiving order group, and reserved stock is gone in each commodity unification.
After step 4, reserved stock's success, formally deposit order in order table, this collection of order mark from message queue is processed into merit simultaneously.
Claims (3)
1. an efficient tobacco business order Batch orders disposal route, is characterized in that:
Order foreground application sends message in turn to order processing application queue, and order processing application is received after the request of submitting order to, and sequence information is encapsulated as to a message, puts into indent queue;
Backstage timer-triggered scheduler program timing starts processes order, carry out a plurality of threads, first timer produces batch, according to order submission order, a plurality of orders are packaged into an order group, then order group is imported into order batch processing device, order batch processing device adds up to according to commodity order group, the unified reserved stock together of each commodity.
2. efficient tobacco business order Batch orders disposal route according to claim 1, is characterized in that, sequence information is encapsulated as message, puts into after indent queue, and each queue is in background queue.
3. efficient tobacco business order Batch orders disposal route according to claim 1, is characterized in that, order processing application is encapsulated as a message sequence information, puts into after indent queue, returns to user's information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410308131.6A CN104021481A (en) | 2014-07-01 | 2014-07-01 | High-efficiency order batch-processing method of tobacco industry orders |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410308131.6A CN104021481A (en) | 2014-07-01 | 2014-07-01 | High-efficiency order batch-processing method of tobacco industry orders |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104021481A true CN104021481A (en) | 2014-09-03 |
Family
ID=51438221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410308131.6A Pending CN104021481A (en) | 2014-07-01 | 2014-07-01 | High-efficiency order batch-processing method of tobacco industry orders |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104021481A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105160570A (en) * | 2015-09-15 | 2015-12-16 | 浪潮软件股份有限公司 | Concurrent on-line transaction processing method capable of horizontal expansion |
CN107918839A (en) * | 2016-10-08 | 2018-04-17 | 阿里巴巴集团控股有限公司 | A kind of sequence information processing method, apparatus and system |
WO2019047516A1 (en) * | 2017-09-07 | 2019-03-14 | 北京京东尚科信息技术有限公司 | Method and device for information output |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426215A (en) * | 2002-12-26 | 2003-06-25 | 北京邮电大学 | Call processing system adapted for application server and its realizing method |
CN1725186A (en) * | 2004-07-23 | 2006-01-25 | 中兴通讯股份有限公司 | Multiple data base data syne method |
US20100222026A1 (en) * | 2009-03-02 | 2010-09-02 | First Data Corporation | Systems, Methods, and Apparatus for Receiving Promotion Information by a Mobile Device |
CN103605568A (en) * | 2013-10-29 | 2014-02-26 | 北京奇虎科技有限公司 | Multithread management method and device |
-
2014
- 2014-07-01 CN CN201410308131.6A patent/CN104021481A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426215A (en) * | 2002-12-26 | 2003-06-25 | 北京邮电大学 | Call processing system adapted for application server and its realizing method |
CN1725186A (en) * | 2004-07-23 | 2006-01-25 | 中兴通讯股份有限公司 | Multiple data base data syne method |
US20100222026A1 (en) * | 2009-03-02 | 2010-09-02 | First Data Corporation | Systems, Methods, and Apparatus for Receiving Promotion Information by a Mobile Device |
CN103605568A (en) * | 2013-10-29 | 2014-02-26 | 北京奇虎科技有限公司 | Multithread management method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105160570A (en) * | 2015-09-15 | 2015-12-16 | 浪潮软件股份有限公司 | Concurrent on-line transaction processing method capable of horizontal expansion |
CN107918839A (en) * | 2016-10-08 | 2018-04-17 | 阿里巴巴集团控股有限公司 | A kind of sequence information processing method, apparatus and system |
WO2019047516A1 (en) * | 2017-09-07 | 2019-03-14 | 北京京东尚科信息技术有限公司 | Method and device for information output |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110866709B (en) | Method and device for merging orders | |
US10748220B2 (en) | Account processing method and apparatus | |
US8806507B1 (en) | Dynamic provisioning of message groups | |
CN104156843A (en) | Logistics distribution management system and logistics distribution management method | |
CN108182111A (en) | Task scheduling system, method and apparatus | |
CN105160570A (en) | Concurrent on-line transaction processing method capable of horizontal expansion | |
CN102932472B (en) | Data processing method and communication system | |
CN104657214A (en) | Multi-queue multi-priority big data task management system and method for achieving big data task management by utilizing system | |
CN103281367A (en) | Load balance method and device | |
CN105468690A (en) | Inventory data processing method and device | |
CN104391749A (en) | Resource allocation method and device | |
CN102025650A (en) | Message processing system and message processing method of enterprise service bus | |
CN103581336A (en) | Service flow scheduling method and system based on cloud computing platform | |
CN102737065A (en) | Method and device for acquiring data | |
CN102799467A (en) | Method and system for allocating tasks | |
CN107729137A (en) | Server, the method and storage medium of the decryption of block chain sign test | |
CN102904961A (en) | Method and system for scheduling cloud computing resources | |
CN109254854A (en) | Asynchronous invoking method, computer installation and storage medium | |
CN104021481A (en) | High-efficiency order batch-processing method of tobacco industry orders | |
CN102929698A (en) | Task re-judgment method and system | |
WO2019000786A1 (en) | Order assigning method and device | |
CN105096122A (en) | Fragmented transaction matching method and fragmented transaction matching device | |
CN102025652B (en) | Service bus and message processing method | |
CN104821958B (en) | Electricity consumption data packet interactive interface method based on WebService | |
CN111461583B (en) | Inventory checking method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140903 |
|
WD01 | Invention patent application deemed withdrawn after publication |