CN108182619A - A kind of service order processing method and system - Google Patents

A kind of service order processing method and system Download PDF

Info

Publication number
CN108182619A
CN108182619A CN201711227320.0A CN201711227320A CN108182619A CN 108182619 A CN108182619 A CN 108182619A CN 201711227320 A CN201711227320 A CN 201711227320A CN 108182619 A CN108182619 A CN 108182619A
Authority
CN
China
Prior art keywords
purchase
request
commodity
result
purchase request
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.)
Withdrawn
Application number
CN201711227320.0A
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.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201711227320.0A priority Critical patent/CN108182619A/en
Publication of CN108182619A publication Critical patent/CN108182619A/en
Withdrawn 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

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 present invention provides a kind of service order processing method and system, this method include:S1, within the first period, obtain it is each purchase request;S2, after first period, to it is described it is each purchase request handle, obtain it is described it is each purchase request purchase result.The present invention, which kills the second, is divided into two steps, and first stage was killed in the second in this period activity time, signs up for the second and kills, and second stage calculates the second and kills as a result, result to be informed to the user that participates in that the second kills.The synchronous second is killed and is changed into the asynchronous second and kills, sign up for after the second kills in user, the second system of killing can be killed in the hind computation second as a result, this method the second can be killd the time it is elongated, so as to weaken the pressure peak that the second kills, more users can also be allowed to participate in the second and killed in activity.

Description

A kind of service order processing method and system
Technical field
The present invention relates to technical field of electronic commerce, more particularly, to a kind of service order processing method and system.
Background technology
In e-commerce system, it usually needs various promotional offer activities promote the flowing of access of website and order numbers Amount, to promote merchandise sales.E-commerce system is with concurrency height when being killed due to the second, and in the prior art, general buffered in advance is used Family and second kill the information of commodity, for the calculating section of core, data can be first write in memory, calculate in memory, Treat that the second writes data into persistent layer again after killing.
It is typically all to be accurate to the whole second to open and rob that second in current e-commerce system, which kills method, and the more popular second kills work It is dynamic just to finish within 1 second.This second kills mode because the time is short, and the user of participation can enter e-commerce system in the same time System participates in panic buying, high to the performance requirement of e-commerce system, generally requires to kill preparation beyond more times of usual demand for the second Service Source.
Invention content
The present invention is provided at a kind of a kind of service order for overcoming the above problem or solving the above problems at least partly Manage method and system.
According to an aspect of the present invention, a kind of service order processing method is provided, this method includes:S1, at first In section, each purchase request is obtained;S2, after first period, to it is described it is each purchase request handle, obtain The purchase result of each purchase request.
Preferably, each purchase request includes the commodity amount of request purchase;Correspondingly, it is described to each purchase Request handled, obtain it is described it is each purchase request purchase as a result, including:For any sort commodity, according to each purchase The quantity of any sort commodity is bought in request in request, is obtained request in all purchase requests and is bought any sort commodity Total quantity;The total quantity of any sort commodity and the library of any sort commodity are bought according to request in all purchase requests Total quantity is deposited, determines the purchase result of each purchase request.
Preferably, it is described according to the total quantity of the request purchase any sort commodity in all purchase requests and described Inventory's total quantity of class I goods determines the purchase of each purchase request as a result, specifically including:If it is asked in all purchase requests The total quantity for buying any sort commodity is less than inventory's total quantity of any sort commodity, it is determined that each purchase request Purchase result is buys successfully;If the total quantity of the request purchase any sort commodity is appointed not less than described in all purchase requests Inventory's total quantity of class I goods selects purchase request, until all purchases selected at random one by one from all purchase requests Buy request in request and buy the total quantitys of any sort commodity and reach inventory's total quantitys of any sort commodity, by it is all The purchase result of purchase request selected is determined as buying successfully.
Preferably, in step S1, each purchase request meets preset condition, and the preset condition includes:In purchase Limit number and purchase upper limit quantity.
Preferably, each judgment method for asking to meet preset condition of buying is:It is wrapped in each purchase request The commodity amount of request purchase and request purchase number are included, if request purchase number is less than or equal in each purchase request The purchase upper limit number, and the commodity amount of purchase is asked to be less than or equal to the purchase upper limit in each purchase request Quantity judges that each purchase request meets the preset condition.
According to another aspect of the present invention, a kind of service order processing system is provided, which includes:Request module, For within the first period, obtaining each purchase request;Object module, for after first period, to described every One purchase request is handled, and obtains the purchase result of each purchase request.
Preferably, it further includes:Judgment module, for judging whether each purchase request meets preset condition.
According to a further aspect of the invention, a kind of computer program product is provided, the computer program product includes The computer program being stored on non-transient computer readable storage medium storing program for executing, the computer program include program instruction, work as institute When stating program instruction and being computer-executed, the computer is made to perform a kind of service order processing method.
According to a further aspect of the invention, a kind of non-transient computer readable storage medium storing program for executing, the non-transient meter are provided Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer perform a kind of service order processing Method.
The present invention provides a kind of service order processing method and system, and this method is killed for the second in activity, and the second is killed point For two steps, first stage was killed in the second in this period activity time, and such as 10 seconds, signing up for the second killed, second Stage calculates the second and kills as a result, result is informed and participate in the user that kills of second.The synchronous second is killed and is changed into the asynchronous second and kills, in user Sign up for after the second kills, the second system of killing can be killed in the hind computation second as a result, this side's method the second can be killd the time it is elongated, So as to weaken the pressure peak that the second kills, more users can also be allowed to participate in the second and killed in activity.
Description of the drawings
Fig. 1 is a kind of flow chart of service order processing method of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but be not limited to the scope of the present invention.
Fig. 1 is a kind of flow chart of service order processing method of the embodiment of the present invention, as shown in Figure 1, this method includes: S1, within the first period, obtain it is each purchase request;S2, after first period, to it is described it is each purchase ask into Row processing obtains the purchase result of each purchase request.
The core that second kills is to allow user at some time point to participate in interaction, promotes sale.For user, inform within 1 second User's result and user is informed within 20 seconds as a result, difference very little.The embodiment of the present invention, which kills the second, is divided into two steps, first rank Section was killed in the second in this period activity time, and such as 10 seconds, signing up for the second killed, and second stage calculates the second and kills as a result, will As a result it informs and participates in the user that kills of second.The synchronous second is killed and is changed into the asynchronous second and kills, is signed up for after the second kills in user, Second system of killing can be killed in the hind computation second as a result, this side's method the second can be killd the time it is elongated, so as to weaken the pressure that the second kills Peak value can also allow more users to participate in the second and kill in activity.
On the basis of above-described embodiment, specifically, each purchase request includes the commodity amount of request purchase;Accordingly Ground, it is described to it is described it is each purchase request handle, obtain it is described it is each purchase request purchase as a result, including:For appointing Class I goods buys the quantity of any sort commodity according to request in each purchase request, and obtaining please in all purchase requests Want to buy the total quantity for buying any sort commodity;The total quantity of any sort commodity is bought according to request in all purchase requests And inventory's total quantity of any sort commodity, determine the purchase result that each purchase is asked.
It is specifically, described that any sort is bought according to request in all purchase requests on the basis of above-described embodiment Inventory's total quantity of the total quantity of commodity and any sort commodity determines the purchase of each purchase request as a result, specific packet It includes:If inventory sum of the total quantity less than any sort commodity of any sort commodity is bought in request in all purchase requests Amount, it is determined that the purchase result of each purchase request is buys successfully;If any sort is bought in request in all purchase requests The total quantity of commodity is not less than inventory's total quantity of any sort commodity, and purchase is selected at random one by one from all purchase requests Request, until the total quantity of the request purchase any sort commodity in all purchase requests selected reaches any sort quotient The purchase result that all purchases selected are asked is determined as buying successfully by inventory's total quantity of product.
It for any sort commodity, calculates all purchases and asks corresponding total number of users as M, please be want to buy in all purchase requests The total quantity for buying any sort commodity is N, inventory's total quantity K of any sort commodity.If N≤K, M users are corresponding Purchase request is all successful;If N>K then selects a purchase request at random one by one in this M user, cumulative calculation is all to be chosen The commodity purchasing amount H of request is bought, as H≤K, the purchase request selected is bought successfully.Remaining purchase request purchase failure, Return to all purchase results.
On the basis of above-described embodiment, specifically, in step S1, each purchase request meets preset condition, institute Preset condition is stated to include:Buy upper limit number and purchase upper limit quantity.On the basis of above-described embodiment, it is preferable that described every One, which buys the judgment method for asking to meet preset condition, is:It is described it is each purchase request include request purchase commodity amount with Request purchase number, if request purchase number is less than or equal to the purchase upper limit number, and institute in each purchase request It states and the commodity amount of purchase is asked to be less than or equal to the purchase upper limit quantity in each purchase request, judge each purchase Request meets the preset condition.
It should be noted that purchase upper limit quantity and purchase upper limit number can all be bought from directly setting from the background Upper limit number amount represents that user kills the quantity for buying most commodity in the primary second, and purchase upper limit number refers to that user kills in the primary second In most multipotency send the number of purchase request, in general, user kills upper limit number as 1 the second.
Another embodiment of the present invention provides a kind of service order processing system, which includes:Request module, for In one period, each purchase request is obtained;Object module, for after first period, being asked to each purchase It asks and is handled, obtain the purchase result of each purchase request.The specific implementation procedure of this system embodiment and above-mentioned side The implementation procedure of method embodiment is identical, and detailed process please refers to the embodiment of the above method, and details are not described herein again.
On the basis of above-described embodiment, it is preferable that further include:Judgment module, for judging each purchase request Whether preset condition is met.The specific implementation procedure of this system embodiment is identical with the implementation procedure of above method embodiment, in detail Thin process please refers to the embodiment of the above method, and details are not described herein again.
Another embodiment of the present invention provides a kind of computer program product, and the computer program product includes being stored in non- Computer program in transitory computer readable storage medium, the computer program includes program instruction, when described program refers to When order is computer-executed, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:At first In section, each purchase request is obtained;After first period, each purchase request is handled, obtains institute State the purchase result of each purchase request.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example Such as include:Within the first period, each purchase request is obtained;After first period, each purchase is asked It is handled, obtains the purchase result of each purchase request.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and aforementioned program can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned storage medium includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
The embodiment of the present invention provides a kind of service order processing system, and the second is killed and is divided into two steps, first stage is It is killed in the second in this period activity time, such as 10 seconds, signing up for the second killed, and second stage calculates the second and kills as a result, by result It informs and participates in the user that kills of second.The synchronous second is killed and is changed into the asynchronous second and kills, is signed up for after the second kills in user, the second kills System can be killed in the hind computation second as a result, this side's method the second can be killd the time it is elongated, so as to weaken the pressure peak that the second kills, More users can also be allowed to participate in the second to kill in activity.
Finally, method of the invention is only preferable embodiment, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention Within the scope of.

Claims (9)

1. a kind of service order processing method, which is characterized in that including:
S1, within the first period, obtain it is each purchase request;
S2, after first period, to it is described it is each purchase request handle, obtain it is described it is each purchase request Buy result.
2. method according to claim 1, which is characterized in that each purchase request includes the commodity amount of request purchase; Correspondingly, it is described to it is described it is each purchase request handle, obtain it is described it is each purchase request purchase as a result, including:
For any sort commodity, the quantity of any sort commodity is bought according to request in each purchase request, obtains all purchases Buy the total quantity that any sort commodity are bought in request in request;
The total quantity of any sort commodity and the inventory of any sort commodity are bought according to request in all purchase requests Total quantity determines the purchase result of each purchase request.
3. method according to claim 2, which is characterized in that described described any according to request purchase in all purchase requests Inventory's total quantity of the total quantity of class commodity and any sort commodity determines the purchase of each purchase request as a result, specific Including:
If the total quantity of the request purchase any sort commodity is total less than the inventory of any sort commodity in all purchase requests Quantity, it is determined that the purchase result of each purchase request is buys successfully;
If inventory of the total quantity not less than any sort commodity of any sort commodity is bought in request in all purchase requests Total quantity selects purchase request at random one by one from all purchase requests, please be wanted to buy until in all purchase requests selected The total quantity for buying any sort commodity reaches inventory's total quantity of any sort commodity, and all purchases selected are asked Purchase result be determined as buying successfully.
4. method according to claim 1, which is characterized in that in step S1, each purchase request meets preset condition, The preset condition includes:Buy upper limit number and purchase upper limit quantity.
5. method according to claim 4, which is characterized in that each purchase request meets the judgment method of preset condition For:
Each purchase request includes the commodity amount of request purchase and request purchase number, if each purchase request Middle request purchase number is less than or equal to the purchase upper limit number, and the commodity number of purchase is asked in each purchase request Amount is less than or equal to the purchase upper limit quantity, judges that each purchase request meets the preset condition.
6. a kind of service order processing system based on any the methods of claim 1-5, which is characterized in that including:
Request module, within the first period, obtaining each purchase request;
Object module, for after first period, handling each purchase request, obtaining described each Buy the purchase result of request.
7. system according to claim 6, which is characterized in that further include:
Judgment module, for judging whether each purchase request meets preset condition.
8. a kind of computer program product, which is characterized in that the computer program product includes being stored in non-transient computer Computer program on readable storage medium storing program for executing, the computer program include program instruction, when described program is instructed by computer During execution, the computer is made to perform the method as described in claim 1 to 5 is any.
9. a kind of non-transient computer readable storage medium storing program for executing, which is characterized in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 5 is any.
CN201711227320.0A 2017-11-29 2017-11-29 A kind of service order processing method and system Withdrawn CN108182619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711227320.0A CN108182619A (en) 2017-11-29 2017-11-29 A kind of service order processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711227320.0A CN108182619A (en) 2017-11-29 2017-11-29 A kind of service order processing method and system

Publications (1)

Publication Number Publication Date
CN108182619A true CN108182619A (en) 2018-06-19

Family

ID=62545505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711227320.0A Withdrawn CN108182619A (en) 2017-11-29 2017-11-29 A kind of service order processing method and system

Country Status (1)

Country Link
CN (1) CN108182619A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730357A (en) * 2019-09-25 2020-01-24 北京达佳互联信息技术有限公司 Live broadcast interaction method and device, server and storage medium
CN113435931A (en) * 2021-06-29 2021-09-24 未鲲(上海)科技服务有限公司 Service data processing method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096132A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Method for controlling transaction qualification, method for obtaining transaction qualification, and device for controlling transaction qualification
US20150363850A1 (en) * 2013-03-06 2015-12-17 Tencent Technology (Shenzhen) Company Limited Method for processing order, transaction server and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150363850A1 (en) * 2013-03-06 2015-12-17 Tencent Technology (Shenzhen) Company Limited Method for processing order, transaction server and computer readable storage medium
CN105096132A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Method for controlling transaction qualification, method for obtaining transaction qualification, and device for controlling transaction qualification

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢晓燕: "基于信息发布平台的网上购物系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730357A (en) * 2019-09-25 2020-01-24 北京达佳互联信息技术有限公司 Live broadcast interaction method and device, server and storage medium
CN113435931A (en) * 2021-06-29 2021-09-24 未鲲(上海)科技服务有限公司 Service data processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US8589212B2 (en) Vehicle desirability and stocking based on live markets
JP2017514219A (en) Method and system for processing merchandise object information
JP6231204B2 (en) Generating similarity between items
US20050197898A1 (en) Slow seller management system and method
US20150112762A1 (en) Optimization of product assortments
RU2010136724A (en) SYSTEM AND METHODS FOR AUCTIONAL SALES OF ASSETS OF WIRELESS DEVICES AND PROVISION OF WIRELESS DEVICES WITH AN OPTION OF THE CHOICE OF ASSET DISTRIBUTION
CN110363476B (en) Cargo warehousing distribution processing method and device
CN104036405A (en) Method and device for processing virtual resource trade order
US20130073337A1 (en) System and method for merchandise selection based on Location and produce trials
CN110322276A (en) Rebating data processing method, device, computer equipment and storage medium
WO2022011300A4 (en) A system for commissions for multilevel marketing
JP2022547902A (en) Systems and methods for managing incentive campaigns and automatically approving requests for incentives
CN108182619A (en) A kind of service order processing method and system
CN108230074A (en) A kind of method and system of managing internet order status
KR20230087764A (en) Method for consult store through product recommendation, and computer program recorded on record-medium for executing method therefor
CN108230073A (en) A kind of method and system of managing internet sequence information
CN110245927A (en) A kind of integral method of commerce based on block chain
US20180165699A1 (en) System and method for repurchase incentives
JP6873030B2 (en) Information processing equipment, information processing methods and information processing programs
US20160117707A1 (en) Perpetually decreasing group pricing system and method
CN111435484A (en) Task cooperative processing method, device, equipment and system
CN109242620A (en) One kind is from electric business transaction system
CN111105257A (en) Product data processing method and device
CN110268395A (en) The access of database condition field
CN112418967B (en) Purchasing early warning method, server, system and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180619

WW01 Invention patent application withdrawn after publication