CN106846123A - Article purchasing method and device - Google Patents

Article purchasing method and device Download PDF

Info

Publication number
CN106846123A
CN106846123A CN201710089798.5A CN201710089798A CN106846123A CN 106846123 A CN106846123 A CN 106846123A CN 201710089798 A CN201710089798 A CN 201710089798A CN 106846123 A CN106846123 A CN 106846123A
Authority
CN
China
Prior art keywords
parameter
article
purchase
ticket
bought
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
Application number
CN201710089798.5A
Other languages
Chinese (zh)
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.)
Jiangsu Lsyw Polytron Technologies Inc
Original Assignee
Jiangsu Lsyw Polytron Technologies Inc
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 Jiangsu Lsyw Polytron Technologies Inc filed Critical Jiangsu Lsyw Polytron Technologies Inc
Priority to CN201710089798.5A priority Critical patent/CN106846123A/en
Publication of CN106846123A publication Critical patent/CN106846123A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of article purchasing method and device, belong to field of information processing.The method is included in the first predetermined amount of time, and predetermined quantity article is issued by selling system;Reservation order corresponding with user account is received, and according to reservation order for user account distributes several parameters;A parameter is randomly selected from all parameters corresponding with article of distribution in selling time section, and predetermined quantity parameter is extracted by initial parameter of parameter according to predetermined numerical selection strategy and purchase strategy;The parameter being extracted is issued by selling system, and purchase successful information is sent to the corresponding user account of the parameter being extracted, purchase successful information is used to point out user to buy article;Solve the problems, such as that server processes mass data and easily collapses simultaneously, reached the data volume that the same time is reduced in network selling article, reduce the computation burden of server, improve the effect of selling system operational efficiency.

Description

Article purchasing method and device
Technical field
The present embodiments relate to technical field of information processing, more particularly to a kind of article purchasing method and installation method and Device.
Background technology
Train ticket is the basic voucher of railway transportation contract, and passenger according to the demand of oneself can select train number and attend a banquet Species.But purchase train ticket difficulty is a great problem of China Railway Transportation, passenger ticket buying for convenience, the Ministry of Railways is sold using network Sell system sales train ticket.
When passenger passes through network selling system booking, passenger registers booking account first, the booking demand according to itself Train number, species of attending a banquet and the ticket quantity of ticket of having a surplus are selected by booking account, network selling system is carried according to booking account The train number of friendship, species of attending a banquet and ticket quantity production booking order, passenger pays booking after booking order is successfully generated Money, completes booking.
Realize it is of the invention during, inventor find prior art at least there is problems with:When booking number is remote During the ticket number provided more than network selling system, when network selling system releases the ticket of a certain train number, network is sold and is The server of system needs to process mass data simultaneously, and server easily collapses, and causes passenger to continue booking.
The content of the invention
In order to solve problem of the prior art, a kind of article purchasing method and device are the embodiment of the invention provides.The skill Art scheme is as follows:
First aspect, there is provided a kind of article purchasing method, the method includes:
In the first predetermined amount of time, predetermined quantity article is issued by selling system;
Reservation order corresponding with user account is received, and is that user account distribution is some according to the reservation order Individual parameter, the reservation order includes user basic information, subscribes article, predetermined number, advance payment and buys tactful, described ginseng Several quantity is equal to the predetermined number, parameter one article of correspondence;
In selling time section a parameter, and root are randomly selected from all parameters corresponding with the article of distribution According to predetermined numerical selection strategy and the purchase strategy predetermined quantity parameter is extracted by initial parameter of the parameter;
The parameter being extracted is issued by selling system, and is bought into the corresponding user account transmission of the parameter being extracted Work(information, the purchase successful information is used to point out user to buy the article.
Optionally, the method also includes:
Before the initial time of selling time section, externally issue each in real time by the selling system and submit institute to State the user account and the corresponding predetermined number of the user account for subscribing order.
Optionally, the method also includes:
Before the sale deadline of the article, the article that reception is return;
In the second predetermined amount of time, the step of re-execute the issue predetermined quantity article by selling system.
Optionally, the selling time section of the article of different batches is not overlapped.
Optionally, when the article is or during ticket, the purchase strategy includes train number to be bought, the train number to be bought At least two, it is described that described making a reservation for is extracted by initial parameter of the parameter according to predetermined numerical selection strategy and the purchase strategy Quantity parameter, including:
Parameter is extracted with the parameter in order as initial parameter;
For the parameter that each is drawn into, whether the corresponding user of parameter being drawn into described in detection has bought Whether the ticket of a upper train number or the parameter being drawn into are unassigned;
If detecting ticket or the quilt that the corresponding user of parameter being extracted has bought a train number The parameter of extraction is unassigned, then ignore the parameter being extracted, and continues to extract next parameter until the parameter for extracting Quantity be predetermined quantity.
Second aspect, there is provided a kind of article purchasing method, the method includes:
In the first predetermined amount of time, the predetermined number that the corresponding server of the selling system is issued is obtained by selling system The information of amount article;
Submit corresponding with user account reservation order to, the reservation order includes user basic information, subscribes article, in advance Order quantity, advance payment and purchase strategy;
The server is received according to several parameters that the reservation order is the user account distribution, the parameter Quantity be equal to the predetermined number, parameter one article of correspondence;
The parameter being extracted is obtained by the selling system, and/or, the purchase for receiving the server transmission is successfully believed Breath, the purchase successful information is used to point out the corresponding user of the user account to buy the article.
Optionally, when the article is ticket, the purchase strategy includes train number to be bought and the ticket number to be bought Amount.
Optionally, when the ticket quantity to be bought is N, the purchase strategy also include ought the train number be bought it is surplus Remaining poll is less than booking priority during N.
Optionally, the purchase strategy also include ought the quantity of the train number to be bought be at least two, and the user When account does not buy the ticket of the current train number drawn a bill, the car that the reservation order participates in the next train number of purchase is continued with Ticket.
The third aspect, there is provided a kind of article buys device, the device includes:
Article release module, in the first predetermined amount of time, predetermined quantity article being issued by selling system;
First receiver module, for receiving reservation order corresponding with user account, and is institute according to the reservation order State user account and distribute several parameters, the reservation order includes user basic information, subscribes article, predetermined number, prepayment The quantity of money and tactful, the described parameter of purchase is equal to the predetermined number, parameter one article of correspondence;
Parameter extraction module, for random from all parameters corresponding with the article of distribution in selling time section A parameter is extracted, and is extracted as initial parameter with the parameter according to predetermined numerical selection strategy and the purchase strategy described predetermined Quantity parameter;
Parameter release module, it is for issuing the parameter being extracted by selling system and corresponding to the parameter being extracted User account sends purchase successful information, and the purchase successful information is used to point out user to buy the article.
Optionally, the device also includes:
Real-time release module, it is real-time by the selling system for before the initial time of selling time section Externally issue each and submit the user account and the corresponding predetermined number of the user account for subscribing order to.
Optionally, the device also includes:
Second receiver module, for before the sale deadline of the article, receiving the article return;
Performing module is sold, described predetermined number is issued by selling system in the second predetermined amount of time, re-executing The step of amount article.
Optionally, the selling time section of the article of different batches is not overlapped.
Optionally, when the article is or during ticket, the purchase strategy includes train number to be bought, the train number to be bought At least two, the parameter extraction module, specifically for:
Parameter is extracted with the parameter in order as initial parameter;
For the parameter that each is drawn into, whether the corresponding user of parameter being drawn into described in detection has bought Whether the ticket of a upper train number or the parameter being drawn into are unassigned;
If detecting ticket or the quilt that the corresponding user of parameter being extracted has bought a train number The parameter of extraction is unassigned, then ignore the parameter being extracted, and continues to extract next parameter until the parameter for extracting Quantity be predetermined quantity.
Fourth aspect, there is provided a kind of article buys device, the device includes:
First acquisition module, in the first predetermined amount of time, obtaining the selling system by selling system corresponding The information of the predetermined quantity article of server issue;
Order submits module to, for submitting to reservation order corresponding with user account, the reservation order to include user's base This information, reservation article, predetermined number, advance payment and purchase strategy;
First receiver module, if being what the user account was distributed for receiving the server according to the reservation order Dry parameter, the quantity of the parameter is equal to the predetermined number, parameter one article of correspondence;
Second receiver module, for obtaining the parameter being extracted by the selling system, and/or, receive the service The purchase successful information that device sends, the purchase successful information is described for pointing out the corresponding user of the user account to buy Article.
Optionally, when the article is ticket, the purchase strategy includes train number to be bought and the ticket number to be bought Amount.
Optionally, when the ticket quantity to be bought is N, the purchase strategy also include ought the train number be bought it is surplus Remaining poll is less than booking priority during N.
Optionally, the purchase strategy also include ought the quantity of the train number to be bought be at least two, and the user When account does not buy the ticket of the current train number drawn a bill, the car that the reservation order participates in the next train number of purchase is continued with Ticket.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Predetermined quantity article is issued by selling system in the first predetermined amount of time by server, user account is received The reservation order of submission, is user account allocation of parameters according to order is subscribed, selling time section according to predetermined numerical selection strategy and Purchase strategy extract predetermined quantity parameter so that need purchase the article user need not be in the same time to the article Rushed to purchase, realized shunting, solved the problems, such as that server processes mass data and easily collapses simultaneously, reached in network pin The data volume of same time is reduced when selling article, the computation burden of server is reduced, the effect of selling system operational efficiency is improved.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic diagram of the implementation environment of article purchasing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the article purchasing method for providing according to an illustrative embodiment of the invention;
Fig. 3 is a kind of flow chart of the article purchasing method provided according to another exemplary embodiment of the invention;
Fig. 4 is the block diagram that a kind of article provided according to one embodiment of the invention buys device;
Fig. 5 is the block diagram that a kind of article for providing according to a further embodiment of the invention buys device.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is refer to, it illustrates a kind of signal of the implementation environment of article purchasing method provided in an embodiment of the present invention Figure.The article obtains system includes terminal 110 and server 120.
Terminal 110 is the equipment with data transmit-receive function, such as smart mobile phone.Optionally, terminal 110 also has communication Function.User can log in selling system by terminal 110 and user account.Selling system can provide article to be vended Information, user can log in selling system purchase article.Optionally, article is the actual object that can be sold in a network, such as: Train ticket, car plate obtain qualification.
Server 120 is the background server with selling system, can be the clothes of a server or many service compositions Business device cluster or cloud computing center.Server 120 has issue article, is user's account according to the reservation order of user account submission Family allocation of parameters, the ability for extracting parameter, issuing the parameter being extracted.
The quantity of terminal 110 is at least one, is illustrated with only showing a terminal 110 in Fig. 1.
Terminal 110 is set up by cable network or wireless network with server 120 and is connected.
Fig. 2 is refer to, the flow chart of the article purchasing method provided it illustrates an illustrative embodiment of the invention.Should Article acquisition methods are suitable for article purchase system as shown in Figure 1.As shown in Fig. 2 the article purchasing method can include Following steps:
Step 201, in the first predetermined amount of time, server issues predetermined quantity article by selling system.
Optionally, predetermined quantity is the entire quantity of article, or, entire quantity of the predetermined quantity less than article.
Optionally, first scheduled time was the presell phase of article.
Step 202, in the first predetermined amount of time, terminal obtains the corresponding server of selling system and issues by selling system Predetermined quantity article information.
Step 203, terminal submits corresponding with user account reservation order to, and subscribing order includes user basic information, in advance Order article, predetermined number, advance payment and purchase strategy.
Terminal submits reservation order corresponding with user account to by selling system to server.
Optionally, user basic information includes ID card No., user account, the real information of user, the user of user The corresponding cell-phone number of account.
Advance payment is used for pay subscription article.Optionally, advance payment is related to purchase strategy.
Purchase strategy is user according to the customized strategy of self-demand, one purchase strategy of a reservation order correspondence.
Step 204, server receives reservation order corresponding with user account, and is user account point according to order is subscribed With several parameters.
The quantity of parameter is equal to predetermined number, parameter one article of correspondence.Server is the ginseng of user account distribution Number is different.Optionally, parameter is that server is distributed from trend user account, or, parameter is that user account is first selected Afterwards again by server be user account distribute.
Optionally, when article of the article for system of real name certification, parameter one ID card No. of correspondence.
Optionally, when article of the article for system of real name certification, subscribing for one can include multiple identification card numbers in order Code, the quantity of ID card No. is equal to predetermined number.
Such as:One predetermined number of user account is 5, then for the user distributes 5 parameters in account.
Step 205, it is some of user account distribution that terminal receives the corresponding server of selling system according to order is subscribed Individual parameter.
Step 206, server randomly selects one in selling time section from all parameters corresponding with article of distribution Individual parameter, and predetermined quantity parameter is extracted by initial parameter of parameter according to predetermined numerical selection strategy and purchase strategy.
Optionally, predetermined numerical selection strategy pre-sets.Predetermined numerical selection strategy includes only selecting actual parameter.Actual parameter To referring to the allocated parameter and corresponding user of the allocated parameter does not buy article.
Step 207, server issues the parameter being extracted by selling system, and to the corresponding user of the parameter being extracted Account sends purchase successful information, and purchase successful information is used to point out user to buy article.
Step 208, terminal obtains the parameter that is extracted by selling system, and/or, the purchase that the reception server sends into Work(information, purchase successful information is used to point out the corresponding user of user account to buy article.
User can obtain the parameter being extracted and know whether oneself buys article by terminal logs in selling system.When Can be that the parameter being extracted of issue is known according to selling when user successfully buys article, and/or, sent out according to server The purchase successful information sent is known.
It should be noted that above-mentioned steps 201,204,206 and 207 can be implemented separately the method as server side implementing Example, above-mentioned steps 202,203,205 and 208 can be implemented separately the embodiment of the method as end side.
In sum, article purchasing method provided in an embodiment of the present invention, it is logical in the first predetermined amount of time by server Selling system issue predetermined quantity article is crossed, the reservation order that user account is submitted to is received, is user's account according to order is subscribed Family allocation of parameters, extracts predetermined quantity parameter so that need in selling time section according to predetermined numerical selection strategy and purchase strategy The user for buying the article need not be rushed to purchase the article in the same time, realize shunting, solve server same When treatment mass data easily collapse problem, reached the data volume that the same time is reduced in network selling article, reduce The computation burden of server, improves the effect of selling system operational efficiency.
Optionally, in article purchasing method as shown in Figure 2, the article purchasing method can also include step 209:
Step 209, before the initial time of selling time section, server externally issues each in real time by selling system Submit the user account and the corresponding predetermined number of user account for subscribing order to.
User can log in the reservation status that selling system checks article, and predetermined case includes that order is subscribed in each submission User account and the corresponding respective amount of each user account.
Optionally, server can also provide the identity information of user account to supervision department, and in order is subscribed User identity information, be easy to supervision part to supervise the sales process of article.
Optionally, in article purchasing method as shown in Figure 2, the selling time section of the article of different batches is not overlapped.
When the predetermined article in same reservation order belongs at least two different batches, in order to avoid repeat buying thing Product are, it is necessary to after the items sold of a batch is finished, the sales situation further according to the article carries out the pin of next batch article Sell.Namely the selling time section existence time of the article of different batches is poor.
Such as:The ticket of A train numbers and B train numbers is not overlapped, and the selling time section of the ticket of A train numbers is 15:00-15:05, B The selling time section of train number is 15:06-15:11.
Optionally, in article purchasing method as shown in Figure 2, the method also includes:
Step 210, before the sale deadline of article, server receives the article return.
After user account buys article, user may may require that purchase, now, be moved back by logging in selling system Goods operation can return article, and server receives the article that user account is return.
Step 211, in the second predetermined amount of time, server is re-executed issues predetermined quantity article by selling system The step of.
In the second predetermined amount of time, server re-executes step 201.
Optionally, second scheduled time was the time of sales return article.
Optionally, the predetermined quantity in the article of second scheduled time issue is the quantity of the article return, or, the The predetermined quantity of the article of two scheduled times issue is less than the quantity of the article return.
Following embodiments show what another exemplary embodiment of the invention was provided so that article is as real-name ticket as an example The flow chart of article purchasing method, as shown in Figure 3.
Step 301, in the first predetermined amount of time, server issues predetermined quantity article by selling system.
Optionally, predetermined quantity is the entire quantity of article, or, entire quantity of the predetermined quantity less than article.
Optionally, first scheduled time was the presell phase of article.
Specifically, in the first predetermined amount of time, server issues several ticket by selling system.
Optionally, server can simultaneously issue several ticket of multiple train numbers in the first predetermined amount of time.
Step 302, in the first predetermined amount of time, terminal obtains the corresponding server of selling system and issues by selling system Predetermined quantity article information.
Specifically, the train number of the ticket that terminal is issued by selling system acquisition server, the ticket type of each train number, Each ticket type includes ticket quantity.
Step 303, terminal submits corresponding with user account reservation order to, and subscribing order includes user basic information, in advance Order article, predetermined number, advance payment and purchase strategy.
Optionally, user basic information includes ID card No., user account, the real information of user, the user of user The corresponding cell-phone number of account.
Advance payment is used for pay subscription article.Optionally, advance payment is related to purchase strategy.
Purchase strategy is user according to the customized strategy of self-demand, one purchase strategy of a reservation order correspondence.
Specifically, subscribing order includes user account, the number of users of purchase ticket, the identification card number of the user of purchase ticket Code, the corresponding cell-phone number of user account, advance payment and purchase strategy.
Optionally, buying strategy includes train number to be bought and the ticket quantity to be bought.
Optionally, when the ticket quantity to be bought is N, purchase strategy is also included when the remaining poll of train number to be bought is small Booking priority when N.
Such as:User account L needs to buy a ticket of A train numbers, Ye Jiyong respectively for Xiao Ming, small red, Xiao Wang, Xiao Zhang Family account L needs to buy 4 ticket of A train numbers, and when the remaining poll of train number to be bought is less than 4, booking priority is small , Xiao Ming, small red, Xiao Wang.
It should be noted that in order to avoid malice brush ticket, the value of N needs to determine according to actual conditions that N values are smaller, right Booking is more fair for each user.
Optionally, buying strategy is also included when the quantity of train number to be bought is at least two, and user account does not buy During the ticket of the current train number drawn a bill, continue with and subscribe the ticket that order participates in the next train number of purchase.
User can ticket selling time section initial time before some time, using multiple train numbers as Can be including multiple train number to be bought in train number to be bought, namely user account reservation order.
User only needs to a selection of time oneself before a ticket is started selling needs the train number of purchase, and multiple Train number to be bought may be included within an order so that user need not log in when the ticket of each train number is sold Selling system, has saved time resource of the user effort in booking.
The selling time section of different train numbers is not overlapped.
Such as:Before the selling time section of B train numbers, user account P wishes from A train numbers and B the selling time section of A train numbers A train ticket is bought in train number, when A train numbers are drawn a bill, user account P does not buy train ticket, then user account P continues profit The train ticket of purchase B train numbers is participated in predetermined order.
If it should be noted that user account cancellation order, user account is retracted into by advance payment;Or, if A batch is only included in the order that user account is submitted to, when user does not buy article in account, advance payment is retracted into User account;If user withdraws deposit the Stored Value in user account, Stored Value is retracted into the bank account that user specifies.
Step 304, server receives reservation order corresponding with user account, and is user account point according to order is subscribed With several parameters.
The quantity of parameter is equal to the ticket quantity to be bought, parameter one ticket of correspondence.Server is user account The parameter of distribution is different.Optionally, parameter is that server is distributed from trend user account, or, parameter is user's account Family is again what user account was distributed by server after first selecting.
Specifically, if subscribing order includes at least two train numbers to be purchased, the ticket number to be bought of each train number to be purchased It is N to measure, then server distributes N number of parameter for each train number to be purchased, and any two parameter of same train number is different.Than Such as:User needs to order 4 train tickets, and user have selected two train numbers, and the user most multipotency buys 4 train tickets, this 4 fire Ticket may belong to same train number, it is also possible to belong to two train numbers;Server is directed to each train number, is the reservation Order splitting 4 parameters, parameter one ID card No. of correspondence.
Step 305, it is some of user account distribution that terminal receives the corresponding server of selling system according to order is subscribed Individual parameter.
Specifically, terminal the reception server is several parameters that user account is distributed according to order is subscribed.If one pre- Only one of which train number in order, and booking quantity is N, N is positive integer, then receive N number of parameter;If one is subscribed order and included At least M train number, M is the positive integer more than or equal to 2, and booking quantity is N, and N is positive integer, then receive M*N parameter altogether, often Individual train number is to that should have N number of parameter.
Step 306, server randomly selects one in selling time section from all parameters corresponding with article of distribution Individual parameter, and predetermined quantity parameter is extracted by initial parameter of parameter according to predetermined numerical selection strategy and purchase strategy.
Optionally, predetermined numerical selection strategy pre-sets.Predetermined numerical selection strategy includes only selecting actual parameter.Actual parameter To referring to the allocated parameter and corresponding user of the allocated parameter does not buy article.
Optionally, when purchase strategy includes train number to be bought, during train number at least two to be bought, in selling time section A parameter is randomly selected from all parameters corresponding with train number to be bought of distribution, is initial ginseng with the parameter randomly selected Number extracts parameter in order;For the parameter that each is drawn into, the corresponding user of parameter that detection is drawn into is Whether the parameter for buying the ticket of a train number or being drawn into is unassigned;If it is corresponding to detect the parameter being extracted User has bought the ticket of a train number or the parameter that is extracted is unassigned, then ignore the parameter being extracted, and continues Next parameter is extracted until the quantity of the parameter for extracting is predetermined quantity.
Such as:It is for sale that A train numbers have 10 train tickets, and A parameters correspondence parameter is 1 to 50, in the selling time of A train numbers Parameter 21 is randomly selected out from parameter 1 to 50 in section, with parameter 21 for initial parameter extracts parameter in order, each is detected If whether the corresponding user of the parameter being drawn into has bought the ticket of a train number or whether the parameter that is drawn into It is unallocated;It is unassigned parameter when being drawn into parameter 24 and detecting parameter 24, or, the corresponding user of parameter 24 is When buying the ticket of C train numbers, ignore parameter 24, continue to extract parameter 25;The like, until extracting 10 parameters.
Selling system is by the data subscribed in order and the batch in selling system of user account when parameter is extracted The data of article matched, the parameter that will be matched is used as the parameter chosen.Extracting, certain a batch of article is corresponding , it is necessary to consider that whether the corresponding parameter of the article parameter corresponding with the article of other batches of the batch has association during parameter Relation, the incidence relation determines according to purchase strategy.
Step 307, server issues the parameter being extracted by selling system, and to the corresponding user of the parameter being extracted Account sends purchase successful information, and purchase successful information is used to point out user to buy article.
Step 308, terminal obtains the parameter that is extracted by selling system, and/or, the purchase that the reception server sends into Work(information, purchase successful information is used to point out the corresponding user of user account to buy article.
User can obtain the parameter being extracted and know whether oneself buys article by terminal logs in selling system.When Can be that the parameter being extracted of issue is known according to selling when user successfully buys article, and/or, sent out according to server The purchase successful information sent is known.
Step 309, before the sale deadline of article, server receives the article return.
Optionally, the sale deadline of ticket is the ticket checking time of train number.
The article that user account is bought by selling system still returns to selling system when returning.
When article is real-name ticket, selling system is also to revert to after returning from the ticket of selling system sale, Even if the ticket sold by internet channel is return also can only again be sold in network system, malice is avoided to a certain extent Brush ticket, improves the fairness of each user's booking.
Step 310, the second predetermined amount of time, re-executes step 301.
The step is set forth in step 211, repeats no more here.
It should be noted that above-mentioned steps 301,304,306,307,309 and 310 can be implemented separately as server side Embodiment of the method, above-mentioned steps 302,303,305 and 308 can be implemented separately the embodiment of the method as end side.
In sum, article purchasing method provided in an embodiment of the present invention, it is logical in the first predetermined amount of time by server Selling system issue predetermined quantity article is crossed, the reservation order that user account is submitted to is received, is user's account according to order is subscribed Family allocation of parameters, extracts predetermined quantity parameter so that need in selling time section according to predetermined numerical selection strategy and purchase strategy The user for buying the article need not be rushed to purchase the article in the same time, realize shunting, solve server same When treatment mass data easily collapse problem, reached the data volume that the same time is reduced in network selling article, reduce The computation burden of server, improves the effect of selling system operational efficiency.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.For apparatus of the present invention reality The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 4 is refer to, it illustrates the block diagram that the article that one embodiment of the invention is provided buys device.The article is bought Device can be by the whole for being implemented in combination with turning into the above-mentioned terminal for providing article purchasing method of software, hardware or both Or a part.The device includes:
Article release module 410, in the first predetermined amount of time, predetermined quantity article being issued by selling system;
First receiver module 420, for receiving reservation order corresponding with user account, and is user according to order is subscribed Account distributes several parameters, and subscribing order includes user basic information, subscribes article, predetermined number, advance payment and purchase plan Slightly, the quantity of parameter is equal to predetermined number, parameter one article of correspondence;
Parameter extraction module 430, for random from all parameters corresponding with article of distribution in selling time section A parameter is extracted, and predetermined quantity parameter is extracted by initial parameter of parameter according to predetermined numerical selection strategy and purchase strategy;
Parameter release module 440, for issuing the parameter being extracted by selling system, and to the parameter correspondence being extracted User account send purchase successful information, purchase successful information be used for point out user to buy article.
In sum, article provided in an embodiment of the present invention purchase device, by the first predetermined amount of time by selling System issues predetermined quantity article, receives the reservation order that user account is submitted to, is user account distribution according to order is subscribed Parameter, extracts predetermined quantity parameter so that need purchase in selling time section according to predetermined numerical selection strategy and purchase strategy The user of the article need not be rushed to purchase the article in the same time, realize shunting, solved server and processed simultaneously The problem that mass data is easily collapsed, has reached the data volume that the same time is reduced in network selling article, reduces server Computation burden, improve selling system operational efficiency effect.
Optionally, the device also includes:
Real-time release module, for before the initial time of selling time section, externally being issued in real time by selling system Each submits the user account and the corresponding predetermined number of user account for subscribing order to.
Optionally, the device also includes:
Second receiver module, for before the sale deadline of article, receiving the article return;
Performing module is sold, predetermined quantity is issued by selling system in the second predetermined amount of time, re-executing The step of article.
Optionally, the selling time section of the article of different batches is not overlapped.
Optionally, when article is or during ticket, purchase strategy includes train number to be bought, train number to be bought at least two, Parameter extraction module, specifically for:
Parameter is extracted in order by initial parameter of parameter;
For the parameter that each is drawn into, whether the corresponding user of parameter that detection is drawn into has bought one Whether the ticket of train number or the parameter being drawn into are unassigned;
If detecting the ginseng that the corresponding user of the parameter being extracted has bought the ticket of a train number or has been extracted Number is unassigned, then ignore the parameter being extracted, and continues to extract next parameter until the quantity of the parameter for extracting is predetermined Quantity.
Fig. 5 is refer to, it illustrates the block diagram that the article that another embodiment of the present invention is provided buys device.The article is purchased Buying device being implemented in combination with as the complete of the above-mentioned terminal for providing article purchasing method by software, hardware or both Portion or a part.The device includes:
First acquisition module 510, in the first predetermined amount of time, the corresponding clothes of selling system being obtained by selling system The information of the predetermined quantity article of business device issue;
Order submits module 520 to, and for submitting reservation order corresponding with user account to, subscribing order includes that user is basic Information, reservation article, predetermined number, advance payment and purchase strategy;
First receiver module 530, for the reception server according to several parameters that reservation order is user account distribution, The quantity of parameter is equal to predetermined number, parameter one article of correspondence;
Second receiver module 540, for obtaining the parameter being extracted by selling system, and/or, the reception server sends Purchase successful information, purchase successful information be used for point out the corresponding user of user account to buy article.
In sum, article provided in an embodiment of the present invention purchase device, by the first predetermined amount of time by selling System obtains the information of the predetermined quantity article of the corresponding server issue of selling system, submits to corresponding with user account pre- Order, the reception server is several parameters that user account is distributed according to order is subscribed, and obtains the ginseng that selling system is extracted Number so that need buy the article user the article need not be rushed to purchase in the same time, realize shunting, solve Server processes the problem that mass data is easily collapsed simultaneously, has reached the data that the same time is reduced in network selling article Amount, reduces the computation burden of server, improves the effect of selling system operational efficiency.
Optionally, when the article is ticket, the purchase strategy includes train number to be bought and the ticket number to be bought Amount.
Optionally, when the ticket quantity to be bought is N, the purchase strategy also include ought the train number be bought it is surplus Remaining poll is less than booking priority during N.
Optionally, the purchase strategy also include ought the quantity of the train number to be bought be at least two, and the user When account does not buy the ticket of the current train number drawn a bill, the car that the reservation order participates in the next train number of purchase is continued with Ticket.
It should be noted that:Above-described embodiment provide article purchase device perform article purchasing method when, only more than Stating the division of each functional module is carried out for example, in practical application, as needed can distribute by difference above-mentioned functions Functional module complete, will the internal structure of equipment be divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, the article purchase device that above-described embodiment is provided belongs to same design with article purchasing method embodiment, It implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (18)

1. a kind of article purchasing method, it is characterised in that methods described includes:
In the first predetermined amount of time, predetermined quantity article is issued by selling system;
Reservation order corresponding with user account is received, and according to the reservation order for the user account distributes several ginsengs Number, the order of subscribing includes user basic information, subscribes article, predetermined number, advance payment and buys tactful, described parameter Quantity is equal to the predetermined number, parameter one article of correspondence;
A parameter is randomly selected from all parameters corresponding with the article of distribution in selling time section, and according to pre- Determine numerical selection strategy and the purchase strategy and extract the predetermined quantity parameter by initial parameter of the parameter;
The parameter that is extracted is issued by selling system, and is sent to buy to the corresponding user account of the parameter being extracted and is successfully believed Breath, the purchase successful information is used to point out user to buy the article.
2. method according to claim 1, it is characterised in that methods described also includes:
Before the initial time of selling time section, each submission is externally issued in real time by the selling system described pre- The user account of order and the corresponding predetermined number of the user account.
3. method according to claim 1 and 2, it is characterised in that methods described also includes:
Before the sale deadline of the article, the article that reception is return;
In the second predetermined amount of time, the step of re-execute the issue predetermined quantity article by selling system.
4. according to any described method of claims 1 to 3, it is characterised in that the selling time of the article of different batches Section is not overlapped.
5. according to any described method of claims 1 to 3, it is characterised in that be or during ticket when the article, the purchase Strategy includes train number to be bought, and the train number to be bought at least two is described according to predetermined numerical selection strategy and the purchase plan The predetermined quantity parameter slightly is extracted by initial parameter of the parameter, including:
Parameter is extracted with the parameter in order as initial parameter;
For the parameter that each is drawn into, whether the corresponding user of parameter being drawn into described in detection has bought one Whether the ticket of train number or the parameter being drawn into are unassigned;
If detecting the corresponding user of parameter being extracted to have bought the ticket of a train number or described be extracted Parameter it is unassigned, then ignore the parameter being extracted, continue to extract next parameter until the number of parameter for extracting It is predetermined quantity to measure.
6. a kind of article purchasing method, it is characterised in that methods described includes:
In the first predetermined amount of time, the predetermined quantity that the corresponding server of the selling system is issued is obtained by selling system The information of article;
Submitting reservation order corresponding with user account, the reservation order to includes user basic information, subscribes article, subscribes number Amount, advance payment and purchase strategy;
The server is received according to several parameters that the reservation order is the user account distribution, the number of the parameter Amount is equal to the predetermined number, parameter one article of correspondence;
The parameter being extracted is obtained by the selling system, and/or, the purchase successful information that the server sends is received, The purchase successful information is used to point out the corresponding user of the user account to buy the article.
7. method according to claim 6, it is characterised in that when the article is ticket, the purchase strategy includes Train number to be bought and the ticket quantity to be bought.
8. the method according to the claim 7, it is characterised in that when the ticket quantity to be bought is N, the purchase Strategy also includes the booking priority when the remaining poll of the train number to be bought is less than N.
9. method according to claim 7, it is characterised in that the purchase strategy also includes ought the train number be bought Quantity is at least two, and the user account is not when buying the ticket of the current train number drawn a bill, and continues with the reservation Order participates in the ticket of the next train number of purchase.
10. a kind of article buys device, it is characterised in that described device includes:
Article release module, in the first predetermined amount of time, predetermined quantity article being issued by selling system;
First receiver module, for receiving reservation order corresponding with user account, and is the use according to the reservation order Family account distributes several parameters, the reservation order include user basic information, subscribe article, predetermined number, advance payment and The quantity of tactful, the described parameter of purchase is equal to the predetermined number, parameter one article of correspondence;
Parameter extraction module, for being randomly selected from all parameters corresponding with the article of distribution in selling time section One parameter, and the predetermined quantity is extracted by initial parameter of the parameter according to predetermined numerical selection strategy and the purchase strategy Individual parameter;
Parameter release module, for issuing the parameter being extracted by selling system, and to the corresponding user of the parameter being extracted Account sends purchase successful information, and the purchase successful information is used to point out user to buy the article.
11. devices according to claim 10, it is characterised in that described device also includes:
Real-time release module, it is external in real time by the selling system for before the initial time of selling time section Issue each and submit the user account and the corresponding predetermined number of the user account for subscribing order to.
12. device according to claim 10 or 11, it is characterised in that described device also includes:
Second receiver module, for before the sale deadline of the article, receiving the article return;
Performing module is sold, it is described by selling system issue predetermined quantity in the second predetermined amount of time, re-executing The step of article.
13. according to any described device of claim 10 to 12, it is characterised in that during the sale of the article of different batches Between section do not overlap.
14. according to any described device of claim 10 to 12, it is characterised in that be or during ticket when the article, described Purchase strategy include train number to be bought, the train number to be bought at least two, the parameter extraction module, specifically for:
Parameter is extracted with the parameter in order as initial parameter;
For the parameter that each is drawn into, whether the corresponding user of parameter being drawn into described in detection has bought one Whether the ticket of train number or the parameter being drawn into are unassigned;
If detecting the corresponding user of parameter being extracted to have bought the ticket of a train number or described be extracted Parameter it is unassigned, then ignore the parameter being extracted, continue to extract next parameter until the number of parameter for extracting It is predetermined quantity to measure.
15. a kind of article purchase devices, it is characterised in that described device includes:
First acquisition module, in the first predetermined amount of time, the corresponding service of the selling system being obtained by selling system The information of the predetermined quantity article of device issue;
Order submits module to, for submitting to reservation order corresponding with user account, the reservation order to believe substantially including user Breath, reservation article, predetermined number, advance payment and purchase strategy;
First receiver module, for receive the server according to the reservation order be the user account distribute several Parameter, the quantity of the parameter is equal to the predetermined number, parameter one article of correspondence;
Second receiver module, for obtaining the parameter being extracted by the selling system, and/or, receive the server hair The purchase successful information sent, the purchase successful information is used to point out the corresponding user of the user account to buy the thing Product.
16. devices according to claim 15, it is characterised in that when the article is ticket, the purchase strategy bag Include train number to be bought and the ticket quantity to be bought.
17. device according to the claim 16, it is characterised in that when the ticket quantity to be bought is N, the purchase Strategy is bought also including the booking priority when the remaining poll of the train number to be bought is less than N.
18. devices according to claim 16, it is characterised in that the purchase strategy also includes ought the train number be bought Quantity be at least two, and the user account is not when buying the ticket of the current train number drawn a bill, and continues with described pre- Order participates in the ticket of the next train number of purchase.
CN201710089798.5A 2017-02-20 2017-02-20 Article purchasing method and device Pending CN106846123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710089798.5A CN106846123A (en) 2017-02-20 2017-02-20 Article purchasing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710089798.5A CN106846123A (en) 2017-02-20 2017-02-20 Article purchasing method and device

Publications (1)

Publication Number Publication Date
CN106846123A true CN106846123A (en) 2017-06-13

Family

ID=59129006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710089798.5A Pending CN106846123A (en) 2017-02-20 2017-02-20 Article purchasing method and device

Country Status (1)

Country Link
CN (1) CN106846123A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542352A (en) * 2012-01-20 2012-07-04 上海量明科技发展有限公司 Method and system for ordering railway tickets
CN103038799A (en) * 2009-07-21 2013-04-10 斯梅纳克斯控股有限公司 Method for conducting an electronic lottery
CN103745387A (en) * 2014-01-27 2014-04-23 胡泽军 Train ticket network sale method
CN104732284A (en) * 2015-04-16 2015-06-24 携程计算机技术(上海)有限公司 Roundtrip train ticket booking system and method in OTA website
CN104809510A (en) * 2015-05-21 2015-07-29 武汉大学 Building method of ticket pool middleware for providing ticket support, ticket purchasing and ticket locking methods
CN104835070A (en) * 2015-03-20 2015-08-12 邱世军 Grouped lottery system and method
CN105741159A (en) * 2016-01-29 2016-07-06 邱世军 Ticket selling system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103038799A (en) * 2009-07-21 2013-04-10 斯梅纳克斯控股有限公司 Method for conducting an electronic lottery
CN102542352A (en) * 2012-01-20 2012-07-04 上海量明科技发展有限公司 Method and system for ordering railway tickets
CN103745387A (en) * 2014-01-27 2014-04-23 胡泽军 Train ticket network sale method
CN104835070A (en) * 2015-03-20 2015-08-12 邱世军 Grouped lottery system and method
CN104732284A (en) * 2015-04-16 2015-06-24 携程计算机技术(上海)有限公司 Roundtrip train ticket booking system and method in OTA website
CN104809510A (en) * 2015-05-21 2015-07-29 武汉大学 Building method of ticket pool middleware for providing ticket support, ticket purchasing and ticket locking methods
CN105741159A (en) * 2016-01-29 2016-07-06 邱世军 Ticket selling system

Similar Documents

Publication Publication Date Title
CN106530040A (en) Cloud-service-based marketing system
CN109410022A (en) A kind of overseas TAX FREE SHOPPING method and relevant device based on block chain technology
CN107480999A (en) A kind of high in the clouds implementation method of polymorphic distribution chain
CN102831486A (en) Method, system and terminal for intelligent voice ticket booking
CN102724628A (en) Information processing method and server
CN107610331A (en) A kind of automatic machine trading management system and its application method
CN103714452A (en) Terminal payment method
CN108154424A (en) A kind of more site shopping bag leasing systems and method
CN106062797A (en) Mobile point of sale system for reverse settlement, and method thereof
CN104766214A (en) Trading method and system capable of triggering client sides of buyer and seller in real time
CN107423986A (en) The real-time commodity online trading system in internet
CN106779677A (en) A kind of method of payment and its device, electronic equipment and payment system
CN106096940A (en) A kind of method of payment and device
CN108198020A (en) Self-service vending method and its device
CN105447685A (en) Paper money, coin and cash service device and method of internet payment (financial) account
CN106127478A (en) Prepaid card account carrier is used to carry out the method for mobile payment under line
CN106022861B (en) Online transfer method and device for electronic ticket
CN109598490A (en) Transaction data processing method, apparatus and system
CN104751364B (en) A kind of trans-regional direct selling bank federation method of commerce and system by safety certification
CN107705097A (en) Order management method, device, electronic equipment and computer-readable recording medium
CN110400417A (en) A kind of wisdom lamp stand automatic vending system and its implementation
CN109191093A (en) Electronic invoice billing method, device and terminal device
CN109214891A (en) Clue order management and allocation schedule method, apparatus and storage medium
CN105139198B (en) Method of mobile payment, apparatus and system
CN107689111A (en) Fruit juice mixer method for remote management and system

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

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication