CN110334995A - A kind of allocator, device, electric business system and storage medium - Google Patents

A kind of allocator, device, electric business system and storage medium Download PDF

Info

Publication number
CN110334995A
CN110334995A CN201910598327.6A CN201910598327A CN110334995A CN 110334995 A CN110334995 A CN 110334995A CN 201910598327 A CN201910598327 A CN 201910598327A CN 110334995 A CN110334995 A CN 110334995A
Authority
CN
China
Prior art keywords
order
user
cabinet
latitude
sold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910598327.6A
Other languages
Chinese (zh)
Inventor
陈志新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Blue Bei Science And Technology Co Ltd
Original Assignee
Shenzhen Blue Bei Science And Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Blue Bei Science And Technology Co Ltd filed Critical Shenzhen Blue Bei Science And Technology Co Ltd
Priority to CN201910598327.6A priority Critical patent/CN110334995A/en
Publication of CN110334995A publication Critical patent/CN110334995A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Remote Sensing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of allocator, device, electric business system and storage mediums.The allocator includes: the latitude and longitude information for receiving reporting of user, and determines currently to place an order according to the latitude and longitude information of the latitude and longitude information of reporting of user and pre-stored retail cabinet and be sold cabinet;When user according to currently place an order be sold cabinet submit current order information after, according to current order information notify logistics system carry out order dispatching;After confirming logistics system dispatching order success, determines whether that opening currently places an order according to the picking code that user inputs and be sold cabinet.The embodiment of the present invention determines currently to place an order by the latitude and longitude information and the pre-stored latitude and longitude information for being sold cabinet that receive reporting of user is sold cabinet, logistics system is notified to carry out order dispatching according to current order information, determine whether to open currently to place an order according to the picking code that user inputs and be sold cabinet, to realize accurately logistics distribution.

Description

A kind of allocator, device, electric business system and storage medium
Technical field
The present embodiments relate to logistics management technical field more particularly to a kind of allocator, device, electric business system and Storage medium.
Background technique
With the high speed development of e-commerce, e-commerce has not only included the main Connotation of its shopping, is further comprised Logistics distribution etc. incidentally services, and logistics distribution is the vital part of entire electric business link.
Usually, accurately logistics distribution is fixed against the conditions such as the address name of accurately map and specification to realize, But due in the name of some ground regional address and lack of standardization, for example, the electric business system of south east asia is mainly or using duplication The electric business mode of China, but the address of south east asia does not have unified specification to name in specific building or street number, or Person is can not to recognize accurate map location, then will will lead to logistics distribution difficulty, while increasing distribution cost.
Summary of the invention
The embodiment of the present invention provides a kind of allocator, device, electric business system and storage medium, to realize accurately logistics Logistics distribution cost is saved in dispatching.
In a first aspect, the embodiment of the invention provides a kind of allocator, which includes:
The latitude and longitude information of reporting of user is received, and according to the latitude and longitude information of the reporting of user and pre-stored zero The latitude and longitude information for selling cabinet, which determines currently to place an order, is sold cabinet;
When the user according to it is described currently place an order be sold cabinet submit current order information after, according to the current order believe Breath notice logistics system carries out order dispatching;
After confirming that the logistics system dispenses order success, determined whether according to the picking code that the user inputs It opens described currently place an order and is sold cabinet.
Further, before the latitude and longitude information for receiving reporting of user, further includes:
The latitude and longitude information of the retail cabinet is obtained, and the latitude and longitude information of the retail cabinet is generated into the retail cabinet Spatial index position character string.
Further, the latitude and longitude information of reporting of user is received, and according to the latitude and longitude information of the reporting of user and in advance The latitude and longitude information of the retail cabinet first stored, which determines currently to place an order, is sold cabinet, comprising:
The latitude and longitude information of reporting of user is received, and the latitude and longitude information of the reporting of user is generated to the sky of the user Between index position character string;Wherein, the Spatial Cable of the length of the spatial index position character string of the user and the retail cabinet The length for drawing position character string is identical;
It is determined according to the spatial index position character string of the spatial index position character string of the retail cabinet and the user It currently places an order and is sold cabinet.
Further, the user according to it is described currently place an order be sold cabinet submit order information before, further includes:
When it is described currently place an order and be sold cabinet in the absence of, the corresponding history of History Order information for obtaining the user places an order It is sold cabinet;
It is placed an order according to the history and is sold the latitude and longitude information of cabinet and the latitude and longitude information of the reporting of user judges whether The history is placed an order and is sold cabinet and is determined as described currently placing an order and being sold cabinet.
Further, determine whether that opening described currently place an order is sold cabinet according to the picking code that the user inputs, Include:
The picking code for receiving user's input determines the corresponding order information of the picking code;Wherein, described to order Single information includes the order amount of money;
Determined whether to open the retail that currently places an order according to the order amount of money that the order amount of money and the user are put into Cabinet.
Further, determine whether to open according to the order amount of money that the order amount of money and the user are put into described current It places an order and is sold cabinet, comprising:
When the order amount of money is consistent with the order amount of money that the user is put into, it is determined that open and described currently place an order zero Sell cabinet.
Further, the retail cabinet is vending machine or Intelligent cargo cabinet.
Second aspect, the embodiment of the invention also provides a kind of dispenser, which includes:
It currently places an order and is sold cabinet determining module, for receiving the latitude and longitude information of reporting of user, and according on the user The latitude and longitude information of report and the latitude and longitude information of pre-stored retail cabinet determine currently to place an order and are sold cabinet;
Order dispense module, for when the user according to it is described currently place an order be sold cabinet submission current order information after, Logistics system is notified to carry out order dispatching according to the current order information;
Current retail cabinet opens module, is used for after confirming that the logistics system dispenses order success, according to described The picking code of user's input determines whether that opening described currently place an order is sold cabinet.
The third aspect, the embodiment of the invention also provides a kind of electric business system, the electric business system includes background server With logistics module;The background server includes:
One or more processors;
Storage device, for storing multiple programs,
When at least one of the multiple program by one or more of processors execute when so that it is one or Multiple processors realize a kind of allocator provided by first aspect present invention embodiment.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes a kind of allocator provided by first aspect present invention embodiment when the program is executed by processor.
The embodiment of the present invention is believed by receiving the latitude and longitude information of reporting of user according to the longitude and latitude of the reporting of user The latitude and longitude information of breath and pre-stored retail cabinet, which determines currently to place an order, is sold cabinet;When the user currently places an order according to described After being sold cabinet submission current order information, logistics system is notified to carry out order dispatching according to the current order information;Work as confirmation After the logistics system dispenses the order success, determine whether to open according to the picking code that the user inputs described when front lower Single retail cabinet, solution can not provide controlled map or address name it is lack of standardization caused by can not precisely realize asking for logistics distribution Topic saves logistics distribution cost to realize accurately logistics distribution.
Detailed description of the invention
Fig. 1 is a kind of flow chart for allocator that the embodiment of the present invention one provides;
Figure 1A is user and retail cabinet and electric business system in an illustrative kilometer range provided in an embodiment of the present invention Relation schematic diagram;
Fig. 2 is a kind of flow chart of allocator provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for allocator that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure chart for dispenser that the embodiment of the present invention four provides;
Fig. 5 is a kind of hardware structural diagram for electric business system that the embodiment of the present invention five provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of a kind of allocator that the embodiment of the present invention one provides, and the present embodiment is applicable to can not The case where logistics distribution can not be precisely realized caused by offer controlled map or address name are lack of standardization, and this method can be by matching It send device or electric business system to execute, specifically comprises the following steps:
S110, receive reporting of user latitude and longitude information, and according to the latitude and longitude information of the reporting of user with deposit in advance The latitude and longitude information of the retail cabinet of storage, which determines currently to place an order, is sold cabinet.
Wherein, latitude and longitude information is the longitude and latitude in the geographical location of user, can be indicated in the form of coordinate.When front lower Single retail cabinet is vending machine or Intelligent cargo cabinet.Specifically, currently placing an order, to be sold cabinet can be common vending machine or intelligence Vending machine can make user directly carry out commodity purchasing or user by vending machine and power on quotient system system progress quotient by line Product purchase;Currently placing an order, to be sold cabinet may be Intelligent cargo cabinet, for after user powers on quotient's systems buying commodity by line, temporarily When storage to user's purchased item.That is, user both can be by completing the purchases of commodity, i.e., directly to selling under line Machine purchase commodity are sold, and quotient system system can be powered on by line and carry out the purchase that places an order, select closer to sell apart from oneself after placing an order It sells machine or Intelligent cargo cabinet extracts the commodity bought.
Specifically, user is after the current latitude and longitude information for obtaining oneself position by map, by the current of oneself Latitude and longitude information is reported to the background server of electric business system, by the longitude and latitude of background server retail cabinet according to the pre-stored data The retail cabinet whether information judges to have in the preset range of the current latitude and longitude information of user for placing an order optionally is preset In the kilometer range that may range from the current latitude and longitude information of user, the milimeter number of preset range is specifically by those skilled in the art Member is configured according to the actual situation, or is determined according to the precision of latitude and longitude information, the technical solution of the embodiment of the present invention In, placing an order for user convenience is sold cabinet and place an order and picking, can set preset range to meeting user demand In a certain range, specific range size is only illustrated, and is not intended to be limited in any to this.
It should be noted that when the latitude and longitude information of background server retail cabinet according to the pre-stored data judges user's In the preset range of current latitude and longitude information not for place an order retail cabinet when, user is prompted by background server Its retail cabinet not placed an order properly is placed an order with the retail cabinet for prompting user to select a nearest user, if user is The new user of the electric business system, i.e., the user to be placed an order for the first time using current electric business system, and do not passed through currently in user The retail cabinet that latitude information nearby searches for placing an order, then notify user is unable to complete this time to place an order.
It is further to note that determine currently place an order be sold cabinet be user submit order while, only mentioned in user The retail cabinet that can be used is selected when handing over order, then the order currently submitted can just come into force, and otherwise user is unable to complete this Lower single act.
S120, when the user according to it is described currently place an order be sold cabinet and submit current order information after, according to described current Order information notifies logistics system to carry out order dispatching.
Wherein, current order information may include user information, merchandise news, the current order amount of money and to be dispensed current It places an order and is sold the latitude and longitude information of cabinet, user information includes that the current latitude and longitude information, user's telephone number and user of user exists Information, the merchandise newss such as the user's name under current electric business system include the unit price of type of merchandize and quantity and every kind of commodity This is only illustrated with information, the embodiment of the present invention such as the total amounts of current order, rather than any restrictions are carried out to it.
Specifically, when the user according to it is described currently place an order be sold cabinet submit current order information after, background server Determine that current order is effective, then the logistics system that current order information is sent to electric business system is carried out to the processing of next step, object Streaming system carries out commodity distribution according to current order information.
S130, after confirming that the logistics system dispenses order success, the picking code inputted according to the user is true Described currently place an order whether is opened calmly is sold cabinet.
Specifically, logistics system according to current order information complete dispatching task after, currently place an order be sold cabinet can be to object Streaming system feeds back the picking code that commodity are extracted for user, and picking code is sent to use by the physical system of electric business system Family.User, which reaches currently to place an order according to picking code, is sold cabinet, picking code is inputted, if user has completed current order on line Payment behavior, then currently placing an order is sold cabinet and directly opens after receiving picking code, currently orders if user needs to pay under line It is single, then it can be by currently the place an order cash payment function for being sold cabinet offer or other means of payment so that it is to current order Complete payment, wherein other means of payment can be the barcode scanning that the clients such as wechat Alipay or application software provide Payment, or the cCredit card payment of the offers such as bank card or logistics system specified card, logistics system specified card are provided It is the card for being sold the forms such as the supported member card of cabinet or accumulating card, the embodiment of the present invention is not intended to be limited in any this.Separately Outside it should be noted that electric business system can provide a user navigation feature according to the latitude and longitude information for being sold cabinet that currently places an order, Commodity are extracted to the longitude and latitude position for being sold cabinet that currently places an order by current longitude and latitude position for user, and navigation Service is provided.
Illustratively, it is guarantee user when single under using electric business system, a retail can be set in a certain range Cabinet, to guarantee to may search for effective workable retail cabinet using the user of the function in the range, optionally, centainly May range from retail cabinet is the user in be radiated one kilometer of origin or a few kilometer ranges, i.e., use within this range Family buys commodity and may search for current retail cabinet by placing an order on line, is as shown in Figure 1A provided in an embodiment of the present invention The relation schematic diagram of user and retail cabinet and electric business system in an illustrative kilometer range, cabinet 10, user are sold in Figure 1A 20, the logistics system 40 of the background server 30 of electric business system and electric business system, relationship is as previously described.
The embodiment of the present invention is believed by receiving the latitude and longitude information of reporting of user according to the longitude and latitude of the reporting of user The latitude and longitude information of breath and pre-stored retail cabinet, which determines currently to place an order, is sold cabinet;When the user currently places an order according to described After being sold cabinet submission current order information, logistics system is notified to carry out order dispatching according to the current order information;Work as confirmation After the logistics system dispenses the order success, ordered according to what the picking code of user input and/or the user were put into Single amount of money determines whether that opening described currently place an order is sold cabinet, and solution can not provide controlled map or address name is lack of standardization to be led What is caused can not precisely realize the problem of logistics distribution, to realize accurately logistics distribution, save logistics distribution cost.
Embodiment two
Fig. 2 is a kind of flow chart of allocator provided by Embodiment 2 of the present invention.The present embodiment is with above-described embodiment Basis optimizes, in the present embodiment, before the latitude and longitude information that step receives reporting of user, further includes: described in acquisition It is sold the latitude and longitude information of cabinet, and the latitude and longitude information of the retail cabinet is generated to the spatial index position character of the retail cabinet String.On this basis, by step receive reporting of user latitude and longitude information, and according to the latitude and longitude information of the reporting of user with The latitude and longitude information of pre-stored retail cabinet, which determines currently to place an order, to be sold cabinet and advanced optimizes are as follows: receives the longitude and latitude of reporting of user Information is spent, and the latitude and longitude information of the reporting of user is generated to the spatial index position character string of the user;Wherein, described The length of the spatial index position character string of user is identical as the retail length of spatial index position character string of cabinet;According to The spatial index position character string of the retail cabinet and the spatial index position character string of the user determine the retail that currently places an order Cabinet.
Correspondingly, the method for the present embodiment specifically includes:
S210, the latitude and longitude information for obtaining the retail cabinet, and the latitude and longitude information of the retail cabinet is generated described zero Sell the spatial index position character string of cabinet.
S220, the latitude and longitude information for receiving reporting of user, and the latitude and longitude information of the reporting of user is generated into the use The spatial index position character string at family;Wherein, the length of the spatial index position character string of the user and the retail cabinet The length of spatial index position character string is identical.
Specifically, in the technical solution of the embodiment of the present invention, using the basic principle of GEOHASH to the longitude and latitude for being sold cabinet Degree information and the latitude and longitude information of user are handled.The earth is interpreted as a two-dimensional surface by the basic principle of GEOHASH, will Plane recurrence resolves into smaller sub-block, and each sub-block possesses identical coding, this mode letter within the scope of certain longitude and latitude It is single rough, it can satisfy the retrieval that small-scale data are carried out with longitude and latitude.Two-dimensional longitude and latitude is converted into character by GEOHASH String, for example, can be WX4ER, WX4G2 and WX4G3 etc. respectively by the GEOHASH character string in 9, Beijing region, each Character string represents a certain rectangular area.That is, point (i.e. latitude and longitude coordinates) all in this rectangular area is all shared Identical GEOHASH character string not only can protect privacy (only indicating general area position rather than specific point) in this way, but also It is easier to cache.The code length of different character strings indicates different range intervals, and character string is longer, the range of expression It is more accurate.Character string is similar to indicate closely located, can use the prefix matching of character string in this way to inquire neighbouring region Information.For example, one in city, one more similar between suburb, the GEOHASH character string in city, the character string in suburb Between it is also more similar, and the GEOHASH character string similarity degree of urban and suburban may be lower.
Illustratively, in the technical solution of the embodiment of the present invention, for example, the latitude and longitude information in the geographical location of retail cabinet It is (31.1932993,121.43960190000007), its string length is set as 6, and calculates GEOHASH value and be Wtw37q, then, with the geographical location of the retail cabinet, physical location is divided into as shown in the table:
Table 1 is sold the physical location dividing condition of the GEOHASH value of cabinet
wtw37p wtw37r wtw37x
wtw37n wtw37q wtw37w
wtw37j wtw37m wtw37t
The latitude and longitude information in the geographical location of reporting of user is wtw37p in the GEOHASH value by being calculated, then, It is compared wtw37 using the prefix of GEOHASH value, can be quickly found out and currently be sold cabinet wait place an order.
It should be noted that the length of the character string of GEOHASH value is unsuitable too long from actual from the point of view of, it also should not be too It is short, the string length of the GEOHASH value provided by table 2 and the relationship of its accuracy, it can be deduced that in string length be 5 Distance below will not generally be used, and optionally, the length of the character string of GEOHASH value is 6.
The string length of table 2GEOHASH value and the relationship situation of its accuracy
String length Width Highly
5 4.89km * 4.89km
6 1.22km * 0.61km
7 153m * 153m
8 38.2m * 19.1m
9 4.77m * 4.77m
10 1.19m * 0.596m
11 149mm * 149mm
S230, according to it is described retail cabinet spatial index position character string and the user spatial index position character string It determines currently to place an order and is sold cabinet.
S240, when it is described currently place an order and be sold cabinet in the absence of, the History Order information for obtaining the user corresponding is gone through History, which places an order, is sold cabinet.
S250, being placed an order according to the history is sold the latitude and longitude information and the latitude and longitude information judgement of the reporting of user of cabinet Whether the history is placed an order and is sold cabinet and is determined as described currently placing an order and being sold cabinet.
S260, when the user according to it is described currently place an order be sold cabinet and submit current order information after, according to described current Order information notifies logistics system to carry out order dispatching.
S270, after confirming that the logistics system dispenses order success, receive the picking of user's input Code determines the corresponding order information of the picking code, wherein the order information includes the order amount of money.
S280, determine whether to open according to the order amount of money that the order amount of money and the user are put into and described currently place an order It is sold cabinet.
Wherein, determine whether to open according to the order amount of money that the order amount of money and the user are put into and described currently place an order It is sold cabinet, comprising:
When the order amount of money is consistent with the order amount of money that the user is put into, it is determined that open and described currently place an order zero Sell cabinet.
The technical solution of the embodiment of the present invention, by the sky that the latitude and longitude information of the retail cabinet is generated to the retail cabinet Between index position character string, and the latitude and longitude information of the reporting of user is generated to the spatial index position character of the user String is determined according to the spatial index position character string of the spatial index position character string of the retail cabinet and the user when front lower List retail cabinet, meanwhile, consider the case where user does not search retail cabinet, solves that controlled map or address life can not be being provided The problem of logistics distribution can not be precisely realized caused by name is lack of standardization, position user using the physical address of retail cabinet, it will be from zero It sells cabinet nearest user, the commodity distribution bought on its line to the retail cabinet is solved using the cash payment function of retail cabinet User cashes on delivery problem, in addition, by the way that the geographical location for being sold cabinet is converted into GEOHASH value and the geographical position of user It sets and is also converted to GEOHASH value, be compared the function of can achieve Rapid matching retail cabinet and user to realize retail cabinet.
Embodiment three
Fig. 3 is a kind of schematic diagram for allocator that the embodiment of the present invention three provides.The technical solution of the embodiment of the present invention It is further to be optimized on the basis of the above embodiments.The method of the present embodiment specifically includes:
Vending machine or Intelligent cargo cabinet report its geographical location and factory coding to electric business system, if vending machine or Intelligent cargo cabinet can not obtain geographical location, can also when installation personnel installs vending machine or Intelligent cargo cabinet, The geographical location of vending machine or Intelligent cargo cabinet is inputted by installation personnel.Background service receives vending machine or Intelligent cargo cabinet Geographical location indexes corresponding geographical location by the corresponding GEOHASH value in the geographical location of vending machine or Intelligent cargo cabinet Information.
User is when lower single, if it is vending machine or Intelligent cargo cabinet is passed through, then by vending machine or Intelligent cargo cabinet The geographical location information for reporting oneself places an order if it is with the electric business application platform (such as App) on smart machine, then by Geographical location information when smart machine report of user is currently lower single, wherein smart machine includes the electronics such as mobile phone or plate Equipment.
Geographical location information when background service is single under receiving user currently, ground when single under user is calculated currently The corresponding GEOHASH value of location information is managed, the vending machine or intelligence near the prefix quick search user of GEOHASH value are passed through Counter, if not finding the vending machine or Intelligent cargo cabinet for meeting lower single condition, prompt the user with place an order it is unsuccessful, with side Help user that a nearest used vending machine or Intelligent cargo cabinet is selected to re-start submission order, wherein the lower single of user There are vending machine or Intelligent cargo cabinets for location information attachment of the part as when user is currently lower single, and the method that condition is set up is logical Cross what the basic principle of GEOHASH was confirmed.
After user submits order success, background server judges that order is submitted successfully, and issues and send to logistics system Send list.
After commodity are sent with charge free the vending machine or Intelligent cargo cabinet that user places an order by logistics system, one is returned to logistics system The picking code received is pushed to user by a picking code, logistics system.
The smart machine of user receives picking code, user according to vending machine or the geographical location information of Intelligent cargo cabinet, and And smart machine or electric business system can give user's navigation Service, direct the user to the specific of vending machine or Intelligent cargo cabinet Position.
Picking code is input to vending machine or Intelligent cargo cabinet by user, if the order has been completed to pay on line, is sold It sells machine or Intelligent cargo cabinet and directly opens the corresponding picking cabinet of commodity, if what the order selected when lower single is to cash on delivery, Then vending machine or Intelligent cargo cabinet remind user to carry out on-site payment, and on-site payment can be the shapes such as cash, barcode scanning or card The means of payment of formula, the available means of payment of the prior art are suitable for the embodiment of the present invention and are propped up when extracting commodity It pays.Illustratively, for paying in cash, vending machine or Intelligent cargo cabinet recognize user for pay invoice bank note it Afterwards, the matching for carrying out the order amount of money to background server according to picking code and vending machine or the factory coding of Intelligent cargo cabinet, when Determine the order amount of money and user pay in cash the amount of money it is consistent after, vending machine or Intelligent cargo cabinet open corresponding picking cabinet.
The technical solution of the embodiment of the present invention, through vending machine or the geographical location information of Intelligent cargo cabinet, under in real time The geographical location information matching of single user is got up, the geographical location information of the acquired vending machine of utilization or Intelligent cargo cabinet Solve what user cashed on delivery as the address that user sends with charge free, while using vending machine or the cash payment function of Intelligent cargo cabinet Problem, user avoid and manually dispense to commodity when function is cashed on delivery in use, save manpower, meanwhile, do not constrain use Family arrangement of time.
Example IV
Fig. 4 is the structure chart of a kind of dispenser that the embodiment of the present invention four provides, and the present embodiment is applicable to can not The case where logistics distribution can not be precisely realized caused by offer controlled map or address name are lack of standardization.
As shown in figure 4, described device includes: currently to place an order to be sold cabinet determining module 410, order dispatching module 420 and work as Preceding retail cabinet opens module 430, in which:
It currently places an order and is sold cabinet determining module 410, for receiving the latitude and longitude information of reporting of user, and according to the user The latitude and longitude information of the latitude and longitude information and pre-stored retail cabinet that report, which determines currently to place an order, is sold cabinet;
Order dispenses module 420, for being sold cabinet submission current order information according to described currently place an order as the user Afterwards, logistics system is notified to carry out order dispatching according to the current order information;
Current retail cabinet opens module 430, is used for after confirming that the logistics system dispenses order success, according to institute The picking code for stating user's input determines whether that opening described currently place an order is sold cabinet.
The dispenser of the present embodiment, by receiving the latitude and longitude information of reporting of user, and according to the reporting of user Latitude and longitude information and the latitude and longitude information of pre-stored retail cabinet determine currently to place an order and are sold cabinet;When the user is according to described It currently places an order after being sold cabinet submission current order information, notifies logistics system to carry out order and match according to the current order information It send;After confirming that the logistics system dispenses order success, determine whether to open according to the picking code that the user inputs It is described currently to place an order and be sold cabinet, solution can not provide controlled map or address name it is lack of standardization caused by can not precisely realize object The problem of stream dispatching, saves logistics distribution cost to realize accurately logistics distribution.
On the basis of the various embodiments described above, described device further include:
Spatial index position text string generation module, for obtaining the latitude and longitude information of the retail cabinet, and by described zero The latitude and longitude information for selling cabinet generates the spatial index position character string of the retail cabinet.
On the basis of the various embodiments described above, currently places an order and is sold cabinet determining module 410, comprising:
Spatial index position text string generation unit, for receiving the latitude and longitude information of reporting of user, and by the user The latitude and longitude information reported generates the spatial index position character string of the user;Wherein, the spatial index position of the user The length of character string is identical as the retail length of spatial index position character string of cabinet;
It currently places an order and is sold cabinet determination unit, for the spatial index position character string and the use according to the retail cabinet The spatial index position character string at family, which determines currently to place an order, is sold cabinet.
On the basis of the various embodiments described above, described device further include:
History, which places an order, to be sold cabinet and obtains module, for when it is described currently place an order and be sold cabinet in the absence of, obtain the user The corresponding history of History Order information place an order and be sold cabinet;
It is sold cabinet judgment module, for the latitude and longitude information for being sold cabinet and the reporting of user of placing an order according to the history Latitude and longitude information, which judges whether to place an order the history, to be sold cabinet and is determined as described currently placing an order and being sold cabinet.
On the basis of the various embodiments described above, current retail cabinet opens module 430, comprising:
Order information determination unit, the picking code for receiving user's input determine that the picking code is corresponding Order information;Wherein, the order information includes the order amount of money;
It currently places an order and is sold cabinet opening unit, the order amount of money for being put into according to the order amount of money and the user is true Described currently place an order whether is opened calmly is sold cabinet.
On the basis of the various embodiments described above, currently placing an order is sold cabinet opening unit and is specifically used for:
When the order amount of money is consistent with the order amount of money that the user is put into, it is determined that open and described currently place an order zero Sell cabinet.
On the basis of the various embodiments described above, the retail cabinet is vending machine or Intelligent cargo cabinet.
Allocator provided by any embodiment of the invention can be performed in dispenser provided by the various embodiments described above, tool It is standby to execute the corresponding functional module of allocator and beneficial effect.
Embodiment five
As shown in figure 5, a kind of hardware structural diagram of the electric business system provided for the embodiment of the present invention five, the electric business System includes background server and logistics module, as shown in figure 5, the background server includes:
One or more processors 510, in Fig. 5 by taking a processor 510 as an example;
Memory 520;
The electric business system can also include: input unit 530 and output device 540.
Processor 510, memory 520, input unit 530 and output device 540 in the electric business system can pass through Bus or other modes connect, in Fig. 5 for being connected by bus.
Memory 520 be used as a kind of non-transient computer readable storage medium, can be used for storing software program, computer can Program and module are executed, if the corresponding program instruction/module of one of embodiment of the present invention allocator is (for example, attached drawing 4 Shown in currently place an order be sold cabinet determining module 410, order dispatching module 420 and current retail cabinet open module 430).
Software program, instruction and the module that processor 510 is stored in memory 520 by operation, thereby executing electricity The various function application and data processing of quotient system system, that is, realize a kind of allocator of above method embodiment, the distribution side Method includes:
The latitude and longitude information of reporting of user is received, and according to the latitude and longitude information of the reporting of user and pre-stored zero The latitude and longitude information for selling cabinet, which determines currently to place an order, is sold cabinet;
When the user according to it is described currently place an order be sold cabinet submit current order information after, according to the current order believe Breath notice logistics system carries out order dispatching;
After confirming that the logistics system dispenses order success, determined whether according to the picking code that the user inputs It opens described currently place an order and is sold cabinet.
Certainly, it will be understood by those skilled in the art that processor can also realize it is provided by any embodiment of the invention The technical solution of allocator.
Memory 520 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area, which can be stored, uses created number according to electric business system According to etc..In addition, memory 520 may include high-speed random access memory, it can also include non-transitory memory, such as extremely A few disk memory, flush memory device or other non-transitory solid-state memories.In some embodiments, memory 520 it is optional include the memory remotely located relative to processor 510, these remote memories can pass through network connection to end End equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 530 can be used for receiving the number or character information of input, and generates and set with the user of electric business system It sets and the related key signals of function control inputs.Output device 540 may include that display screen etc. shows equipment.
Embodiment six
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Realize that the allocator as provided by the embodiment of the present invention, the allocator include: when sequence is executed by processor
The latitude and longitude information of reporting of user is received, and according to the latitude and longitude information of the reporting of user and pre-stored zero The latitude and longitude information for selling cabinet, which determines currently to place an order, is sold cabinet;
When the user according to it is described currently place an order be sold cabinet submit current order information after, according to the current order believe Breath notice logistics system carries out order dispatching;
After confirming that the logistics system dispenses order success, determined whether according to the picking code that the user inputs It opens described currently place an order and is sold cabinet.
Certainly, a kind of computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon The related behaviour in allocator provided by any embodiment of the invention can also be performed in the method operation being not limited to the described above Make.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of allocator characterized by comprising
The latitude and longitude information of reporting of user is received, and according to the latitude and longitude information of the reporting of user and pre-stored retail cabinet Latitude and longitude information determine and currently place an order and be sold cabinet;
When the user according to it is described currently place an order be sold cabinet and submit current order information after, it is logical according to the current order information Know that logistics system carries out order dispatching;
After confirming that the logistics system dispenses order success, determine whether to open according to the picking code that the user inputs Described currently place an order is sold cabinet.
2. the method according to claim 1, wherein also being wrapped before the latitude and longitude information for receiving reporting of user It includes:
The latitude and longitude information of the retail cabinet is obtained, and the latitude and longitude information of the retail cabinet is generated to the space of the retail cabinet Index position character string.
3. according to the method described in claim 2, it is characterized in that, the latitude and longitude information of reporting of user is received, and according to described The latitude and longitude information of reporting of user and the latitude and longitude information of pre-stored retail cabinet determine currently to place an order and are sold cabinet, comprising:
The latitude and longitude information of reporting of user is received, and the latitude and longitude information of the reporting of user is generated to the Spatial Cable of the user Draw position character string;Wherein, the spatial index position of the length of the spatial index position character string of the user and the retail cabinet The length for setting character string is identical;
It is determined according to the spatial index position character string of the spatial index position character string of the retail cabinet and the user current It places an order and is sold cabinet.
4. the method according to claim 1, wherein being sold cabinet submission according to described currently place an order in the user Before order information, further includes:
When it is described currently place an order and be sold cabinet in the absence of, the corresponding history of History Order information for obtaining the user places an order retail Cabinet;
It is placed an order according to the history and is sold the latitude and longitude information of cabinet and the latitude and longitude information of the reporting of user judges whether institute It states history and places an order and be sold cabinet and be determined as described currently placing an order and being sold cabinet.
5. the method according to claim 1, wherein being determined whether according to the picking code that the user inputs It opens described currently place an order and is sold cabinet, comprising:
The picking code for receiving user's input determines the corresponding order information of the picking code;Wherein, the order letter Breath includes the order amount of money;
Determine whether that opening described currently place an order is sold cabinet according to the order amount of money that the order amount of money and the user are put into.
6. according to the method described in claim 5, it is characterized in that, the order being put into according to the order amount of money and the user The amount of money determines whether that opening described currently place an order is sold cabinet, comprising:
When the order amount of money is consistent with the order amount of money that the user is put into, it is determined that open the retail that currently places an order Cabinet.
7. the method according to claim 1, wherein the retail cabinet is vending machine or Intelligent cargo cabinet.
8. a kind of dispenser characterized by comprising
It currently places an order and is sold cabinet determining module, for receiving the latitude and longitude information of reporting of user, and according to the reporting of user Latitude and longitude information and the latitude and longitude information of pre-stored retail cabinet determine currently to place an order and are sold cabinet;
Order dispense module, for when the user according to it is described currently place an order be sold cabinet submission current order information after, according to The current order information notice logistics system carries out order dispatching;
Current retail cabinet opens module, is used for after confirming that the logistics system dispenses order success, according to the user The picking code of input determines whether that opening described currently place an order is sold cabinet.
9. a kind of electric business system, which is characterized in that the electric business system includes background server and logistics module;The backstage clothes Business device include:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now allocator as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The allocator as described in any in claim 1-7 is realized when execution.
CN201910598327.6A 2019-07-04 2019-07-04 A kind of allocator, device, electric business system and storage medium Pending CN110334995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910598327.6A CN110334995A (en) 2019-07-04 2019-07-04 A kind of allocator, device, electric business system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910598327.6A CN110334995A (en) 2019-07-04 2019-07-04 A kind of allocator, device, electric business system and storage medium

Publications (1)

Publication Number Publication Date
CN110334995A true CN110334995A (en) 2019-10-15

Family

ID=68143052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910598327.6A Pending CN110334995A (en) 2019-07-04 2019-07-04 A kind of allocator, device, electric business system and storage medium

Country Status (1)

Country Link
CN (1) CN110334995A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022122055A1 (en) * 2020-12-08 2022-06-16 浙江口碑网络技术有限公司 Locker opening control method, item storing control method, user end, server ends, and smart locker

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105612540A (en) * 2013-08-07 2016-05-25 特雷多斯有限公司 A cargo shipment route determination apparatus and method
CN105654619A (en) * 2015-06-05 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Data processing method and apparatus
US20170220764A1 (en) * 2016-01-28 2017-08-03 Wal-Mart Stores, Inc. System, method, and non-transitory computer-readable storage media for mobile check-in in retail store
CN107197016A (en) * 2017-05-23 2017-09-22 深圳市亿兆互联技术有限公司 A kind of cuisines booking method and its platform based on LORA technologies
CN107316193A (en) * 2017-05-15 2017-11-03 集合智造(北京)餐饮管理有限公司 A kind of self-service selling system and implementation method
CN109255574A (en) * 2018-09-21 2019-01-22 北京智行者科技有限公司 logistics distribution method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105612540A (en) * 2013-08-07 2016-05-25 特雷多斯有限公司 A cargo shipment route determination apparatus and method
CN105654619A (en) * 2015-06-05 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Data processing method and apparatus
US20170220764A1 (en) * 2016-01-28 2017-08-03 Wal-Mart Stores, Inc. System, method, and non-transitory computer-readable storage media for mobile check-in in retail store
CN107316193A (en) * 2017-05-15 2017-11-03 集合智造(北京)餐饮管理有限公司 A kind of self-service selling system and implementation method
CN107197016A (en) * 2017-05-23 2017-09-22 深圳市亿兆互联技术有限公司 A kind of cuisines booking method and its platform based on LORA technologies
CN109255574A (en) * 2018-09-21 2019-01-22 北京智行者科技有限公司 logistics distribution method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张潇: "面向商户召回的空间索引设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022122055A1 (en) * 2020-12-08 2022-06-16 浙江口碑网络技术有限公司 Locker opening control method, item storing control method, user end, server ends, and smart locker

Similar Documents

Publication Publication Date Title
US9038894B2 (en) Payment or other transaction through mobile device using NFC to access a contactless transaction card
US20170262832A1 (en) Systems and Methods for Use in Facilitating Payment Account Transactions
CN105793881A (en) Determining merchant identity for received merchant identifiers
US20110022427A1 (en) System and Method for Determining and Reserving Available Parking
KR20100125509A (en) Mobile real-time reverse-auction system and method based on sms
CN102419846A (en) Point of sale (POS) network-based non-near-field payment system and method
CN104981828A (en) System and method to process transactions at retail fueling stations using mobile device
CN106127533A (en) A kind of line lower integral exchanging method based on Quick Response Code and system
CN103823878A (en) Automobile price inquiring and quoting system and price enquiry and quoting system method
US20190073706A1 (en) Ad hoc merchant configuration system
KR101426520B1 (en) System and method for supporting tax refund
KR102250072B1 (en) Product oder service system in the electronic commerce using smart phone and method thereof
US20150178739A1 (en) Systems and methods for passively determining a ratio of purchasers and prosepective purchasers in a merchant location
CN105205692A (en) Online-to-offline health service product share-out bonus processing system and method
AU2023251464A1 (en) Bill splitting system
CN111507772A (en) Coupon management method, device and storage medium
WO2013047816A1 (en) Payment system and payment terminal
US20150248673A1 (en) Methods and apparatus for a token management system for transactions
CN110334995A (en) A kind of allocator, device, electric business system and storage medium
KR102431265B1 (en) A method and apparatus for providing a service linked with payment based on a locatoin of mobile device
CN110858209B (en) Business object access/release method, device and system and electronic equipment
KR20140005054A (en) Method for processing an on-line order for affiliate stores and computer-readable record medium on which a program therefor is recorded
KR20120137544A (en) Method and system for providing social commerce service
KR20120002136A (en) Overseas electronic cash rebating apparatus and method using electronic merchandise bond
US11544734B2 (en) Smart shopping method and smart shopping management server

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: 20191015