CN108629653A - A kind of low delay inventory reduces service system and method - Google Patents
A kind of low delay inventory reduces service system and method Download PDFInfo
- Publication number
- CN108629653A CN108629653A CN201810270179.0A CN201810270179A CN108629653A CN 108629653 A CN108629653 A CN 108629653A CN 201810270179 A CN201810270179 A CN 201810270179A CN 108629653 A CN108629653 A CN 108629653A
- Authority
- CN
- China
- Prior art keywords
- inventory
- service
- low delay
- reduces
- message
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention belongs to technical field of data processing, it discloses a kind of low delay inventory and reduces service system and method, the data storage of application is beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service, synchronous service sends order information to message server, the inventory of supply chain reduces service consumption order messages, and inventory is reduced according to order information;Then the changed commodity detail broadcast of inventory is notified away;It discloses a kind of low delay inventory simultaneously and reduces service system.Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service for the data storage that the present invention applies, and synchronous service sends order information to message server, and the inventory of supply chain reduces service consumption order messages, inventory is reduced according to order information;Then the changed commodity detail broadcast of inventory is notified away;It can accomplish that the low delay in 5 minutes, off-peak period can be accomplished in real time substantially.
Description
Technical field
The invention belongs to technical field of data processing more particularly to a kind of low delay inventory to reduce service system and method.
Background technology
Currently, the prior art commonly used in the trade is such:
On-hand inventory management, typically local to reduce, local management storage, timing batch is from local synchronization to service
Device.It can not accomplish that low delay is even real-time.
In conclusion problem of the existing technology is:
On-hand inventory management, no legal time batch is from local synchronization to server.It can not accomplish that low delay is even real-time.Its
On the other hand reason is that data are not stored to high in the clouds to be influenced by external factors such as networks, cannot lead in time with server
Letter.
Invention content
In view of the problems of the existing technology, the present invention provides a kind of low delay inventories to reduce service system and method.
The application of the present invention uses message-oriented middleware to decouple, and improves the response speed to place an order online.Inventory reduces kernel service
Parallel processing is realized using Thread Pool Technology, service arrangement uses multinode distributed deployment, extending transversely to be easy.
The invention is realized in this way a kind of low delay inventory reduces method of servicing,
The low delay inventory reduces method of servicing and includes:
Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service for the data storage of application, and synchronous service is sent
To message server, the inventory of supply chain reduces service consumption order messages, inventory is reduced according to order information order information;
Then the changed commodity detail broadcast of inventory is notified away.
Further, the low delay inventory reduces method of servicing and specifically includes:
1) each terminal (pos, mobile ...) places an order, and adjusts synchronous service, returns to order status, subsequently detains stock processing
Asynchronous process;
2) the asynchronous delivery message of synchronous service;
3) inventory reduces service subscription consumption message, generates storage document and voucher, reduces inventory, subsequent statistical data
Acquire asynchronous execution;
4) statistical data collection and broadcast commodity inventory change;
5) each terminal perceives newest inventory.
Further, the data of application are decoupled using message-oriented middleware;Using kafka message dilivery information of increasing income;It has delivered
Message returns immediately, is not to wait for subsequent processing result;Such design, shortens the response time.Such benefit is to be
Front end places an order smoothness, it is follow-up detain inventory also can timely processing, the two takes into account.
Inventory's service of reducing carries out parallel processing using Thread Pool Technology;Our each nodes can parallel processing in this way
Business increases handling capacity.Delay is reduced as possible.
Service arrangement uses multinode distributed deployment;When individual node utilization rate reaches capacity, can lateral dilatation, with
Support the concurrent of bigger.Message-oriented middleware also select it is distributed can lateral dynamic capacity-expanding, the kafka message of asynchronous delivery throws
Delivery system.
It reduces service system another object of the present invention is to provide a kind of low delay inventory and includes:
High in the clouds, the data for storing application;Core data for supporting supply chain, such as vegetable, warehouse etc. is all in cloud
End, use is reduced for inventory.
Synchronous service unit records order status, asynchronous transmission order information to message server;
Message server is delivered to the inventory of subscription for the inventory of supply chain to be reduced service consumption order messages and reduces
Service.
Inventory's service of reducing, inventory is reduced according to message;Then the changed commodity detail broadcast of inventory is notified out
It goes.
Further, the low delay inventory reduces service system and further includes:
User terminal, for placing an order.
Another object of the present invention is to provide a kind of computer journeys realized above-mentioned low delay inventory and reduce method of servicing
Sequence.
Another object of the present invention is to provide a kind of computers equipped with above computer program.
Another object of the present invention is to provide a kind of computer readable storage mediums, including instruction, when it is in computer
When upper operation so that computer executes above-mentioned low delay inventory and reduces method of servicing.
Advantages of the present invention and good effect are:
Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service, synchronous clothes for the data storage that the present invention applies
Business sends order information to message server, and the inventory of supply chain reduces service consumption order messages, reduced according to order information
Inventory.Then the changed commodity detail broadcast of inventory is notified away.It can accomplish the low delay in 5 minutes, when non-peak
Duan Jiben can accomplish in real time.
The application of the present invention uses message-oriented middleware to decouple, and improves the response speed to place an order online.Inventory reduces
Kernel service realizes parallel processing using Thread Pool Technology, and service arrangement uses multinode distributed deployment, extending transversely to be easy.
After user's use, the fluency to place an order has been taken into account, can also take into account the accuracy of Real-time inventory data after placing an order, especially
It is more apparent than traditional periodic synchronization effect data to the shared warehouse effect in multi-door shop.
Real-time inventory data grasps sales situation, inventories to businessman's dynamic of operation, and use is more reasonably sought
Pin strategy, realizes precision marketing.Commercial circles such as battlefield, speed is precious in war, and it is exactly businessman that the inventory of our this low delay, which reduces function,
Refreshing soldier, in time help businessman make rational decision.
Program is deployed to Cloud Server by the present invention, other service toward message server and send message.
Description of the drawings
Fig. 1 is that low delay inventory provided in an embodiment of the present invention reduces method of servicing flow chart one.
Fig. 2 is that low delay inventory provided in an embodiment of the present invention reduces method of servicing flowchart 2.
Fig. 3 is that low delay inventory provided in an embodiment of the present invention reduces service system schematic diagram.
In figure:1, high in the clouds;2, synchronous service unit;3, message server;4, user terminal.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present invention
It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to
Limit the present invention.
As depicted in figs. 1 and 2, low delay inventory provided in an embodiment of the present invention reduces method of servicing, including:
Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service for the data storage of application, and synchronous service is sent
To message server, the inventory of supply chain reduces service consumption order messages, inventory is reduced according to order information order information;
Then the changed commodity detail broadcast of inventory is notified away.
The data of application are decoupled using message-oriented middleware;
Inventory's service of reducing carries out parallel processing using Thread Pool Technology;
Service arrangement uses multinode distributed deployment.
With reference to specific embodiment, the invention will be further described.
Embodiment 1
Low delay inventory provided in an embodiment of the present invention reduces method of servicing, such as Fig. 1, including:
Merchant terminal places an order.Synchronous service is called to record order status.
Synchronous service delivers the message for needing to detain inventory according to order status.
Inventory's service of reducing (details are shown in Fig. 2), successful broadcast message unsuccessfully retry, then unsuccessfully send mail, related personnel
Carry out manual intervention.
Embodiment 2
Low delay inventory provided in an embodiment of the present invention reduces method of servicing, such as Fig. 2, including:
Received message does idempotent processing, prevents message from repeating delivery and causes to repeat to detain inventory.
Parameter validity checking.
Inventory reduces switch and checks.
The generation task of reducing is put into queue and waits for thread pool processing.
Now commodity processed storage (since now commodity processed do not have inventory, raw material can only be reduced according to formula, thus be it is a kind of slightly
The logic of micro- complexity)
Self-produced raw material outbound.
Product (now commodity processed, prefabricated commodity, commodity purchased are walked) outbound can be sold.
Go out to be put in storage data statistics.
Go out to be put in storage reason.
With reference to concrete analysis, the invention will be further described.
Fig. 3, low delay inventory provided in an embodiment of the present invention reduce service system, including:
High in the clouds 1, the data for storing application;
Synchronous service unit 2, the application data for that will store are called, and the synchronous order information that sends takes to message
Business device;
Message server 3 reduces library for the inventory of supply chain to be reduced service consumption order messages according to order information
It deposits;Then the changed commodity detail broadcast of inventory is notified away.
User terminal 4, for placing an order.
Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service, synchronous clothes for the data storage that the present invention applies
Business sends order information to message server, and the inventory of supply chain reduces service consumption order messages, reduced according to order information
Inventory.Then the changed commodity detail broadcast of inventory is notified away.It can accomplish the low delay in 5 minutes, when non-peak
Duan Jiben can accomplish in real time.
The application of the present invention uses message-oriented middleware to decouple, and improves the response speed to place an order online.Inventory reduces
Kernel service realizes parallel processing using Thread Pool Technology, and service arrangement uses multinode distributed deployment, extending transversely to be easy.
After user's use, the fluency to place an order has been taken into account, can also take into account the accuracy of Real-time inventory data after placing an order, especially
It is more apparent than traditional periodic synchronization effect data to the shared warehouse effect in multi-door shop.
Program is deployed to Cloud Server by the present invention, other service toward message server and send message.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real
It is existing.When using entirely or partly realizing in the form of a computer program product, the computer program product include one or
Multiple computer instructions.When loading on computers or executing the computer program instructions, entirely or partly generate according to
Flow described in the embodiment of the present invention or function.The computer can be all-purpose computer, special purpose computer, computer network
Network or other programmable devices.The computer instruction can store in a computer-readable storage medium, or from one
Computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can be from one
A web-site, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)
Or wireless (such as infrared, wireless, microwave etc.) mode is carried out to another web-site, computer, server or data center
Transmission).The computer read/write memory medium can be that any usable medium that computer can access either includes one
The data storage devices such as a or multiple usable mediums integrated server, data center.The usable medium can be magnetic Jie
Matter, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid
State Disk (SSD)) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.
Claims (8)
1. a kind of low delay inventory reduces method of servicing, which is characterized in that the low delay inventory reduces method of servicing and includes:
Beyond the clouds, all inventory changes all directly invoke high in the clouds synchronous service for the data storage of application, and synchronous service sends order
To message server, the inventory of supply chain reduces service consumption order messages, inventory is reduced according to order information information;
Then the changed commodity detail broadcast of inventory is notified away.
2. low delay inventory as described in claim 1 reduces method of servicing, which is characterized in that the low delay inventory service of reducing
Method specifically includes:
1) each terminal places an order, and adjusts synchronous service, returns to order status, follow-up to detain stock processing asynchronous process;
2) the asynchronous delivery message of synchronous service;
3) inventory reduces service subscription consumption message, generates storage document and voucher, reduces inventory, the acquisition of subsequent statistical data
Asynchronous execution;
4) statistical data collection and broadcast commodity inventory change;
5) each terminal perceives newest inventory.
3. low delay inventory as described in claim 1 reduces method of servicing, which is characterized in that
The data of application are decoupled using message-oriented middleware;Using kafka message dilivery information of increasing income;Message has been delivered to return immediately
It returns, is not to wait for subsequent processing result;
Inventory's service of reducing carries out parallel processing using Thread Pool Technology;
Service arrangement uses multinode distributed deployment.
4. a kind of low delay inventory that low delay inventory as described in claim 1 reduces method of servicing reduces service system, special
Sign is that the low delay inventory reduces service system and includes:
High in the clouds, the data for storing application;Core data for supporting supply chain, such as vegetable, warehouse etc. all beyond the clouds, supply
Inventory reduces use.
Synchronous service unit records order status, asynchronous transmission order information to message server;
Message server is delivered to the inventory of subscription for the inventory of supply chain to be reduced service consumption order messages and reduces clothes
Business.
Inventory's service of reducing, inventory is reduced according to message;Then the changed commodity detail broadcast of inventory is notified away.
5. low delay inventory as claimed in claim 4 reduces service system, which is characterized in that the low delay inventory reduces clothes
Business system further includes:
User terminal, for placing an order.
6. a kind of computer program realized low delay inventory described in claims 1 to 3 any one and reduce method of servicing.
7. a kind of information processing terminal equipped with computer program described in claim 6.
8. a kind of computer readable storage medium, including instruction, when run on a computer so that computer is executed as weighed
Profit requires low delay inventory described in 1-4 any one to reduce method of servicing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810270179.0A CN108629653A (en) | 2018-03-29 | 2018-03-29 | A kind of low delay inventory reduces service system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810270179.0A CN108629653A (en) | 2018-03-29 | 2018-03-29 | A kind of low delay inventory reduces service system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108629653A true CN108629653A (en) | 2018-10-09 |
Family
ID=63696640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810270179.0A Pending CN108629653A (en) | 2018-03-29 | 2018-03-29 | A kind of low delay inventory reduces service system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108629653A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111178998A (en) * | 2018-11-09 | 2020-05-19 | 商派软件有限公司 | Second killing platform and method for high access volume |
CN111738639A (en) * | 2019-03-26 | 2020-10-02 | 北京京东尚科信息技术有限公司 | A method, device and storage medium for maintaining inventory data consistency |
CN111935968A (en) * | 2020-08-21 | 2020-11-13 | 山东大学 | Preparation method of iron/nitrogen/carbon composite material |
CN112765277A (en) * | 2021-01-28 | 2021-05-07 | 树根互联股份有限公司 | Data synchronization method, device and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020111877A1 (en) * | 2001-02-13 | 2002-08-15 | Jack Nelson | System and method for managing retail and wholesale operations |
CN105046466A (en) * | 2015-06-29 | 2015-11-11 | 上海瀚之友信息技术服务有限公司 | Inventory data concurrency control system and inventory data concurrency control method |
CN105468690A (en) * | 2015-11-17 | 2016-04-06 | 中国建设银行股份有限公司 | Inventory data processing method and device |
-
2018
- 2018-03-29 CN CN201810270179.0A patent/CN108629653A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020111877A1 (en) * | 2001-02-13 | 2002-08-15 | Jack Nelson | System and method for managing retail and wholesale operations |
CN105046466A (en) * | 2015-06-29 | 2015-11-11 | 上海瀚之友信息技术服务有限公司 | Inventory data concurrency control system and inventory data concurrency control method |
CN105468690A (en) * | 2015-11-17 | 2016-04-06 | 中国建设银行股份有限公司 | Inventory data processing method and device |
Non-Patent Citations (3)
Title |
---|
步积: "消息队列技术介绍", 《HTTPS://WWW.JIANSHU.COM/P/689CE4205021》 * |
落羽成霜: "消息队列介绍与设计", 《HTTPS://WWW.JIANSHU.COM/P/43A9FA3BDAD7》 * |
葛蓓: "基于服装工程全渠道营销云系统设计构建", 《毛纺科技》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111178998A (en) * | 2018-11-09 | 2020-05-19 | 商派软件有限公司 | Second killing platform and method for high access volume |
CN111738639A (en) * | 2019-03-26 | 2020-10-02 | 北京京东尚科信息技术有限公司 | A method, device and storage medium for maintaining inventory data consistency |
CN111738639B (en) * | 2019-03-26 | 2025-01-17 | 北京京东尚科信息技术有限公司 | Method, device and storage medium for maintaining consistency of inventory data |
CN111935968A (en) * | 2020-08-21 | 2020-11-13 | 山东大学 | Preparation method of iron/nitrogen/carbon composite material |
CN111935968B (en) * | 2020-08-21 | 2021-08-27 | 山东大学 | Preparation method of iron/nitrogen/carbon composite material |
CN112765277A (en) * | 2021-01-28 | 2021-05-07 | 树根互联股份有限公司 | Data synchronization method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108629653A (en) | A kind of low delay inventory reduces service system and method | |
CN106503020B (en) | Log data processing method and device | |
US20170134330A1 (en) | Intelligent message queue management | |
CN109542352B (en) | Method and apparatus for storing data | |
US10031948B1 (en) | Idempotence service | |
WO2019014114A1 (en) | Scaling hosts in distributed event handling systems | |
KR20170097132A (en) | System for efficient processing of transaction requests related to an account in a database | |
CN106649729A (en) | Log running method and system, client and server | |
CN105096122A (en) | Fragmented transaction matching method and fragmented transaction matching device | |
US9049164B2 (en) | Dynamic message retrieval by subdividing a message queue into sub-queues | |
US9146952B1 (en) | System and method for distributed back-off in a database-oriented environment | |
US11315133B2 (en) | System and method for minimizing latency in data consumption system | |
CN110909978A (en) | Resource processing method, device, server and computer readable storage medium | |
CN111352753A (en) | Accounting processing method and device | |
CN108123963B (en) | API auxiliary system and processing method for cross-border e-commerce | |
CN103475520B (en) | Service processing control method and device in distribution network | |
US20210200734A1 (en) | Data structure to array conversion | |
CN107886352A (en) | A kind of method and system of advertisement clearing | |
CN115357622A (en) | Service processing method based on hotspot data and server | |
CN113592470A (en) | Service processing method and device, electronic equipment and storage medium | |
CN107194712B (en) | Method and device for recording change information of shared account and method and system for supplementing account of internal account | |
CN113360570A (en) | High-concurrency system inventory module implementation method | |
US8140638B2 (en) | Multistage online transaction system, server, multistage online transaction processing method and program | |
CN107295059A (en) | The statistical system and method for service propelling amount | |
CN112463213B (en) | Method and device for updating and reading statistic value |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20191030 Address after: 610000 Sichuan Province Chengdu High-tech Zone Tianfu Avenue Middle Section 1268 1 Building 4 Floor 24 Applicant after: Shishi Tongyun Technology (Chengdu) Co.,Ltd. Address before: 610000 No. 1, 3 floor, No. 1, Tianfu Avenue, 1268 middle and high tech Zone, Chengdu, Sichuan. Applicant before: KERUYUN TECHNOLOGY (CHENGDU) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |
|
RJ01 | Rejection of invention patent application after publication |