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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com