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

Data management method and device

A data management and quantitative technology, applied in the direction of electronic digital data processing, special data processing applications, database updates, etc., can solve problems such as unable to stably support high concurrent inventory data management

Pending Publication Date: 2020-12-01
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides an inventory data management method and device to at least solve the problem in related technologies that cannot stably support high-concurrency inventory data management with a query rate of more than 100,000 per second

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
  • Data management method and device
  • Data management method and device
  • Data management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0045] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a data management method and device, relates to the field of computer technologies and software, and aims to solve the problem that high-concurrency inventory quantity management with the query rate of more than 100,000 per second cannot be stably supported in related technologies. The method comprises the following steps: receiving a plurality of request messages, whereinthe plurality of request messages are used for requesting to obtain virtual resources; if the number of the current request messages is greater than or equal to a first threshold, wherein the sum issmaller than or equal to the sum of the first storage value and the second storage value. If yes, a first storage value is applied to the local cache, the first storage value is updated, the first storage value is a storage value corresponding to the virtual resources of the local cache, the second storage value is a storage value of the virtual resources stored in the remote dictionary service Redis, and the sum of the first storage value and the second storage value is the remaining number of the virtual resources; If the number of the current request messages is smaller than the first threshold value or larger than the sum of the first storage value and the second storage value, applying for the second storage value from the Redis, and updating the second storage value.

Description

technical field [0001] The present disclosure relates to the field of computer technology and software, in particular to a data management method and device. Background technique [0002] With the rise of short videos and e-commerce live broadcasts, selling goods in seconds has become a common marketing method on e-commerce platforms. When a large number of users rush to buy the same product or coupons at the same time, the network equipment will quickly replace the inventory in a short time. Multiple processing of the data will lead to a very large amount of concurrent processing by the network equipment in an instant, so that the data management with relatively simple business logic will face the test of high concurrent processing at the technical level. General data management is realized by using a database, but the concurrent data processing capability of the database is limited. When dealing with a large number of concurrent requests, the database cannot support huge p...

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/2453G06F16/2455
CPCG06F16/24552G06F16/24532G06F16/2315
Inventor 刘靖宇徐建普
Owner BEIJING DAJIA INTERNET INFORMATION TECH 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