CN109191162A - Information processing method, system, device and storage medium - Google Patents
Information processing method, system, device and storage medium Download PDFInfo
- Publication number
- CN109191162A CN109191162A CN201810735221.1A CN201810735221A CN109191162A CN 109191162 A CN109191162 A CN 109191162A CN 201810735221 A CN201810735221 A CN 201810735221A CN 109191162 A CN109191162 A CN 109191162A
- Authority
- CN
- China
- Prior art keywords
- electronic ticket
- application server
- acquisition request
- server
- subset
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0208—Trade or exchange of goods or services in exchange for incentives or rewards
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of information processing method, system, device and storage mediums that electronic ticket is fought for suitable for high concurrent, using the total value of database purchase electronic ticket, which comprises multiple application servers obtain the subset of the total value of the electronic ticket from the database respectively;Load-balanced server identifies the acquisition request that user client is submitted, and the acquisition request is distributed to one into the multiple application server;The application server enters buffer queue according to the acquisition request, obtains the caching Read-Write Locks of the subset, to carry out electronic ticket acquisition processing.Method of the invention is by being divided into the subset much larger than application server quantity for electronic ticket total value, every application server couples the subset that database obtains electronic ticket total value every time, the big lock of originally single database is set to be changed into the more parts of small locks of caching lightweight on application server cluster, the access for reducing database ensure that high concurrent performance, high-throughput and the data consistency of system.
Description
Technical field
The present invention relates to field of information processing, more particularly, it is related to a kind of letter that electronic ticket is fought for suitable for high concurrent
Cease processing method, system, device and storage medium.
Background technique
With internet and the high speed development of mobile Internet, the modes such as public life, work, amusement, shopping are
It is overturned and is changed comprehensively, and enterprise, electric business, public platform etc. also exist in operation activity, the means for obtaining visitor's drainage, selling product
Constantly weed out the old and bring forth the new.Wherein, B2C (Business to Customer, quotient is to objective electronic business mode) electronic ticket is (including existing
Golden red packet, coupons, coupons completely subtract certificate etc.) become the most important marketing drainage tool of businessman.In recent years, internet
Payment platform all can seize the market share using the activity of B2C electronic ticket.For example, double 11 major electric business sections, businessman is by opening
Exhibition " second kills " discount coupon activity is made a show of power for oneself trade company, pushes product sale.Under normal conditions, the quantity of participating user can be much
Greater than the quantity of B2C electronic ticket, this result in participating user topple the mountains and overturn the seas as fight for the situation of electronic ticket.
Currently, generally passing through system leading portion flow control, it is ensured that synchronization requests user's magnitude of B2C electronic ticket in controllable model
It encloses.System Back-end relies on db transaction, converts concurrent request to serially, guarantees atomic operation.But it is single by data
Library affairs convert concurrent request to serially, often cause great pressure to database, largely same more in new database
Row will necessarily generate lock in this way and wait, increase the waiting time of subsequent user, cause the performance of database sharply to decline, performance
Loss is big, and throughput degradation is that cannot meet the requirements for the operation of magnanimity service, more serious, avalanche effect will occurs.
In addition to this, application server cluster and distributed caching are also used at present, for all of same B2C electronic ticket
Request routes to the machine of same access layer DAO (Data Access Object, data access object).It is cached on the machine negative
Duty carries out atomic operation to electronic ticket, and database is read and write in timing, reduces database pressure.Although likewise, caching read-write
Than data base read-write lightweight, however the atomic lock on caching becomes the concurrent request of front end serially, only leans on a queue
The request of rear end accumulation needs to wait longer time, has seriously affected user experience.Meanwhile it being needed in expansion process a large amount of
Configuration, if it is considered that dynamic expansion and fault-tolerant, needs more complicated mechanism, increase the difficulty of development deployment.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, it is suitable for high concurrent the present invention provides one kind and fights for electronic ticket
Information processing method, system, device and storage medium, the access of database can be reduced, guarantee system high concurrent performance,
High-throughput and data consistency, while good user experience being provided.
Embodiment according to the present invention provides a kind of information processing method for fighting for electronic ticket suitable for high concurrent, adopts
With the total value of database purchase electronic ticket, which comprises multiple application servers are respectively from described in database acquisition
The subset of the total value of electronic ticket;Load-balanced server identifies the acquisition request that user client is submitted, and the acquisition is asked
Ask one distributed into the multiple application server;The application server enters caching team according to the acquisition request
Column, obtain the caching Read-Write Locks of the subset, to carry out electronic ticket acquisition processing.
In certain embodiments of the present invention, the acquisition that the load-balanced server identification user client is submitted is asked
One for asking, and the acquisition request being distributed into the multiple application server includes: that the equally loaded server is known
User information and electronic ticket ID in the not described acquisition request;If the user information and electronic ticket ID are to submit for the first time, institute
State the processing acquisition request that equally loaded server is randomly assigned in the multiple application server;Otherwise, described
Acquisition request described in the excessively described user information of equally loaded server designated treatment and the application server processes of electronic ticket ID.
In certain embodiments of the present invention, the method also includes: if successfully obtaining the electronic ticket, the application
Server generates the feedback information of the electronic ticket number comprising obtaining, and otherwise, generates the feedback information for obtaining failure, and will be described
Feedback information is to return to the load-balanced server;The feedback information is committed to described by the load-balanced server
User client.
In certain embodiments of the present invention, the method also includes: if successfully obtaining the electronic ticket, the application
Electronic ticket flowing water described in server persistence;If flowing water persistence fails, the electronic ticket number is rolled back in caching, and is generated
The feedback information of persistence failure is to return to the equally loaded server.
In certain embodiments of the present invention, the method also includes: the application server detects the subset
Whether number is zero;If zero, the application server obtains new subset from the database.
Meanwhile the present invention provides a kind of information processing system for fighting for electronic ticket suitable for high concurrent, the system is at least
Including database, multiple application servers and load-balanced server;Wherein, database is for storing the total of the electronic ticket
Volume;Wherein, application server includes: acquisition module, the subset of the total value for obtaining the electronic ticket from the database;Electricity
Sub- certificate processing module obtains the caching Read-Write Locks of the subset, for entering buffer queue according to acquisition request to carry out electronics
Certificate acquisition processing;Wherein, load-balanced server includes: request processing module, and user client is submitted described for identification
Acquisition request, and the acquisition request is distributed to one into the multiple application server.
In certain embodiments of the present invention, the request processing module includes: recognition unit, described for identification to obtain
Take the user information and electronic ticket ID in request;Allocation unit, for being to mention for the first time in the user information and electronic ticket ID
In the case where friendship, a processing acquisition request being randomly assigned in the multiple application server, otherwise, designated treatment mistake
Acquisition request described in the user information and the application server processes of electronic ticket ID.
In certain embodiments of the present invention, the application server further include: feedback information generation module is used for
In the case that success obtains the electronic ticket, the feedback information of the electronic ticket number comprising obtaining is generated, otherwise, generates to obtain and lose
The feedback information lost, and the feedback information is returned into the load-balanced server.
In certain embodiments of the present invention, the application server further include: persistence module, for successfully obtaining
In the case where taking the electronic ticket, electronic ticket flowing water described in persistence;Roll-back module, in the electronic ticket flowing water persistence
In the case where failure, the electronic ticket number is rolled back in caching, and generates the feedback information of persistence failure to return to
The equally loaded server.
In certain embodiments of the present invention, the application server further include: detection module, for detecting the son
Whether the number of collection is zero;If zero, the application server obtains new subset from the database.
In addition, the present invention provides a kind of information processing unit for fighting for electronic ticket suitable for high concurrent, including memory and
Processor, the memory is for storing one or more computer instruction;The processor is for calling and executing described one
Item or a plurality of computer instruction are to realize any one of aforementioned information processing method for being suitable for high concurrent and fighting for electronic ticket.
The present invention also provides a kind of computer storage medium, it is stored with one or more computer program, described one
Or a plurality of computer program realizes any one of aforementioned information processing method for being suitable for high concurrent and fighting for electronic ticket when being executed.
By the way that electronic ticket total value is divided into the subset much larger than application server quantity, every is answered embodiments of the present invention
Couple the subset that database obtains electronic ticket total value every time with server, is changed into the big lock of originally single database using clothes
The more parts of small locks of caching lightweight on business device cluster, reduce the access of database, ensure that the high concurrent performance of system, height are handled up
Amount and data consistency, while good user experience being provided.
Detailed description of the invention
To facilitate the understanding of the present invention, the present invention is carried out specifically below by way of specific embodiment and in conjunction with attached drawing
It is bright.
Fig. 1 is a kind of process of information processing method that electronic ticket is fought for suitable for high concurrent of embodiment according to the present invention
Schematic diagram;
Fig. 2 is the realization process for the information processing method that one kind of the invention illustratively fights for electronic ticket suitable for high concurrent
Block diagram;
Fig. 3 is a kind of frame of information processing system that electronic ticket is fought for suitable for high concurrent of embodiment according to the present invention
Figure;
Fig. 4 is the block diagram for being suitable for the request processing module for the information processing system that high concurrent fights for electronic ticket in Fig. 3;
Fig. 5 is the block diagram of the application server of embodiment according to the present invention;
Fig. 6 is the block diagram of the application server of embodiment according to the present invention;
Fig. 7 is the block diagram of the application server of embodiment according to the present invention.
Specific embodiment
It is described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, many institute's weeks
Module, unit and its mutual connection, link, communication or the operation known are not shown or do not elaborate.Also, institute
Feature, framework or the function of description can combine in any way in one or more embodiments.Those skilled in the art
Member is it should be appreciated that following various embodiments are served only for the protection scope for example, and is not intended to limit the present invention.May be used also
To be readily appreciated that, module or unit or processing mode in each embodiment described herein and shown in the drawings can by it is various not
It is combined and designs with configuration.
Fig. 1 is a kind of process of information processing method that electronic ticket is fought for suitable for high concurrent of embodiment according to the present invention
Schematic diagram, in embodiments of the present invention, using the total value of database purchase electronic ticket, referring to Fig.1, this method comprises:
100: multiple application servers obtain the subset of the total value of the electronic ticket from the database respectively;
102: load-balanced server identify user client submit acquisition request, and by the acquisition request distribute to
One in the multiple application server;
104: the application server enters buffer queue according to the acquisition request, obtains the caching read-write of the subset
Lock, to carry out electronic ticket acquisition processing.
Wherein, electronic ticket includes cash red packet, coupons, and coupons completely subtract certificate etc..The total value of electronic ticket refers to electronic ticket
Number under its measurement unit, for example, the total value of electronic ticket refers to the amount of money of cash red packet if electronic ticket is cash red packet.
If electronic ticket is coupons, the total value of the discount coupons such as coupons, electronic ticket refers to the number of discount coupon.
Optionally, in embodiments of the present invention, processing 102 can be accomplished by the following way:
Equally loaded server identifies user information and electronic ticket ID in the acquisition request;
If the user information and electronic ticket ID that identify are to submit for the first time, that is, the user submits the electronic ticket for the first time
Acquisition request, then the acquisition request is randomly assigned to a progress subsequent processing into multiple application servers;
If the user information and electronic ticket ID that identify and non-first time submission, that is, if submitted mistake before the user
The acquisition request of the dry electronic ticket, then cross designated treatment described in the user information and the application server processes of electronic ticket ID
Acquisition request.In this way it is prevented that repetitive requests are assigned to different application servers, the wave of server resource is caused
Take.
Optionally, in embodiments of the present invention, if successfully obtaining electronic ticket, application service weapon generates packet
The feedback information of electronics volume number containing acquisition generates the feedback information for obtaining failure, and by the feedback letter if obtaining failure
Breath is back to load-balanced server, to submit to user client.
Optionally, in embodiments of the present invention, after successfully obtaining electronic ticket, the processing of electronic ticket persistence is carried out,
With persistence electronic ticket flowing water.If flowing water persistence fails, electronic ticket is preferentially rolled back in caching, and generates persistence failure
Feedback information be back to load-balanced server.
Optionally, in embodiments of the present invention, application server is before carrying out electronic ticket acquisition processing, detection electricity
Whether the number of sub- certificate subset is zero.If zero, then show that the electronic ticket on the application server has been robbed, then the application clothes
Business device connection database extracts new subset, then carries out electronic ticket acquisition processing.
In the present embodiment, by the way that electronic ticket total value is divided into the subset much larger than application server quantity, every is answered
Couple the subset that database obtains electronic ticket total value every time with server, is changed into the big lock of originally single database using clothes
The more parts of small locks of caching lightweight on business device cluster, reduce the access of database, ensure that the high concurrent performance of system, height are handled up
Amount and data consistency, while good user experience being provided.
Hereinafter, illustrating that one kind of the invention illustratively fights for the information processing side of electronic ticket suitable for high concurrent referring to Fig. 2
The realization process of method:
During the realization, there is N platform application server, B2C electronic ticket total value pending is S.
Firstly, electronic ticket total value is divided into M parts, application server therefrom obtains a every time, wherein M is much larger than N's
Natural number.That is, electronic ticket total value S is divided into M parts of electronic ticket subsets in logic, every application server takes a electronic ticket every time
The number of subset.Since participating user's number more can guarantee to be not in that application server obtains electricity so M is bigger much larger than S
There is no the case where user's request is fought for after sub- certificate subset.
Load-balanced server receives the acquisition request that user client is sent, and identifies the user information in the acquisition request
And electronic ticket ID, one for distributing the acquisition request into N platform application server according to scheduled allocation rule are handled.
After application server receives the acquisition request, the number of electronic ticket subset that is saved in detection caching whether be
Zero, if zero, then couples database and obtain a new subset.If obtained successfully, handled into electronic ticket is obtained;If obtained
Failure is taken, the load-balanced server electronic ticket is returned and has been robbed.
Into after obtaining electronic ticket processing, the buffer lock of electronic ticket subset is obtained by queue, further extracts electronic ticket
Discount coupon or utilization respective algorithms in subset extract the cash red packet amount of money in electronic ticket subset, that is, reduce the electricity in caching
The number of sub- certificate subset.If obtaining failure, the feedback information for obtaining failure is returned.
After obtaining successfully, which carries out the processing of electronic ticket persistence, with this electronic ticket flowing water of persistence.Such as
The failure of fruit flowing water persistence, the electronic ticket number needs that success obtains preferentially are rolled back in caching.
After persistence success, the feedback information of the number of the electronic ticket comprising obtaining is returned to load-balanced server, with
It is committed to user client.Application server completes subsequent relevant electronic ticket logical process, for example, asynchronous keep accounts.
Fig. 3 is a kind of frame of information processing system that electronic ticket is fought for suitable for high concurrent of embodiment according to the present invention
Figure, referring to Fig. 3, the information processing system 1 for fighting for electronic ticket suitable for high concurrent includes at least database 11, multiple application servers
12 and load-balanced server 13.
Wherein, database 11 is used to store the total value of electronic ticket;Application server 12 include: obtain module 121, for from
Database 11 obtains the subset of the total value of electronic ticket, electronic ticket processing module 122, for entering caching team according to the acquisition request
Column obtain the caching Read-Write Locks of electronic ticket subset, to carry out electronic ticket acquisition processing;Load-balanced server 13 includes: request
Processing module 131, the acquisition request that user client is submitted for identification, and the acquisition request is distributed to multiple application services
One in device 12.
Optionally, referring to Fig. 4, in a kind of implementation of embodiments of the present invention, request processing module 131 is wrapped
It includes: recognition unit 132, for identification user information in acquisition request and electronic ticket ID;Allocation unit 133, in the use
Family information and electronic ticket ID are in the case where submitting for the first time, and one be randomly assigned in multiple application servers 12 handles this and obtains
Request is taken, otherwise, designated treatment crosses the user information and the application server processes of the electronic ticket ID acquisition requests.
Optionally, referring to Fig. 5, in a kind of implementation of embodiments of the present invention, application server 12 can be with
It include: feedback information generation module 123, for generating the electronic ticket number comprising obtaining in the case where successfully obtaining electronic ticket
Otherwise the feedback information of volume generates the feedback information for obtaining failure, and the feedback information is returned to load-balanced server.
Optionally, referring to Fig. 6, in a kind of implementation of embodiments of the present invention, application server 12 can be with
Include: persistence module 124, is used in the case where successfully obtaining electronic ticket, the persistence electronic ticket flowing water;Roll-back module
125, in the case where electronic ticket flowing water persistence failure, the electronic ticket number that will acquire to be rolled back in caching, and raw
At the feedback information of persistence failure to return to equally loaded server.
Optionally, referring to Fig. 7, in a kind of implementation of embodiments of the present invention, application server 12 can be with
It include: detection module 126, whether the number for detecting the electronic ticket subset being stored in application server caching is zero;
If zero, then the application server obtains new electronic ticket subset from database.
Optionally, embodiments of the present invention provide a kind of information processing unit that electronic ticket is fought for suitable for high concurrent,
This is suitable for high concurrent to fight for the information processing unit of electronic ticket including memory, for storing one or more computer instruction;
Processor realizes aforementioned embodiments of the present invention or realization for calling and executing one or more computer instruction
The information processing method of electronic ticket is fought for provided by mode suitable for high concurrent.Optionally, in one kind of embodiment of the present invention
It is described to be suitable for high concurrent to fight for the information processing unit of electronic ticket including for carrying out data communication in implementation
Input/output interface.For example, the processing unit can be computer, intelligent terminal, server etc..
Embodiments of the present invention additionally provide a kind of computer storage medium, are stored with one or more computer and refer to
It enables, the letter for being suitable for high concurrent and fighting for electronic ticket provided for realizing aforementioned embodiments of the present invention or implementation when being executed
Cease processing method.For example, the storage medium may include hard disk, floppy disk, CD etc..
Although illustrating some embodiments herein, it, can be right under the premise of not departing from essence of the present invention
These embodiments carry out various modifications, and all these deformations still fall within design of the invention, and fall into right of the present invention and want
Protection scope defined by asking.
Specific embodiment disclosed herein is only used for illustrating the present invention, to those skilled in the art,
Obviously can carry out various modifications according to the teaching of this article, can using it is various it is equivalent by the way of implement the present invention, therefore, this hair
Bright specific embodiment disclosed above is only exemplary, and protection scope is not by construction or design disclosed herein
Details is limited, unless being otherwise noted in the claims.Therefore, specific illustrative embodiment disclosed above can carry out
Various replacements, combination or modification, all deformations are both fallen in range disclosed herein.It is not specifically disclosed herein lacking
Any element or in the case where lacking optional component disclosed herein, the disclosed high concurrent that is suitable for exemplified here fights for electricity
Information processing method, system, device and the storage medium of sub- certificate can be still appropriately carried out.All numerical value and model disclosed above
Enclosing centainly to be changed.Whenever disclosing the numberical range with lower and upper limit, any numerical value within the scope of this is fallen into
And it is any by comprising range all specifically disclosed.Specifically, any range of numerical value disclosed herein is appreciated that
It include any value and range in broader numerical to list.Equally, unless applicant explicitly and clearly separately has
It defines, the term in claim has their clear, common meaning.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
The mode of software combination hardware platform is realized.Based on this understanding, technical solution of the present invention makes tribute to background technique
That offers can be embodied in the form of software products in whole or in part, which can store is situated between in storage
In matter, such as ROM/RAM, magnetic disk, CD, including some instructions use is so that a computer equipment (can be individual calculus
Machine, server or network equipment etc.) execute side described in certain parts of each embodiment of the present invention or embodiment
Method.
In addition, the quantity of the component in claims includes one or at least one, unless otherwise indicated.If this hair
Word or term in bright in other documents usage or meaning there are inconsistent, then should be to be with defined in the present invention
It is quasi-.
Claims (12)
1. a kind of information processing method for fighting for electronic ticket suitable for high concurrent, which is characterized in that use database purchase electronic ticket
Total value, which comprises
Multiple application servers obtain the subset of the total value of the electronic ticket from the database respectively;
Load-balanced server identifies the acquisition request that user client is submitted, and the acquisition request is distributed to the multiple
One in application server;
The application server enters buffer queue according to the acquisition request, obtains the caching Read-Write Locks of the subset, with into
Row electronic ticket acquisition processing.
2. the method as described in claim 1, which is characterized in that the load-balanced server identification user client was submitted
Acquisition request, and one that the acquisition request is distributed into the multiple application server includes:
The equally loaded server identifies user information and electronic ticket ID in the acquisition request;
If the user information and electronic ticket ID are to submit for the first time, the equally loaded server is randomly assigned the multiple answer
With a processing acquisition request in server;
Otherwise, the application server processes institute of the excessively described user information of the equally loaded server designated treatment and electronic ticket ID
State acquisition request.
3. the method as described in claim 1, which is characterized in that the method also includes:
If successfully obtaining the electronic ticket, the application server generates the feedback information of the electronic ticket number comprising obtaining, no
Then, the feedback information for obtaining failure is generated, and by the feedback information to return to the load-balanced server;
The feedback information is committed to the user client by the load-balanced server.
4. the method as described in claim 1, which is characterized in that the method also includes:
If successfully obtaining the electronic ticket, electronic ticket flowing water described in the application server persistence;
If flowing water persistence fails, the electronic ticket number is rolled back in caching, and generate the feedback information of persistence failure with
Return to the equally loaded server.
5. the method as described in claim 1, which is characterized in that the method also includes:
Whether the number that the application server detects the subset is zero;
If zero, the application server obtains new subset from the database.
6. a kind of information processing system for fighting for electronic ticket suitable for high concurrent, which is characterized in that the system includes at least data
Library, multiple application servers and load-balanced server;
Wherein, database is used to store the total value of the electronic ticket;
Wherein, application server includes:
Obtain module, the subset of the total value for obtaining the electronic ticket from the database;
Electronic ticket processing module obtains the caching Read-Write Locks of the subset for entering buffer queue according to acquisition request, with into
Row electronic ticket acquisition processing;
Wherein, load-balanced server includes:
Request processing module, for identification user client submit the acquisition request, and by the acquisition request distribute to
One in the multiple application server.
7. system as claimed in claim 6, which is characterized in that the request processing module includes:
Recognition unit, for identification user information and electronic ticket ID in the acquisition request;
Allocation unit, for being randomly assigned described more in the case where the user information and electronic ticket ID are to submit for the first time
One in a application server processing acquisition request, otherwise, the excessively described user information of designated treatment and electronic ticket ID's
Acquisition request described in application server processes.
8. system as claimed in claim 6, which is characterized in that the application server further include:
Feedback information generation module, for generating the electronic ticket number comprising obtaining in the case where successfully obtaining the electronic ticket
Otherwise the feedback information of volume generates the feedback information for obtaining failure, and the feedback information is returned to the load balancing and is taken
Business device.
9. system as claimed in claim 6, which is characterized in that the application server further include:
Persistence module, in the case where successfully obtaining the electronic ticket, electronic ticket flowing water described in persistence;
Roll-back module, for the electronic ticket number being rolled back to slow in the case where electronic ticket flowing water persistence failure
In depositing, and the feedback information of persistence failure is generated to return to the equally loaded server.
10. system as claimed in claim 6, which is characterized in that the application server further include:
Detection module, whether the number for detecting the subset is zero;
If zero, the application server obtains new subset from the database.
11. a kind of information processing unit for fighting for electronic ticket suitable for high concurrent, including memory and processor, which is characterized in that
The memory is for storing one or more computer instruction;
The processor is realized for calling and executing one or more computer instruction as appointed in claim 1-5
Method described in one.
12. a kind of computer storage medium is stored with one or more computer program, which is characterized in that described one or more
Computer program realizes method according to any one of claims 1 to 5 when being executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735221.1A CN109191162A (en) | 2018-07-06 | 2018-07-06 | Information processing method, system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810735221.1A CN109191162A (en) | 2018-07-06 | 2018-07-06 | Information processing method, system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109191162A true CN109191162A (en) | 2019-01-11 |
Family
ID=64936172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810735221.1A Pending CN109191162A (en) | 2018-07-06 | 2018-07-06 | Information processing method, system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109191162A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110363482A (en) * | 2019-07-16 | 2019-10-22 | 腾讯科技(上海)有限公司 | Method of counting, device, server and storage medium |
CN110708258A (en) * | 2019-09-29 | 2020-01-17 | Oppo广东移动通信有限公司 | Flow control method, flow control device, server and storage medium |
CN111401752A (en) * | 2020-03-18 | 2020-07-10 | 北京泓慧国际能源技术发展有限公司 | Flywheel energy storage frequency modulation sharing processing method, device and system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106170016A (en) * | 2016-07-28 | 2016-11-30 | 深圳市创梦天地科技有限公司 | A kind of method and system processing high concurrent data requests |
CN106846024A (en) * | 2015-12-07 | 2017-06-13 | 北京京东尚科信息技术有限公司 | Reward voucher distribution method and system based on Redis |
CN107450892A (en) * | 2016-05-31 | 2017-12-08 | 湖南移商动力网络技术有限公司 | One kind is based on wechat card certificate development platform marketing system software |
US20180101563A1 (en) * | 2016-10-10 | 2018-04-12 | Alibaba Group Holding Limited | Database processing method, apparatus, and electronic device |
-
2018
- 2018-07-06 CN CN201810735221.1A patent/CN109191162A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106846024A (en) * | 2015-12-07 | 2017-06-13 | 北京京东尚科信息技术有限公司 | Reward voucher distribution method and system based on Redis |
CN107450892A (en) * | 2016-05-31 | 2017-12-08 | 湖南移商动力网络技术有限公司 | One kind is based on wechat card certificate development platform marketing system software |
CN106170016A (en) * | 2016-07-28 | 2016-11-30 | 深圳市创梦天地科技有限公司 | A kind of method and system processing high concurrent data requests |
US20180101563A1 (en) * | 2016-10-10 | 2018-04-12 | Alibaba Group Holding Limited | Database processing method, apparatus, and electronic device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110363482A (en) * | 2019-07-16 | 2019-10-22 | 腾讯科技(上海)有限公司 | Method of counting, device, server and storage medium |
CN110708258A (en) * | 2019-09-29 | 2020-01-17 | Oppo广东移动通信有限公司 | Flow control method, flow control device, server and storage medium |
CN111401752A (en) * | 2020-03-18 | 2020-07-10 | 北京泓慧国际能源技术发展有限公司 | Flywheel energy storage frequency modulation sharing processing method, device and system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468690B (en) | A kind of inventory data treating method and apparatus | |
CN107369012A (en) | A kind of method for processing payment information and system and the prepaid card processing method with performance bond insurance mechanism | |
CN107657518A (en) | A kind of flow path processing method and relevant apparatus and server based on event | |
CN109191162A (en) | Information processing method, system, device and storage medium | |
CN107993151A (en) | Fund exchange settlement method, apparatus, equipment and computer-readable recording medium | |
CN108427601A (en) | A kind of cluster transaction processing method of privately owned chain node | |
CN108881368A (en) | High concurrent service request processing method, device, computer equipment and storage medium | |
CN108228349A (en) | For handling the method for task, system and storage medium | |
CN106649729A (en) | Log running method and system, client and server | |
Zhou et al. | Analyzing and detecting money-laundering accounts in online social networks | |
CN108066989A (en) | A kind of random fit organizing method, device and application server | |
JP2003006440A5 (en) | ||
CN109377355A (en) | Transaction data processing method and device | |
CN111612511A (en) | Resource allocation method and device based on activity task and electronic equipment | |
CN108111554A (en) | A kind of control method and device of access queue | |
CN109146488A (en) | Assets match method, assets match system, equipment and storage medium | |
CN110046648A (en) | The method and device of business classification is carried out based at least one business disaggregated model | |
CN106095347B (en) | A kind of voucher beats again system and method | |
CN112950285A (en) | Method and device for processing point, server and storage medium | |
CN110428128A (en) | Performance data acquisition methods, device and storage medium | |
CN109919683A (en) | A kind of system of advertisement pushing, method and device | |
CN109146614A (en) | A kind of store data processing method and system based on small routine | |
CN104796451B (en) | Data processing method and device for the Internet, applications | |
CN106030639A (en) | Dynamic content delivery for real-time trends | |
CN108734373A (en) | A kind of publication of information, system and vendor terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190111 |