CN110533497A - Order generation method and system, electronic equipment and storage medium - Google Patents

Order generation method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN110533497A
CN110533497A CN201810518012.1A CN201810518012A CN110533497A CN 110533497 A CN110533497 A CN 110533497A CN 201810518012 A CN201810518012 A CN 201810518012A CN 110533497 A CN110533497 A CN 110533497A
Authority
CN
China
Prior art keywords
address
order
stock
inventory
demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810518012.1A
Other languages
Chinese (zh)
Inventor
苗圣全
李煜家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810518012.1A priority Critical patent/CN110533497A/en
Publication of CN110533497A publication Critical patent/CN110533497A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Abstract

The invention discloses a kind of order generation method and systems, electronic equipment and storage medium.The order generation method includes: to obtain multiple shipping addresses;Search result is filtered according to the multiple shipping address;Described search result includes object information;When receiving Object Selection instruction, select at least one as target object information from the object information;When receiving lower single operational order, an order is generated according to the target object information and for each shipping address.It realizes that batch places an order using the present invention, executes excessive duplicate operation without user, simple and convenient, user experience is preferable.

Description

Order generation method and system, electronic equipment and storage medium
Technical field
The present invention relates to a kind of Internet technical field, in particular to a kind of order generation method that batch places an order and it is System, electronic equipment and storage medium.
Background technique
Batch, which places an order, refers to client in such a way that multiple orders complete the lower list of a buying task.Why using multiple Order is often caused by multiple shipping addresses involved in buying task.In the prior art, need user to each when batch is lower single Time following below scheme of order operation of shipping address: selecting object plus shopping cart place an order, and the batch of same goods difference location is ordered Single, user needs to be implemented many duplicate operations, takes time and effort.
Summary of the invention
The technical problem to be solved by the present invention is in order to overcome the mode user to place an order in batches in the prior art to need to be implemented Many duplicate operations, the defect taken time and effort provide a kind of order generation method and system, electronic equipment and storage medium.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of order generation method, the order generation method include:
Obtain multiple shipping addresses;
Search result is filtered according to the multiple shipping address;Described search result includes object information;
When receiving Object Selection instruction, select at least one as target object information from the object information;
When receiving lower single operational order, one is generated according to the target object information and for each shipping address Order.
Preferably, the object information includes the quantity in stock of at least an inventory address and each inventory address;
Preferably, before the step of being filtered according to the multiple shipping address to search result, further includes:
Obtain quantity on order;
The quantity on order is the demand of the object of each order;
The step of being filtered according to the multiple shipping address to search result specifically includes:
The demand of inventory corresponding with shipping address address is counted according to the quantity on order;
The demand of each inventory address is compared with quantity in stock, filters out the inventory for being less than demand comprising quantity in stock The object information of address.
Preferably, according to the quantity on order count inventory corresponding with shipping address address demand the step of it Afterwards, further includes:
It is base stock address by inventory's address mark that demand is maximum value and/or minimum value;
Before the step of demand of each inventory address is compared with quantity in stock, further includes:
Judge whether the demand of the base stock address is greater than the quantity in stock of the base stock address;
If being judged as YES, the object information comprising base stock address is filtered out;
If being judged as NO, the step of being compared the demand of each inventory address with quantity in stock is executed;
And/or according to the quantity on order count inventory corresponding with shipping address address demand the step of after, Further include:
Calculate the average value of the average value and quantity in stock of the demand of inventory address in each object information;
Before the step of demand of each inventory address is compared with quantity in stock, further includes:
Judge whether the average value of the demand is greater than the average value of the quantity in stock;
If being judged as YES, filter out the demand average value be greater than the quantity in stock average value object information;
If being judged as NO, the step of being compared the demand of each inventory address with quantity in stock is executed.
Preferably, the synchronous quantity in stock for executing each inventory address described in different object informations is compared with demand;
And/or it synchronizes and executes the quantity in stock of base stock address and the ratio of the demand described in different object informations Compared with;
And/or the synchronous average value for executing quantity in stock in different object informations is compared with the average value of the demand.
Preferably, the order generation method further include:
Obtain the duration that can receive delay delivery;
The step of search result is filtered according to the multiple shipping address, further includes:
Transportation inventory amount in the duration and the quantity in stock that replenishes be can be regarded as into the quantity in stock.
Preferably, after the step of generating an order for each shipping address, further includes:
When receiving quantity modification instruction, the quantity on order of the object in the order is modified.
A kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, the processor realize order generation method described in any of the above embodiments when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of order generation method described in any of the above embodiments is realized when row.
A kind of order generating system, the order generating system include:
Address acquisition module, for obtaining multiple shipping addresses;
Filtering module, for being filtered according to the multiple shipping address to search result;Described search result includes Object information;
Selecting module, for receive Object Selection instruction when, selected from the object information at least one as Target object information;
Order generation module, for according to the target object information and being directed to every when receiving lower single operational order A shipping address generates an order.
Preferably, the object information includes the quantity in stock of at least an inventory address and each inventory address;
Preferably, the order generating system further include:
Order numbers obtain module, for obtaining quantity on order;
The quantity on order is the demand of the object of each order;
The filtering module includes:
Computing unit, for counting the demand of inventory corresponding with shipping address address according to the quantity on order;
First filter element is filtered out for the demand of each inventory address to be compared with quantity in stock comprising inventory Amount is less than the object information of the inventory address of demand;
And/or the filtering module further include:
Unit is identified, for being base stock address by inventory's address mark that demand is maximum value and/or minimum value;
First judging unit, for judging whether the demand of the base stock address is greater than the base stock address Quantity in stock;
When being judged as YES, first judging unit is also used to call the second filter element;
Second filter element is for filtering out the object information comprising the base stock address;
When being judged as NO, first judging unit is also used to call first filter element.
Preferably, the computing unit be also used to calculate in each object information the average value of the demand of inventory address and The average value of quantity in stock;
The filtering module further include:
Second judgment unit, for judging whether the average value of the demand is greater than the average value of the quantity in stock;
When being judged as YES, the second judgment unit is also used to call third filter element;
The average value that the third filter element is used to filter out the demand is greater than pair of the average value of the quantity in stock Image information;
When being judged as NO, the second judgment unit is also used to call first filter element.
Preferably, the quantity of first filter element is multiple;
The corresponding object information of each first filter element, and the synchronous execution inventory address of multiple first filter elements Quantity in stock is compared with demand;
And/or the quantity of first judging unit is multiple;
The corresponding object information of each first judging unit, and the synchronous execution object library of multiple first judging units The size of the demand and quantity in stock of depositing address judges;
And/or the quantity of the second judgment unit is multiple;
The corresponding object information of each second judgment unit, and the synchronous execution demand of multiple second judgment units Average value and quantity in stock average value size judge.
Preferably, the order generating system further include:
Duration obtains module, for obtaining the duration that can receive delay delivery;
The filtering module further include:
Statistic unit, for the transportation inventory amount in the duration and the quantity in stock that replenishes to can be regarded as the quantity in stock.
Preferably, the order generating system further include:
Order numbers modified module, for modifying the quantity on order in the order when receiving quantity modification instruction.
The positive effect of the present invention is that: it realizes that batch places an order using the present invention, executes excessive repeat without user Operation, simple and convenient, user experience is preferable.
Detailed description of the invention
Fig. 1 is the flow chart of the order generation method of the embodiment of the present invention 1.
Fig. 2 is the hardware structural diagram of the electronic equipment of the embodiment of the present invention 2.
Fig. 3 is the module diagram of the order generating system of the embodiment of the present invention 4.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.
Embodiment 1
Batch is carried out using the order generation method of the present embodiment to place an order, and the order of each shipping address is directed to without user The process for operating a selecting object, adding shopping cart, placing an order, reduces the repetitive operation of user, better user experience.
The order generation method of the present embodiment provides two kinds of shopping modes, and one is normal modes, and one is place an order in batches Mode.Normal mode namely it is directed to a buying order, user can only select a shipping address;Batch descends single mode namely is directed to One buying order, user can the multiple shipping addresses of simultaneous selection.Two kinds of shopping modes can switch over according to actual needs, work as place When batch lower single mode, as shown in Figure 1, the order generation method of the present embodiment the following steps are included:
Step 101, the multiple shipping addresses for obtaining user's selection.
User when lower single in internet site, needs to create new list (i.e. shipping address list) for the first time.Due to list With certain reusability, therefore user can be to saving after the list name created.When user carries out single under batch, The shipping address of this buying task need to be only selected from the list created.
Step 102, the quantity on order for obtaining object.
Wherein, the demand of the quantity on order of object namely each order or each some object of shipping address.It needs Bright, quantity on order default value is 1, and user can according to actual needs modify to quantity on order.
Step 103 is filtered the search result based on search term according to multiple shipping addresses and quantity on order.
Wherein, search result includes multiple object informations.Object information includes the title of object, picture, price, inventory The quantity in stock etc. of location and each inventory address.Search term is word relevant to object, such as title, the abbreviation of object etc..If User has further selected category and screening item, then can also once be filtered according to category and screening item to search result.
Specifically, step 103 includes:
103-1, the demand that inventory corresponding with shipping address address is counted according to quantity on order.
103-2, the demand of each inventory address is compared with quantity in stock, filters out and is less than demand comprising quantity in stock Inventory address object information.
Step 103 namely to search result carry out secondary filter.If the quantity on order of the object of user's input is 2, receive There is the address of 2 Pekinese address and 1 Shanghai in address, statistic processes is as follows:
To, it is desirable that the object shown must have 2*2=4 part in the quantity in stock of Beijing storehouse, the library of storehouse in Shanghai Storage has 1*2=2 part.
Shipping address and the foundation that contacts of inventory address are illustrated below: the dispatching range of each inventory address is set (can be stored by way of table), the shipping address that user is provided successively with the dispatching range of each inventory address carry out Match, if falling into the dispatching range of an inventory address, establishes the corresponding relationship of shipping address Yu the inventory address, and then realize The statistics of the demand of inventory address.
If storehouse quantity in all parts of the country is N, each storehouse number is 1~N.One determined by shipping address and quantity on order Each storehouse demand of object is respectively r1, r2, r3..., rn, then the corresponding requirement vector R of buying order can be indicated are as follows: R= (r1,r2,r3,…,rn), general n≤N.
Corresponding with requirement vector, each object has it in the quantity in stock of each storehouse, this group reflection object inventory distribution The data of situation are inventory's vector of object.Inventory's vector is consistent in form with requirement vector, the former reflects that certain is right As the inventory distribution situation in each storehouse, the latter reflects certain list and the demand distribution situation that every order numbers determine.
If certain object is respectively s in the quantity in stock of 1~N of storehouse1, s2, s3..., sN, then inventory's vector of the object can be with It indicates are as follows: S=(s1,s2,s3,…,sN)。
If each component of inventory's vector of object is not less than the respective components of requirement vector, it may be assumed that
s1≥r1, s2≥r2, s3≥r3..., sn≥rn
Then the object information can be retained in search result, otherwise can be filtered out.In practical calculating process, if hair The case where quantity in stock of the existing object an inventory address is less than respective components can stop comparing, and the object information is filtered It removes.
If storehouse negligible amounts, the dimension (component number) of above-mentioned vector is less, it is only necessary to be lacked for each object Amount compares the conclusion that you can get it retains or filter out.But in the case that storehouse is more, the number of comparisons of component can also be risen with it.
For storehouse quantity, that is, more situation of vector dimension, mistake that another kind presented below is filtered search result Journey:
Its overview that entire vector is described with less data, judged by first comparing overview the vector whether there are also into The value of one step card, directly filters out if valueless.Wherein, profile parameters can be some object for different inventory addresses Demand maximum value and/or minimum value, be also possible to the average value of the demand for inventory address of some object.
If minR、maxR、avgRRespectively indicate min (r1,r2,r3,…,rn)、max(r1,r2,r3,…,rn)、avg(r1, r2,r3,…,rn), i.e. important minimum value, maximum value, average value in vector R, be not difficult to derive: following three kinds of situations are full Foot is first, then corresponding objects needs are filtered out:
minR>minS
maxR>maxS
avgR>avgS
Therefore, we can choose the overview of min, max, avg description vectors.It, can before executing by the comparison of component To be first filtered based on overview, on condition that with calculated in advance and the profile information of each object inventory vector can be saved.If will Profile information is stored in vector, and the spread vector of requirement vector or inventory's vector can be obtained:
Rex=(avgR,minR,maxR,r1,r2,r3,…,rn);
Sex=(avgS,minS,maxS,s1,s2,s3,…,sn)。
To, by the filtering of shipping address and quantity on order, avoids and places an order unsuccessfully caused by inventory information asymmetry, Reduce operation cost caused by artificial link up.
In the present embodiment, the inventory's vector or spread vector of object are read into caching to promote treatment effeciency, due to library It deposits variation frequently, therefore when certain object inventory changes, needs to notify caching system in time by message, to the object Inventory's vector or spread vector are updated.
It further, is promotion search efficiency, in the present embodiment, the quantity in stock of each inventory address in different object informations Compared with demand, the quantity in stock of base stock address is compared with demand in different object informations, different object informations The average value of middle quantity in stock can synchronize execution compared with the average value of demand.Namely the corresponding execution of each object information Module compares its inventory's vector by component for the object information being assigned in execution module or spread vector is (slow from distribution Deposit middle reading), different execution modules is synchronous to be executed, and the object information finally remained is submitted to merging module and summarized With content packaging (i.e. the information such as picture, price of addition commodity).Certainly, different hold can also be used in the search based on search term Row module realizes filtering.
After above-mentioned filtering, lead to the object information range shorter for showing user, some modes can be used at this time Compensate --- such as can be regarded as the inventory that replenishes of transportation inventory and supplier's agreement can sell inventory, ask with physical holding of stock Calculate inventory's vector again with after.Specific implementation is as follows:
Obtain the duration that can receive delay delivery.Wherein, duration whether can receive to deliver again after replenishing by sending or Receive relevant prompt of delivering in several days, is obtained for the mode of user's selection;
Step 103 further include:
Transportation inventory amount in duration and the quantity in stock that replenishes be can be regarded as into quantity in stock.
To realize and user is allowed independently to choose whether to receive to deliver again after replenishing before search or receive to send out in several days Goods can sell inventory by follow-up user's selection to determine.
Step 104, receive Object Selection instruction when, selection target object information.
Wherein, Object Selection instruction includes target object information.Step 104 namely the user selection target in filter result Object.
It should be noted that the search based on search term can use artificial input mode, every input one in the present embodiment A search term is once searched for, and needs to repeat step 102-104 at this time until the buying of all objects finishes, addition is done shopping Vehicle.The mode for importing buying order can also be used, buying order includes multiple shipping addresses and object corresponding with each shipping address Information further simplifies shopping process at this time without repeatedly input search term.
Step 105, in the lower single operational order for receiving user, according to target object information and be directed to each place of acceptance Location generates an order.
Wherein, for all order carries under the order list of a pending payment, each order includes multiple selected Object, user can check order list.If verification is correct, order submission and unified payment can be carried out, buying is completed.
Step 106, receive quantity modification instruction when, modify order in object quantity on order.
For individual orders, before confirmation payment, user can modify the quantity on order of object according to actual needs.
In the present embodiment, after filtering twice, showing the object of user is all to meet inventory distribution and every single-piece It places an order unsuccessfully caused by the problems such as counting requirement, avoiding inventory distribution, while in the whole process without user and businessman's ditch Logical object inventory, improves the confidentiality of businessman's inventory data.
Embodiment 2
Fig. 2 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention 2 provides.It is real Fig. 2 shows being suitable for being used to The block diagram of the example electronic device 30 of existing embodiment of the present invention.The electronic equipment 30 that Fig. 2 is shown is only an example, no The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in Fig. 2, electronic equipment 30 can be showed in the form of universal computing device, such as it can set for server It is standby.The component of electronic equipment 30 can include but is not limited to: at least one processor 31, at least one processor 32, connection are not The bus 33 of homologous ray component (including memory 32 and processor 31).
Bus 33 includes data/address bus, address bus and control bus.
Memory 32 may include volatile memory, such as random access memory (RAM) 321 and/or cache Memory 322 can further include read-only memory (ROM) 323.
Memory 32 can also include program/utility 325 with one group of (at least one) program module 324, this The program module 324 of sample includes but is not limited to: operating system, one or more application program, other program modules and journey It may include the realization of network environment in ordinal number evidence, each of these examples or certain combination.
Processor 31 by operation storage computer program in memory 32, thereby executing various function application and Data processing, such as order generation method provided by the embodiment of the present invention 1.
Electronic equipment 30 can also be communicated with one or more external equipments 34 (such as keyboard, sensing equipment etc.).It is this Communication can be carried out by input/output (I/O) interface 35.Also, electronic equipment 30 can also by network adapter 36 with One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Net Network adapter 36 is communicated by bus 33 with other modules of electronic equipment 30.It should be understood that although not shown in the drawings, can tie It closes electronic equipment 30 and uses other hardware and/or software module, including but not limited to: microcode, device driver, redundancy processing Device, external disk drive array, RAID (disk array) system, tape drive and data backup storage system etc..
It should be noted that although being referred to several units/modules or subelement/mould of electronic equipment in the above detailed description Block, but it is this division be only exemplary it is not enforceable.In fact, being retouched above according to presently filed embodiment The feature and function for two or more units/modules stated can embody in a units/modules.Conversely, above description A units/modules feature and function can with further division be embodied by multiple units/modules.
Embodiment 3
A kind of computer readable storage medium is present embodiments provided, computer program, described program quilt are stored thereon with The step of order generation method provided by embodiment 1 is realized when processor executes.
Embodiment 4
As shown in figure 3, the order generating system of the present embodiment includes: address acquisition module 1, filtering module 2, selecting module 3 and order generation module 4.Filtering module 2 includes computing unit, the first filter element, mark unit, the first judging unit, the Two filter elements, second judgment unit and third filter element.
Address acquisition module 1 is for obtaining multiple shipping addresses.User when single under purchasing in internet site, needs for the first time Create new list (i.e. shipping address list).Since list has certain reusability, user can be to having created It is saved after list name.When user carries out single under batch, only this buying task need to be selected from the list created Shipping address.
Filtering module 2 is for being filtered the search result based on search term according to multiple shipping addresses.Wherein, it searches for It as a result include multiple object informations.Object information includes title, picture, price, inventory address and each inventory of object The quantity in stock etc. of location.Search term is word relevant to object, such as title, the abbreviation of object etc..If user further selects Category and screening item, then before being filtered using shipping address, filtering module 2 was carried out also according to category and screening item Filter.
In the present embodiment, order generating system further include: order numbers obtain module 5.Order numbers obtain module 5 for receiving The quantity on order of object.Demand of the quantity on order namely user of object to some object of each order (each shipping address) Amount.It should be noted that quantity on order default value is 1, user can according to actual needs modify to quantity on order.
After user modifies to quantity on order, the computing unit of filtering module 2 is counted and is received according to quantity on order The demand of the corresponding inventory address in address.First filter element compares the demand of each inventory address with quantity in stock Compared with, filter out comprising quantity in stock be less than demand inventory address object information filter out after, remaining object information is showed User.
A specific example is lifted below illustrates carrying out according to quantity on order and shipping address to search result for the present embodiment The process of filter: storehouse quantity in all parts of the country is set as N, each storehouse number is 1~N.One determined by shipping address and quantity on order Each storehouse quantity required of a object is respectively r1, r2, r3..., rn, then the corresponding requirement vector R of buying order can be indicated are as follows: R =(r1,r2,r3,…,rn), general n≤N.
Corresponding with requirement vector, each object has it in the quantity in stock of each storehouse, this group reflection object inventory distribution The data of situation are inventory's vector of object.Inventory's vector is consistent in form with requirement vector, the former reflects that certain is right As the inventory distribution situation in each storehouse, the latter reflects certain list and the demand distribution situation that every order numbers determine.
If certain object is respectively s in the quantity in stock of 1~N of storehouse1, s2, s3..., sN, then inventory's vector of the object can be with It indicates are as follows: S=(s1,s2,s3,…,sN)。
If each component of inventory's vector of object is not less than the respective components of requirement vector, it may be assumed that
s1≥r1, s2≥r2, s3≥r3..., sn≥rn
Then the object information can be retained in search result, otherwise can be filtered out by the first filter element.In practical meter During calculation, if quantity in stock of the Finding Object an inventory address can stop comparing the case where being less than respective components, and will The object information filters out.
If storehouse negligible amounts, the dimension (component number) of above-mentioned vector is less, it is only necessary to be lacked for each object Amount compares the conclusion that you can get it retains or filter out.But in the case that storehouse is more, the number of comparisons of component can also be risen with it.
It is illustrated with contacting for inventory address to establishing shipping address below: the dispatching range of each inventory address is set (can be stored by way of table), the shipping address that user is provided successively with the dispatching range of each inventory address carry out Match, if falling into the dispatching range of an inventory address, establishes the corresponding relationship of shipping address Yu the inventory address, and then realize The statistics of the demand of inventory address.
For storehouse quantity, that is, more situation of vector dimension, mistake that another kind presented below is filtered search result Journey:
Its overview that entire vector is described with less data, judged by first comparing overview the vector whether there are also into The value of one step card, directly filters out if valueless.Wherein, profile parameters can be some object for different inventory addresses Demand maximum value and/or minimum value, be also possible to the average value of the demand for inventory address of some object.Tool Body, by inventory's address mark that demand is maximum value and/or minimum value be base stock address using mark unit.It uses Computing unit calculates the average value of the average value and quantity in stock of the demand of inventory address in each object information, obtains:
minR、maxR、avgRRespectively indicate min (r1,r2,r3,…,rn)、max(r1,r2,r3,…,rn)、avg(r1,r2, r3,…,rn), i.e. important minimum value, maximum value, average value, are not difficult to derive: the first judging unit and in vector R Two judging units judge that following three kinds of situations meet first, then calling the second filter element or third filter element by corresponding objects Information Filtration:
minR>minS
maxR>maxS
avgR>avgS
If above-mentioned three kinds of situations are not satisfied, the first filter element is called.
Therefore, we can choose the overview of min, max, avg description vectors.It, can before executing by the comparison of component To be first filtered based on overview, on condition that with calculated in advance and the profile information of each object inventory vector can be saved.If will Profile information is stored in vector, and the spread vector of requirement vector or inventory's vector can be obtained:
Rex=(avgR,minR,maxR,r1,r2,r3,…,rn);
Sex=(avgS, minS,maxS,s1,s2,s3,…,sn)。
To, by the filtering of shipping address and quantity on order, avoids and places an order unsuccessfully caused by inventory information asymmetry, Reduce operation cost caused by artificial link up.
Selecting module 3 is used for when receiving Object Selection instruction, selection target object information.Object Selection instructs Target object information to be selected.
It should be noted that the search based on search term can use artificial input mode, every input one in the present embodiment A search term is once searched for, and needs to repeat at this time that filtering module and selecting module is called to finish up to the buying of all objects, Shopping cart is added.Can also be used import buying order mode, buying order include multiple shipping addresses and with each shipping address pair The object information answered extracts the object oriented in object information or is referred to as used as search term.At this time without repeatedly inputting search term, Further simplify shopping process.According to the mode for importing buying order, address acquisition module 1 is then obtained from buying order and is received Address.
In the present embodiment, the inventory's vector or spread vector of object are read into caching to promote treatment effeciency, due to library It deposits variation frequently, therefore when certain object inventory changes, needs to notify caching system in time by message, to the object Inventory's vector or spread vector are updated.
It further, is to promote search efficiency, the quantity in stock of each inventory address and demand in different object informations Compare, the quantity in stock of base stock address is compared with demand in different object informations, quantity in stock in different object informations Average value can synchronize execution compared with the average value of demand.At this point, multiple first filter elements, the first judgement list need to be arranged Member, second judgment unit.First filter element of each filtering module, the first judging unit, second judgment unit respectively correspond One object information, when execution is compared or judged, the first filter element, the first judging unit, second judgment unit are for distribution To object information compare its inventory's vector or spread vector (reading from distributed caching), and the first different mistakes by component Filter the synchronous execution of unit, the first judging unit, second judgment unit.The object information finally remained submits to merging module Summarized and content packaging (i.e. the information such as picture, price of addition commodity).Certainly, the search based on search term can also be used Different execution modules realizes filtering.After above-mentioned filtering, leads to the object information range shorter for showing user, at this time may be used Compensated in such a way that use is some --- such as can be regarded as the inventory that replenishes of transportation inventory and supplier's agreement can sell library It deposits, calculates inventory's vector again after summing with physical holding of stock.
In the present embodiment, order generating system further include: duration obtains module 7.Filtering module further include: statistic unit. Duration obtains module and is used to obtain the duration that can receive delay delivery, duration whether can receive to deliver again after replenishing by sending or Person receives relevant prompt of delivering in several days, obtains for the mode of user's selection.Statistic unit is by the transportation inventory in duration Amount and with supplier agreement the quantity in stock that replenishes can be regarded as quantity in stock, with physical holding of stock summation after calculate again inventory's vector or extend to Amount.To realize and user is allowed independently to choose whether to receive to deliver again after replenishing before search or receive to deliver in several days, lead to Inventory can be sold to determine by crossing follow-up user selection.
Order generation module 4 is used to according to target object information and be directed in the lower single operational order for receiving user Each shipping address generates an order.Wherein, all order carries are under the order list of a pending payment, each order packet Containing multiple objects selected, user can check order list.If verification is correct, order submission and uniformly can be carried out Buying is completed in payment.
In the present embodiment, order generating system further include: order numbers modified module 6.Order numbers modified module 6 be used for Before the payment of family and when receiving quantity modification instruction, the quantity on order of the object in order is modified.For individual orders, confirming Before payment, user can modify the quantity on order of object according to actual needs.
In the present embodiment, after filtering twice, showing the object of user is all to meet inventory distribution and every single-piece It places an order unsuccessfully caused by the problems such as counting requirement, avoiding inventory distribution, while in the whole process without user and businessman's ditch Logical object inventory, improves the confidentiality of businessman's inventory data.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and Modification each falls within protection scope of the present invention.

Claims (16)

1. a kind of order generation method, which is characterized in that the order generation method includes:
Obtain multiple shipping addresses;
Search result is filtered according to the multiple shipping address;Described search result includes object information;
When receiving Object Selection instruction, select at least one as target object information from the object information;
When receiving lower single operational order, according to the target object information and one is generated for each shipping address order It is single.
2. order generation method as described in claim 1, which is characterized in that the object information includes an at least inventory address With the quantity in stock of each inventory address.
3. order generation method as claimed in claim 2, which is characterized in that according to the multiple shipping address to search result Before the step of being filtered, further includes:
Obtain quantity on order;
The quantity on order is the demand of the object of each order;
The step of being filtered according to the multiple shipping address to search result, specifically includes:
The demand of inventory corresponding with shipping address address is counted according to the quantity on order;
The demand of each inventory address is compared with quantity in stock, filters out the inventory address for being less than demand comprising quantity in stock Object information.
4. order generation method as claimed in claim 3, which is characterized in that according to quantity on order statistics and shipping address After the step of demand of corresponding inventory address, further includes:
It is base stock address by inventory's address mark that demand is maximum value and/or minimum value;
Before the step of demand of each inventory address is compared with quantity in stock, further includes:
Judge whether the demand of the base stock address is greater than the quantity in stock of the base stock address;
If being judged as YES, the object information comprising base stock address is filtered out;
If being judged as NO, the step of being compared the demand of each inventory address with quantity in stock is executed;
And/or according to the quantity on order count inventory corresponding with shipping address address demand the step of after, also wrap It includes:
Calculate the average value of the average value and quantity in stock of the demand of inventory address in each object information;
Before the step of demand of each inventory address is compared with quantity in stock, further includes:
Judge whether the average value of the demand is greater than the average value of the quantity in stock;
If being judged as YES, filter out the demand average value be greater than the quantity in stock average value object information;
If being judged as NO, the step of being compared the demand of each inventory address with quantity in stock is executed.
5. order generation method as claimed in claim 4, which is characterized in that synchronous to execute described in different object informations each The quantity in stock of inventory address is compared with demand;
And/or the synchronous quantity in stock for executing base stock address described in different object informations is compared with the demand;
And/or the synchronous average value for executing quantity in stock described in different object informations is compared with the average value of the demand.
6. order generation method as claimed in claim 3, which is characterized in that the order generation method further include:
Obtain the duration that can receive delay delivery;
The step of search result is filtered according to the multiple shipping address, further includes:
Transportation inventory amount in the duration and the quantity in stock that replenishes be can be regarded as into the quantity in stock.
7. the order generation method as described in any one of claim 1-6, which is characterized in that raw for each shipping address After the step of an order, further includes:
When receiving quantity modification instruction, the quantity on order of the object in the order is modified.
8. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes that claim 1 to 7 is described in any item when executing the computer program Order generation method.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of claim 1 to 7 described in any item order generation methods are realized when processor executes.
10. a kind of order generating system, which is characterized in that the order generating system includes:
Address acquisition module, for obtaining multiple shipping addresses;
Filtering module, for being filtered according to the multiple shipping address to search result;Described search result includes object Information;
Selecting module, for selecting at least one as target from the object information when receiving Object Selection instruction Object information;
Order generation module, for according to the target object information and being directed to each receipts when receiving lower single operational order Goods address generates an order.
11. order generating system as claimed in claim 10, which is characterized in that the object information is including an at least inventory The quantity in stock of location and each inventory address.
12. order generating system as claimed in claim 11, which is characterized in that the order generating system further include:
Order numbers obtain module, for obtaining quantity on order;
The quantity on order is the demand of the object of each order;
The filtering module includes:
Computing unit, for counting the demand of inventory corresponding with shipping address address according to the quantity on order;
First filter element filters out small comprising quantity in stock for the demand of each inventory address to be compared with quantity in stock Object information in the inventory address of demand.
13. order generating system as claimed in claim 12, which is characterized in that the filtering module further include:
Unit is identified, for being base stock address by inventory's address mark that demand is maximum value and/or minimum value;
First judging unit, for judging whether the demand of the base stock address is greater than the library of the base stock address Storage;
When being judged as YES, first judging unit is also used to call the second filter element;
Second filter element is for filtering out the object information comprising the base stock address;
When being judged as NO, first judging unit is also used to call first filter element;
And/or the computing unit is also used to calculate the average value of the demand of inventory address and inventory in each object information The average value of amount;
The filtering module further include:
Second judgment unit, for judging whether the average value of the demand is greater than the average value of the quantity in stock;
When being judged as YES, the second judgment unit is also used to call third filter element;
The average value that the third filter element is used to filter out the demand is greater than the object letter of the average value of the quantity in stock Breath;
When being judged as NO, the second judgment unit is also used to call first filter element.
14. order generating system as claimed in claim 13, which is characterized in that the quantity of first filter element is more It is a;
The corresponding object information of each first filter element, and the synchronous inventory for executing inventory address of multiple first filter elements Amount is compared with demand;
And/or the quantity of first judging unit is multiple;
The corresponding object information of each first judging unit, and multiple first judging units are synchronous with executing the base stock The demand of location and the size of quantity in stock judge;
And/or the quantity of the second judgment unit is multiple;
The corresponding object information of each second judgment unit, and the synchronous execution demand of multiple second judgment units is flat The size of the average value of mean value and quantity in stock judges.
15. order generating system as claimed in claim 12, which is characterized in that the order generating system further include:
Duration obtains module, for obtaining the duration that can receive delay delivery;
The filtering module further include:
Statistic unit, for the transportation inventory amount in the duration and the quantity in stock that replenishes to can be regarded as the quantity in stock.
16. the order generating system as described in claim 10-15, which is characterized in that the order generating system further include:
Order numbers modified module, for modifying the quantity on order in the order when receiving quantity modification instruction.
CN201810518012.1A 2018-05-25 2018-05-25 Order generation method and system, electronic equipment and storage medium Pending CN110533497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810518012.1A CN110533497A (en) 2018-05-25 2018-05-25 Order generation method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810518012.1A CN110533497A (en) 2018-05-25 2018-05-25 Order generation method and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110533497A true CN110533497A (en) 2019-12-03

Family

ID=68657241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810518012.1A Pending CN110533497A (en) 2018-05-25 2018-05-25 Order generation method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110533497A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950957A (en) * 2020-08-03 2020-11-17 山西经纬通达股份有限公司 Longitude-latitude-longitude-communication carrier operation supervision system without vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177645A1 (en) * 2006-12-30 2008-07-24 David Weiss Methods and systems for managing and trading using a shared order book as internal exchange
CN107038618A (en) * 2016-02-02 2017-08-11 阿里巴巴集团控股有限公司 A kind of order generation method, device, server and computer-readable storage medium
CN107330652A (en) * 2017-06-28 2017-11-07 北京惠赢天下网络技术有限公司 A kind of generation method, device and the server of discount order
CN107909321A (en) * 2017-11-10 2018-04-13 网易(杭州)网络有限公司 Order generation method, order generating means, medium and computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177645A1 (en) * 2006-12-30 2008-07-24 David Weiss Methods and systems for managing and trading using a shared order book as internal exchange
CN107038618A (en) * 2016-02-02 2017-08-11 阿里巴巴集团控股有限公司 A kind of order generation method, device, server and computer-readable storage medium
CN107330652A (en) * 2017-06-28 2017-11-07 北京惠赢天下网络技术有限公司 A kind of generation method, device and the server of discount order
CN107909321A (en) * 2017-11-10 2018-04-13 网易(杭州)网络有限公司 Order generation method, order generating means, medium and computing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950957A (en) * 2020-08-03 2020-11-17 山西经纬通达股份有限公司 Longitude-latitude-longitude-communication carrier operation supervision system without vehicle

Similar Documents

Publication Publication Date Title
CN109814910A (en) Automate gray scale dissemination method, device, computer system and storage medium
CN108805667A (en) Order flow processing method and system
EP3502990A1 (en) Method and device for detecting fund transaction route in electronic payment process
CN105528725A (en) Account product transaction processing method and system and transaction server
CN109472615A (en) Service processing method, device and equipment and readable medium
CN110942269A (en) Distribution information processing method and device and server
CN113467824A (en) Data processing method, device, equipment and storage medium
CN106874079A (en) A kind of method and device of tasks carrying
CN107133233B (en) Processing method and device for configuration data query
CN110533497A (en) Order generation method and system, electronic equipment and storage medium
CN111353841A (en) Document data processing method, device and system
CN110335417B (en) Application system and method of electronic water ticket
CN112017002A (en) User order supplementing method, device, equipment and storage medium
CN107133090A (en) A kind of method for processing business and device
CN111651522A (en) Data synchronization method and device
CN111105306A (en) Resource transaction strategy determination method and device and server
CN110245177A (en) A kind of deriving method of million grades of data
CN110442598A (en) A kind of data query method and apparatus
CN114298628A (en) Method and system for batch delivery of articles based on article orders
CN112633806A (en) Electronic part bill of material management method and related equipment
CN110648090A (en) Logistics process node management method and system
CN112686719B (en) Billing method and device, storage medium and electronic equipment
CN113824847B (en) Method and device for determining charging abnormality, computing equipment and computer storage medium
CN110908746A (en) Data processing method, system, readable storage medium and terminal equipment
CN110851717A (en) Method, device and medium for recommending mini bin

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination