High-performance lading bill panic buying method and system

A high-performance, bill of lading technology, applied in the field of computer communication, can solve problems such as high concurrent access and loss, and achieve the effect of reducing reading, reducing pressure, and ensuring correct data

Pending Publication Date: 2021-07-16
福建天晴在线互动科技有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The seckill system mainly solves three major problems: 1. Instantaneous high concurrent access
If there is a large area of ​​oversold, it will be a major loss

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
  • High-performance lading bill panic buying method and system
  • High-performance lading bill panic buying method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with the accompanying drawings.

[0036] see figure 1 Shown, a kind of high-performance bill of lading snap-up method of the present invention, described method comprises the steps:

[0037] Step S1, the product details page is set as a static page;

[0038] Step S2, using the token bucket current limiter algorithm, setting a current limiting threshold, and performing current limiting on the server interface;

[0039] Step S3, limit the flow of a large number of snap-up requests within a short period of time for a single IP;

[0040] Step S4, judging commodity inventory from the cache of the server;

[0041] Step S5, adding the order in the pre-buying state to a message queue;

[0042] Step S6, process the message queue asynchronously, perform deduction sequentially, and update the order;

[0043] Step S7, the front-end of the product details page periodically checks the order status, and feeds ba...

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 high-performance lading bill panic buying method. The high-performance lading bill panic buying method comprises the steps: S1, setting a commodity detail page as a static page; S2, using a token bucket current limiter algorithm, setting a current limiting threshold value, and performing current limiting on a server interface; S3, performing current limiting on a large number of panic buying requests of a single IP in a short time; S4, judging the commodity inventory from the cache of the server; S5, adding the orders in the pre-panic buying state into a message queue; S6, asynchronously processing the message queue, sequentially executing deduction, and updating the order; S7, the front end of the commodity detail page periodically and circularly inquiring the order state, and feeding a panic buying result back to the user; S8, the user paying the order of successful panic buying; asynchronously detecting overtime unpaid orders, and returning the commodity stock to the database; and ensuring the data correctness of panic buying.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a high-performance method and system for snapping up bills of lading. Background technique [0002] The seckill system mainly solves three major problems: 1. Instantaneous high concurrent access. Panic buying is different from ordinary e-commerce sales. In ordinary e-commerce sales, the traffic is relatively average. Although there are peaks and troughs, they will not be particularly prominent. The rush sale is a promotional activity carried out at a specific point in time. Before the start of the rush sale, the user keeps refreshing the page to obtain the purchase button; at the moment of the start of the rush sale, centralized and concurrent purchases are made. 2. Data correctness. After all, panic buying is a buying behavior that requires complex processes such as purchasing, deduction of inventory, and payment. During this process, the correctness of data mus...

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/0635G06Q30/0605
Inventor 刘德建叶伟陈宏展
Owner 福建天晴在线互动科技有限公司
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