CN108681854A - Server, food materials allocator and Related product - Google Patents
Server, food materials allocator and Related product Download PDFInfo
- Publication number
- CN108681854A CN108681854A CN201810457296.8A CN201810457296A CN108681854A CN 108681854 A CN108681854 A CN 108681854A CN 201810457296 A CN201810457296 A CN 201810457296A CN 108681854 A CN108681854 A CN 108681854A
- Authority
- CN
- China
- Prior art keywords
- businessman
- food materials
- materials information
- target
- information
- 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
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0835—Relationships between shipper or supplier and carriers
-
- 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/0621—Item configuration or customization
Abstract
The embodiment of the present application discloses a kind of server, food materials allocator and Related product, including:N number of food materials information from mobile terminal is received, the food materials information includes food materials title and food materials quantity, and N is the integer more than 1;And for determining that target businessman, the target businessman include first object businessman and the second target businessman according to N number of food materials information;And for formulate with the matched distribution strategy of location parameter of the target businessman, send the distribution strategy to the target businessman and dispatching user.The embodiment of the present application is conducive to be promoted reasonability and the flexibility of food materials dispatching.
Description
Technical field
This application involves technical field of mobile terminals, and in particular to a kind of server, food materials allocator and Related product.
Background technology
With a large amount of popularization and applications of mobile terminal (such as smart mobile phone), the application that mobile terminal can be supported is increasingly
More, function is stronger and stronger, and smart mobile phone develops towards diversification, personalized direction, becomes indispensable in user's life
Appliance and electronic.
Currently, user can buy extensive stock in mobile terminal, such as clothes, food, likewise, user is in order to save
Do the time for buying food materials before meals, it is desirable to food materials can bought by mobile terminal, then when user selects in mobile terminal
After selecting food materials, how food materials are quickly distributed to user by the server of mobile terminal connection in real time is a problem to be solved.
Invention content
The embodiment of the present application provides a kind of server, food materials allocator and Related product, to promote food materials dispatching
Reasonability and flexibility.
In a first aspect, the embodiment of the present application provides a kind of server, including processor, the communication for connecting the processor connect
Mouth and memory, wherein
The memory, for storing target businessman, the target businessman includes first object businessman and the second target quotient
Family;
The communication interface, for receiving N number of food materials information from mobile terminal, the food materials information includes food materials name
Claim and food materials quantity, N are the integer more than 1;
The processor, for determining the target businessman according to N number of food materials information;And for formulate with it is described
The matched distribution strategy of location parameter of target businessman is sent by the communication interface to the target businessman and dispatching user
The distribution strategy.
Second aspect, the embodiment of the present application provide a kind of food materials allocator, are applied to server, the method includes:
N number of food materials information from mobile terminal is received, the food materials information includes food materials title and food materials quantity, and N is
Integer more than 1;
Determine that target businessman, the target businessman include first object businessman and the second mesh according to N number of food materials information
Mark businessman;
The matched distribution strategy of location parameter with the target businessman is formulated, to the target businessman and dispatching user's hair
Send the distribution strategy.
The third aspect, the embodiment of the present application provide a kind of food materials dispenser, which is characterized in that are applied to server, institute
It includes receiving unit, determination unit and formulation unit to state food materials dispenser, wherein
The receiving unit, for receiving N number of food materials information from mobile terminal, the food materials information includes food materials name
Claim and food materials quantity, N are the integer more than 1;
The determination unit, for determining that target businessman, the target businessman include first according to N number of food materials information
Target businessman and the second target businessman;
The formulation unit, for formulating and the matched distribution strategy of location parameter of the target businessman, to the mesh
It marks businessman and dispatching user sends the distribution strategy.
Fourth aspect, the embodiment of the present application provide a kind of server, including processor, memory, communication interface and one
A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing
Device executes, and above procedure includes the instruction for executing the step in the embodiment of the present application second aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above computer is readable
Computer program of the storage medium storage for electronic data interchange, wherein above computer program makes computer execute such as
Step some or all of described in the embodiment of the present application second aspect either method.
6th aspect, the embodiment of the present application provide a kind of computer program product, wherein above computer program product
Non-transient computer readable storage medium including storing computer program, above computer program are operable to make calculating
Machine executes the step some or all of as described in the embodiment of the present application second aspect either method.The computer program product
It can be a software installation packet.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is the network architecture diagram between a kind of mobile terminal and server provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of another server provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of food materials allocator provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another food materials allocator provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another food materials allocator provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Fig. 7 is a kind of functional unit composition block diagram of food materials dispenser provided by the embodiments of the present application.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and above-mentioned attached drawing etc. are for distinguishing
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application may include various handheld devices with wireless communication function,
Mobile unit, wearable device, computing device or other processing equipments and various forms for being connected to radio modem
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
Referring to Fig. 1, Fig. 1 is a kind of network architecture signal of mobile terminal and server disclosed in the embodiment of the present application
Figure.May include server 100 and multiple mobile terminals 200 in network architecture shown in Fig. 1.Wherein, the embodiment of the present application
In, mobile terminal is by taking smart mobile phone as an example.Smart mobile phone 200 can be communicated to connect by mobile communications network and server 100.
It is used it should be noted that the smart mobile phone 200 includes at least the smart mobile phone of user, the smart mobile phone of target businessman and dispatching
The smart mobile phone at family.In the network architecture that smart mobile phone 200 shown in Fig. 1 is communicated with server 100, server 100 receives
N number of food materials information of mobile terminal 200 from the user, the food materials information include food materials title and food materials quantity, N be more than
1 integer;And determine that target businessman, the target businessman include first object businessman and second according to N number of food materials information
Target businessman;And formulate with the matched distribution strategy of location parameter of the target businessman, server is to the target businessman
Mobile terminal and the mobile terminal of dispatching user send the distribution strategy.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that an embodiment of the present invention provides a kind of structural schematic diagram of server 100, the servers
100 include:Processor 110, the memory 120 for connecting the processor 110 and radio frequency system 130 etc., the radio frequency system 130
Including transmitter, receiver, signal processor, the receiver can be communication interface 131 etc., wherein
The memory 120, for storing target businessman, the target businessman includes first object businessman and the second target
Businessman;
The communication interface 131, for receiving N number of food materials information from mobile terminal 200, the food materials information includes
Food materials title and food materials quantity, N are the integer more than 1;
The processor 110, for determining the target businessman according to N number of food materials information;And for formulate with
The matched distribution strategy of location parameter of the target businessman, by the communication interface 131 to the target businessman and dispatching
User sends the distribution strategy.
Wherein, processor 110 includes application processor and baseband processor, and processor 110 is in the control of server 100
The heart is stored in memory using the various pieces of various interfaces and the entire server of connection 100 by running or executing
Software program in 120 and/or module, and call and be stored in data in memory 120, execute server 100 it is various
Function and processing data, to carry out integral monitoring to server 100.Wherein, the main processing operation system of application processor and
Application program etc., baseband processor mainly handle wireless communication.It is understood that above-mentioned baseband processor can not also integrate
Into processor.
Wherein, memory 120 can be used for storing software program and module, and processor 110 is stored in storage by operation
The software program and module of device 120, the various function application to execute server 100 and data processing.Memory 120
Can include mainly storing program area and storage data field, wherein storing program area can storage program area, at least one function institute
The application program etc. needed;Storage data field can be stored uses created data etc. according to server 100.In addition, memory
120 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic disk storage
Part, flush memory device or other volatile solid-state parts.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
In a possible example, it is described the target businessman is determined according to N number of food materials information in terms of, it is described
Processor 110 is specifically used for:It inquires in 100 each businessman of the server and believes with M food materials of N number of food materials information matches
Breath, M are the positive integer less than or equal to N;And detect that there is no the businessmans for including all N number of food materials information for working as
When, determine that the maximum businessman of M values is first kind businessman;And it includes that described first is removed in N number of food materials information to be used to obtain
Second class businessman of the food materials information except the M food materials information of class businessman;And for choosing the first kind businessman middle-range
The distance of first object businessman described in distance in the first object businessman nearest from delivery location and the second class businessman
Less than the second target businessman for the pre-determined distance threshold value that the memory 120 stores, the first object businessman and described
Second target businessman includes whole N number of food materials information.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, the processing
Device 110 is specifically used for:Inquire the food materials information with N number of food materials information matches in 100 each businessman of the server;And
It is multigroup with reference to businessman for when detecting there is no including all businessmans of N number of food materials information, determining, join described in every group
It includes first referring to businessman with reference to businessman and second to examine businessman, and includes whole N number of food materials information;And it is used for basis
Historical user, which evaluates, chooses multigroup target businessman with reference in businessman.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, the processing
Device 110 is specifically used for:N number of food materials information is divided into first kind food materials information and the second class food materials information, the first kind
First culinary art duration of food materials information is different from the first culinary art duration of the second class food materials information;And include for determination
The first kind businessman of the first kind food materials information and the second class businessman for including the second class food materials information;And it is used for root
Duration is cooked according to described first and the second culinary art duration determines the first object businessman and the second target businessman
Maximal distance threshold;And for determining the first object quotient in the first kind businessman according to the maximal distance threshold
The second target businessman in family and the second class businessman.
In a possible example, in the matched distribution strategy side of location parameter of the formulation and the target businessman
Face, the processor 110 are specifically used for:It is determined and the matched dispatching road of the first object businessman according to the delivery location
Line, the first distance between the first object businessman and the delivery location are more than the second target businessman and the dispatching
Second distance between position;And for when it includes the position of the second target businessman to detect the distribution route,
Determine that the distribution strategy is the first dispatching user while dispensing N number of food materials.
In this possible example, the processor 110 determines and the first object quotient according to the delivery location
After the matched distribution route of family, it is additionally operable to:When detecting that the distribution route do not include the position of the second target businessman
When, using sequentially for N number of food materials information is determined according to the recipe with N number of food materials information matches;And it is used for basis
It is described to be determined for the first distribution time section of the first object businessman and for the second target businessman's using sequence
Second distribution time section;And user is dispensed in the first distribution time section for described first for formulating the distribution strategy
First part's food materials corresponding with the N number of food materials information in the first object businessman are dispensed, the second dispatching user exists
The second distribution time section dispenses second part food materials corresponding with the N number of food materials information in the second target businessman.
A kind of flow diagram of food materials allocator is provided referring to Fig. 3, Fig. 3 is the embodiment of the present application, is applied to
The network architecture as shown in Figure 1 and server as shown in Figure 2, as shown, this food materials allocator includes:
S301, server receive N number of food materials information from mobile terminal, and the food materials information includes food materials title and food
Material quantity, N are the integer more than 1;
Wherein, the mobile terminal is equipped with the application program that can buy food materials, the purchase food before user needs to cook
When material, application program input name of the dish can be opened, the mobile terminal can determine the food materials needed the when of making according to name of the dish, and
Food materials information list is exported, user can select existing in food materials information list or need the food materials bought, then, institute
It states mobile terminal and user's N number of food materials information to be bought is sent to the server, it, can be with moreover, after user receives food materials
By clicking picture and text teaching or video teaching in application program, vegetable is made according to the content of courses, while can will make
Good vegetable dispatch and online friend is interactive.
Wherein, which may include that user mode, businessman's pattern and dis-tribution model etc. are answered in businessman's pattern
The server received can be bought to the different number point region of different food materials with program according to the user that historical record determines
Time segment is sent to businessman, and businessman can reasonably get ready the goods according to these data.
Wherein, the mobile terminal is customer mobile terminal, and the server can connect multiple mobile terminals,
The server provides schedule of prices according to the N number of food materials information received, and user is taken according to the schedule of prices is required for payment
With.
S302, the server determine that target businessman, the target businessman include the first mesh according to N number of food materials information
Mark businessman and the second target businessman;
Wherein, the server determines the tool of first object businessman and the second target businessman according to N number of food materials information
Body be achieved in that it is diversified, such as can be by the delivery location distance apart from user recently, and include N number of food
The businessman of at least one food materials is determined as target businessman in material information, can also be according to user's evaluation highest, and includes the N
The businessman of at least one food materials is determined as target businessman etc. in a food materials information, does not limit herein.
Wherein, the first object businessman and the second target businessman dispense respectively one kind in N number of food materials or
Person is a variety of, does not limit herein.
S303, the server formulates the matched distribution strategy of location parameter with the target businessman, to the target
Businessman and dispatching user send the distribution strategy.
Wherein, the distribution strategy may include that first object businessman needs the quantity of the food materials and food materials that dispense, second
Target businessman needs quantity, distribution time and the delivery location of food materials and food materials etc. that dispense.
Wherein, the distribution strategy can be carried by a dispatching user dispatching first object businessman and the second target businessman
The N number of food materials of whole of confession can also dispense first object businessman by two dispatching users respectively and the second target businessman carries respectively
The food materials of confession.
Wherein, the target businessman receive server transmission distribution strategy when, according to the distribution strategy with
It send and prepares corresponding food materials before the time for dispatching user's picking, the dispatching user is receiving the server transmission
Distribution strategy when, according to distribution strategy to the first object businessman and/or second target businessman's picking, and according to dispatching plan
Food materials are slightly dispensed into the delivery location of user.
Wherein, the dispatching user can be target businessman itself, can also be except the user and the target businessman
Except third party user.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
It is described that target businessman is determined according to N number of food materials information in a possible example, including:
Inquire the M food materials information with N number of food materials information matches in each businessman of the server, M be less than or
Positive integer equal to N;
When detecting there is no including all businessmans of N number of food materials information, determine that the maximum businessman of M values is first
Class businessman;
Acquisition includes the food materials information in N number of food materials information in addition to the M food materials information of the first kind businessman
The second class businessman;
Choose the first object businessman nearest apart from delivery location and the second class quotient in the first kind businessman
The distance of first object businessman described in distance is less than the second target businessman of pre-determined distance threshold value, the first object in family
Businessman and the second target businessman include whole N number of food materials information.
Wherein, the food materials title and food materials of the existing stock that multiple businessmans report in preset period of time are stored in server
It is having with N number of food materials information matches to inquire each businessman when server receives N number of food materials information successively for quantity
M food materials information, the food materials quantity of M food materials information is more than or equal to required food materials in N number of food materials information
Quantity.
Wherein, detect that there is no include that the businessmans of whole N number of food materials information shows to store in the server
In businessman, none of businessman has whole N number of food materials information, and for example, when N is 10, there are three quotient
The M of family is 9,8,6 respectively, and the businessman by M equal to 9 is determined as first kind businessman.
Wherein, the method further includes, when it includes all businessmans of all N number of food materials information to detect the presence of 1, by
One businessman provides and dispenses all N number of food materials, alternatively, there are multiple including all N number of food materials information when measuring
Businessman when, provided by businessman nearest apart from delivery location in multiple businessmans and dispense all N number of food materials.
As it can be seen that in this example, server is when detecting there is no including all businessmans of N number of food materials information, first really
Surely it is directed to N number of food materials information minimum first kind businessman out of stock, effectively reduces the selection range of target businessman, and increase
The quantity of second class businessman increases the choosing of first object businessman and the second target businessman while reducing server operation amount
Diversity is selected, the reasonability of server delivery server is promoted.
It is described that target businessman is determined according to N number of food materials information in a possible example, including:
Inquire the food materials information with N number of food materials information matches in each businessman of the server;
When detecting there is no including all businessmans of N number of food materials information, determine multigroup with reference to businessman, every group of institute
It includes first referring to businessman with reference to businessman and second to state with reference to businessman, and includes whole N number of food materials information;
It is evaluated according to historical user and chooses multigroup target businessman with reference in businessman.
Wherein, it is described it is multigroup with reference to businessman can be first only include that 5 in N=10 food materials information eat with reference to businessman
Material information, and the second reference businessman only includes the other 5 food materials information in 10 food materials information, can also be, the first reference
Businessman only includes 2 food materials information in N=10 food materials information, and second only includes in 10 food materials information with reference to businessman
Other 8 food materials information, here, not doing unique restriction with reference to businessman to every group.
Wherein, the server can by first with reference to businessman and second with reference to the distance between businessman be less than it is default away from
From threshold value, and two just determine including N number of food materials information with reference to businessman and multigroup refer to businessman.
Wherein, the server is evaluated according to historical user and chooses multigroup target businessman's with reference in businessman
Specific implementation can be according to first with reference to businessman and second with reference to businessman scoring and, choose scoring and it is highest be mesh
Businessman is marked, or can be the sum according to first with reference to the evaluation number of businessman and the second reference businessman, chooses evaluation number most
Mostly is target businessman, is not limited herein.
Wherein, historical user's evaluation includes scoring, picture and comment etc., is not limited herein, the historical user
Evaluation can be in user when receiving whole food materials, according to the freshness of food materials, time length of delivery etc. to corresponding
The evaluation made of businessman.
As it can be seen that in this example, server determines packet when detecting there is no including all businessmans of N number of food materials information
It includes all the multigroup of N number of food materials information and refers to businessman, being directed to each historical user with reference to businessman according to user evaluates record really
Target businessman is made, is conducive to promote the intelligent of server food materials dispatching, moreover, evaluating selection target quotient according to historical user
Family advantageously ensures that the freshness for the food materials that user obtains.
It is described that target businessman is determined according to N number of food materials information in a possible example, including:
N number of food materials information is divided into first kind food materials information and the second class food materials information, the first kind food materials letter
First culinary art duration of breath is different from the second culinary art duration of the second class food materials information;
Determination includes the first kind businessman of the first kind food materials information and includes the second of the second class food materials information
Class businessman;
Duration is cooked according to described first and the second culinary art duration determines the first object businessman and described second
The maximal distance threshold of target businessman;
The first object businessman and described second in the first kind businessman is determined according to the maximal distance threshold
The second target businessman in class businessman.
Wherein, server prestores the corresponding culinary art duration of various food, and the culinary art duration of food materials may include cleaning food
N number of food materials information is classified as first kind food materials by material, processing food materials and the temporal summation for making food materials according to culinary art duration
Information and the second class food materials information, for example, the culinary art duration of first kind food materials information is less than 15min, such as green vegetables etc., the
The culinary art duration of two class food materials information is more than 15min, such as beef etc. does not limit herein.
For example, a length of 15min when the culinary art of first kind food materials information, when culinary art of the second class food materials information, are a length of
30min, and dispense speed be 100m/min when, maximal distance threshold 100*15=1500m, that is, be directed to delivery location, first
Target businessman can be remoter 1500m than the second target businessman.
As it can be seen that in this example, N number of food materials information is divided into first kind food materials by server according to the culinary art duration of different foods
Information and the second class food materials information determine the permission between first object businessman and the second target businessman most according to food materials information
Big distance threshold determines first object businessman and the second target businessman according to the maximal distance threshold, is conducive to promote target quotient
The reasonability that family determines, the food materials of cooking time length, which first reach, makes user can prioritize processing, and the short food materials of cooking time are subsequent
It reaches, meets the usage time of user, avoid the time of waste user, promote the utilization rate of time.
In a possible example, the matched distribution strategy of location parameter of the formulation and the target businessman, packet
It includes:
It is determined and the matched distribution route of first object businessman, the first object businessman according to the delivery location
The first distance between the delivery location is more than the second distance between the second target businessman and the delivery location;
When it includes the position of the second target businessman to detect the distribution route, determine that the distribution strategy is the
One dispatching user dispenses N number of food materials simultaneously.
As it can be seen that in this example, server passes through the dispatching road of first object businessman of the determination relative to delivery location farther out
Line observes whether pass by the second target businessman just at the right time on distribution route, and when passing by the second target businessman just at the right time, distribution strategy is
The N number of food materials information for dispensing two target businessmans simultaneously using only a dispatching user, advantageously reduces the consumption of dispatching expense,
Promote the reasonability of distribution route.
It is described to be determined and the first object businessman is matched matches according to the delivery location in this possible example
After sending route, the method further includes:
When detect the distribution route not include the second target businessman position when, according to N number of food materials
The recipe of information matches determines using sequentially for N number of food materials information;
It is determined for the first distribution time section of the first object businessman and for described the using sequence according to described
The second distribution time section of two target businessmans;
It is that the first dispatching user dispenses first mesh in the first distribution time section to formulate the distribution strategy
First part's food materials corresponding with the N number of food materials information in businessman are marked, the second dispatching user is in second dispatching
Between section dispense second part food materials corresponding with the N number of food materials information in the second target businessman.
Wherein, can be that the server is sent to by mobile terminal with the recipe of N number of food materials information matches, packet
Include each food materials uses sequence.
Wherein, the server can need to make using earliest food materials in the food materials dispensed according to first object businessman
The first distribution time section is determined with sequence, and is needed in the food materials dispensed using earliest food materials according to the second target businessman
The second distribution time section is determined using sequence.
As it can be seen that in this example, server passes through the dispatching road of first object businessman of the determination relative to delivery location farther out
Line observes whether pass by the second target businessman just at the right time on distribution route, when not passing by the second target businessman, transfers to two respectively
Dispatching user dispenses respectively, is conducive to the timeliness for promoting dispatching, moreover, true using sequence in specific recipe according to food materials
The period that fixed dispatching allows is conducive to the reasonability for the intelligent and distribution time setting for promoting dispatching.
It is consistent with above-mentioned embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is a kind of food materials provided by the embodiments of the present application
The flow diagram of allocator is applied to the network architecture as shown in Figure 1 and server as shown in Figure 2, as shown, side
Method includes:
S401, server receive N number of food materials information from mobile terminal, and the food materials information includes food materials title and food
Material quantity.
S402, the server inquire the M food materials with N number of food materials information matches in each businessman of the server
Information, M are the positive integer less than or equal to N.
S403, the server determine M values when detecting there is no including all businessmans of N number of food materials information
Maximum businessman is first kind businessman.
S404, it includes the M food materials information that the first kind businessman is removed in N number of food materials information that the server, which obtains,
Except food materials information the second class businessman.
S405, the server choose first object businessman nearest apart from delivery location in the first kind businessman, and
The distance of first object businessman described in distance is less than the second target businessman of pre-determined distance threshold value in the second class businessman, described
First object businessman and the second target businessman include whole N number of food materials information.
S406, the server is determined according to the delivery location and the matched distribution route of first object businessman,
The first distance between the first object businessman and the delivery location is more than the second target businessman and the dispatching position
Second distance between setting.
S407, the server are determined when it includes the position of the second target businessman to detect the distribution route
Distribution strategy is that the first dispatching user dispenses N number of food materials simultaneously.
S408, the server send the distribution strategy to the target businessman and dispatching user.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
In addition, server is when detecting there is no including all businessmans of N number of food materials information, it is first determined be directed to the N
A food materials information minimum first kind businessman out of stock, effectively reduces the selection range of target businessman, and increase the second class quotient
The quantity of family, the selection that first object businessman and the second target businessman are increased while reducing server operation amount are various
Property, promote the reasonability of server delivery server.
In addition, distribution route of the server by the determining first object businessman relative to delivery location farther out, observation are matched
It send and whether passes by the second target businessman just at the right time on route, when passing by the second target businessman just at the right time, distribution strategy is using only one
A dispatching user dispenses N number of food materials information of two target businessmans simultaneously, advantageously reduces the consumption of dispatching expense, promotes dispatching
The reasonability of route.
It is consistent with above-mentioned embodiment shown in Fig. 3, referring to Fig. 5, Fig. 5 is a kind of food materials provided by the embodiments of the present application
The flow diagram of allocator is applied to the network architecture as shown in Figure 1 and server as shown in Figure 2.As shown, this
Food materials allocator includes:
S501, server receive N number of food materials information from mobile terminal, and the food materials information includes food materials title and food
Material quantity.
N number of food materials information is divided into first kind food materials information and the second class food materials information, institute by S502, the server
The the first culinary art duration for stating first kind food materials information is different from the second culinary art duration of the second class food materials information.
S503, server determination include the first kind businessman of the first kind food materials information and including second class
Second class businessman of food materials information.
S504, the server cooks duration according to described first and the second culinary art duration determines the first object
The maximal distance threshold of businessman and the second target businessman.
S505, the server determine the first object businessman in the first kind businessman according to the maximal distance threshold
With the second target businessman in the second class businessman.
S506, the server is determined according to delivery location and the matched distribution route of first object businessman, described
The first distance between first object businessman and the delivery location be more than the second target businessman and the delivery location it
Between second distance.
S507, the server is when it includes the position of the second target businessman to detect the distribution route not, root
Using sequentially for N number of food materials information is determined according to the recipe with N number of food materials information matches.
S508, the server use determining the first distribution time for the first object businessman of sequence according to described
Section and for the second target businessman the second distribution time section.
S509, it is described in the first dispatching user dispenses in the first distribution time section that the server, which formulates distribution strategy,
First part's food materials corresponding with the N number of food materials information in first object businessman, the second dispatching user is described second
Distribution time section dispenses second part food materials corresponding with the N number of food materials information in the second target businessman.
S510, the server send the distribution strategy to the target businessman and dispatching user.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
In addition, N number of food materials information is divided into first kind food materials information and by server according to the culinary art duration of different foods
Two class food materials information, the maximum distance threshold of the permission between first object businessman and the second target businessman is determined according to food materials information
Value, first object businessman and the second target businessman are determined according to the maximal distance threshold, are conducive to promote what target businessman determined
Reasonability, the food materials of cooking time length, which first reach, makes user can prioritize processing, and the short food materials of cooking time then reach, and meet
The usage time of user avoids the time of waste user, promotes the utilization rate of time.
In addition, distribution route of the server by the determining first object businessman relative to delivery location farther out, observation are matched
It send and whether passes by the second target businessman just at the right time on route, when not passing by the second target businessman, transfer to two dispatching users respectively
It dispenses respectively, is conducive to the timeliness for promoting dispatching, moreover, determining that dispatching is permitted using sequence in specific recipe according to food materials
Perhaps period is conducive to the reasonability for the intelligent and distribution time setting for promoting dispatching.
It is consistent with above-mentioned Fig. 3, Fig. 4, embodiment shown in fig. 5, referring to Fig. 6, Fig. 6 is provided by the embodiments of the present application
A kind of structural schematic diagram of server, as shown, the server include processor, memory, communication interface and one or
Multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured to be held by above-mentioned processor
Row, above procedure includes the instruction for executing following steps;
N number of food materials information from mobile terminal is received, the food materials information includes food materials title and food materials quantity, and N is
Integer more than 1;
Determine that target businessman, the target businessman include first object businessman and the second mesh according to N number of food materials information
Mark businessman;
The matched distribution strategy of location parameter with the target businessman is formulated, to the target businessman and dispatching user's hair
Send the distribution strategy.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, described program
In instruction be specifically used for executing following operation:Inquire the M with N number of food materials information matches in each businessman of the server
A food materials information, M are the positive integer less than or equal to N;And detect that there is no include whole N number of food materials letters for working as
When the businessman of breath, determine that the maximum businessman of M values is first kind businessman;And for obtain include being removed in N number of food materials information
Second class businessman of the food materials information except the M food materials information of the first kind businessman;And for choosing the first kind
First object quotient described in distance in the first object businessman nearest apart from delivery location and the second class businessman in businessman
The distance of family is less than the second target businessman of pre-determined distance threshold value, the first object businessman and the second target businessman
Including all N number of food materials information.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, described program
In instruction be specifically used for executing following operation:Inquire in each businessman of the server with N number of food materials information matches
Food materials information;And it is multigroup with reference to quotient for when detecting there is no including all businessmans of N number of food materials information, determining
Family includes first referring to businessman with reference to businessman and second with reference to businessman, and includes that whole N number of food materials are believed described in every group
Breath;And choose multigroup target businessman with reference in businessman for being evaluated according to historical user.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, described program
In instruction be specifically used for executing following operation:N number of food materials information is divided into first kind food materials information and the second class food materials
First culinary art duration of information, the first kind food materials information is different from the second culinary art duration of the second class food materials information;
And includes the first kind businessman of the first kind food materials information for determination and include the second of the second class food materials information
Class businessman;And for determining the first object businessman and institute according to the first culinary art duration and the second culinary art duration
State the maximal distance threshold of the second target businessman;And for being determined in the first kind businessman according to the maximal distance threshold
The first object businessman and the second class businessman in the second target businessman.
In a possible example, in the matched distribution strategy side of location parameter of the formulation and the target businessman
Face, the instruction in described program are specifically used for executing following operation:It is determined and the first object quotient according to the delivery location
The matched distribution route of family, the first distance between the first object businessman and the delivery location are more than second target
Second distance between businessman and the delivery location;And detect that the distribution route includes second target for working as
When the position of businessman, determine that the distribution strategy is the first dispatching user while dispensing N number of food materials.
In this possible example, above procedure further includes the instruction for executing following steps:Described in the basis
Include institute when detecting the distribution route not after delivery location determination and the matched distribution route of first object businessman
When stating the position of the second target businessman, making for N number of food materials information is determined according to the recipe with N number of food materials information matches
With sequence;And it is determined for the first distribution time section of the first object businessman and for described using sequence according to described
The second distribution time section of second target businessman;And it formulates the distribution strategy and dispenses user described first for described first
Distribution time section dispenses first part's food materials corresponding with the N number of food materials information in the first object businessman, and described second
Dispense user in the second distribution time section dispenses the second target businessman with N number of food materials information corresponding second
Part food materials.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for server in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software module.
Those skilled in the art should be readily appreciated that, each exemplary unit described in conjunction with embodiment presented herein and calculation
Method step, the application can be realized with the combining form of hardware or hardware and computer software.Some function is actually with hardware
Or computer software drives the mode of hardware to execute, and depends on the specific application and design constraint of technical solution.Specially
Industry technical staff specifically can realize described function to each using distinct methods, but this realization is not answered
Think to exceed scope of the present application.
The embodiment of the present application can carry out server according to the above method example division of functional unit, for example, can be with
Corresponding each function divides each functional unit, and two or more functions can also be integrated in a processing unit
In.The form that hardware had both may be used in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs
It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Fig. 7 is the functional unit composition block diagram of food materials dispenser 700 involved in the embodiment of the present application.The food materials are matched
Device 700 is sent to be applied to server, which includes receiving unit 701, determination unit 702 and formulation unit
703, wherein
The receiving unit 701, for receiving N number of food materials information from mobile terminal, the food materials information includes food
Material title and food materials quantity, N are the integer more than 1;
The determination unit 702, for determining that target businessman, the target businessman include according to N number of food materials information
First object businessman and the second target businessman;
The formulation unit 703, for formulating and the matched distribution strategy of location parameter of the target businessman, to described
Target businessman and dispatching user send the distribution strategy.
As can be seen that in the embodiment of the present application, server receives N number of food materials information from mobile terminal first, described
Food materials information includes secondly food materials title and food materials quantity determine target businessman, the target according to N number of food materials information
Businessman includes first object businessman and the second target businessman, finally, is formulated and the location parameter of the target businessman is matched matches
Strategy is sent, the distribution strategy is sent to the target businessman and dispatching user.It is found that server is receiving mobile terminal hair
When the N number of food materials information sent, first object businessman and the second target businessman are determined according to food materials information, it can be to avoid because of food materials mistake
The problem of whole food materials mostly can not be provided by a businessman, and an order can simultaneously be provided by two businessmans, therefore,
Each businessman can only store several food materials information when storing cargo according to the condition of itself, can equally receive dispatching and order
It is single, without storing at present all food materials information on the market, be conducive to the convenience and reasonability that promote businessman's stock, and
And distribution strategy is formulated according to food materials information and target businessman by server, rather than dispensed by businessman oneself competition for orders, it avoids
The case where one Order splitting is to 4 businessmans or with more businessmans avoid additional dispatching expense consumption, are conducive to promote food materials
The normalization and reasonability of dispatching.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, the determination
Unit 702 is specifically used for:Inquire the M food materials information with N number of food materials information matches, M in each businessman of the server
For the positive integer less than or equal to N;And for when detecting there is no including the businessman of whole N number of food materials information,
Determine that the maximum businessman of M values is first kind businessman;And it includes that the first kind quotient is removed in N number of food materials information to be used to obtain
Second class businessman of the food materials information except M food materials information of family;And match for choosing distance in the first kind businessman
The distance of first object businessman described in distance is less than in the first object businessman and the second class businessman that send position nearest
The second target businessman of pre-determined distance threshold value, the first object businessman and the second target businessman include described in whole
N number of food materials information.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, the determination
Unit 702 is specifically used for:Inquire the food materials information with N number of food materials information matches in each businessman of the server;And
It is multigroup with reference to businessman for when detecting there is no including all businessmans of N number of food materials information, determining, join described in every group
It includes first referring to businessman with reference to businessman and second to examine businessman, and includes whole N number of food materials information;And it is used for basis
Historical user, which evaluates, chooses multigroup target businessman with reference in businessman.
In a possible example, it is described target businessman is determined according to N number of food materials information in terms of, the determination
Unit 702 is specifically used for:N number of food materials information is divided into first kind food materials information and the second class food materials information, described first
First culinary art duration of class food materials information is different from the second culinary art duration of the second class food materials information;And for determining packet
It includes the first kind businessman of the first kind food materials information and includes the second class businessman of the second class food materials information;And it is used for
Duration is cooked according to described first and the second culinary art duration determines the first object businessman and the second target businessman
Maximal distance threshold;And for determining the first object in the first kind businessman according to the maximal distance threshold
The second target businessman in businessman and the second class businessman.
In a possible example, in the matched distribution strategy side of location parameter of the formulation and the target businessman
Face, the formulation unit 703 are specifically used for:It is determined and the matched dispatching road of the first object businessman according to the delivery location
Line, the first distance between the first object businessman and the delivery location are more than the second target businessman and the dispatching
Second distance between position;And for when it includes the position of the second target businessman to detect the distribution route,
Determine that the distribution strategy is the first dispatching user while dispensing N number of food materials.
In this possible example, the formulation unit 703 determines and described the described according to the delivery location
After the one matched distribution route of target businessman, it is additionally operable to:Include the second target quotient when detecting the distribution route not
When the position of family, using sequentially for N number of food materials information is determined according to the recipe with N number of food materials information matches;And
It is determined for the first distribution time section of the first object businessman and for the second target quotient using sequence according to described
Second distribution time section of family;And it formulates the distribution strategy and dispenses user in the first distribution time section for described first
First part's food materials corresponding with the N number of food materials information in the first object businessman are dispensed, the second dispatching user exists
The second distribution time section dispenses second part food materials corresponding with the N number of food materials information in the second target businessman.
Wherein, receiving unit 701 can be transceiver, and determination unit 702 can be processor, and formulating unit 703 can be with
It is processor or transceiver.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity
The computer program that subdata exchanges, the computer program make computer execute any as described in above method embodiment
Some or all of method step.
The embodiment of the present application also provides a kind of computer program product, and above computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either method described in method embodiment step.The computer program product can be a software installation
Packet.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, said units division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory
May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (15)
1. a kind of server, which is characterized in that including processor, connect the communication interface and memory of the processor, wherein
The memory, for storing target businessman, the target businessman includes first object businessman and the second target businessman;
The communication interface, for receiving N number of food materials information from mobile terminal, the food materials information include food materials title with
Food materials quantity, N are the integer more than 1;
The processor, for determining the target businessman according to N number of food materials information;And for formulating and the target
The matched distribution strategy of location parameter of businessman, by the communication interface to described in the target businessman and dispatching user's transmission
Distribution strategy.
2. server according to claim 1, which is characterized in that described according to described in N number of food materials information determination
In terms of target businessman, the processor is specifically used for:Inquire in each businessman of the server with N number of food materials information matches
M food materials information, M is positive integer less than or equal to N;And detect that there is no include whole N number of foods for working as
When the businessman of material information, determine that the maximum businessman of M values is first kind businessman;And it includes N number of food materials information to be used to obtain
In food materials information in addition to the M food materials information of the first kind businessman the second class businessman;And for choosing described
First mesh described in distance in the first object businessman nearest apart from delivery location and the second class businessman in a kind of businessman
The distance for marking businessman is less than the second target businessman for the pre-determined distance threshold value that the memory stores, the first object quotient
Family and the second target businessman include whole N number of food materials information.
3. server according to claim 1, which is characterized in that determine target according to N number of food materials information described
In terms of businessman, the processor is specifically used for:Inquire the food with N number of food materials information matches in each businessman of the server
Material information;And it is multigroup with reference to quotient for when detecting there is no including all businessmans of N number of food materials information, determining
Family includes first referring to businessman with reference to businessman and second with reference to businessman, and includes that whole N number of food materials are believed described in every group
Breath;And choose multigroup target businessman with reference in businessman for being evaluated according to historical user.
4. server according to claim 1, which is characterized in that determine target according to N number of food materials information described
In terms of businessman, the processor is specifically used for:N number of food materials information is divided into first kind food materials information and the second class food materials letter
First culinary art duration of breath, the first kind food materials information is different from the first culinary art duration of the second class food materials information;With
And includes the first kind businessman of the first kind food materials information for determination and include the second class of the second class food materials information
Businessman;And for cooking duration according to described first and the second culinary art duration determines the first object businessman and described
The maximal distance threshold of second target businessman;And for being determined in the first kind businessman according to the maximal distance threshold
The second target businessman in the first object businessman and the second class businessman.
5. according to claim 1-4 any one of them servers, which is characterized in that in the formulation with the target businessman's
In terms of the matched distribution strategy of location parameter, the processor is specifically used for:It is determined and described first according to the delivery location
The matched distribution route of target businessman, the first distance between the first object businessman and the delivery location are more than described the
Second distance between two target businessmans and the delivery location;And for when detecting that the distribution route includes described the
When the position of two target businessmans, determine that the distribution strategy is the first dispatching user while dispensing N number of food materials.
6. server according to claim 5, which is characterized in that the processor is according to delivery location determination and institute
After stating the matched distribution route of first object businessman, it is additionally operable to:Include second mesh when detecting the distribution route not
When marking the position of businessman, using sequentially for N number of food materials information is determined according to the recipe with N number of food materials information matches;
And for being determined for the first distribution time section of the first object businessman and for described the using sequence according to described
The second distribution time section of two target businessmans;And for formulating the distribution strategy it is described first to dispense user described the
One distribution time section dispenses first part's food materials corresponding with the N number of food materials information in the first object businessman, and described the
Two dispatching users are corresponding with N number of food materials information the in the second distribution time section dispenses the second target businessman
Two part food materials.
7. a kind of food materials allocator, which is characterized in that it is applied to server, the method includes:
N number of food materials information from mobile terminal is received, the food materials information includes food materials title and food materials quantity, and N is more than 1
Integer;
Determine that target businessman, the target businessman include first object businessman and the second target quotient according to N number of food materials information
Family;
The matched distribution strategy of location parameter with the target businessman is formulated, institute is sent to the target businessman and dispatching user
State distribution strategy.
8. the method according to the description of claim 7 is characterized in that described determine target businessman according to N number of food materials information,
Including:
The M food materials information with N number of food materials information matches in each businessman of the server is inquired, M is less than or equal to N
Positive integer;
When detecting there is no including all businessmans of N number of food materials information, determine that the maximum businessman of M values is first kind quotient
Family;
Obtain includes the of food materials information in N number of food materials information in addition to the M food materials information of the first kind businessman
Two class businessmans;
It chooses in the first object businessman and the second class businessman nearest apart from delivery location in the first kind businessman
Distance apart from the first object businessman is less than the second target businessman of pre-determined distance threshold value, the first object businessman
Include whole N number of food materials information with the second target businessman.
9. the method according to the description of claim 7 is characterized in that described determine target businessman according to N number of food materials information,
Including:
Inquire the food materials information with N number of food materials information matches in each businessman of the server;
It when detecting there is no including all businessmans of N number of food materials information, determines multigroup with reference to businessman, joins described in every group
It includes first referring to businessman with reference to businessman and second to examine businessman, and includes whole N number of food materials information;
It is evaluated according to historical user and chooses multigroup target businessman with reference in businessman.
10. the method according to the description of claim 7 is characterized in that described determine target quotient according to N number of food materials information
Family, including:
N number of food materials information is divided into first kind food materials information and the second class food materials information, the first kind food materials information
First culinary art duration is different from the second culinary art duration of the second class food materials information;
Determination includes the first kind businessman of the first kind food materials information and includes the second class quotient of the second class food materials information
Family;
Duration is cooked according to described first and the second culinary art duration determines the first object businessman and second target
The maximal distance threshold of businessman;
The first object businessman and the second class quotient in the first kind businessman are determined according to the maximal distance threshold
The second target businessman in family.
11. according to claim 7-10 any one of them methods, which is characterized in that the position of the formulation and the target businessman
The matched distribution strategy of parameter is set, including:
It is determined and the matched distribution route of first object businessman, the first object businessman and institute according to the delivery location
State the second distance that the first distance between delivery location is more than between the second target businessman and the delivery location;
When it includes the position of the second target businessman to detect the distribution route, determine that the distribution strategy is matched for first
It send user while dispensing N number of food materials.
12. according to the method for claim 11, which is characterized in that described to be determined and described first according to the delivery location
After the matched distribution route of target businessman, the method further includes:
When detect the distribution route not include the second target businessman position when, according to N number of food materials information
Matched recipe determines using sequentially for N number of food materials information;
It is determined for the first distribution time section of the first object businessman and for second mesh using sequence according to described
Mark the second distribution time section of businessman;
It is that the first dispatching user dispenses the first object quotient in the first distribution time section to formulate the distribution strategy
First part's food materials corresponding with the N number of food materials information in family, the second dispatching user is in the second distribution time section
Dispense second part food materials corresponding with the N number of food materials information in the second target businessman.
13. a kind of food materials dispenser, which is characterized in that be applied to server, the food materials dispenser include receiving unit,
Determination unit and formulation unit, wherein
The receiving unit, for receiving N number of food materials information from mobile terminal, the food materials information include food materials title with
Food materials quantity, N are the integer more than 1;
The determination unit, for determining target businessman according to N number of food materials information, the target businessman includes first object
Businessman and the second target businessman;
The formulation unit, for formulating and the matched distribution strategy of location parameter of the target businessman, to the target quotient
Family and dispatching user send the distribution strategy.
14. a kind of server, which is characterized in that including processor, memory, communication interface, and one or more programs, institute
It states one or more programs to be stored in the memory, and is configured to be executed by the processor, described program includes
For executing the instruction such as the step in claim 7-12 any one of them methods.
15. a kind of computer readable storage medium, which is characterized in that computer program of the storage for electronic data interchange,
In, the computer program makes computer execute such as claim 7-12 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810457296.8A CN108681854A (en) | 2018-05-14 | 2018-05-14 | Server, food materials allocator and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810457296.8A CN108681854A (en) | 2018-05-14 | 2018-05-14 | Server, food materials allocator and Related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108681854A true CN108681854A (en) | 2018-10-19 |
Family
ID=63805044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810457296.8A Pending CN108681854A (en) | 2018-05-14 | 2018-05-14 | Server, food materials allocator and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108681854A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112918919A (en) * | 2021-02-07 | 2021-06-08 | 广州一盒科技有限公司 | Intelligent food material distribution control method and system |
CN113516531A (en) * | 2021-05-20 | 2021-10-19 | 广东金材宝五金建材有限公司 | Hardware building material transaction system based on Internet |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292106A (en) * | 2017-06-23 | 2017-10-24 | 北京好豆网络科技有限公司 | The purchasing method and device of food materials |
CN107341717A (en) * | 2017-07-17 | 2017-11-10 | 蔡勇 | A kind of on-line off-line food market commodity purchasing system being combined |
-
2018
- 2018-05-14 CN CN201810457296.8A patent/CN108681854A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292106A (en) * | 2017-06-23 | 2017-10-24 | 北京好豆网络科技有限公司 | The purchasing method and device of food materials |
CN107341717A (en) * | 2017-07-17 | 2017-11-10 | 蔡勇 | A kind of on-line off-line food market commodity purchasing system being combined |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112918919A (en) * | 2021-02-07 | 2021-06-08 | 广州一盒科技有限公司 | Intelligent food material distribution control method and system |
CN113516531A (en) * | 2021-05-20 | 2021-10-19 | 广东金材宝五金建材有限公司 | Hardware building material transaction system based on Internet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618373A (en) | Link choosing method and relevant apparatus | |
CN107133850B (en) | Catering service system and method based on Internet platform | |
CN103266452B (en) | A kind of control method for washing machine and washing machine | |
CN109544068A (en) | Storage order sorting method based on robot | |
CN104688097B (en) | A kind of condiment feeds intake control system and charging device | |
CN109432771A (en) | The transfer approach and device of game item | |
CN107944962A (en) | Order management method and system, cooking control method and system | |
CN107358495A (en) | A kind of implementation method, server and the intelligent cooking apparatus of O2O food and drink | |
CN111209482A (en) | Menu pushing method and device | |
CN106988076A (en) | Control method, device and washing facility that detergent is delivered | |
CN108681854A (en) | Server, food materials allocator and Related product | |
CN109829835A (en) | A kind of method, apparatus, electronic equipment and the storage medium of determining menu | |
CN109801120A (en) | The processing method and processing device of business on line | |
CN101140130A (en) | Refrigerator and control method thereof with food product information management device | |
CN110580665B (en) | Restaurant information processing method, device and system | |
CN109600315A (en) | The flow control method and method of adjustment of data channel | |
CN108303911A (en) | Intelligent electric cooker, the cooking instruction recommendation method of intelligent electric cooker and medium | |
CN106202565A (en) | Menu method for pushing, menu method of reseptance, server, cooking equipment and terminal | |
CN108564430A (en) | A kind of purchase method, server and client side | |
CN108806095A (en) | A kind of intelligence dish frying system | |
CN110852912A (en) | Intelligent meal preparation method and device, computer equipment and storage medium | |
CN104994141B (en) | Alleviate Cloud Server storage and calculate the collaboration storage system of pressure | |
CN106779445A (en) | A kind of delivery system that kinds of goods are captured based on remote control power drive | |
CN109785044A (en) | A kind of order processing method and its server, system | |
CN105025105B (en) | request processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181019 |