Cache-based inventory management method and device

An inventory management and inventory technology, applied in the field of data processing, can solve problems such as slow inventory update, oversold, and unfavorable business development, and achieve the effect of improving deduction efficiency and avoiding deductions

Active Publication Date: 2019-10-18
ADVANCED NEW TECH CO LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the speed of reading and writing to the database itself has a bottleneck, not to mention that when a large number of users read and write the same piece of data in the database at the same time, it will cause slow inventory updates, users wait, etc., and there may be Oversold phenomenon is very unfavorable to business development

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
  • Cache-based inventory management method and device
  • Cache-based inventory management method and device
  • Cache-based inventory management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0071] Terms used in one or more embodiments of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of th...

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 cache-based inventory management method and device. The cache-based inventory management method comprises the steps of obtaining an inventory deduction quantity of hot commodities carried in an inventory deduction request of the hot commodities; deducting the cache inventory in a manner of locking the cache inventory of the hot commodities in the cache according to the inventory deduction quantity; under the condition that deduction succeeds, inserting inventory deduction records of the hot commodities into the database; combining the inventory deduction quantities ofthe hot commodities contained in the inventory deduction records inserted in the deduction period to obtain the total inventory deduction quantity of the hot commodities; and deducting the inventory of the hot commodities in the database according to the inventory deduction total quantity. According to the cache-based inventory management method provided by the invention, the high-frequency deduction operation of the inventory of the hot commodities in the database is converted into the preferential deduction of the cache inventory of the hot commodities in the cache, so that the deduction efficiency of the inventory of the hot commodities is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a cache-based inventory management method. The present application also relates to a cache-based inventory management device, a computing device, and a computer-readable storage medium. Background technique [0002] With the continuous development of the Internet business, the number of people shopping on the e-commerce platform through the Internet is increasing. When the e-commerce platform holds a limited-time rush event, some hot-selling products with a unit price that is more powerful and attractive than usual will trigger a large number of users to participate. Panic buying will inevitably generate a large number of concurrent update operations for the inventory of hot-selling items in the database, which puts a lot of pressure on the performance of the database. [0003] At present, there are many ways to improve the performance of the database to deal w...

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 Applications(China)
IPC IPC(8): G06F16/23G06F16/2455G06Q10/08
CPCG06F16/2343G06F16/24552G06Q10/0875Y02D10/00
Inventor 王世杰
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products