Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Inventory deduction method and device

An inventory and cache technology, applied in the computer field, can solve problems such as excessive traffic, less or more inventory deduction, database inventory query, order storage error and timeout, etc., to achieve asynchronous decoupling, avoid excessive pressure, and low consumption. Effect

Pending Publication Date: 2019-12-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Existing solutions can’t accurately measure the priority of users’ flash sales. There is a problem of under-deduction or over-deduction of inventory. The traffic is too large, which will cause excessive pressure on the database and cause inventory query and order storage error reporting timeout, and it is only applicable to purchase restrictions.

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
  • Inventory deduction method and device
  • Inventory deduction method and device
  • Inventory deduction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] The inventory deduction method in the embodiment of the present invention can be used in extremely high concurrency and large flow (billions) user panic buying scenarios, such as e-commerce spike buying activities, train ticket rush buying (such as Spring Festival travel season) and other scenarios. The object of snapping up activities can be goods or services, fig...

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 discloses an inventory deduction method and device, and relates to the technical field of computers. One specific embodiment of the method comprises the steps of determining a time difference corresponding to each transaction request according to preset starting time and receiving time of each transaction request; generating a value object sequence according to each transaction request and the time difference corresponding to each transaction request; traversing each value object of the value object sequence, and for each value object, if the current inventory of the transactionobject is greater than a preset lower limit value, generating transaction information corresponding to the value object, and then deducting the inventory of the transaction object. According to the embodiment, the priority of the user request can be accurately measured; the priority of each user request is obtained with extremely low consumption, the problem of less or more inventory deduction inan extremely high-concurrency and large-flow user panic buying scene is solved, asynchronous decoupling of high-concurrency requests is realized; the phenomena of inventory query, order storage errorreporting timeout and the like caused by overlarge database pressure are avoided, and the method is suitable for the situations of limited buying or unlimited buying.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an inventory deduction method and device. Background technique [0002] Flash sales promotions have increasingly become an important means for e-commerce companies to attract user registration and increase user activity. Before the seckill activity starts, create a seckill promotion activity through the operation background according to the product ID (ie skuID) (a seckill promotion activity corresponds to a promotion ID), including the seckill start time and end time, seckill price, seckill inventory and other information. In such a scenario of super-massive concurrent requests, whether the commodity inventory is accurately deducted is a key indicator to measure the reliable operation of the seckill system. [0003] The existing inventory deduction scheme, one is that the seckill inventory is stored in a relational database. Under high concurrent requests, the performance of ...

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
IPC IPC(8): G06Q30/06
CPCG06Q30/0605G06Q30/0607
Inventor 章明忆
Owner BEIJING JINGDONG SHANGKE INFORMATION 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
Eureka Blog
Learn More
PatSnap group products