CN107423132B - Large-scale concurrent optimization processing method for auction platform - Google Patents

Large-scale concurrent optimization processing method for auction platform Download PDF

Info

Publication number
CN107423132B
CN107423132B CN201710262224.3A CN201710262224A CN107423132B CN 107423132 B CN107423132 B CN 107423132B CN 201710262224 A CN201710262224 A CN 201710262224A CN 107423132 B CN107423132 B CN 107423132B
Authority
CN
China
Prior art keywords
data
auction platform
auction
client
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710262224.3A
Other languages
Chinese (zh)
Other versions
CN107423132A (en
Inventor
贾克洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chuangqi Cloud Computing Co ltd
Original Assignee
Shandong Chuangqi Cloud Computing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chuangqi Cloud Computing Co ltd filed Critical Shandong Chuangqi Cloud Computing Co ltd
Priority to CN201710262224.3A priority Critical patent/CN107423132B/en
Publication of CN107423132A publication Critical patent/CN107423132A/en
Application granted granted Critical
Publication of CN107423132B publication Critical patent/CN107423132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A large-scale concurrent optimization processing method for an auction platform comprises the following steps: (1) the method comprises the steps that the corresponding speed of static content of an auction platform is improved through CDN content distribution, the static content of the auction platform comprises HTML content of the auction platform, and a background interface of an auction platform server is operated at a memory level; (2) the user opens an auction page of the auction platform through the client, and the client establishes a persistent link with the auction platform server. The invention adopts the steps, adopts various high-efficiency modes on data receiving and data processing, and can easily cope with tens of thousands of requests when the auction platform server faces the requests, thereby ensuring the stable operation of the system and the orderly auction activities.

Description

Large-scale concurrent optimization processing method for auction platform
The technical field is as follows:
the invention relates to a large-scale concurrent optimization processing method for an auction platform.
Background art:
with the rapid development of the internet, various traditional industries have moved towards the internet, for example, the auction is no longer limited to the traditional off-line mode, and the traditional auction mode is generated by combining with the internet information technology network auction platform. The method is characterized in that an item owner can release an item in a network auction platform, a user with purchasing intention selects an interested auction to submit a guarantee fund to participate in auction according to own preference and needs, and finally the user with the highest bid after the auction is finished obtains the qualification of owning the auction and can further communicate with the auction publisher. The network auction is different from the traditional on-line auction in that a plurality of auctions can be simultaneously carried out on an auction platform, a large number of users can participate in the auction of a plurality of auction products at the same time point, and the web system is a huge test from the technical point of view.
The invention content is as follows:
the invention provides a large-scale concurrent optimization processing method for an auction platform, which is reasonable in design, adopts various high-efficiency modes in data receiving and data processing, can easily cope with tens of thousands of requests when an auction platform server faces the requests, ensures the stable operation of a system, ensures the ordered execution of auction activities, and solves the problems in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a large-scale concurrent optimization processing method for an auction platform comprises the following steps:
(1) the method comprises the steps that the corresponding speed of static content of an auction platform is improved through CDN content distribution, the static content of the auction platform comprises HTML content of the auction platform, and a background interface of an auction platform server is operated at a memory level;
(2) a user opens an auction page of an auction platform through a client, and the client establishes a persistent link with an auction platform server;
(3) when a user agrees with the goods on the auction platform, the user sends bidding data to the auction platform server through the client, and when the bidding data sent by the client is written into a background interface of the auction platform server, the data is firstly stored into a memory database of the auction platform server and then is stored into a hard disk in an asynchronous writing mode;
(4) after the user writes the bid data into the hard disk, the auction platform server adds a version number to the bid data of the user, stores the version number together with the bid data, and adds 1 to the version number corresponding to the data when updating the data each time;
(5) when a user sends new bid data to an auction platform through a client, a version number value corresponding to the data to be updated is extracted from a database table, when the data to be updated is submitted to be updated, the version number value corresponding to the current data to be updated is compared with the version number value extracted for the first time, if the current version number is equal to the version number value extracted for the first time, the data to be updated is updated, otherwise, the data is considered as overdue data;
(6) in the process of bidding by a user, if the auction platform is in a full load state, the server of the auction platform sends a full load signal to an overload protection module arranged at a CGI entrance layer, when the user sends bidding data, the overload protection module returns the request of the user to the client, and the server of the auction platform does not accept the bidding data any more;
in the steps from (3) to (5), each time the data is updated, the auction platform server sends the data to the client which establishes the persistent link with the client to inform the data condition of the current auction platform.
The invention adopts the steps, adopts various high-efficiency modes on data receiving and data processing, and can easily cope with tens of thousands of requests when the auction platform server faces the requests, thereby ensuring the stable operation of the system and the orderly auction activities.
The specific implementation mode is as follows:
in order to clearly illustrate the technical features of the present invention, the present invention is explained in detail by the following embodiments.
A large-scale concurrent optimization processing method for an auction platform comprises the following steps:
(1) the method comprises the steps that the corresponding speed of static content of an auction platform is improved through CDN content distribution, the static content of the auction platform comprises HTML content of the auction platform, and a background interface of an auction platform server is operated at a memory level;
(2) a user opens an auction page of an auction platform through a client, and the client establishes a persistent link with an auction platform server;
(3) when a user agrees with the goods on the auction platform, the user sends bidding data to the auction platform server through the client, and when the bidding data sent by the client is written into a background interface of the auction platform server, the data is firstly stored into a memory database of the auction platform server and then is stored into a hard disk in an asynchronous writing mode;
several background ports of the auction platform server adopt memory level operation to ensure that the data is not directly stored in the bank disk but is firstly stored in the memory database, thereby greatly improving the storage speed of the data.
(4) After the user writes the bid data into the hard disk, the auction platform server adds a version number to the bid data of the user, stores the version number together with the bid data, and adds 1 to the version number corresponding to the data when updating the data each time;
(5) when a user sends new bid data to an auction platform through a client, a version number value corresponding to the data to be updated is extracted from a database table, when the data to be updated is submitted to be updated, the version number value corresponding to the current data to be updated is compared with the version number value extracted for the first time, if the current version number is equal to the version number value extracted for the first time, the data to be updated is updated, otherwise, the data is considered as overdue data;
when A user and B user are interested in bidding and auction a certain shooting, after A user and B user both bid, first extracting version number value corresponding to current price of the shooting from database table, if A user bids 100 first, when updating data, inquiring current version number value, because data before A is not updated, so the version number corresponding to current data to be updated is equal to the first extracted version number value, updating, and when updating data, adding 1 to version number.
When the user B bids 100 again, the user B falls behind the user A, at the time of updating data, the current version number value is inquired, and since the data is updated before the user B, the current version number value is not equal to the version number value which is taken out for the first time, and the expired data is considered not to be updated.
(6) In the process of bidding by a user, if the auction platform is in a full load state, the server of the auction platform sends a full load signal to an overload protection module arranged at a CGI entrance layer, when the user sends bidding data, the overload protection module returns the request of the user to the client, and the server of the auction platform does not accept the bidding data any more; the rejection of the request is also a protection measure, and the situation that the system is continuously in a full load state and normal operation of the auction platform is influenced due to continuous data receiving under the condition that the auction platform is overloaded is avoided.
In the steps from (3) to (5), each time the data is updated, the auction platform server sends the data to the client which establishes the persistent link with the client to inform the data condition of the current auction platform.
The conventional information exchange mode between the client and the server sends a request to the server at the client, so that the current information condition of the server is known. In the auction platform, after the client establishes the link with the auction platform server, the link is a persistent link, and when the price of the auction platform server changes, the information is actively pushed to the client, so that the client can browse conveniently.
By adopting the large-scale concurrent optimization processing method for the auction platform, a plurality of efficient modes are adopted in data receiving and data processing, and the auction platform server can easily cope with tens of thousands of requests, so that the stable operation of the system is ensured, and the orderly auction activities are ensured.
The above-described embodiments should not be construed as limiting the scope of the invention, and any alternative modifications or alterations to the embodiments of the present invention will be apparent to those skilled in the art.
The present invention is not described in detail, but is known to those skilled in the art.

Claims (1)

1. A large-scale concurrent optimization processing method for an auction platform is characterized by comprising the following steps: the method comprises the following steps:
(1) the method comprises the steps that the corresponding speed of static content of an auction platform is improved through CDN content distribution, the static content of the auction platform comprises HTML content of the auction platform, and a background interface of an auction platform server is operated at a memory level;
(2) a user opens an auction page of an auction platform through a client, and the client establishes a persistent link with an auction platform server;
(3) when a user agrees with the goods on the auction platform, the user sends bidding data to the auction platform server through the client, and when the bidding data sent by the client is written into a background interface of the auction platform server, the data is firstly stored into a memory database of the auction platform server and then is stored into a hard disk in an asynchronous writing mode;
(4) after the user writes the bid data into the hard disk, the auction platform server adds a version number to the bid data of the user, stores the version number together with the bid data, and adds 1 to the version number corresponding to the data when updating the data each time;
(5) when a user sends new bid data to an auction platform through a client, a version number value corresponding to the data to be updated is extracted from a database table, when the data to be updated is submitted to be updated, the version number value corresponding to the current data to be updated is compared with the version number value extracted for the first time, if the current version number is equal to the version number value extracted for the first time, the data to be updated is updated, otherwise, the data is considered as overdue data;
(6) in the process of bidding by a user, if the auction platform is in a full load state, the server of the auction platform sends a full load signal to an overload protection module arranged at a CGI entrance layer, when the user sends bidding data, the overload protection module returns the request of the user to the client, and the server of the auction platform does not accept the bidding data any more;
in the steps from (3) to (5), each time the data is updated, the auction platform server sends the data to the client which establishes the persistent link with the client to inform the data condition of the current auction platform.
CN201710262224.3A 2017-04-20 2017-04-20 Large-scale concurrent optimization processing method for auction platform Active CN107423132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710262224.3A CN107423132B (en) 2017-04-20 2017-04-20 Large-scale concurrent optimization processing method for auction platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710262224.3A CN107423132B (en) 2017-04-20 2017-04-20 Large-scale concurrent optimization processing method for auction platform

Publications (2)

Publication Number Publication Date
CN107423132A CN107423132A (en) 2017-12-01
CN107423132B true CN107423132B (en) 2020-10-02

Family

ID=60423742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710262224.3A Active CN107423132B (en) 2017-04-20 2017-04-20 Large-scale concurrent optimization processing method for auction platform

Country Status (1)

Country Link
CN (1) CN107423132B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872227A (en) * 2017-12-04 2019-06-11 山东化仙子电子商务有限公司 A kind of multiwindow intelligence auction system
CN112365329A (en) * 2020-10-28 2021-02-12 山东开创云计算有限公司 Auction platform high-concurrency optimization processing system for small program end
CN113362127A (en) * 2021-05-25 2021-09-07 上海信宝博通电子商务有限公司 Second-hand car bidding system with high availability

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355587B (en) * 2008-09-17 2012-05-23 杭州华三通信技术有限公司 Method and apparatus for obtaining URL information as well as method and system for implementing searching engine
CN103854214B (en) * 2012-11-28 2020-03-27 阿里巴巴集团控股有限公司 Method and system for processing auction data
CN104636969A (en) * 2013-11-15 2015-05-20 易拍全球(北京)科贸有限公司 Artwork time-limited auction system
CN103745399A (en) * 2014-01-22 2014-04-23 长沙钢为网络科技有限公司 Auction processing system and method
CN105989065B (en) * 2015-02-09 2020-03-24 苏宁云计算有限公司 Flash data processing method and system
CN104794652A (en) * 2015-04-28 2015-07-22 胡刚 Online auction method and system for establishing bidding reward mechanism

Also Published As

Publication number Publication date
CN107423132A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
Kollmann What is e-entrepreneurship? Fundamentals of company founding in the net economy
US11393008B2 (en) Systems and methods for marketplace catalogue population
CN104516895B (en) Merchandise items inventory information processing method and system
CN107423132B (en) Large-scale concurrent optimization processing method for auction platform
WO2008130575A1 (en) System and method for online item publication and marketplace within virtual worlds
US9342812B2 (en) Taxonomy based database partitioning
CN110929380A (en) Simulation stock-frying matching system and device
CN107346315A (en) The structure and application process of object data association index system and the system
CN102890685B (en) The method and apparatus that a kind of information is redirected
CN109978443A (en) Enterprise ERP and electric business platform data interconnection method and system, computer equipment
CN108198048A (en) Data processing method between ERP system
US20210049620A1 (en) Blockchain based mobile terminal e-commerce system and mobile terminal
US20170004527A1 (en) Systems, methods, and devices for scalable data processing
CN101933037A (en) Distributed ranking and matching of messages
CN110275767A (en) A kind of batch data processing method and processing device
CN109146614A (en) A kind of store data processing method and system based on small routine
CA2482478A1 (en) Web transaction system and method thereof
CN104021192A (en) Database renewing method and device
CN102982480A (en) Commodity group purchase system for online trade platform
CN115222538A (en) Market situation snapshot data calculation method and device, electronic equipment and storage medium
US7870037B2 (en) Method for graphically presenting auction information
CN109559188A (en) Wholesale method, system, terminal device and storage medium on line
CN109271371A (en) A kind of Distributed-tier big data analysis processing model based on Spark
WO2017185211A1 (en) User expense data processing method and server
CN107330790B (en) Method for tracing asset ownership change history by saving storage space

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 10 / F, Xicheng Huijin international financial center, Huaiyin District, Jinan City, Shandong Province

Applicant after: Shandong Chuangqi cloud computing Co.,Ltd.

Address before: Hexi Road Hill Huaiyin District of Ji'nan city in Shandong province and 250000 sunshine road junction Ji'nan Press Plaza, B block 20 layer

Applicant before: SHANDONG CTRL CLOUD SOFTWARE Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant