Method and device for processing bidding user data

A user data and user technology, applied in the Internet field, can solve problems such as complex system design, complex implementation, and performance consumption, and achieve the effects of avoiding competition, increasing access volume, and improving access speed

Active Publication Date: 2019-03-01
北京鸿享技术服务有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology uses the relational database MySQL as the storage basis to store the auction data in MySQL. However, due to the system characteristics of MySQL supporting multi-threading, there is operation competition between multiple threads. To avoid operation competition between threads, MySQL The distributed lock mechanism is used to isolate multiple threads, so that only one thread operates at a time. The specific performance is that when multiple users bid at the same time and the bids are the same, the distributed lock mechanism is used to isolate multiple threads, so that only in the After one user bids, the other executes the bid. The distributed lock mechanism consumes performance to a certain extent, and the system design is complicated. With the increasing number of users, MySQL cannot meet the demand and the implementation is complicated. low performance

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
  • Method and device for processing bidding user data
  • Method and device for processing bidding user data
  • Method and device for processing bidding user data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0021] figure 1 A flowchart of a method for processing bidding user data according to an embodiment of the present invention is shown. The method is applied to a Redis system, which is used to store auction data. The Redis system is a key-value (key-value) storage system. It is a non-relational database with large storage capacity, good performance, all operations are atomic, single-threaded transaction processing, and support for...

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 a method and a device for processing data of auction users. The method is applied to a Redis system which is used for storing auction data. The method comprises steps as follows: at the beginning stage of current auction bidding, a serial flag bit obtained from former successful bid is assigned to multiple users performing bidding simultaneously, and the bidding data of the multiple users are consistent; aiming at one of the multiple users, whether the serial flag bit assigned to the user is consistent with a serial flag bit obtained through latest auction is compared, if yes, the bid data of the user is written into the Redis system, and the serial flag bit obtained through the latest auction is corrected; at the ending stage of the current auction bidding, the serial flag bit obtained through the latest auction is recorded as the serial flag bit of current successful bid. According to the method and the device, the Redis system and the auction business are combined, so that the competition caused by simultaneous operation of multiple processes is avoided, the problem about data consistency is solved, the overall access speed is increased, and the page view of the users is increased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for processing bidding user data. Background technique [0002] In the auction business, when multiple users participate in the auction and bid at the same time, the data submitted by the user with the highest bid is generally used as the bid data for the successful auction; when there are multiple users with the highest bid, only one user should be allowed to bid Success, the corresponding other user bids failed. The existing technology uses the relational database MySQL as the storage basis to store the auction data in MySQL. However, due to the system characteristics of MySQL supporting multi-threading, there is operation competition between multiple threads. To avoid operation competition between threads, MySQL The distributed lock mechanism is used to isolate multiple threads, so that only one thread operates at a time. The specific performance is t...

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 Patents(China)
IPC IPC(8): G06Q30/06
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