CN106296365A - A kind of purchase operates sharing method and device - Google Patents
A kind of purchase operates sharing method and device Download PDFInfo
- Publication number
- CN106296365A CN106296365A CN201610694459.5A CN201610694459A CN106296365A CN 106296365 A CN106296365 A CN 106296365A CN 201610694459 A CN201610694459 A CN 201610694459A CN 106296365 A CN106296365 A CN 106296365A
- Authority
- CN
- China
- Prior art keywords
- order
- purchase
- sub
- client
- commodity
- 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/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing 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 purchase and operate sharing method and device, belong to internet arena.Described operation sharing method of buying includes: obtaining the purchase order that multiple client sends, wherein, each described client all buys operation binding with current;Generate one according to acquired multiple described purchase order and buy blanket order.Purchase operation sharing method and device that the embodiment of the present invention provides have effectively achieved multiple client and share same purchase operation.
Description
Technical field
The invention belongs to internet arena, buy operation sharing method and device in particular to one.
Background technology
Along with popularizing of the Internet, net purchase use in people live increasingly generalizes.Existing net purchase mode is big
Mostly be each user corresponding to a shopping cart, i.e. different user buy operation be separate existence, it is impossible to realize
Multiple users share same purchase and operate.Such as, when ordering on the net, it is separate depositing owing to the purchase of different user operates
, it is impossible to realize multiple user and share same purchase operation, when the many individuals mutually recognized want in same businessman one
Rise when ordering, mostly can discuss out, according to the vegetable included by this businessman, vegetable and the corresponding quantity that needs are selected in advance, so
After again by one of them people according to discuss result build buy operation and place an order.Or, first individually built by one of them people and purchase
After buying operation, the purchase that built operation is shared with other people, other people according to the measured order of prior business successively based on
The operation of buying existed builds new purchase operation, and also the purchase each built operation is shared with other people, when each
When other people purchase is operated the most without demur by people, the purchase operation to oneself building places an order respectively.
Summary of the invention
It is an object of the invention to provide a kind of purchase and operate sharing method and device, it is possible to realize multiple client and share
Buy operation for one.
First aspect, embodiments provides a kind of purchase and operates sharing method, and described method includes: obtain multiple
The purchase order that client sends, wherein, each described client all buys operation binding with current;According to acquired multiple
Described purchase order generates one and buys blanket order.
Second aspect, the embodiment of the present invention additionally provides a kind of purchase and operates sharing means, and described device includes: order obtains
Delivery block and blanket order generation module.Order acquisition module is for obtaining the purchase order that multiple client sends, wherein, each
Client all buys operation binding with current.Blanket order generation module is for generating according to acquired multiple described purchase order
Buy blanket order for one.
What the embodiment of the present invention provided buys operation sharing method and device by obtaining the purchase that multiple clients send
Order, wherein, each client all buys operation binding with current, generates one according to acquired multiple described purchase order
Buy blanket order, have effectively achieved multiple client and share same purchase operation, i.e. can realize multiple user and share same
One shopping operation.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtains according to these accompanying drawings
Obtain other accompanying drawing.Shown in accompanying drawing, above and other purpose, feature and the advantage of the present invention will become apparent from.All
The part that reference instruction identical in accompanying drawing is identical.The most deliberately draw accompanying drawing, emphasis by actual size equal proportion scaling
It is to illustrate the purport of the present invention.
A kind of mutual schematic diagram buying operation shared system that Fig. 1 provides for one embodiment of the invention;
The structured flowchart of the server that Fig. 2 provides for one embodiment of the invention;
A kind of method flow diagram buying operation sharing method that Fig. 3 provides for one embodiment of the invention;
A kind of method flow diagram buying operation sharing method that Fig. 4 provides for another embodiment of the present invention;
A kind of method flow diagram buying operation sharing method that Fig. 5 provides for another embodiment of the present invention;
A kind of method flow diagram buying operation sharing method that Fig. 6 provides for another embodiment of the present invention;
A kind of method flow diagram buying operation sharing method that Fig. 7 provides for another embodiment of the present invention;
A kind of mutual schematic diagram buying operation shared system that Fig. 8 provides for another embodiment of the present invention;
A kind of method flow diagram buying operation sharing method that Fig. 9 provides for another embodiment of the present invention;
A kind of structured flowchart buying operation sharing means that Figure 10 provides for one embodiment of the invention;
A kind of structured flowchart buying operation sharing means that Figure 11 provides for another embodiment of the present invention;
A kind of structured flowchart buying operation sharing means that Figure 12 provides for another embodiment of the present invention;
A kind of structured flowchart buying operation sharing means that Figure 13 provides for another embodiment of the present invention;
A kind of structured flowchart buying operation sharing means that Figure 14 provides for another embodiment of the present invention;
A kind of structured flowchart buying operation sharing means that Figure 15 provides for another embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Generally exist
Can arrange and design with various different configurations with the assembly of the embodiment of the present invention that illustrates described in accompanying drawing herein.Cause
This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention provided in the accompanying drawings below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing
Individual accompanying drawing is defined, then need not it be defined further and explains in accompanying drawing subsequently.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing and describe, and it is not intended that indicate or hint relative importance.
Refer to Fig. 1, it is shown that a kind of purchase operates shared system.Buy operation shared system include server 100 and
Multiple clients 200.Wherein, client 200 can be webpage client, it is also possible to be application client.As multiple visitors
When family end 200 is all connected with the proper network between server 100, multiple clients 200 all can count with server 100
According to alternately.
As in figure 2 it is shown, be the block diagram of described server 100.Described server 100 includes that buying operation shares dress
Put 110, memorizer 120, storage control 130, processor 140 and Peripheral Interface 150.
Described memorizer 120, storage control 130, processor 140, each element of Peripheral Interface 150 each other directly or
Indirectly it is electrically connected with, to realize the transmission of data or mutual.Such as, these elements can lead to by one or more each other
News bus or holding wire realize being electrically connected with.Described operation sharing means 110 of buying includes that at least one can be with software or firmware
(firmware) form is stored in described memorizer 120 or is solidificated in the operating system (operating of described server
System, OS) in software function module.Described processor 140 is for performing the executable module of storage in memorizer, such as
Described purchase operates software function module or the computer program that sharing means 110 includes.
Wherein, memorizer 120 may be, but not limited to, random access memory (Random Access Memory,
RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memorizer is used for storing program, and described processor 140, after receiving execution instruction, performs described program, sends out for aforementioned
The method performed by the server flowing through Cheng Dingyi that bright embodiment any embodiment discloses can apply in processor 140,
Or realized by processor 140.
Processor 140 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor 140 can
To be general processor, including central processing unit 140 (Central Processing Unit is called for short CPU), network processing unit
140 (Network Processor is called for short NP) etc.;Can also is that digital signal processor 140 (DSP), special IC
(ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General
The processor etc. that processor can be microprocessor or this processor can also be any routine.
Various input/output devices are coupled to processor 140 and memorizer 120 by described Peripheral Interface 150.At some
In embodiment, Peripheral Interface 150, processor 140 and storage control 130 can realize in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
Fig. 3 shows that a kind of purchase that the embodiment of the present invention provides operates sharing method, and the method is applied to above-mentioned purchase
Operation shared system.At least include as it is shown on figure 3, buy operation sharing method: step S301 and step S302.Below will be with clothes
The step that the method for the present embodiment is comprised by business device by executive agent is described in detail.
Step S301: obtain the purchase order that multiple client sends, each client all buys operation binding with current.
Wherein, buy operation and refer to the single purchase behavior that many people participate in jointly.Such as, many people participate in the net in so-and-so restaurant
On make a reservation.Current purchase operation binding has multiple client, wherein, the participant of the corresponding purchasing behavior of each client.
Wherein, client is able to receive that the amendment operation of user.Amendment operation according to the user received generates to be bought
Order, and the purchase order of generation is sent to server.Such as, user participate in buy operation after, user can with
Items list is seen in the client that family is corresponding, wherein, the value volume and range of product of items list corresponding goods.User revises interested
Type of merchandize after, the quantity of selected type of merchandize and correspondence is generated purchase order by client.Therefore, each client
The corresponding purchase order of end, each purchase order buys operation binding with current.
In the present embodiment, server obtains the mode of the purchase order that multiple clients send and can be: multiple clients
End sends purchase order with prefixed time interval to server, and now, described purchase order includes renewal operation should be had to order
Order that is single and that operate without renewal.It is to say, no matter whether the user corresponding to client makes renewal operation, i.e. increase certain
Plant the quantity of commodity or reduce the quantity of certain commodity, all fixing with time default with the current all clients buying operation binding
Between be spaced to server send purchase order.Additionally, the mode that server obtains the purchase order that multiple clients send also may be used
Thinking: when user corresponding to client that and if only if makes renewal operation, client generates purchase order, and the purchase that will generate
Order is sent to server.
Step S302: generate one according to acquired multiple described purchase order and buy blanket order.
Each purchase order includes kind and the quantity of commodity.Server is according to the commodity in each purchase order
Kind and quantity generate one and buy blanket order.Such as, in the purchase order that client a sends, the quantity of commodity A is 1, client
In the purchase order that end b sends, the quantity of commodity B is 2, and in the purchase order that client c sends, the quantity of commodity C is 1, then this
Time, the purchase blanket order that server is generated after successively getting above-mentioned purchase order is: commodity A:1 part, commodity B:2 part, business
Product C:1 part.
In order to ensure that in the above-mentioned and current multiple clients buying operation binding, each client all can obtain in real time
The purchase order that other clients of current time have been filed on, it is achieved the Real-Time Sharing of purchase order between above-mentioned multiple clients,
Need be sent in real time according to the more new data that accessed purchase order obtains by server and currently buy operation binding
All clients.
As shown in Figure 4, a kind of purchase that the embodiment of the present invention provides operates sharing method, at least includes that step S401 is to step
Rapid S404.
Step S401: buy operation create initial order according to current, described initial order is sent to described currently
Buy all clients of operation binding.
The initial order shown by each client participating in current purchase operation is all single with the initial order in server
Cause, i.e. type of merchandize is consistent, and the commodity amount of each kind is the most consistent.Under original state, the most all clients all do not send
During purchase order, initial order there is no inventory records.
Step S402: obtain the purchase order that multiple client generates based on the initial order received.
After receiving, with the current client buying operation binding, the initial order that server sends, can be initial based on this
The quantity of commodity in initial order is modified operation by order.It is understood that above-mentioned amendment operation includes increasing operation
Or delete operation.Certainly, when in initial order without inventory records, can only carry out increasing operation.Client is according to being received
User generates purchase order to the amendment operation of commodity amount in initial order, and sends the purchase order generated to service
Device.
Step S403: update initial order according to acquired purchase order, and the initial order after updating sends extremely
With the current all clients buying operation binding.
Participate in the purchase order that the current each client buying operation sends, be all based at the beginning of step S401 obtains
Generating on the basis of beginning order, the commodity amount of the kind selected by user that i.e. client is corresponding is the number more than zero,
And the commodity number of the kind not selected is 0.Server participates in purchasing of the current client transmission buying operation according to acquired
Buy type of merchandize and quantity that order is comprised, revise initial order.Server will update after initial order send to work as
The front all clients buying operation binding so that each client all can show current initial order in real time, it is simple to ginseng
The type of merchandize and quantity currently bought can be known in time, with further to initial order with the current user buying operation
In type of merchandize or quantity be updated, such as add buy commodity or amendment commodity amount.
Now, with described current buy operation binding all clients recorded in each of commodity quantity with work as
Commodity amount corresponding in the initial order stored in front server is consistent.
Such as, client a, client b and client c all buy operation binding with current.Server performs step S401,
Buy operation one initial order of establishment according to current, and this initial order is sent to client a, client b and client
c.Commodity in initial order include: commodity A, commodity B and commodity C.And the quantity of commodity A, commodity B and commodity C is 0.This
Time, it is assumed that the quantity of commodity A has been done "+1 " by client a and has been operated by user A, and client a is according to the behaviour of the user A recorded
Generate the purchase order that the quantity of commodity A is added, and this purchase order is sent to server.Server receives this and purchases
After buying order, being updated initial order according to this purchase order, in the initial order after renewal, the quantity of commodity A becomes 1,
Initial order after server will update is sent to client a, client b and client c, the most now client a, client b
And the quantity of the commodity A shown by client c is 1.
Step S404: generate according to the initial order after updating and buy blanket order.
Instruction is completed when server receives the purchase that current any one client bought corresponding to operation sent
Before, the purchase order of corresponding any client transmission can be operated repeatedly to currently according to received with current purchase
The initial order buying operation corresponding is updated, and will update all clients that result feeds back to and currently buys operation binding
End.When the purchase that any one client corresponding to server receives current purchase operation is sent completes instruction, clothes
Business device generates according to current initial order and buys blanket order.
Or, server can set a preset time value, and server starts timing when initial order has created.
Before timing time reaches preset time value, server can buy corresponding any of operation according to received and current
The current initial order buying operation corresponding is repeatedly updated by the purchase order that client sends, and will update result feedback
Give and the current all clients buying operation binding.When timing time reaches this preset time value, then according at the beginning of current
Beginning order generates buys blanket order.
Wherein, buy blanket order to contain kind and the quantity of the quantity commodity more than zero in initial order, currently pay
State, consignee information etc..
As it is shown in figure 5, a kind of purchase that the embodiment of the present invention provides operates sharing method, at least comprise the following steps S501
To step S508.
Step S501: buy many sub-orders of operation establishment according to current, the plurality of sub-order is sent to described
The current all clients buying operation binding.
Wherein, each sub-order and a client binding, for recording the commodity kind that the client of correspondence is bought
Class and quantity.Under original state, when the most all clients all do not send purchase order, all sub-orders all do not has commodity number
According to.Each client all can show all of sub-order, in order to participate in current buy operation each with per family can and
Time understand the purchase situation of oneself and other users.
Step S502: obtain the purchase order that multiple client generates based on the sub-order received.
The purchase order that each client sends is based on the received sub-order generation bound with this client.Also
That is, in the present embodiment, each client can only revise corresponding sub-order.
Step S503: search the sub-order corresponding with current purchase order.
Receive the time sequencing of the purchase order that multiple client sends according to server, each purchase order is made
For current purchase order.In the present embodiment, purchase order be client receive user amendment operation after based on client
The current sub-order of binding generates.Now, the detailed description of the invention searching the sub-order corresponding with current purchase order is permissible
For: being provided with the first corresponding table in server, this first corresponding table includes the body of each sub-order and corresponding client
The corresponding relation of part information.Current purchase order includes identity information, and the identity information according to current purchase order is the most permissible
Search the sub-order corresponding with current purchase order.In the present embodiment, the identity information of current purchase order can be to send to be somebody's turn to do
Address information or the log-on messages etc. of this client such as the MAC Address of the client of purchase order.
Step S504: with the type of merchandize to be updated included by current purchase order in the sub-order that acquisition is found
The quantity of the commodity caused.
In addition to including identity information, current purchase order also include being intended to the kind of more new commodity, number change starting point and
Number change terminal.It should be noted that when searching less than the business consistent with type of merchandize to be updated in corresponding sub-order
During product, the quantity of accessed commodity is 0.
Step S505: judge that the number change starting point being intended to more new commodity is the most consistent with acquired commodity amount.
When the number change starting point being intended to more new commodity is consistent with acquired commodity amount, perform step S506.Work as desire
When the number change starting point of more new commodity is inconsistent with acquired commodity amount, abandon current purchase order, perform step
S507.Such as, the kind being intended to more new commodity in current purchase order is commodity A, and number change starting point is 1, number change terminal
It is 2.When the quantity of commodity A is 1 in the sub-order found, then judges the number change starting point being intended to more new commodity and obtained
The commodity amount taken is consistent, when the quantity of commodity A is not 1 in the sub-order found, then judges to be intended to the number of more new commodity
Amount change starting point is inconsistent with acquired commodity amount.
Step S506: update corresponding sub-order according to current purchase order, the sub-order after updating is sent to each
Client.
Concrete, the detailed description of the invention updating corresponding sub-order according to current purchase order can be: when corresponding
When sub-order exists the commodity consistent with the kind being intended to more new commodity, corresponding sub-order will be intended to the quantity of more new commodity more
The new number change terminal for being intended to more new commodity in current purchase order;When corresponding sub-order not existing and being intended to more new commodity
Kind consistent commodity time, by the sub-order being intended to more new commodity in current purchase order and adding to correspondence, and quantity is for working as
Front purchase order is intended to the number change terminal of more new commodity.
Such as, in many sub-orders received of active client a, corresponding to commodity A in the sub-order of client a
Quantity is 1.Assume that the revising of user that client a receives operates as the quantity of commodity A is increased to 2 by 1.Now, client
The purchase order that end a is generated based on corresponding sub-order is: being intended to more new commodity is commodity A, and commodity A number change starting point is 1,
Number change terminal is 2.After server gets this purchase order, perform step S504, obtain storage in server with visitor
The quantity of commodity A in the sub-order of family end a binding.Continue executing with step S505, if the quantity of the commodity A got is 1, hold
Row step S506, the son after the quantity of commodity A is updated to 2, and renewal in the sub-order will bound with client a in server is ordered
Single-shot delivers to all clients;If the quantity of the commodity A got not is 1, illustrate that current purchase order is invalid, abandon current
Purchase order, in the sub-order bound with client a in server, the quantity of commodity A is still 1.
Step S507: whether receive purchase and complete instruction?
Buy instruction to be sent by with current any one client buying operation binding.If server receives
To purchase complete instruction time, perform step S508.If server does not receives purchase and completes instruction, repeated execution of steps S503 is extremely
Step S507, until getting purchase to complete instruction.
Step S508: generate according to the sub-order after multiple renewals and buy blanket order.
Now, enter with at least one in many sub-orders to initial creation according to above-mentioned steps S502 to step S506
One or many of having gone updates operation.When getting purchase and completing instruction, the renewal cut-off of the most sub-orders, server is not
Receive purchase order again, generate according to currently stored sub-order and buy blanket order.Particularly as follows: obtain and currently buy operation
The kind of commodity and the quantity of every kind of commodity in the sub-order corresponding to all clients of binding, and by the commodity of identical type
Quantity adds up, thus obtains buying blanket order.
It should be noted that this buys in blanket order in addition to the quantity of the kind and every kind of commodity that include commodity, also may be used
To include current pay status, consignee information etc..
The present embodiment realize multiple client share one buy operation on the basis of, by add step S503 to step
Rapid S505 can ensure the idempotence of synchrodata effectively, it is ensured that network connection status between a client and a server
When inferior service device does not responds to, server is not by the latest update data institute that cannot obtain server due to client in time
The maloperation caused processes.
Such as, commodity A in the sub-order a corresponding to client a that the server received by active client a sends
Quantity is 1.Now, the quantity of commodity A is increased to 2 by 1 based on above-mentioned sub-order a by user A, and client a receives user A's
Generate purchase order I after amendment operation and be sent to server.But, owing to network condition is poor, server do not have and
Time response, in sub-order a shown client a in, the quantity of commodity A is still 1, i.e. server is not timely by sub-order a's
Update result and be sent to client a.If now, user A performs by 1, the quantity of commodity A is increased to 2 again in client a
Operation then can be understood as a maloperation.
In concrete application, the data structure that can add From and To in purchase order realizes above-mentioned steps S503
To step S505.Such as, the purchase order that client a sends includes that { skuId:A, from:1, to:2} represent data structure
The quantity of the commodity that kind is A is changed to 2 by 1.
Based on above-mentioned embodiment, the embodiment of the present invention additionally provides another embodiment, is possible not only to prevent client
When network connection status between end and server is poor or server does not responds to, client cannot obtain in server in time
The maloperation caused with the current latest update data buying initial order corresponding to operation, it is also possible to prevent two or two
Above client is directed to the amendment operation of the same commodity under same sub-order and clashes.
As shown in Figure 6, a kind of purchase that the embodiment of the present invention provides operates sharing method, at least comprises the following steps S601
To step S611.
Step S601: buy operation create many sub-orders according to current, will many sub-orders send extremely with described currently
Buy all clients of operation binding.
Wherein, each sub-order is bound with a client respectively, for recording the business that the client of correspondence is bought
Kind class and quantity.Under original state, when the most all clients all do not send purchase order, all sub-orders all do not has business
Product data.Each client all can show all of sub-order, in order to participates in current each the using buying operation and per family may be used
To be known from oneself or the purchase situation of other users in time.
Additionally, commodity are all to Ying You version number each of in each sub-order.It should be noted that in sub-order not
The version number that the commodity of existence are corresponding is 0.
Step S602: obtain the purchase order that multiple client generates based on the sub-order received.
Each client all can show all sub-orders.Each client can sub-order based on self correspondence
Generate purchase order and be sent to server, it is also possible to generating purchase order based on the sub-order corresponding to other clients, i.e.
Each client can revise the sub-order of self correspondence, it is also possible to revises the sub-order corresponding to other clients.Now,
Each purchase order received by server is based on a sub-order generation, i.e. each purchase order is the most corresponding
In a sub-order.
Step S603: search the sub-order corresponding with current purchase order, obtains in the sub-order found with current
The version number of the commodity that type of merchandize to be updated included by purchase order is consistent is as first version number;
Each purchase order, according to the time sequencing of the purchase order receiving the transmission of multiple client, is made by server
For current purchase order.
Wherein, the embodiment obtaining the sub-order corresponding with current purchase order can be: can arrange in server
Having the second corresponding table, this second corresponding table includes the corresponding relation of each sub-order and its identification information.Each is bought
Order is all based on sub-order and generates, and therefore, purchase order includes the identification information of corresponding sub-order.Now, according to
Current identification information included by purchase order i.e. can find the sub-order of correspondence.Certainly, it should be noted that searched
To sub-order can be and sub-order corresponding to client sending current purchase order, it is also possible to corresponding with other clients
Sub-order.
Additionally, current purchase order also includes: be intended to the kind of more new commodity, number change starting point and number change terminal.
Obtain the version number of commodity consistent with the type of merchandize to be updated included by current purchase order in the sub-order found
Detailed description of the invention as first version number can be: obtains the kind being intended to more new commodity included by current purchase order,
Searching the commodity that kind is consistent with the acquired kind being intended to more new commodity in the sub-order found, acquisition is found
Version number corresponding to commodity is as first version number.
The sub-order found does not exists and the business to be updated included by current purchase order it should be noted that work as
During the consistent commodity of kind class, accessed first version number is 0.
Step S604: with the type of merchandize to be updated included by current purchase order in the sub-order that acquisition is found
The quantity of the commodity caused.
It should be noted that when searching in corresponding sub-order less than consistent with type of merchandize to be updated commodity,
The quantity of accessed commodity is 0.
Step S605: judge that the number change starting point being intended to more new commodity is the most consistent with acquired commodity amount.
When the quantity that the number change starting point being intended to more new commodity is corresponding with the commodity found is consistent, perform step
S606.When the quantity corresponding with the commodity found when the number change starting point being intended to more new commodity is inconsistent, perform step S610.
The detailed description of the invention of step S605 is referred to step S505 in above-described embodiment, does not repeats them here.
Step S606: again obtain in the sub-order that found with current purchase order included by be intended to more new commodity kind
The version number of the commodity that class is consistent is as the second edition number;
Step S607: judge that whether the second edition number is equal to first version number?
When the second edition number is equal to first version, perform step S608.When the second edition number is not equal to first version
Number time, represent that current purchase order is stale data, abandon current purchase order, perform step S610.
When step S605 judging, the quantity being intended to the number change starting point of more new commodity corresponding with the commodity found is consistent
Afterwards, in order to avoid the quantity of commodity consistent with type of merchandize to be updated in now corresponding with current purchase order order
Change, cause the situation that the data updated are inconsistent with the data acquired in step S604, need be updated operation
Step S606 and step S607 before, to ensure the data and the data consistent acquired in step S604 that update, it is ensured that renewal
Accuracy.
Such as, server receives include that client a sends corresponding to the purchase order of commodity A in certain sub-order the
The second purchase order that one purchase order and client b send.Wherein, the first purchase order is by commodity A in this sub-order
Quantity is increased to 2 by 1, and the second order is that by 1, the quantity of commodity A in this sub-order is reduced to 0.This situation is two visitors
Family end is directed to the situation that the amendment operation of the same commodity under same sub-order clashes.According to above-mentioned steps S603, step
Rapid S606 and step S607 can be effectively prevented from impact when above-mentioned conflict situations occurs and update the accuracy of result.
Assume when above-mentioned conflict situations occurs, when server performs step S603 to the first purchase order, obtained the
One version number is 1, and when the second purchase order is performed step S603, obtained first version number is also 1.But, compared to
The first purchase order that client a sends, the second purchase order that client b is first sent by server performs step S604 extremely
S608, and according to the second purchase order, the quantity of certain commodity above-mentioned in above-mentioned sub-order is updated so that above-mentioned son
The version number that in order, certain commodity is corresponding adds 1.Therefore, when server performs step S606 to the first purchase order, acquired
To the second edition number be 2, be unsatisfactory for the condition of step S607, now, server abandons the first purchase order, effectively ensures
The concordance of the data updated in data acquired in step s 604 and step S608, thus ensure that renewal result
Accuracy.
Step S608: in the sub-order that will be found, the quantity of corresponding goods is updated to and the number change being intended to more new commodity
Terminal is consistent, adds one by the version number of described corresponding goods.
When guaranteeing the accessed second edition number equal to first version, according to current purchase order to being found
Sub-order is updated operation.Specifically, the number of commodity consistent with the kind being intended to more new commodity in the sub-order that will be found
The number change terminal that amount is updated to included by current purchase order, and in the sub-order that will be found with the kind being intended to more new commodity
The version number of the commodity that class is consistent adds one.Such as, the kind being intended to more new commodity in current purchase order is commodity A, number change
Starting point is 1, and number change terminal is 2;In the sub-order found, the quantity of commodity A is 1, and version number is 1.Then will be found
In sub-order, the quantity of commodity A is updated to 2, and version number is updated to 2.
Step S609: the sub-order after updating sends to all clients with current purchase operation binding.
Sub-order after updating is sent to and currently buys all clients bound in operation, in order to each client
End can get up-to-date more new data.Concrete, server will update after sub-order send to described current purchase
The transmission mode of all clients of operation binding can be: the mode of http poll, it would however also be possible to employ push mode.
Step S610: whether receive purchase and complete instruction?
Buy instruction to be sent by with current any one client buying operation binding.If server receives
To purchase complete instruction time, perform step S611.If server does not receives purchase and completes instruction, repeated execution of steps S603 is extremely
Step S610, until getting purchase to complete instruction.
Step S611: generate according to the sub-order after multiple renewals and buy blanket order.
Step S610 is referred to step S507 of previous embodiment to step to the detailed description of the invention of step S611
S508, does not repeats them here.
In several of the above embodiments where, multiple clients are permissible with the detailed description of the invention of current purchase operation binding
For: according to preset rules, multiple clients are bought operation binding with one.
In a kind of embodiment of the embodiment of the present invention, buying operation, can be that server is directed to each businessman pre-
First create.Now, according to preset rules by multiple clients with a mode buying operation binding can be: server pin
Multiple purchase is pre-created for each businessman operate.Each purchase operation of current businessman is somebody's turn to do in all clients
A purchase operation entry association in current merchant page.Wherein, each is bought operation entry and is respectively provided with different specific
Mark, different specific identifiers is corresponding to different purchase operations.User is by merchant page current in click client
Buy operation entry for one generate bind request and be sent to server.Wherein, bind request includes this purchase operation entry
Specific identifier.When server receives this bind request, the specific identifier included according to this bind request, by this binding of transmission
The purchase operation that the client of request is corresponding with this specific identifier is bound, and sends a label information to all clients with right
This purchase operation entry is marked, and represents that client has been bound in the purchase operation that this purchase operation entry is corresponding.Such as, when
When user A, user B and user C click on same purchase operation entry by corresponding client respectively, server can obtain
Get the bind request that corresponding three clients send respectively, three clients sending bind request are all grasped with this purchase
Make the purchase operation binding corresponding to entrance.
Or, can be by the enforcement of corresponding with this businessman for a multiple clients purchase operation binding according to preset rules
Mode can also be: server is directed to each businessman and is pre-created multiple purchase operation, and buys operation pass for each
Join a mark sequence." obtaining mark sequence " icon and " starting point " it is provided with in each merchant page in client
Icon, when user clicks on " obtain mark sequence " icon, can get that server sends one unbound client
Buy operation associated by mark sequence.User clicks on " starting point " icon in merchant page, can open input mark
Serial interface.Mark sequence accessed by inputting in input mark serial interface further generates bind request and concurrently takes
Business device.Wherein, bind request includes the mark sequence that the user that user side gets inputs.Server is according to the binding got
Mark sequence included by request will send client and the corresponding purchase operation binding of this bind request.
Such as, when user A clicks on " obtaining mark sequence " icon by client a, client a can get service
The unbound mark sequence associated by operating of buying having client that device sends, user B and user C can be from user A
This mark sequence is known at place.User A clicks on " starting point " icon by client a, on the input mark serial interface opened
Inputting this mark sequence, client a and this mark sequence pair are answered after getting the bind request that client a sends by server
Buy operation binding.In like manner, user B clicks on " starting point " icon by client b, also at the input mark serial interface opened
This mark sequence of upper input, user C clicks on " starting point " icon by client c, also at the input mark serial interface opened
This mark sequence icon of upper input, server get after the bind request that client b and client c send by client a with
The purchase operation binding that client b is also answered with this mark sequence pair.
In the another embodiment of the embodiment of the present invention, buy operation and can also is that server sends according to client
Request to create create in real time.In order to avoid the waste of server resource, reduce later maintenance difficulty, in the embodiment of the present invention,
The establishment mode of purchase operation can be preferably server and create purchase operation in real time according to the needs of user.
In the present embodiment, multiple clients include a group primary client and multiple member client.Wherein, group host and guest family
End is for creating the client of this purchase operation, and member client is the client adding this purchase operation in addition to group primary client
End.As it is shown in fig. 7, a kind of purchase that the embodiment of the present invention provides operates sharing method, at least include that step S701 is to step
S715。
Wherein, step S701 and step S702 are that group primary client creates the current step buying operation.
Step S701: obtain the request to create that group primary client sends.
Wherein, described request to create includes the first label.First label can be that user inputs in group primary client
Password information, such as, this password information can be 1234.It is understood that in order to improve purchasing corresponding to this request to create
Buy operation and create successful probability, the complexity as far as possible that password information can be arranged.
Step S702: create according to described request to create and currently buy operation.
Concrete, step S702 is that server creates current purchase operation according to the request to create that group primary client sends
Method.Described method includes: judge the identity whether the first label of request to create operates with all purchases stored
Coupling;When the identity of described first label with all purchase operations stored is not mated, create and described establishment
The purchase operation that request is corresponding, buys operation binding by group primary client with current, using described first label as described currently
Buy identity and the checking password of operation.
Such as, in server, storage has the identity buying operation and buys the 3rd corresponding table of operation.Therefore, it can
Search, in the 3rd corresponding table, the identity that the first label included with request to create mates.When not finding and the first label
During the identity mated, server creates the purchase operation corresponding with described request to create.Further, by group primary client with
Current purchase operates binding, using described first label as the current identity buying operation and checking password.When finding
During the identity mated with the first label, establishment failure information to this group primary client can be sent and show, to point out user
Buy operation and create unsuccessfully, there is the purchase operation that this request to create is corresponding, needed to change request to create, namely change wound
Build the first label included by request.Certainly, when finding the identity mated with the first label, it is also possible to be by this group
Primary client adds already present purchase and operates the member client becoming this purchase operation.
In order to avoid identical request to create is to there being two situations buying operation, perform to create according to described request to create
Building during currently buying operation, when the request to create received within Preset Time and establishment, currently purchase operation institute is right
When the request to create answered is consistent, the request to create received within not performing this Preset Time.Wherein, Preset Time is for receiving
After the current request to create bought corresponding to operation, and get the current establishment bought and generate when operation has created
Complete the time period before instruction.
Wherein, current purchase operation establishment completes include the current purchase operation successful situation of establishment and currently buy behaviour
Make establishment failure scenarios, i.e. server all can generate when current purchase operation creates successfully or current purchase operation creates unsuccessfully
Establishment completes instruction.
Concrete, server creates current during buying operation, currently can be bought by buffer lock technology-locking
Operation, until current purchase operation creates successfully or currently buys operation and creates unsuccessfully.
In an embodiment of the present invention, server according to the request to create that group primary client sends complete this establishment please
After the current establishment buying operation that the first label of asking is corresponding, the identity information of above-mentioned group primary client can be marked
Note.
Further, step S703 and step S704 are the step that member client adds this purchase operation.
Step S703: obtain the purchase request that multiple member client sends.
Wherein, request of buying is corresponding to currently buying operation.It is to say, send out according to member client based on server
The request to create sent has successfully created current in the case of buying operation, when multiple member client need with group primary client altogether
When enjoying same purchase operation, multiple member client are respectively necessary for sending one and buy request to server.
Step S704: each member client is bought operation binding with current according to buying request.
Wherein, purchase request can include inputting password.Concrete, buy request by each described member visitor according to described
Family end and the described current mode buying operation binding can be by: search the institute of input password and the checking password match inputted
There is member client, all member client found are bought operation binding with current.It is understood that as group master
When user corresponding to the client user the most corresponding with multiple member client has appointed shared same shopping operation, many
User corresponding to individual member client can know the current checking password buying operation at the user that group primary client is corresponding,
I.e. first label, to ensure the checking that the input password that the purchase that multiple member client is sent is asked operates with current purchase
Password match.
Step S705: buy many sub-orders of operation establishment according to current, the plurality of sub-order is sent to described
The current group primary client buying operation binding and all member client.
The detailed description of the invention of step S705 is referred to step S602 in previous embodiment, does not repeats them here.
Step S706: the purchase that acquisition group primary client and member client generate based on the sub-order received is ordered
Single.
In the present embodiment, currently buying operation to preferably manage, group primary client can be based on group primary client institute
Corresponding sub-order sends purchase order, it is also possible to send purchase order based on the sub-order that any member client is corresponding, and
Member client can only send purchase order by sub-order based on self correspondence.It is to say, in the present embodiment, group primary client
There is different authorities from member client.Show themselves in that member client can only revise the commodity that oneself is bought, and group host and guest family
End can be revised and the commodity of all clients currently buying operation binding.
Step S707: search the sub-order corresponding with current purchase order, obtains in the sub-order found with current
The version number of the commodity that type of merchandize to be updated included by purchase order is consistent is as first version number;
Step S708: with the type of merchandize to be updated included by current purchase order in the sub-order that acquisition is found
The quantity of the commodity caused.
Step S709: judge that the number change starting point being intended to more new commodity is the most consistent with acquired commodity amount.
When the number change starting point being intended to more new commodity is consistent with acquired commodity amount, perform step S710.Work as desire
When the number change starting point of more new commodity is inconsistent with acquired commodity amount, abandon current purchase order, perform step
S714。
Step S710: again obtain in the sub-order that found with current purchase order included by be intended to more new commodity kind
The version number of the commodity that class is consistent is as the second edition number.
Step S711: judge that whether the second edition number is equal to first version number?
When the second edition number is equal to first version, perform step S712.When the second edition number is not equal to first version
Number time, represent that current purchase order is stale data, abandon current purchase order, perform step S714.
Step S712: in the sub-order that will be found, the quantity of corresponding goods is updated to and the number change being intended to more new commodity
Terminal is consistent, adds one by the version number of described corresponding goods.
Step S713: the sub-order after updating send to the current group primary client buying operation binding and all become
Member's client.
Step S714: whether receive purchase and complete instruction?
In the present embodiment, for the ease of the current effective management buying operation, and if only if, and server receives crowd host and guest
When the purchase that family end sends completes instruction, generate according to current initial order and buy blanket order.It is to say, only group host and guest family
End has to send has bought the authority instructed, the authority i.e. placed an order, the authority that member client does not place an order.Purchase completes to refer to
Order includes the identity information of group primary client, can enter the identity information of group primary client in advance in above-mentioned steps S702
Line flag, in order to the identity information of server identification group primary client.If server receives purchasing of group primary client transmission
When having bought instruction, perform step S715.If server does not receives group purchase of primary client transmission and completes instruction, repeat to hold
Row step S707 is to step S714, until getting purchase to complete instruction.
Step S715: generate according to the sub-order after multiple renewals and buy blanket order.
In the present embodiment, step S707 to step S713 and step S715 are the most permissible to the detailed description of the invention of step S715
With reference to step S603 in previous embodiment to step S609 and step S611 to step S611, do not repeat them here.
It addition, when multiple clients 200 include group primary client 210 and multiple member client 220, real in the present invention
Execute example and additionally provide another kind of purchase operation shared system.As shown in Figure 8, in another kind buys operation shared system, multiple
Member client 220 and group primary client 210 carry out data interaction by network, between group primary client 210 and server 100
Data interaction is carried out by network.The purchase request generated is sent to group primary client 210 by multiple member client 220.Group
What primary client 210 generated according to self buys request and one purchase blanket order of received purchase request generation.This
After, the purchase blanket order generated is sent to server 100 by group primary client 210 again.
It addition, operate shared system based on the purchase shown in Fig. 8, the embodiment of the present invention additionally provides another kind of purchase and operates
Sharing method.As it is shown in figure 9, the method includes:
Step S901: multiple member client send purchase order to group primary client;
Wherein, group primary client and each member client all buy operation binding with current.Concrete binding method,
Refer to step S701 in above-described embodiment to step S704, do not repeat them here.
Step S902: group primary client generates according to acquired multiple purchase orders and buys blanket order;
The detailed description of the invention of step S902 is referred to the step 302 in above-described embodiment, does not repeats them here.
Step S903: the purchase blanket order generated is sent to server by group primary client.
The purchase blanket order of generation is sent to server by group primary client, server will buy blanket order and send to working as
The front businessman buying operation correspondence, in order to businessman will buy kind and the quantity of commodity corresponding to blanket order according to consignee information
Deliver to consignee.Wherein, server can buy blanket order current pay status be payment complete time, blanket order will be bought
Send and buy, to current, the businessman that operation is corresponding.Server memory contains multiple businessman and the merchant client corresponding with businessman
Identity information.Wherein, the identity information of merchant client can be address information or the businessman such as MAC Address of merchant client
The log-on message etc. of client.
It addition, the embodiment of the present invention additionally provides a kind of purchase operates sharing means 110, as shown in Figure 10, described device
Including: order acquisition module 412 and blanket order generation module 413.
Wherein, order acquisition module 412 obtain multiple client send purchase order, wherein, each client all with
Current purchase operates binding;
Blanket order generation module 413 buys blanket order for generating one according to acquired multiple described purchase order.
As shown in figure 11, in an embodiment of the present invention, operation sharing means 110 is bought except including that order obtains
Outside module 412 and blanket order generation module 413, also include initial order creation module 410.Initial order creation module 410
Create initial order for operating according to current purchase, described initial order is sent and operates binding to described current purchase
All clients.Now, described order acquisition module 412 is specifically for obtaining multiple clients based on the initial order received
And the purchase order generated.Described blanket order generation module 413 includes initial order updating block 511 and the first signal generating unit
512.Wherein, initial order updating block 511 for updating described initial order according to acquired purchase order, and by more
New initial order sends and operates, to described current purchase, all clients bound.First signal generating unit 512 is for basis
Initial order after renewal generates described purchase blanket order.
As shown in figure 12, in another embodiment of the invention, operation sharing means 110 is bought except including that order obtains
Outside delivery block 412 and blanket order generation module 413, also include sub-order creation module 411.Sub-order creation module 411 is used
In buying many sub-orders of operation establishment according to current, the plurality of sub-order is sent and operates binding to described current purchase
All clients.Now, described order acquisition module 412 is specifically for obtaining multiple described clients based on the son received
Order and the purchase order that generates.Described blanket order generation module 413 includes: sub-order updating block 521, transmitting element 522
With the second signal generating unit 523.Wherein, sub-order updating block 521 is for updating according to acquired each described purchase order
Corresponding sub-order.Transmitting element 522 is for being all sent to each described client by the sub-order after all renewals.Second
Signal generating unit 523 buys blanket order for generating according to the sub-order after multiple renewals.
In a kind of detailed description of the invention of the another kind of embodiment of the present invention, described purchase order includes being intended to more new commodity
Number change starting point and number change terminal, as shown in figure 13, described sub-order updating block 521 includes: first search son
Unit 611, first obtains subelement 612 and the first judgment sub-unit 613.Wherein, first search subelement 611 for search with
The sub-order that current purchase order is corresponding.First obtains subelement 612 is used for obtaining in the sub-order found and currently purchases
Buy the quantity of the consistent commodity of the type of merchandize to be updated included by order.First judgment sub-unit 613 is intended to update for judgement
The number change starting point of commodity is the most consistent with acquired commodity amount, when being intended to the number change starting point of more new commodity and being obtained
When the commodity amount that takes is consistent, update corresponding sub-order according to current purchase order.
In the another kind of detailed description of the invention of the another kind of embodiment of the present invention, described purchase order includes business to be updated
The number change starting point of product and number change terminal, commodity are all to Ying You version number each of in each described sub-order.
As shown in figure 14, described sub-order updating block 521 includes: second obtains subelement the 621, the 3rd obtains subelement 622, second
Judgment sub-unit 623 and the 3rd judgment sub-unit 624.Wherein, second subelement 621 is obtained for searching and current purchase order
Corresponding sub-order, obtains in the sub-order found consistent with the type of merchandize to be updated included by current purchase order
The version number of commodity is as first version number.3rd obtains subelement 622 for obtaining in the sub-order found with current
The quantity of the commodity that type of merchandize to be updated included by purchase order is consistent.Second judgment sub-unit 623 is intended to more for judgement
The number change starting point of new commodity is the most consistent with acquired commodity amount, when the number change starting point and the institute that are intended to more new commodity
When quantity that the commodity that find are corresponding is consistent, again obtain in the sub-order found with the desire included by current purchase order
Update the version number of the consistent commodity of type of merchandize as the second edition number.3rd judgment sub-unit 624 is used for judging the second edition
Whether this number equal to first version number, when the second edition number is equal to first version, correspondence business in the sub-order that will be found
The quantity of product is updated to consistent with the number change terminal being intended to more new commodity, adds one by the version number of described corresponding goods.
Further, the plurality of client includes a group primary client and multiple member client.As shown in figure 15,
The embodiment of the present invention additionally provides another kind of purchase and operates sharing means 110.This purchase operation sharing means 110 includes: create
Acquisition request module 406, purchase operation creation module 407, purchase acquisition request module 408, binding module 409, sub-order wound
Modeling block 411, order acquisition module 412 and blanket order generation module 413.Described blanket order generation module 413 includes sub-order
Updating block 521, transmitting element 522 and the second signal generating unit 523.Described sub-order updating block 521 includes: second obtains son
Unit the 621, the 3rd obtains subelement the 622, second judgment sub-unit 623 and the 3rd judgment sub-unit 624.
Wherein, request to create acquisition module 406 is for obtaining the request to create that group primary client sends, described request to create
Including the first label;
Buy operation creation module 407 to be used for creating described current purchase operation, by described group according to described request to create
Primary client with described current buy operation binding, using described first label as described current buy operation identity and
Checking password;
Buy the purchase request that acquisition request module 408 sends, wherein, described purchase for obtaining multiple member client
Corresponding described current purchase of request operates;
Binding module 409 is for buying request by each described member client and described current purchase operation according to described
Binding.
Further, described operation creation module 407 of buying is specifically for when described first label and owning of being stored
When the identity of purchase operation is not mated, create according to described request to create and buy operation.
Further, described purchase request includes inputting password, and described binding module 409 is inputted specifically for lookup
The all member client found are worked as by input password and all member client of described checking password match with described
Front purchase operates binding.
In order to avoid identical request to create is to there being two situations buying operation, this purchase operation sharing means is also wrapped
Include locking module.Described locking module is for when the request to create received within Preset Time and the described current purchase of establishment
When request to create corresponding to operation is consistent, the request to create received within not performing this Preset Time, wherein, described preset
Time be receive with described current buy operation corresponding to request to create after, and get described current buy operation
The establishment generated when having created completes the time period before instruction.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through
Other mode realizes.Device embodiment described above is only schematically, such as, and the flow chart in accompanying drawing and block diagram
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this, each square frame in flow chart or block diagram can represent a module, program segment or the one of code
Part, a part for described module, program segment or code comprises holding of one or more logic function for realizing regulation
Row instruction.It should also be noted that at some as in the implementation replaced, the function marked in square frame can also be to be different from
The order marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially perform substantially in parallel, and they are the most also
Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of the square frame in individual square frame and block diagram and/or flow chart, can be with function or the special base of action performing regulation
System in hardware realizes, or can realize with the combination of specialized hardware with computer instruction.
It addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation
Point, it is also possible to it is modules individualism, it is also possible to two or more modules are integrated to form an independent part.
If described function is using the form realization of software function module and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.Need
Illustrate, in this article, the relational terms of such as first and second or the like be used merely to by an entity or operation with
Another entity or operating space separate, and there is any this reality between not necessarily requiring or imply these entities or operating
The relation on border or order.And, term " includes ", " comprising " or its any other variant are intended to the bag of nonexcludability
Contain, so that include that the process of a series of key element, method, article or equipment not only include those key elements, but also include
Other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.
In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including described key element
Process, method, article or equipment in there is also other identical element.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (18)
1. buy operation sharing method for one kind, it is characterised in that described method includes:
Obtaining the purchase order that multiple client sends, wherein, each described client all buys operation binding with current;
Generate one according to acquired multiple described purchase order and buy blanket order.
Method the most according to claim 1, it is characterised in that described obtains the purchase order that multiple clients send,
A step buying blanket order is generated according to acquired multiple described purchase order, including:
Buy many sub-orders of operation establishment according to current, the plurality of sub-order is sent to tying up with described current purchase operation
Fixed all clients;
Obtain the purchase order that multiple described client generates based on the described sub-order received;
According to the sub-order corresponding to acquired each described purchase order renewal;
Sub-order after all renewals is all sent to each described client;
Generate according to the sub-order after multiple renewals and buy blanket order.
Method the most according to claim 2, it is characterised in that described purchase order includes the number change being intended to more new commodity
Starting point and number change terminal, the described step according to the sub-order corresponding to acquired each described purchase order renewal
Suddenly, including:
Search the described sub-order corresponding with current purchase order;
Obtain commodity consistent with the type of merchandize to be updated included by described current purchase order in the sub-order found
Quantity;
Judge that the number change starting point being intended to more new commodity is the most consistent with acquired commodity amount, when the quantity being intended to more new commodity
When change starting point is consistent with acquired commodity amount, update corresponding sub-order according to described current purchase order.
Method the most according to claim 2, it is characterised in that described purchase order includes the number change being intended to more new commodity
Starting point and number change terminal, commodity are all to Ying You version number each of in each described sub-order, described according to institute
The step of the sub-order corresponding to the renewal of each described purchase order obtained, including:
Search the described sub-order corresponding with current purchase order, obtain in the sub-order found and order with described current purchase
The described version number of the commodity that type of merchandize to be updated included by list is consistent is as first version number;
Obtain commodity consistent with the type of merchandize to be updated included by described current purchase order in the sub-order found
Quantity;
Judge that the number change starting point being intended to more new commodity is the most consistent with acquired commodity amount;
When the quantity that the number change starting point being intended to more new commodity is corresponding with the commodity found is consistent, again obtains and found
Sub-order in the described version number conduct of commodity consistent with the type of merchandize to be updated included by described current purchase order
The second edition number;
Judge whether the described second edition number is equal to described first version number, when the described second edition number is equal to described first version
Number time, in the sub-order that will be found, the quantity of corresponding goods is updated to consistent with the number change terminal being intended to more new commodity, will
The described version number of described corresponding goods adds one.
Method the most according to claim 1, it is characterised in that the plurality of client includes member client, described
Before obtaining the step of the purchase order that multiple client sends, also include:
Obtaining the purchase request of multiple described member client transmission, wherein, described purchase asks corresponding described current purchase behaviour
Make;
Request is bought by each described member client and described current purchase operation binding according to described.
Method the most according to claim 5, it is characterised in that the plurality of client includes a group primary client, institute
Before the step obtaining the purchase request that multiple described member client send stated, also include:
Obtaining the request to create that described group primary client sends, described request to create includes the first label;
Create described current purchase according to described request to create to operate, described group primary client is tied up with described current purchase operation
Fixed;
Using described first label as the described current identity buying operation and checking password.
Method the most according to claim 6, it is characterised in that also include:
When the described request to create received within Preset Time is asked with creating the described current establishment bought corresponding to operation
When asking consistent, the described request to create received within not performing described Preset Time, wherein, described Preset Time is for receiving
After the described current request to create bought corresponding to operation, and get when described current purchase operation establishment completes raw
The establishment become completes the time period before instruction.
Method the most according to claim 6, it is characterised in that described purchase request includes inputting password, described basis
Each described member client is operated, with described current purchase, the step bound by described purchase request, including:
Search all member client of described input password and the described checking password match inputted, the institute that will be found
Member client is had to operate binding with described current purchase.
Method the most according to claim 6, it is characterised in that described currently purchases according to the establishment of described request to create is described
Buy the step of operation, including:
When the identity of described first label with all purchase operations stored is not mated, according to described request to create
Create described current purchase to operate.
10. buy operation sharing means for one kind, it is characterised in that described device includes:
Order acquisition module, for obtaining the purchase order that multiple client sends, wherein, each client is all bought with current
Operation binding;
Blanket order generation module, buys blanket order for generating one according to acquired multiple described purchase order.
11. devices according to claim 10, it is characterised in that described device also includes:
Sub-order creation module, for creating many sub-orders according to current purchase operation, sends the plurality of sub-order extremely
With the described current all clients buying operation binding;
Described order acquisition module generates based on the described sub-order received specifically for obtaining multiple described clients
Purchase order;
Described blanket order generation module includes:
Sub-order updating block, for according to the sub-order corresponding to acquired each described purchase order renewal;
Transmitting element, for being all sent to each described client by the sub-order after all renewals;
Second signal generating unit, buys blanket order for generating according to the sub-order after multiple renewals.
12. devices according to claim 11, it is characterised in that described purchase order includes that the quantity being intended to more new commodity becomes
Changing starting point and number change terminal, described sub-order updating block includes:
First searches subelement, for searching the described sub-order corresponding with current purchase order;
First obtains subelement, for obtain in the sub-order that found with described current purchase order included by be intended to update
The quantity of the commodity that type of merchandize is consistent;
First judgment sub-unit, for judging to be intended to the number change starting point of more new commodity and acquired commodity amount whether
Cause, when the number change starting point being intended to more new commodity is consistent with acquired commodity amount, according to described current purchase order more
New corresponding sub-order.
13. devices according to claim 11, it is characterised in that described purchase order includes that the quantity being intended to more new commodity becomes
Changing starting point and number change terminal, commodity are all to Ying You version number each of in each described sub-order, described sub-order
Updating block includes:
Second obtains subelement, for searching the described sub-order corresponding with current purchase order, obtains the son found and orders
The described version number of the commodity that type of merchandize to be updated included by current purchase order described in Dan Zhongyu is consistent is as the first edition
This number;
3rd obtains subelement, for obtain in the sub-order that found with described current purchase order included by be intended to update
The quantity of the commodity that type of merchandize is consistent;
Second judgment sub-unit, for judging to be intended to the number change starting point of more new commodity and acquired commodity amount whether
Cause, when the quantity that the number change starting point being intended to more new commodity is corresponding with the commodity found is consistent, again obtains and found
Sub-order in the described version number conduct of commodity consistent with the type of merchandize to be updated included by described current purchase order
The second edition number;
3rd judgment sub-unit, is used for judging whether the described second edition number is equal to described first version number, when the described second edition
This number equal to described first version time, in the sub-order that will be found, the quantity of corresponding goods is updated to and be intended to more new commodity
Number change terminal is consistent, adds one by the described version number of described corresponding goods.
14. devices according to claim 10, it is characterised in that the plurality of client includes member client, described
Device also includes:
Buying acquisition request module, for obtaining the purchase request that multiple described member client sends, wherein, described purchase please
Corresponding described current purchase is asked to operate;
Binding module, for buying request by each described member client and described current purchase operation binding according to described.
15. devices according to claim 14, it is characterised in that the plurality of client includes a group primary client,
Described device also includes:
Request to create acquisition module, for obtaining the request to create that described group primary client sends, described request to create includes the
One label;
Buy operation creation module, for creating described current purchase operation according to described request to create, by described group host and guest family
End operates binding with described current purchase, as the described current identity buying operation and verifies close using described first label
Code.
16. devices according to claim 15, it is characterised in that described device also includes:
Locking module, is used for when the described request to create received within Preset Time operates institute with creating described current purchase
When corresponding request to create is consistent, the described request to create received within not performing described Preset Time, wherein, described default
Time be receive with described current buy operation corresponding to request to create after, and get described current buy operation
The establishment generated when having created completes the time period before instruction.
17. devices according to claim 15, it is characterised in that described purchase request includes inputting password, described binding
Module specifically for:
Search all member client of described input password and the described checking password match inputted, the institute that will be found
Member client is had to operate binding with described current purchase.
18. devices according to claim 15, it is characterised in that described purchase operation creation module specifically for:
When the identity of described first label with all purchase operations stored is not mated, according to described request to create
Create described current purchase to operate.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610694459.5A CN106296365A (en) | 2016-08-19 | 2016-08-19 | A kind of purchase operates sharing method and device |
CN202010308005.6A CN111523971A (en) | 2016-08-19 | 2016-08-19 | Purchasing operation sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610694459.5A CN106296365A (en) | 2016-08-19 | 2016-08-19 | A kind of purchase operates sharing method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010308005.6A Division CN111523971A (en) | 2016-08-19 | 2016-08-19 | Purchasing operation sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106296365A true CN106296365A (en) | 2017-01-04 |
Family
ID=57661699
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610694459.5A Pending CN106296365A (en) | 2016-08-19 | 2016-08-19 | A kind of purchase operates sharing method and device |
CN202010308005.6A Withdrawn CN111523971A (en) | 2016-08-19 | 2016-08-19 | Purchasing operation sharing method and device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010308005.6A Withdrawn CN111523971A (en) | 2016-08-19 | 2016-08-19 | Purchasing operation sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106296365A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679988A (en) * | 2017-07-25 | 2018-02-09 | 上海壹账通金融科技有限公司 | Fund group purchase method, system and storage medium |
CN107944790A (en) * | 2017-11-22 | 2018-04-20 | 四川瑞斯佳宴科技有限公司 | Food materials purchasing management method and device |
CN109242596A (en) * | 2018-08-01 | 2019-01-18 | 北京辰森世纪科技股份有限公司 | Method of ordering and device |
WO2019061610A1 (en) * | 2017-09-26 | 2019-04-04 | 平安科技(深圳)有限公司 | Name list management method, apparatus and system, and computer-readable storage medium |
CN109829771A (en) * | 2017-11-23 | 2019-05-31 | 上海沃鎏波洱电子商务有限公司 | One key purchase method of one kind and system |
CN110490705A (en) * | 2019-08-13 | 2019-11-22 | 蚌埠聚本电子商务产业园有限公司 | A kind of multi-user electronic commercial affairs commodity sharing method and shared purchase system |
CN110852828A (en) * | 2019-09-27 | 2020-02-28 | 口碑(上海)信息技术有限公司 | Data processing method, device and system |
CN111461834A (en) * | 2020-03-31 | 2020-07-28 | 时时同云科技(成都)有限责任公司 | Order processing method and device and order display method and device |
CN113011865A (en) * | 2019-09-16 | 2021-06-22 | 口碑(上海)信息技术有限公司 | Multi-user order ordering method, server and client |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377437A (en) * | 2012-04-27 | 2013-10-30 | 纽海信息技术(上海)有限公司 | Order combining system and method |
CN103716370A (en) * | 2013-10-13 | 2014-04-09 | 北界创想(北京)软件有限公司 | Method and device for data synchronization between multiple clients |
CN104992357A (en) * | 2015-07-10 | 2015-10-21 | 拉扎斯网络科技(上海)有限公司 | Order splicing method and device |
CN105321055A (en) * | 2014-06-24 | 2016-02-10 | 深圳市迅享科技有限公司 | Order combining method and system for increasing takeout distribution efficiency |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880968A (en) * | 2011-07-13 | 2013-01-16 | 杨裴生 | Website framework of gathered-order transaction |
CN114066361A (en) * | 2012-11-28 | 2022-02-18 | 北京京东尚科信息技术有限公司 | Order splicing method and system |
CN103745367A (en) * | 2014-01-13 | 2014-04-23 | 许弘毅 | Order combination unit for purchasing platform system and purchasing platform system |
CN103870987A (en) * | 2014-03-13 | 2014-06-18 | 上海云享科技有限公司 | Group purchase method and system |
CN104506627B (en) * | 2014-12-26 | 2019-07-02 | 厦门雅迅网络股份有限公司 | A kind of deskmate dining more plates of personnel method for ordering and system simultaneously |
CN105635140B (en) * | 2015-12-28 | 2019-05-24 | Tcl集团股份有限公司 | A kind of method for ordering dishes based on two dimensional code, system and mobile terminal and server end |
-
2016
- 2016-08-19 CN CN201610694459.5A patent/CN106296365A/en active Pending
- 2016-08-19 CN CN202010308005.6A patent/CN111523971A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377437A (en) * | 2012-04-27 | 2013-10-30 | 纽海信息技术(上海)有限公司 | Order combining system and method |
CN103716370A (en) * | 2013-10-13 | 2014-04-09 | 北界创想(北京)软件有限公司 | Method and device for data synchronization between multiple clients |
CN105321055A (en) * | 2014-06-24 | 2016-02-10 | 深圳市迅享科技有限公司 | Order combining method and system for increasing takeout distribution efficiency |
CN104992357A (en) * | 2015-07-10 | 2015-10-21 | 拉扎斯网络科技(上海)有限公司 | Order splicing method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679988A (en) * | 2017-07-25 | 2018-02-09 | 上海壹账通金融科技有限公司 | Fund group purchase method, system and storage medium |
WO2019019245A1 (en) * | 2017-07-25 | 2019-01-31 | 上海壹账通金融科技有限公司 | Fund portfolio purchase method and system, and storage medium |
WO2019061610A1 (en) * | 2017-09-26 | 2019-04-04 | 平安科技(深圳)有限公司 | Name list management method, apparatus and system, and computer-readable storage medium |
CN107944790A (en) * | 2017-11-22 | 2018-04-20 | 四川瑞斯佳宴科技有限公司 | Food materials purchasing management method and device |
CN109829771A (en) * | 2017-11-23 | 2019-05-31 | 上海沃鎏波洱电子商务有限公司 | One key purchase method of one kind and system |
CN109242596A (en) * | 2018-08-01 | 2019-01-18 | 北京辰森世纪科技股份有限公司 | Method of ordering and device |
CN110490705A (en) * | 2019-08-13 | 2019-11-22 | 蚌埠聚本电子商务产业园有限公司 | A kind of multi-user electronic commercial affairs commodity sharing method and shared purchase system |
CN113011865A (en) * | 2019-09-16 | 2021-06-22 | 口碑(上海)信息技术有限公司 | Multi-user order ordering method, server and client |
CN113011865B (en) * | 2019-09-16 | 2024-01-02 | 口碑(上海)信息技术有限公司 | Multi-user ordering method, server and client |
CN110852828A (en) * | 2019-09-27 | 2020-02-28 | 口碑(上海)信息技术有限公司 | Data processing method, device and system |
CN111461834A (en) * | 2020-03-31 | 2020-07-28 | 时时同云科技(成都)有限责任公司 | Order processing method and device and order display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111523971A (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106296365A (en) | A kind of purchase operates sharing method and device | |
Zhang et al. | Flexible job-shop scheduling/rescheduling in dynamic environment: a hybrid MAS/ACO approach | |
CN108153670A (en) | A kind of interface test method, device and electronic equipment | |
JP7157798B6 (en) | Blockchain-based systems and methods for communicating, storing, and processing data over blockchain networks | |
CN107038200A (en) | Business data processing method and system | |
CN104620276A (en) | Attendee suggestion for events based on profile information on a social networking site | |
CN101855647A (en) | The profiling system that is used for the online marketplace | |
CN107547214A (en) | Group's reading method, electronic equipment and computer-readable storage medium based on e-book | |
WO2020199785A1 (en) | Processing method and computing method for private data, and applicable device | |
CN106599725B (en) | The randomization method for secret protection of diagram data publication | |
CN111641629A (en) | Abnormal behavior detection method, device, equipment and storage medium | |
US20200014632A1 (en) | Resource path monitoring | |
US11120376B2 (en) | Flexible work breakdown structure | |
CN108009437A (en) | Data publication method and apparatus and terminal | |
US20190295081A1 (en) | System and Method for the Verification and Visualization of Subcomponents in a Product | |
CN109726119A (en) | Test scene creation method, application method, device, client and server | |
CN111221449A (en) | Method and device for establishing and displaying sharing type activity and electronic equipment | |
CN109345252A (en) | A kind of online trading control method, device and computer equipment | |
CN108921502B (en) | Project process tracking method and device | |
CN111488349A (en) | Data query method and device based on service data block chain | |
Afrianto et al. | Prototype Blockchain Based Smart Contract For Freelance Marketplace System | |
US20230049322A1 (en) | Information processing method, device, system, and computer-readable storage medium | |
CN112286703B (en) | User classification method and device, client device and readable storage medium | |
CN110019456A (en) | Data lead-in method, device and system | |
Filho et al. | Asynchronous teams for joint lot-sizing and scheduling problem in flow shops |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
RJ01 | Rejection of invention patent application after publication |