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

Resource panic buying processing method, device and equipment and storage medium

A processing method and resource technology, applied in the database field, can solve problems such as prone to downtime, database deadlock, and concurrent locks not being released in time, so as to improve processing efficiency and solve the effect of overstocking

Pending Publication Date: 2020-06-23
CHINA CONSTRUCTION BANK
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the above-mentioned existing technical solutions, although the concurrent lock mechanism can solve the problem of over-delivery of inventory, this method has high access pressure and is prone to downtime when the panic buying starts
And the concurrent lock mechanism is prone to database deadlock, that is, the concurrent lock is not released in time for some reason, thereby reducing the processing efficiency of high concurrent resource requests

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
  • Resource panic buying processing method, device and equipment and storage medium
  • Resource panic buying processing method, device and equipment and storage medium
  • Resource panic buying processing method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a flow chart of a processing method for resource rush purchase provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where multiple requesting ends concurrently rush to purchase the same resource. This method can be executed by a processing device for resource rush purchase. The device can be realized by means of software and / or hardware. Specifically include the following steps:

[0028] S110. When the resource request sent by the requesting end is received, lock the resource request based on the preset parameters in the resource request.

[0029] A distributed system is a software system built on the network, which has a high degree of cohesion and transparency. The system includes a variety of common physical and logical resources, and the scattered physical and logical resources realize information exchange through computer networks. At present, common Internet applications deploy multiple instances, divi...

Embodiment 2

[0046] figure 2 It is a flow chart of a processing method for resource rush provided by Embodiment 2 of the present invention, and the technical solution of this embodiment is further refined on the basis of the foregoing embodiments. Optionally, acquire requester information corresponding to the resource request in the document database, and determine whether the resource request satisfies a preset snap-up condition according to the requester information, wherein the requester information includes request At least one of terminal operation information, requesting terminal identity information and requesting terminal resource information; if not satisfied, the generated snap-up failure information is sent to the requesting terminal.

[0047] This embodiment specifically includes the following steps:

[0048] S210. When receiving the resource request sent by the requesting end, acquire the requesting end information corresponding to the resource request in the document databa...

Embodiment 3

[0069] Figure 4 It is a schematic diagram of a resource rush buying processing device provided in Embodiment 3 of the present invention. This embodiment is applicable to the situation that multiple requesting ends concurrently snap up the same resource, and the device can be realized by software and / or hardware. The processing device for snapping up resources includes: a resource request locking module 310 , a target inventory remaining determination module 320 and a snapping up success information sending module 330 .

[0070] Wherein, the resource request locking module 310 is configured to lock the resource request based on the preset parameters in the resource request when receiving the resource request sent by the requesting end;

[0071] The target inventory balance determination module 320 is configured to determine the target inventory balance stored in the cache database based on the resource request if the locking process is successful;

[0072] The snapping succe...

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 embodiment of the invention discloses a resource panic buying processing method and device, equipment and a storage medium. The method comprises the steps that when a resource request sent by a request end is received, locking processing is conducted on the resource request based on preset parameters in the resource request; if the locking processing is successful, determining a target inventory allowance stored in a cache database based on the resource request; and if the target inventory allowance is greater than or equal to zero, sending the generated panic buying success information tothe request end. According to the embodiment of the invention, the cache database is adopted to process the resource request, so that the problem of overstock of the high-concurrency resource requestis solved, and the processing efficiency of the high-concurrency resource request is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of databases, and in particular, relate to a processing method, device, equipment, and storage medium for snapping up resources. Background technique [0002] In the application process of e-commerce, a common scenario is to rush to buy goods, that is, users within a certain range compete for a limited number of products at a specified time. This is a common means for e-commerce platforms to conduct quantitative promotions. Of course, similar resource phenomena also exist in other fields. For example, in enterprises, users compete for certain qualifications or benefits at a specified time. [0003] In response to the above phenomenon of resource rush, the biggest problem currently facing is that a large number of users initiate parallel resource requests. At this time, the number of resource objects needs to be added and subtracted synchronously, which is prone to problems of inven...

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/2455G06F16/27G06F16/28
CPCG06F16/2315G06F16/2343G06F16/24552G06F16/27G06F16/284
Inventor 周剑一冯晓峰王思梦秦瑞雄杜嘉吴想想赵金鑫胡智余兴炳梅登董川蔡晨
Owner CHINA CONSTRUCTION BANK
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