CN109636264B - Shopping method, device, equipment and storage medium based on shared access device - Google Patents

Shopping method, device, equipment and storage medium based on shared access device Download PDF

Info

Publication number
CN109636264B
CN109636264B CN201811303473.3A CN201811303473A CN109636264B CN 109636264 B CN109636264 B CN 109636264B CN 201811303473 A CN201811303473 A CN 201811303473A CN 109636264 B CN109636264 B CN 109636264B
Authority
CN
China
Prior art keywords
access device
shared access
target shared
order
state
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.)
Active
Application number
CN201811303473.3A
Other languages
Chinese (zh)
Other versions
CN109636264A (en
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201811303473.3A priority Critical patent/CN109636264B/en
Publication of CN109636264A publication Critical patent/CN109636264A/en
Application granted granted Critical
Publication of CN109636264B publication Critical patent/CN109636264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0835Relationships between shipper or supplier and carriers
    • G06Q10/08355Routing methods
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned

Landscapes

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

Abstract

The embodiment of the invention provides a shopping method, a device, equipment and a storage medium based on a shared access device, wherein the method comprises the following steps: receiving a lease request message sent by a first terminal for leasing the shared access device, wherein the lease request message comprises: an identification of the target shared access device; responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device; and if the current state of the target shared access device meets the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.

Description

Shopping method, device, equipment and storage medium based on shared access device
Technical Field
The invention relates to the technical field of internet, in particular to a shopping method, a device, equipment and a storage medium based on a shared access device.
Background
With the acceleration of the life rhythm of people, more and more people choose to take out to solve the problem of three meals. Currently, take-out (generally in the range of 3 km) in the market is performed by a client ordering and placing orders on a take-out Application (APP), and then a merchant prepares packages and dispatchers respectively order the packages.
However, when the traditional mode is adopted for carrying out take-out or commodity distribution, the order of the couriers is temporarily connected in a single way according to the judgment of the couriers, so that one courier has repeated routes, and the whole courier group has more repeated routes, thereby greatly wasting manpower resources of the couriers.
Disclosure of Invention
The embodiment of the invention provides a shopping method, a device, equipment and a storage medium based on a shared access device, which can shorten the shopping period and avoid repeated delivery routes of couriers by shopping through the shared access device, thereby saving the labor cost.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shopping method based on a shared access device, where the method includes:
receiving a lease request message sent by a first terminal for leasing the shared access device, wherein the lease request message comprises: an identification of the target shared access device;
responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device;
and if the current state of the target shared access device meets the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.
In other embodiments, the method further comprises:
obtaining order-placed parameters which comprise the types of the placed commodities and the corresponding order-placed quantity;
determining a pre-ordering parameter according to the ordered commodity type and the corresponding ordered quantity, wherein the pre-ordering parameter comprises the ordered commodity type and the corresponding pre-ordering quantity;
and sending the order pre-ordering parameter to the first terminal so that the first terminal determines the shared access devices with the corresponding number as the target shared access devices according to the order pre-ordering number.
In other embodiments, the current state of the target shared access device includes an idle state, a leased state, a placing state, and a shipping state;
correspondingly, if the current state of the target shared access device satisfies the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state includes: and if the current state of the target shared access device is the idle state, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.
In other embodiments, the method further comprises:
when the target shared access device is in the renting state, receiving an order placing message sent by a second terminal, wherein the order placing message comprises: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal;
if the order message is matched with the current information of the target shared access device, controlling the target shared access device to be in the order state, wherein the current information of the target shared access device comprises: the identification of the target shared access device and the identification of the goods in the target shared access device.
In other embodiments, the method further comprises:
when the target shared access device is in the order placing state, receiving an order grabbing message sent by a third terminal, wherein the order grabbing message comprises: an identifier of the target shared access device, an identifier of the commodity, and an identifier of the third terminal;
and if the order grabbing message is matched with the current information of the target shared access device, controlling the target shared access device to be in the distribution state.
In other embodiments, the method further comprises:
when the target shared access device is in the delivery state, obtaining a delivery request message sent by a third terminal, wherein the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number;
if the delivery request message is matched with the current information of the target shared access device, controlling the target shared access device to be in an open state; and when detecting that the commodity in the target shared access device is taken out, controlling the target shared access device to be in a closed state.
In other embodiments, the method further comprises:
when the target shared access device is in the distribution state, acquiring a receiving message sent by the second terminal, wherein the receiving message comprises: order numbering and receiving codes;
if the receiving message is matched with the parameters of the commodity, sending a shopping completion message to the second terminal and the third terminal; wherein the parameters of the commodity comprise an order number of the commodity and a receiving code of the commodity; controlling the target shared access device to be in the idle state after sending the shopping completion message.
In other embodiments, the method further comprises:
if the time that the target shared access device is in the renting state reaches the preset time, a cancellation message is sent to the first terminal, wherein the cancellation message comprises: an identification of the target shared access device and an identification of the item.
In a second aspect, an embodiment of the present invention provides a shopping device based on a shared access device, where the device includes:
a first receiving unit, configured to receive a lease request message sent by a first terminal for leasing the shared access device, where the lease request message includes: an identification of the target shared access device;
a first determining unit, configured to determine, in response to the lease request message, a current state of the target shared access device according to an identifier of the target shared access device;
and the first control unit is used for controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state if the current state of the target shared access device meets a preset condition.
In other embodiments, the apparatus further comprises:
the system comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining order-placed parameters which comprise the types of commodities which have been placed and the corresponding number of placed orders;
the second determining unit is used for determining a pre-ordering parameter according to the ordered commodity type and the corresponding ordered quantity, and the pre-ordering parameter comprises the ordered commodity type and the corresponding pre-ordering quantity;
a first sending unit, configured to send the pre-order-placing parameter to the first terminal, so that the first terminal determines, according to the pre-order-placing quantity, the corresponding quantity of shared access devices as the target shared access device.
In other embodiments, the current state of the target shared access device includes an idle state, a leased state, a placing state, and a shipping state;
accordingly, the first control unit comprises: and the control module is used for controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state if the current state of the target shared access device is the idle state.
In other embodiments, the apparatus further comprises:
a second receiving unit, configured to receive an order placing message sent by a second terminal when the target shared access device is in the leased state, where the order placing message includes: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal;
a second control unit, configured to control the target shared access device to be in the order placing state if the order placing message matches current information of the target shared access device, where the current information of the target shared access device includes: the identification of the target shared access device and the identification of the goods in the target shared access device.
In other embodiments, the apparatus further comprises:
a third receiving unit, configured to receive, when the target shared access device is in the order placing state, an order grabbing message sent by a third terminal, where the order grabbing message includes: an identifier of the target shared access device, an identifier of the commodity, and an identifier of the third terminal;
and the third control unit is used for controlling the target shared access device to be in the distribution state if the order grabbing message is matched with the current information of the target shared access device.
In other embodiments, the apparatus further comprises:
a second obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery request message sent by a third terminal, where the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number;
a fourth control unit, configured to control the target shared access device to be in an open state if the delivery request message matches the current information of the target shared access device; and the fifth control unit is used for controlling the target shared access device to be in a closed state when detecting that the commodity in the target shared access device is taken out.
In other embodiments, the apparatus further comprises:
a third obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery message sent by the second terminal, where the delivery message includes: order numbering and receiving codes;
a second sending unit, configured to send a shopping completion message to the second terminal and the third terminal if the receiving message matches the parameter of the commodity; wherein the parameters of the commodity comprise an order number of the commodity and a receiving code of the commodity;
a sixth control unit, configured to control the target shared access device to be in the idle state after sending the shopping completion message.
In other embodiments, the apparatus further comprises:
a third sending unit, configured to send a deferral message to the first terminal if the time that the target shared access device is in the leased state reaches a preset time, where the deferral message includes: an identification of the target shared access device and an identification of the item.
In a third aspect, an embodiment of the present invention provides a shopping device based on a shared access apparatus, where the device at least includes: a processor and a storage medium configured to store executable instructions, wherein: the processor is configured to execute stored executable instructions;
the executable instructions are configured to perform the above-described shared access device-based shopping method.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where computer-executable instructions are stored in the storage medium, and the computer-executable instructions are configured to execute the above shopping method based on a shared access apparatus.
The embodiment of the invention provides a shopping method, a device, equipment and a storage medium based on a shared access device, wherein the method comprises the following steps: receiving a lease request message sent by a first terminal, wherein the lease request message comprises: an identification of the target shared access device; responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device; and if the current state of the target shared access device meets the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state. Like this, through renting the target and sharing access arrangement and carrying out selling of commodity, can shorten shopping cycle to the express delivery person's route of delivering goods of repetition many times has been avoided, thereby practices thrift the human cost.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
FIG. 1 is a schematic diagram illustrating a process for implementing a shopping method based on a shared access device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an application scenario of a shopping method based on a shared access device according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a second embodiment of a shopping method based on a shared access device according to the present invention;
FIG. 4A is a schematic flow chart illustrating an implementation of a third merchant-side of the present invention;
FIG. 4B is a schematic flow chart illustrating an implementation of a third courier side according to an embodiment of the present invention;
FIG. 4C is a schematic diagram illustrating an execution flow of the third buyer side according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating an algorithm for address selection of a third shared access device according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an algorithm for a third merchant to opt for leasing a shared access device according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for forecasting orders on a third current day according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a third merchant selecting a shared access device according to the recommendation in accordance with an embodiment of the present invention;
FIG. 9 is a flow chart of a process of dish allocation by three merchants according to the prediction in the embodiment of the present invention;
FIG. 10 is a diagram illustrating a change of an order state machine in a shopping method based on a shared access device according to a third embodiment of the present invention;
FIG. 11 is a diagram of an interaction of ordering in a shopping method based on a shared access device according to a third embodiment of the present invention;
FIG. 12 is a diagram of an order grabbing interaction in a shopping method based on a shared access device according to a third embodiment of the present invention;
FIG. 13 is a diagram of a third embodiment of a shopping method based on a shared access device according to the present invention;
FIG. 14 is a diagram of delivery interactions in a shopping method based on a shared access device according to a third embodiment of the present invention;
FIG. 15 is a block diagram of a third exemplary embodiment of a system for shopping with a shared access device according to the present invention;
FIG. 16 is a schematic diagram of a shopping device based on a shared access device according to a fourth embodiment of the present invention;
FIG. 17 is a schematic diagram of a shopping device based on a shared access device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Example one
The embodiment of the invention provides a shopping method based on a shared access device, which is applied to a client side with a commodity transaction service or a server capable of providing the commodity transaction service. The commodity may be any commodity, such as a take-away meal.
Fig. 1 is a schematic flow chart illustrating an implementation of a shopping method based on a shared access device according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S101, receiving a lease request message sent by the first terminal for leasing the shared access device.
Here, the client or the server receives a lease request message transmitted from the first terminal. The first terminal is the first terminal that the trade company held, installs on the first terminal that the trade company held take out meal ordering APP, the trade company passes through take out meal ordering APP can get into the trade company mode and carry out corresponding order processing, for example, update in real time the commodity of selling to the shop, look over buyer's information of placing an order etc..
The lease request message is used for requesting to lease the target shared access device, and the lease request message includes the identification of the target shared access device.
The shared access device may be a cabinet structure with any shape and size for storing goods sold by merchants in advance, for example, the shared access device may be a shared cabinet. The shared access device is provided by a third-party shared access device platform, and the third-party shared access device platform not only provides the shared access device, but also is responsible for managing and maintaining the shared access device. The position of the shared access device can be determined by the third-party shared access device platform according to the position of the merchant or the position where the buyers are concentrated, for example, the shared access device can be arranged between the merchant and the position where the buyers are concentrated, so that the delivery distance of the courier can be shortened when the courier delivers the goods, and the delivery efficiency of the courier is improved.
In this embodiment, when a merchant rents the shared access device in advance to place a commodity for commodity selling, the merchant may rent the shared access device nearby through the shared access device, and find a suitable shared access device for renting. Here, the shared access device renting application and the application (for example, takeaway ordering APP) of the merchant selling the commodity may be in a binding relationship, or may be the same application, and the merchant may inquire information of the shared access device while selling the commodity, and determine the shared access device in which the commodity is placed.
Step S102, responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device.
Here, when receiving the lease request message, the server parses the lease request message to obtain the identifier of the target shared access device, and determines the current state of the corresponding target shared access device according to the identifier of the target shared access device. Wherein the current state of the target shared access device comprises an idle state, a renting state, an ordering state and a delivery state.
When the target shared access device is in the idle state, the target shared access device is not rented currently, and any merchant can rent the target shared access device; when the target shared access device is in the renting state, the target shared access device is indicated to be rented by a certain merchant currently, and other merchants cannot rent the target shared access device currently; when the target shared access device is in the ordering state, indicating that the commodity in the target shared access device has been ordered by the buyer and waiting for the courier to order; when the target shared access device is in the order grabbing state, the target shared access device indicates that the commodities in the target shared access device are subjected to order grabbing by a courier, and waits for the courier to take the commodities and deliver the commodities; when the target shared access device is in the delivery state, the target shared access device indicates that the goods in the target shared access device are being delivered by a courier.
Step S103, if the current state of the target shared access device satisfies a preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.
Here, after the current state of the target shared access device is determined, the current state of the target shared access device is judged. In this embodiment, step S103 may also be implemented by the following steps:
step S1031, if the current state of the target shared access device is the idle state, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a leased state.
Since the target shared access device can be leased only when the target shared access device is in the idle state, if the current state of the target shared access device is judged to be the idle state, the merchant can lease the target shared access device, and when the merchant leases the target shared access device, the current state of the target shared access device is changed into the leased state.
Fig. 2 is a schematic view of an application scenario of a shopping method based on a shared access device according to an embodiment of the present invention, as shown in fig. 2, a shared access device group 20 includes a plurality of shared access devices 201, and all of the shared access devices 201 can be loaded with goods to be sold. In order to improve the delivery efficiency of the takeaway to the buyer, the takeaway merchant can make the takeaway meal in advance, rent the shared access device 201 between the merchant location and the buyer centralized location, place the takeaway meal in the rented shared access device 201, and then after the buyer places an order, the courier can directly take the takeaway meal out of the shared access device 201 and deliver the takeaway meal after the order is taken.
Then, in order to realize the above possibility, the takeaway ordering application may adopt the shopping method based on the shared access device provided in this embodiment to control the shared access device 201. Firstly, receiving a lease request message sent by a merchant (a first terminal), wherein the lease request message comprises: an identification of the target shared access device; then, in response to the lease request message, determining the current state of the target shared access device 202 according to the identifier of the target shared access device; if the current status of the target sharing access device 202 meets the preset condition, the target sharing access device 202 corresponding to the identifier of the target sharing access device is controlled to be in the leased state. A merchant lease for target shared-access device 202 is enabled.
The shopping method based on the shared access device provided by the embodiment of the invention receives a lease request message sent by a first terminal, wherein the lease request message comprises: an identification of the target shared access device; responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device; and if the current state of the target shared access device meets the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state. Therefore, the merchant can sell the commodities by renting the target sharing access device, the shopping period can be shortened, and the shopping experience of the user is improved.
Example two
An embodiment of the present invention provides a shopping method based on a shared access device, and fig. 3 is a schematic flow chart of an implementation of a second shopping method based on a shared access device according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S301, receiving a lease request message sent by the first terminal for leasing the shared access device.
Step S302, responding to the lease request message, determining the current status of the target sharing access device according to the identifier of the target sharing access device.
Step S303, if the current state of the target shared access device satisfies a preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a rented state.
It should be noted that steps S301 to S303 are the same as the processes and functions implemented in steps S101 to S103 in the first embodiment.
Step S304, acquiring the order-placed parameters.
Here, the order-placed parameter is a history order-placed parameter, and is order-placed information regarding one or some of the products in a period of time before the current date.
In this embodiment, the obtaining of the order-placed parameter may be obtaining of an order-placed parameter within a preset time, where the preset time may be a certain day or a certain number of days, and the order-placed parameter includes a type of a commodity that has been placed and a corresponding order-placed quantity.
For example, the goods sold by the merchant are the goods a and the goods B, if the number of orders placed by the merchant on the goods a and the goods B in the last week is 100 and 50, respectively, then if the order placing parameter in the last week is to be obtained, the step S304 obtains the order placing parameter as follows: and acquiring that the order quantity of the commodity A is 100 parts and the order quantity of the commodity B is 50 parts in the last week.
It should be noted that the placed order parameter in this embodiment is a parameter corresponding to the placed order and the successful purchase of the commodity, where the successful purchase refers to a behavior that the buyer places an order for the commodity and successfully pays an amount not less than the selling price of the commodity.
Step S305, determining a pre-ordering parameter according to the ordered commodity type and the corresponding ordered quantity.
Here, the pre-order-placing parameter includes a pre-order-placing commodity type and a corresponding pre-order-placing quantity.
In this embodiment, the pre-ordered commodity type and the corresponding pre-ordered quantity may be calculated according to the ordered commodity type and the corresponding ordered quantity.
For example, when the product is a take-out meal, the server may predict how many times each dish is probably needed to be delivered to the shared access device in advance for sale through the shared access device on the current day according to the distance from the historical address of order delivery to the currently selected shared access devices. If the ordered quantities of the merchants to the dish N through the shared access device are respectively a, b and c within three days of T-1 (yesterday), T-3 (two days ago) and T-7 (last week), the ordered quantity N to the dish N on the day is predicted according to the following formula:
N=a*30%+b*60%+c*20% (2-1)。
and calculating the corresponding pre-ordering quantity of other dishes of the merchant by the same method to obtain each commodity and the corresponding pre-ordering quantity.
Step S306, sending the order pre-ordering parameter to the first terminal, so that the first terminal determines, according to the order pre-ordering quantity, a corresponding quantity of shared access devices as the target shared access device.
In this embodiment, when the order pre-ordering parameter is sent to the first terminal, on one hand, a merchant at the first terminal may determine the number of the pre-rented target shared access devices according to the number of the order pre-ordering parameters; on the other hand, the merchant at the first terminal side may further prepare the corresponding commodities in advance according to the commodity type of the order placing in the order placing parameter and the corresponding number of the order placing, and send the prepared commodities to the target shared access device.
In other embodiments, the method further comprises the steps of: step S310, when the target shared access device is in the leased state, receiving a ordering message sent by the second terminal.
Here, when the target shared access device is in the rented state, it indicates that the target shared access device is currently rented by a certain merchant, and other merchants cannot currently rent the target shared access device. When the target shared access device is rented by a certain merchant, the placed goods in the target shared access device can be placed for purchase, and therefore, the placing information sent by the second terminal is received.
The second terminal is a terminal held by the buyer, the takeaway ordering APP is also installed on the second terminal, and the buyer can enter a buyer mode through the takeaway ordering APP to perform corresponding order processing, for example, selecting a merchant and a commodity, placing an order, checking order placing information, canceling the order, evaluating the commodity and the like.
In this embodiment, the order message includes: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal. In this way, the server can determine which shared access device the product the buyer of the second terminal wants to purchase, by analyzing the order placing information.
Step S311, if the order placing message matches the current information of the target shared access device, controlling the target shared access device to be in the order placing state.
Here, the current information of the target shared access device includes: the identification of the target shared access device and the identification of the goods in the target shared access device.
In this embodiment, whether the ordering message matches the current information of the target shared access device may be determined by determining whether the identifier of the target shared access device in the ordering message is the same as the identifier of the target shared access device in the current information of the target shared access device, and whether the identifier of the commodity in the ordering message is the same as the identifier of the commodity in the current information of the target shared access device. If the order message is the same as the current information of the target shared access device, the order message is matched with the current information of the target shared access device, and if any one of the order message and the current information of the target shared access device is different, the order message is not matched with the current information of the target shared access device.
And if the ordering message is matched with the current information of the target shared access device, controlling the target shared access device to be in the ordering state. When the target shared access device is in the ordering state, the target shared access device indicates that the commodity in the target shared access device has been ordered by the buyer and waits for the order to be preempted by the courier.
In other embodiments, the method further comprises the steps of: step S320, when the target shared access apparatus is in the order placing state, receiving an order grabbing message sent by a third terminal.
Here, when the target shared access device is in the order placing state, it indicates that the goods in the target shared access device have been placed by the buyer and waits for the courier to take an order. At this time, the courier may determine whether to give a delivery order according to the distance between the current position of the courier and the target shared access device, or the server may analyze and process information of all couriers in the system, and allocate the order to a suitable courier according to a certain algorithm for distribution, for example, find an idle courier near the target shared access device, and allocate the order to a courier at a relatively short distance for distribution.
If the goods in the target shared access device are successfully subjected to order grabbing by a certain courier, the state of the shared access device is changed from the order placing state to the order grabbing state, when the target shared access device is in the order grabbing state, the goods in the target shared access device are indicated to be subjected to order grabbing by the courier, and the courier is waited to take the goods away and deliver the goods.
The third terminal is the terminal that the courier held, also install on the third terminal takeaway order APP, the courier passes through takeaway order APP can get into the courier mode and carry out corresponding order processing, for example, snatch an order, commodity delivery, the order of delivery completion is confirmed etc..
The order grabbing message comprises the following steps: the identification of the target shared access device, the identification of the commodity and the identification of the third terminal. Therefore, the server can determine which goods to be distributed in the shared access device are preempted by the courier of the third terminal by analyzing the order preemption message.
Step S321, if the order grabbing message matches the current information of the target shared access device, controlling the target shared access device to be in the distribution state.
Here, the current information of the target shared access device includes: the identification of the target shared access device and the identification of the goods in the target shared access device.
In this embodiment, it is determined whether the order grabbing message matches the current information of the target shared access device, and it may be determined whether the identifier of the target shared access device in the order grabbing message is the same as the identifier of the target shared access device in the current information of the target shared access device, and whether the identifier of the commodity in the order grabbing message is the same as the identifier of the commodity in the current information of the target shared access device. If the two are the same, the order-robbing message is matched with the current information of the target shared access device, and if any one of the two is different, the order-robbing message is not matched with the current information of the target shared access device.
And if the order grabbing message is matched with the current information of the target shared access device, controlling the target shared access device to be in the distribution state. When the target shared access device is in the delivery state, the target shared access device indicates that the goods in the target shared access device are being delivered by a courier.
In other embodiments, the method further comprises the steps of: step S330, when the target shared access apparatus is in the distribution state, acquiring a distribution request message sent by a third terminal.
Here, the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number.
In this embodiment, a delivery request message sent by a third terminal is acquired, and in a specific implementation process, the delivery request message may be input by scanning a two-dimensional code or a barcode of a cabinet of a target shared access device before a courier comes to the target shared access device, and then by using a page popped up by a mobile phone; the delivery request message may also be input for the courier through an input unit on the target shared access device cabinet.
Step S331, if the distribution request message matches the current information of the target shared access device, controlling the target shared access device to be in an open state.
When the delivery request message is matched with the current information of the target shared access device, it indicates that the courier in front of the target shared access device is the courier corresponding to the commodity in the target shared access device, so that the target shared access device is controlled to be in an open state, and the courier can take out the commodity in the target shared access device.
In this embodiment, the target shared access device may adopt a mechanical lock or a coded lock. When the target shared access device adopts a mechanical lock, the mechanical lock is connected with a controller, and the controller can control the mechanical lock to open and close; when the target shared access device adopts the coded lock, when the delivery request message input by the courier is matched with the current information of the target shared access device, an unlocking code is displayed on a terminal page held by the courier, and the courier can open the target shared access device by inputting the code on the coded lock.
Step S332, when detecting that the merchandise in the target shared access device is taken out, controlling the target shared access device to be in a closed state.
In this embodiment, whether the commodity in the target shared access device is taken out or not may be detected by the sensor. When the target shared access device is in the open state, the sensor starts to work, and when the condition that the commodity in the target shared access device is taken out is detected, the target shared access device is controlled to be in the closed state, namely the target shared access device is closed.
In other embodiments, the method further comprises the steps of: step S340, when the target shared access device is in the distribution state, acquiring a receiving message sent by the second terminal.
Here, the receiving message includes an order number and a receiving code. The receiving code can be generated when the goods are just placed in the target shared access device, and each single goods corresponds to a unique receiving code.
Step S341, if the receiving message matches the parameter of the product, sending a shopping completion message to the second terminal and the third terminal.
Here, the parameter of the goods includes an order number of the goods and a receipt code of the goods.
When the delivery message matches the parameters of the goods, it indicates that the courier has delivered the goods and delivered to the correct consignee. Therefore, when the shopping process is finished, a shopping completion message is sent to the second terminal and the third terminal to inform that the shopping is finished.
In addition, while the shopping completion message is transmitted to the second terminal and the third terminal, a dialog box requesting evaluation of the product, a dialog box requesting evaluation of the courier, and the like may be displayed on the display interface of the second terminal. Further, a dialog box requesting evaluation of order assignment, a dialog box requesting evaluation of a buyer, and the like may be displayed on the display interface of the third terminal.
Step S342, after sending the shopping completion message, controlling the target shared access device to be in the idle state.
After shopping is finished, the target shared access device is in an idle state, and when the target shared access device is in the idle state, any merchant can rent the target shared access device again.
In other embodiments, the method further comprises the steps of: step S350, if the time that the target shared access device is in the renting state reaches a preset time, sending a cancellation message to the first terminal.
Here, the cancellation message includes: an identification of the target shared access device and an identification of the item.
In this embodiment, if a meal is placed in the target shared access device, the meal is currently in a state of being sold due to the fact that the meal has a certain shelf life, and if the meal is not successfully purchased within the shelf life, the meal cannot be sold any more. For the meal in the lost sales state, the meal should be processed in time, and in this embodiment, by sending the lost sales message to the first terminal, it is to inform the merchant that the lost sales commodity needs to be recycled.
According to the shopping method based on the shared access device, the order-placing parameters are obtained, the order-placing parameters are determined according to the type of the placed commodities and the corresponding number of the placed orders, and then the order-placing parameters are sent to the first terminal, so that a merchant can predict the type of the placed commodities and the corresponding number of the placed orders according to historical data, commodities to be sold are reasonably prepared, the shared access device with the proper number is rented in a planned mode, and user experience is improved. In addition, the merchant sells the commodities by renting the target shared access device, so that the shopping period can be shortened, repeated delivery routes of the courier are avoided, and the labor cost is saved.
EXAMPLE III
Before explaining the embodiment of the present invention, first, technical terms related to the embodiment are explained in detail: the shared access device: like rich nest express delivery cabinet, be used for depositing the food and beverage takeaway temporarily specially, a shared access arrangement has a many meal check, can keep warm, can supply many shops to sign a contract and lease the use, can be mutual with the server, through server discernment courier identity, let the courier get goods in batches.
Currently, for take-out (generally in the range of 3 km) in the market, the process is that a customer orders an APP, and then a merchant prepares a package and shouts respective orders for delivery. From order placement by the customer to delivery to the customer, it takes substantially 1 to 2 hours (where meal preparation takes 10 to 30 minutes and delivery takes 20 to 40 minutes for the courier to pick up and deliver). In addition, the express delivery person receives orders according to the judgment of the express delivery person, and the orders are temporarily received in a single order, so that a very repeated route exists for one express delivery person; for the entire courier population, there are more repeated routes; if no overall coordination is performed, human resources of the courier are wasted. Such as: more than 10 orders are sent to the same building before and after one store, and the result is rescued by 5 couriers, and the routes of the 5 couriers are the same.
In order to improve efficiency and shorten takeout time, the embodiment of the invention is reformed from two links: preparing meals and delivering with the aid of a shared access device. Therefore, the time for preparing meals and the time for taking and delivering goods by the courier can be effectively shortened.
The shopping method based on the shared access device provided by the embodiment of the invention relates to a merchant, a courier and a buyer in a whole. Fig. 4A is a schematic diagram of an execution flow of a third merchant side according to an embodiment of the present invention, and as shown in fig. 4A, the method includes the following steps:
and S401, signing a contract by the catering merchant, and using the shared access device for compensation.
Step S402, according to the address suggestion applet of the shared access device, selecting n shared access devices to rent.
Step S403, predict the applet recommendations per day based on the public praise orders, and prepare the standard package before the user places an order.
Step S404, after preparing the order, before the user places the order, the standard packages are sent to the shared access device to wait for the user to place the order.
In step S405, the remaining job is processed.
Here, the remaining work includes at least the following items: for packages outside the forecast, shouting delivery of couriers in a traditional manner; for packages with more forecasts, processing according to goods returns; the accuracy rate of the word-of-mouth prediction is fed back, and the amount of the prepared meal in advance in the next day can be manually adjusted; the usage amount of the shared access device is confirmed and the settlement is performed.
Fig. 4B is a schematic execution flow diagram of a third courier side in the embodiment of the present invention, and as shown in fig. 4B, the method includes the following steps:
step S411, signing the public word to become public praise sharing access device and dispatching the private person.
Step S412, the public praise APP inputs personal information of the courier and selects a convenient shared access device.
It should be noted that one shared access apparatus may be associated with a plurality of couriers, and one courier may also select a plurality of shared access apparatuses.
Step S413, the states of all the shared access devices can be seen on the public praise APP page every day, and the shared access devices are selected in batches for order distribution according to their own locations.
And step S414, after the order grabbing succeeds, swiping the personal two-dimensional code to the shared access device to fetch the meal, delivering the meal to the buyer, asking the buyer for the meal code, and inputting the meal code to a public praise APP for approval and sale order.
Fig. 4C is a schematic flowchart illustrating an execution flow of the third buyer side according to an embodiment of the present invention, and as shown in fig. 4C, the method includes the following steps:
in step S421, the buyer places an order in the public praise APP.
And S422, directly accessing the shared access device to take the food by using the food taking code, or after the courier delivers the food to the door, taking the food taking code for the courier to check and sell.
Fig. 5 is a schematic diagram illustrating an algorithm for address allocation of a third shared access device according to an embodiment of the present invention, wherein point 51 is a delivery address of a historical public praise order. In this embodiment, a K-means clustering algorithm is adopted, the user input parameter K represents several categories, and the algorithm automatically calculates K central points 52 from scattered points in the graph through aggregation, so that the distance from the central point 52 to a point 51 in the circle is the minimum.
It should be noted that the value of K may be manually set, and the order address is determined to be divided into several areas according to the hotspot distribution map. In addition, all points 51 in the figure are delivery addresses of all public order, that is, the points 51 in the figure include orders sold by using the shared access device and also include orders sold by using the existing delivery mode.
After the addressing is completed, the shared access device can be set at the addressed position. After the shared access devices are set, the basic information of each shared access device is initialized at the public tablet APP service end, and is shown in table 1 as the basic information of the shared access device No. 1.
TABLE 11 shared Access device basic information
sharedCabID status totalCellCount waitRobC waitSendC waitBuyC emptyC address
1 effect 100 0 0 0 100 Five-way port
As can be seen from table 1, the current status (status) of the shared access device having the shared access device number (shared cabid) of number 1 is an active (effect) status, the total number of food lots (totalCellCount) of the shared access device number 1 is 100, the number of food lots waiting for order grabbing (waitRobC) is 0, the number of food lots waiting for meal fetching (waitSendC) is 0, the number of food lots waiting for purchase (waitBuyC) is 0, the number of empty lots (emptyC) is 0, and the address (address) of the shared access device number 1 is located at five ports.
The state of the shared access device includes a suspend state and the like in addition to the active state.
In this embodiment, after the courier registers and signs a contract, the sharing access device range that the courier wants to distribute is selected, and the relationship shown in table 2 is retained.
TABLE 2 relationship of couriers to shared access devices
NO. senderID sharedCabID status senderName
1 208801 1 effect Xiaoming liquor
2 208801 5 effect Xiaoming liquor
3 208802 1 effect Xiao Hong
As can be seen from table 2, the courier number (senderID) is 208801, and the shared access devices signed and bound by the courier are numbers 1 and 5; the courier reddish senderID is 208802, and the shared access device to which he signs a contract is No. 1.
Fig. 6 is a schematic diagram of an algorithm for a third merchant to select a rental sharing access device according to an embodiment of the present invention, as shown in fig. 6, a circle point 61 is a distribution address of a store a, a circle point 62 is a distribution address of a store B, in this embodiment, a K-means algorithm is also used, K is set by the merchant itself, for example, K may be manually set to 3, and then three cluster center points 601 of the store a and three cluster center points 602 of the store B are obtained. After 3 central points are obtained, the shared access device closest to the central point is found, namely the shared access device selected by the shop. As shown in fig. 6, store a suggests the selection of cabinet No. 1, cabinet No. 5, and cabinet No. 6; store B suggests selecting cabinet No. 2, cabinet No. 4, and cabinet No. 6.
It should be noted that the final result is chosen to be confirmed by the merchant, and the algorithm of the applet only gives suggestions according to the historical situation. In addition, the difference from the algorithm for deploying and addressing the shared access device in fig. 5 is that the data used for reference classification is the data of the merchant itself, and only the historical order distribution address of the merchant is considered.
After the merchant selects the shared access device, the relationship is dropped to the server, and information of the shared access device is selected for store a and store B as shown in table 3.
TABLE 3 information on the selection of shared storage devices by store A and store B
NO. shopID sharedCabID status distance maxCellCount
1 2018001 1 effect 2km 30
2 2018001 5 effect 1km 50
3 2018002 1 effect 3km 20
As can be seen from table 3, store a (store No. 2018001) selects shared access devices nos. 1 and 5, and store B (store No. 2018002) selects shared access device No. 1. The specific case that the shared access device is assigned to the maximum number of shelves (maxCellCount) of the store is as follows: the number 1 cabinet is divided into 30 stores A, the number 2 cabinet is divided into 50 stores A, and the number 1 cabinet is divided into 20 stores B.
It should be noted that maxCellCount is selected by the merchant according to information such as historical orders and rent, and the applet gives a prediction suggestion. The store and shared access device is N: the relationship of M, that is, one store can rent a plurality of shared access devices; one shared access device can also be distributed to a plurality of stores, and the sum of maxCellCount of all stores is less than or equal to the maximum capacity totalCellCount of the shared access device. If the shared access device has been fully allocated, no further association with the new store can be established.
Fig. 7 is a schematic flowchart of an order prediction method on the third current day according to an embodiment of the present invention, and as shown in fig. 7, the method includes the following steps:
and step S701, taking the order quantity of three days of T-1, T-3 and T-7.
Step S702, removing the noise of the order quantity, and removing the order with the distance from the distribution place to all the selected shared access devices larger than the distance from the distribution address to the actual shop.
Here, if the distance from the delivery location to all the selected shared access devices is greater than the distance from the delivery address to the actual store, the shared access devices are not needed in this case, and the user can directly go to the store to pick up the goods.
Step S703, the order number of three days is analyzed.
Each order is assigned to the nearest shared access device that has been selected, resulting in the amount of orders assigned per shared access device per day.
For example, the order situation of store A (selected 1, 5, 6 cabinets) and T-1 is: no. 1 cabinet, 10 portions of Gongbao chicken dices; no. 1 cabinet, 2 portions of meat are wrapped in a pot; 2 parts of No. 5 Gongbao chicken dices. The order case of T-3 is: no. 1 cabinet, 5 portions of Gongbao chicken dices; no. 1 cabinet pot wrapped meat 1 part; 5 parts of No. 5 Tungbao chicken cubes.
In step S704, the unit quantity of the current day is predicted.
Today's unit quantities are predicted according to the following formula:
N=a*30%+b*60%+c*20% (3-1);
wherein N is the order amount of the current cabinet 1; a is the lower unit amount of (T-1) day; b is the unit dosage of (T-7) day; c is the amount of the next unit on day (T-3).
Considering that the takeaway period is typically 7 days, and the similarity to the last few weeks is higher, the following is predicted: the chicken feed comprises a No. 1 cabinet, 10 parts of Tungbao chicken cubes and 2 parts of pot-wrapped meat; no. 5 cabinet, 2 portions of Tungbao chicken dices and 1 portion of pot-wrapped meat; no. 6 cabinet, 1 part of meat is wrapped in a pot.
In this embodiment, the distance to the currently selected shared access devices is estimated according to the historical addresses of order distribution to predict how much of each type of dish can be distributed to the shared access devices in advance today.
The historical data is taken as T-1 (yesterday), T-3 (two days ago) and T-7 (last week), denoising processing is needed to be carried out on the historical data, and if the historical data is closer to the physical store than the shared access device, the historical data does not need to be distributed to the shared access device and does not participate in prediction.
The predicted quantity of the shared access device m dish n is (T-1) the order quantity of the order dish n nearest to the shared access device m is 30% + (T-7) the order quantity of the order dish n nearest to the shared access device m is 60% + (T-3) the order quantity of the order dish n nearest to the shared access device m is 20%.
It should be noted that, here, more references are made to orders made in the last week, and the takeout period is generally one week, wednesday is a peak, and weekend is a valley.
Fig. 8 is a schematic flowchart illustrating a process of selecting a shared access device according to a recommendation by a third merchant according to an embodiment of the present invention, as shown in fig. 8, the process includes the following steps:
step S801, the merchant selects the shared access device No. 1, No. 5, No. 6.
Step S802, the merchant selects the page transmission parameters through the shared access device.
Here, the parameters include a shopID, a list of cabinet numbers.
In step S803, the server performs a subscription check and a parameter check.
Here, the contents of the parameter check include: whether a store exists; checking the validity of the shared access device; whether the selection of the shared access device exceeds 3 kilometers; and verifying the maximum associated shop number of the shared access device.
In step S804, if the check is passed, the store and the shared access device are connected to the floor database.
Fig. 9 is a schematic flow chart of a process of dish allocation by three merchants according to the prediction in the embodiment of the present invention, and as shown in fig. 9, the flow chart includes the following steps:
step S901, the merchant distributes the prepared meal to the shared access device n.
Here, it is assumed that 10 couples of diced chicken palates and 2 couples of meat in a pot are predicted to be needed for the shared access means n.
In step S902, the shared access device transmits the parameters to the server.
Here, the parameters include shopID, cabinet number n, dishes, and the number of dishes.
In step S903, the server checks the parameters.
The content of the parameter check here includes: carrying out relationship consistency check on the shared access device and the store; checking the state of the shared access device and judging the number of empty lattices of the shared access device.
Step S904, an order and a meal-taking code are generated.
Here, the order and the meal code are generated according to the store, the cabinet number, the dishes, and the number of the dishes, and if the purchaser and the distributor are temporarily absent, the order status is to be paid.
In this embodiment, after the merchant prepares the dishes in advance according to the predicted order quantity, the dishes are collectively placed in the shared access device. At this point, the shared access device interacts with the server to verify the information and whether the merchant's own grid is full. For example, if maxCellCount is 30, the merchant can only put in 30 at most. After the order is placed, the server generates an order (an order for predicting placing the order), the order state is to be sold, and the shared access device records the association relationship between the order number and the grid of the shared access device. As shown in table 4, is order status information.
TABLE 4 order status information
OrderNo ShopID sharedCabID status Buyer Address Sender Goods writeoffCode
2018001 2018001 1 waitBuy Diced chicken with uterus protection function 654321
2018002 2018001 1 waitBuy Diced chicken with uterus protection function 654322
2018003 2018001 1 waitBuy Pan wrapped meat 654323
2018004 2018001 5 waitBuy Diced chicken with uterus protection function 654324
As can be seen from Table 4, store A will have 2 Tungbao chicken cubes to cabinet No. 1, 1 Gongbao chicken cubes to cabinet No. 5, and 1 pot-wrapped meat to cabinet No. 1. Then the data of the table above will be automatically generated by the server after the merchant delivers according to the prediction. Layer, Address, Sender are all empty, the fetch code (writeofcode) is generated in advance, and the order status is waiting for sale (waitbuty).
Then, the state table of the shared access device is updated to table 5 below.
TABLE 5 status information of shared access devices
sharedCabID status totalCellCount waitSendC waitSendC waitBuyC emptyC addres
1 effect 100 0 0 3 97 Five-way port
5 effect 100 0 0 1 99 Clove road
Fig. 10 is a diagram illustrating a change of an order state machine in a shopping method based on a shared access device according to a third embodiment of the present invention, as shown in fig. 10, the order states include waiting for purchase (waitBuy), waiting for delivery for purchase (waitRob), delivery for purchase (waitPick), delivery for purchase (waitSend), delivery for purchase for sale.
Fig. 11 is an ordering interaction diagram of a shopping method based on a shared access device according to a third embodiment of the present invention, as shown in fig. 11, after a user orders (for example, ordering a chicken), the method includes the following steps:
and step S1101, the terminal transmits the parameters to the server through a next single page.
Here, the parameters include: shopID, BuyerID, dishes, number of dishes, and delivery address.
Step S1102, the server queries, according to the shopID, a list of shared access device numbers of the palace chicken dices corresponding to waitBuy.
In step S1103, the shared access device with the shortest distance between the distribution address and the shared access device is calculated.
Here, in the calculation, a brick-and-mortar store is also included.
And step S1104, if the distance is closest to the physical store, the new verification and sales code is generated according to the traditional ordering mode.
And step S1105, returning the newly generated verification and cancellation code, namely the meal fetching code, to the terminal.
And step S1106, ordering if the distance to the No. 1 cabinet is nearest.
Here, the actions performed to place the order include: supplementing the information of the layer and the addres in an order form of the predicted order placement; the state changes to waitRob; returning the verification cancellation code (writeofCode) in the order table of the predicted order; updating the shared access device state table: waitBuy parts are reduced by 1, waitRob is added by 1; and sending notice to the courier associated with the cabinet No. 1.
Step S1107, returns the occupied verification and cancellation code, i.e. the meal code, to the terminal.
Step S1108, the user successfully places the order to obtain the meal code.
In this embodiment, after the user actually places an order, the backend service may query whether there is still the dish to be sold in the shared access devices of the store, and if so, find the shared access device with the closest delivery distance, occupy one of the predicted orders to place, and return the corresponding meal taking code.
Suppose that the buyer king is closest to the No. 1 cabinet and buys a diced chicken in palace. Then the order table for the predicted order placement is updated as shown in table 6 below.
TABLE 6 order form for predictive ordering
Figure BDA0001852979200000191
Correspondingly, the state table of the shared access device is updated as shown in table 7.
TABLE 7 status information of shared access devices
sharedCabID status totalCellCount waitSendC waitSendC waitBuyC emptyC addres
1 effect 100 1 0 2 97 Five-way port
5 effect 100 0 0 1 99 Clove road
Fig. 12 is a menu selection interaction diagram of a shopping method based on a shared access device according to a third embodiment of the present invention, as shown in fig. 12, the method includes the following steps:
and step S1201, the courier checks the state of the shared access device through the order grabbing page on the terminal.
Step S1202, the terminal transmits the parameter to the server.
Here, the parameter includes a courier ID.
Step S1203, the server signs a contract and checks, queries the list of the shared access devices bound by the server according to the ID of the courier, and queries the current state of the shared access device according to the number of the shared access device.
Here, the current state of the querying shared access device is the querying shared access device state table information.
In step S1204, the server returns details of the shared access device bound to the courier to the terminal.
And step S1205, the courier selects the number of the shared access device which the courier wants to rob the order.
In step S1206, the terminal transmits the parameters to the server.
Here, the parameters include a courier ID and a shared access device number.
Step S1207, the server queries the predicted order list according to the number of the shared access device.
Here, the server assigns to this courier all orders placed by waitRob at the current time. The predicted order form status for placing an order becomes waitPick, sender, information for the courier. Updating data in the shared access device state table: waitRob decreases by a corresponding amount and waitPick increases. And then informing the courier of fetching the meals through short messages, and sharing information such as the address of the access device, the number of the meals to be fetched and the like for the courier.
And step S1208, sending the detailed information of successful order grabbing and the food waiting to be taken to the terminal.
And step S1209, the courier successfully snatches the order, and the terminal page inquires the address of the shared access device and the detailed information of the food to be taken.
If the list of the cabinet No. 1 is tentatively preempted, the cabinet No. 1 only has 1 order in the list waiting state, and the list is updated as follows.
TABLE 8 order form for predictive ordering
Figure BDA0001852979200000201
Fig. 13 is a diagram of the pick-up interaction in the shopping method based on the shared access device according to the third embodiment of the present invention, as shown in fig. 13, the method includes the following steps:
and step S1301, providing the identity two-dimensional code by the courier.
Step S1302, the shared access device identifies the two-dimensional code to obtain the courier ID.
In step S1303, the shared access device transmits the parameters to the server.
Here, the parameters include a shared access device number, a courier ID.
In step S1304, the server inquires an order table of predicted order placement.
Here, the server makes a query according to the following conditions: whether the status is waitPick, courier ID, and shared access device number.
In step S1305, the server returns an order number to the shared access device.
In step S1306, the shared access device queries the corresponding grid according to the order number.
Step S1307, the shared access device sends the meal corresponding to the grid, and prints the delivery address.
In step S1308, the courier confirms the total number.
In step S1309, the shared access device transmits the parameter to the server.
Here, the parameters include a shared access device number, a courier id, and an order number.
In step S1310, the server updates the order table of the predicted order placement.
The state of the order table is changed to waitSend and the shared access device state table statistics are updated, waitSend and emptyC increase and waitRob decrease.
In this embodiment, after the courier snatches the order, the courier receives the short message to inform the address of the cabinet 1, or the courier can directly go to the public praise APP to check the address of the cabinet where the snatched order is located. After the delivery, the state of the predicted drop list is updated to waitSend. The updated table is as follows:
TABLE 9 order form for predictive ordering
Figure BDA0001852979200000211
Fig. 14 is a delivery interaction diagram of a shopping method based on a shared access device according to a third embodiment of the present invention, as shown in fig. 14, the method includes the following steps:
in step S1401, the courier delivers the package to the buyer.
In step S1402, the buyer provides the courier with a meal pick-up code.
Step S1403, the courier inputs the meal fetching code on the delivery confirmation page of the terminal.
In step S1404, the terminal transmits the parameters to the server.
Here, the parameters include a courier ID, a fetch code, and an order number.
In step S1405, the server performs consistency check and order status check.
In step S1406, the server changes the predicted order status to Finish.
In this embodiment, during the delivery interaction process, it is mainly necessary to verify the consistency of the pickup code, the courier, and the order number, and whether the state of the order is waitSend, and if the check is passed, the pickup code may be used for verification and cancellation. The order status is updated as follows:
TABLE 10 order form for predictive ordering
Figure BDA0001852979200000212
Fig. 15 is a block diagram of a third embodiment of the present invention, which is a block diagram of a return interaction in a shopping method based on a shared access device, as shown in fig. 15, the method includes the following steps:
in step S1501, the merchant triggers a late return option.
In step S1502, the server searches the predicted order placement table for an order whose creation time is 6 hours before and whose status is waitBuy.
And step S1503, sending a notification message to the merchant when the order is found.
Here, the notification message may be: cabinet No. 1 has several orders that are lost and should be processed in time.
Step S1504, the merchant inputs the two-dimension code to the shared access device and takes the lost package.
In step S1505, the shared access device transmits parameters to the server.
Here, the parameter includes a merchant ID.
In step S1506, the server checks the store ID based on the merchant ID, and checks the late-selling order based on the store ID and the shared access device number.
In step S1507, the server returns the order of the lost sales to the shared access device.
In step S1508, the shared access device queries the grid corresponding to the order.
In step S1509, the shared access device delivers packages in the corresponding grid.
In step S1510, the shared access device returns a return goods success message to the server.
Step S1511, the server updates the predicted order status of the placed order to FinishBack.
In the embodiment, the public praise APP is provided with a timing task, prediction order scanning is carried out every day for breakfast, lunch, dinner and two hours after night, and the order in the waitBuy state is returned by a person, so that the freshness of food is guaranteed. After the return is successful, the order status is updated as shown in the following table:
TABLE 11 order form for predictive ordering
Figure BDA0001852979200000221
According to the shopping method based on the shared access device, provided by the embodiment of the invention, since takeaway is made in advance, the takeaway is made before ordering, and the time for preparing dishes is shortened from 20 minutes to 0; compared with the existing takeout, the method has the advantages that the courier takes and delivers the food from the store, about 40 minutes is needed, the food can be directly delivered to the buyer from the shared access device, the food taking time is shortened, and the delivery distance is shortened. Therefore, the meal ordering lead time can be shortened to be within 30 minutes from 1 to 2 hours. Moreover, the order of the couriers is robbed in a batch mode from the traditional single order mode. If the user only needs to snatch, the courier has the defects that the user goes to a store for multiple times to take meals, and the probability of walking a repeated route is high; after the batch snatching, the courier batches the meal from the shared access device, and the meal taking only needs to go once. Therefore, a lot of labor cost is saved, and repetition is avoided.
Example four
An embodiment of the present invention provides a shopping device based on a shared access device, and fig. 16 is a schematic diagram of a structure of a fourth shopping device based on a shared access device according to an embodiment of the present invention, as shown in fig. 16, the shopping device 1600 based on a shared access device includes:
a first receiving unit 1601, configured to receive a lease request message sent by a first terminal for leasing the shared access device, where the lease request message includes: an identification of the target shared access device; a first determining unit 1602, configured to determine, in response to the lease request message, a current state of the target shared access device according to the identifier of the target shared access device; a first controlling unit 1603, configured to control the target shared access apparatus corresponding to the identifier of the target shared access apparatus to be in a renting state if the current state of the target shared access apparatus satisfies a preset condition.
In other embodiments, the apparatus further comprises: the system comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining order-placed parameters which comprise the types of commodities which have been placed and the corresponding number of placed orders; the second determining unit is used for determining a pre-ordering parameter according to the ordered commodity type and the corresponding ordered quantity, and the pre-ordering parameter comprises the ordered commodity type and the corresponding pre-ordering quantity; a first sending unit, configured to send the pre-order-placing parameter to the first terminal, so that the first terminal determines, according to the pre-order-placing quantity, the corresponding quantity of shared access devices as the target shared access device.
In other embodiments, the current state of the target shared access device includes an idle state, a leased state, a placing state, and a shipping state; accordingly, the first control unit comprises: and the control module is used for controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state if the current state of the target shared access device is the idle state.
In other embodiments, the apparatus further comprises: a second receiving unit, configured to receive an order placing message sent by a second terminal when the target shared access device is in the leased state, where the order placing message includes: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal; a second control unit, configured to control the target shared access device to be in the order placing state if the order placing message matches current information of the target shared access device, where the current information of the target shared access device includes: the identification of the target shared access device and the identification of the goods in the target shared access device.
In other embodiments, the apparatus further comprises: a third receiving unit, configured to receive, when the target shared access device is in the order placing state, an order grabbing message sent by a third terminal, where the order grabbing message includes: an identifier of the target shared access device, an identifier of the commodity, and an identifier of the third terminal; and the third control unit is used for controlling the target shared access device to be in the distribution state if the order grabbing message is matched with the current information of the target shared access device.
In other embodiments, the apparatus further comprises: a second obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery request message sent by a third terminal, where the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number; a fourth control unit, configured to control the target shared access device to be in an open state if the delivery request message matches the current information of the target shared access device; and the fifth control unit is used for controlling the target shared access device to be in a closed state when detecting that the commodity in the target shared access device is taken out.
In other embodiments, the apparatus further comprises: a third obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery message sent by the second terminal, where the delivery message includes: order numbering and receiving codes; a second sending unit, configured to send a shopping completion message to the second terminal and the third terminal if the receiving message matches the parameter of the commodity; wherein the parameters of the commodity comprise an order number of the commodity and a receiving code of the commodity; a sixth control unit, configured to control the target shared access device to be in the idle state after sending the shopping completion message.
In other embodiments, the apparatus further comprises: a third sending unit, configured to send a deferral message to the first terminal if the time that the target shared access device is in the leased state reaches a preset time, where the deferral message includes: an identification of the target shared access device and an identification of the item.
It should be noted that the description of the apparatus of this embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment, and therefore, the description is not repeated.
EXAMPLE five
An embodiment of the present invention provides a shopping device based on a shared access device, fig. 17 is a schematic diagram illustrating a structure of the shopping device based on the shared access device according to the embodiment of the present invention, as shown in fig. 17, the device 1700 at least includes: a processor 1701 and a storage medium 1702 configured to store executable instructions, wherein: the processor 1701 is configured to execute stored executable instructions configured to perform the shared access device-based shopping method provided in any of the embodiments described above.
It should be noted that the above description of the embodiment of the shopping device based on the shared access apparatus is similar to the description of the above embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the detailed description is omitted.
Correspondingly, an embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the shopping method based on the shared access apparatus provided in other embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (16)

1. A shopping method based on a shared access device, the method comprising:
obtaining order-placing parameters which comprise the types of the placed commodities, the corresponding number of the placed orders, a distribution address and an actual shop; deleting the parameters that the distance from the delivery address to each shared access device is greater than the distance from the delivery address to the actual store from the order-placing parameters, and then determining order-placing parameters of each shared access device according to the type of the placed commodities and the corresponding order-placing quantity, wherein the order-placing parameters comprise the type of the placed commodities and the corresponding order-placing quantity; sending the pre-ordering parameter to a first terminal so that the first terminal determines the shared access devices with the corresponding number as target shared access devices according to the pre-ordering number;
receiving a lease request message sent by a first terminal for leasing the shared access device, wherein the lease request message comprises: an identification of the target shared access device; the first terminal is held by a merchant, the shared access device is used for storing commodities sold by the merchant in advance, and the position of the shared access device is determined according to the position of the merchant and the position of the buyer set;
responding to the lease request message, and determining the current state of the target shared access device according to the identification of the target shared access device;
and if the current state of the target shared access device meets the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.
2. The method of claim 1, wherein the current state of the target shared access device comprises an idle state, a leased state, an order placement state, and a delivery state;
correspondingly, if the current state of the target shared access device satisfies the preset condition, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state includes: and if the current state of the target shared access device is the idle state, controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state.
3. The method of claim 2, further comprising:
when the target shared access device is in the renting state, receiving an order placing message sent by a second terminal, wherein the order placing message comprises: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal;
if the order message is matched with the current information of the target shared access device, controlling the target shared access device to be in the order state, wherein the current information of the target shared access device comprises: the identification of the target shared access device and the identification of the goods in the target shared access device.
4. The method of claim 3, further comprising:
when the target shared access device is in the order placing state, receiving an order grabbing message sent by a third terminal, wherein the order grabbing message comprises: an identifier of the target shared access device, an identifier of the commodity, and an identifier of the third terminal;
and if the order grabbing message is matched with the current information of the target shared access device, controlling the target shared access device to be in the distribution state.
5. The method of claim 4, further comprising:
when the target shared access device is in the delivery state, obtaining a delivery request message sent by a third terminal, wherein the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number;
if the delivery request message is matched with the current information of the target shared access device, controlling the target shared access device to be in an open state;
and when detecting that the commodity in the target shared access device is taken out, controlling the target shared access device to be in a closed state.
6. The method of claim 4, further comprising:
when the target shared access device is in the distribution state, acquiring a receiving message sent by the second terminal, wherein the receiving message comprises: order numbering and receiving codes;
if the receiving message is matched with the parameters of the commodity, sending a shopping completion message to the second terminal and the third terminal; wherein the parameters of the commodity comprise an order number of the commodity and a receiving code of the commodity;
controlling the target shared access device to be in the idle state after sending the shopping completion message.
7. The method according to any one of claims 1 to 6, further comprising:
if the time that the target shared access device is in the renting state reaches the preset time, a cancellation message is sent to the first terminal, wherein the cancellation message comprises: an identification of the target shared access device and an identification of the item.
8. A shopping device based on a shared access device, the device comprising:
the system comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining ordering parameters which comprise ordering commodity types, corresponding ordering quantity, distribution addresses and actual shops;
a second determining unit, configured to delete, from the placed order parameters, a parameter that a distance from the distribution address to each shared access device is greater than a distance from the distribution address to the actual store, and then determine, according to the type of the placed order and the corresponding number of the placed order, a placed order parameter for each shared access device, where the placed order parameter includes the type of the placed order and the corresponding number of the placed order;
a first sending unit, configured to send the pre-order-placing parameter to a first terminal, so that the first terminal determines, according to the pre-order-placing quantity, a corresponding quantity of shared access devices as target shared access devices;
a first receiving unit, configured to receive a lease request message sent by a first terminal for leasing the shared access device, where the lease request message includes: an identification of the target shared access device; the first terminal is held by a merchant, the shared access device is used for storing commodities sold by the merchant in advance, and the position of the shared access device is determined according to the position of the merchant and the position of the buyer set;
a first determining unit, configured to determine, in response to the lease request message, a current state of the target shared access device according to an identifier of the target shared access device;
and the first control unit is used for controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state if the current state of the target shared access device meets a preset condition.
9. The apparatus of claim 8, wherein the current state of the target shared access device comprises an idle state, a leased state, an order placement state, and a delivery state;
accordingly, the first control unit comprises:
and the control module is used for controlling the target shared access device corresponding to the identifier of the target shared access device to be in a renting state if the current state of the target shared access device is the idle state.
10. The apparatus of claim 9, further comprising:
a second receiving unit, configured to receive an order placing message sent by a second terminal when the target shared access device is in the leased state, where the order placing message includes: the identification of the target shared access device, the identification of the commodity and the identification of the second terminal;
a second control unit, configured to control the target shared access device to be in the order placing state if the order placing message matches current information of the target shared access device, where the current information of the target shared access device includes: the identification of the target shared access device and the identification of the goods in the target shared access device.
11. The apparatus of claim 10, further comprising:
a third receiving unit, configured to receive, when the target shared access device is in the order placing state, an order grabbing message sent by a third terminal, where the order grabbing message includes: an identifier of the target shared access device, an identifier of the commodity, and an identifier of the third terminal;
and the third control unit is used for controlling the target shared access device to be in the distribution state if the order grabbing message is matched with the current information of the target shared access device.
12. The apparatus of claim 11, further comprising:
a second obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery request message sent by a third terminal, where the delivery request message includes: the identification of the target shared access device, the identification of the commodity, the identification of the third terminal and the order number;
a fourth control unit, configured to control the target shared access device to be in an open state if the delivery request message matches the current information of the target shared access device;
and the fifth control unit is used for controlling the target shared access device to be in a closed state when detecting that the commodity in the target shared access device is taken out.
13. The apparatus of claim 11, further comprising:
a third obtaining unit, configured to obtain, when the target shared access device is in the delivery state, a delivery message sent by the second terminal, where the delivery message includes: order numbering and receiving codes;
a second sending unit, configured to send a shopping completion message to the second terminal and the third terminal if the receiving message matches the parameter of the commodity; wherein the parameters of the commodity comprise an order number of the commodity and a receiving code of the commodity;
a sixth control unit, configured to control the target shared access device to be in the idle state after sending the shopping completion message.
14. The apparatus of any one of claims 8 to 13, further comprising:
a third sending unit, configured to send a deferral message to the first terminal if the time that the target shared access device is in the leased state reaches a preset time, where the deferral message includes: an identification of the target shared access device and an identification of the item.
15. Shopping device based on a shared access means, characterized in that it comprises at least: a processor and a storage medium configured to store executable instructions, wherein: the processor is configured to execute stored executable instructions;
the executable instructions are configured to perform a method of shared access device based shopping as provided in any of the preceding claims 1 to 7.
16. A storage medium having stored thereon computer-executable instructions configured to perform the method of shared access device based shopping as claimed in any one of claims 1 to 7.
CN201811303473.3A 2018-11-02 2018-11-02 Shopping method, device, equipment and storage medium based on shared access device Active CN109636264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811303473.3A CN109636264B (en) 2018-11-02 2018-11-02 Shopping method, device, equipment and storage medium based on shared access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811303473.3A CN109636264B (en) 2018-11-02 2018-11-02 Shopping method, device, equipment and storage medium based on shared access device

Publications (2)

Publication Number Publication Date
CN109636264A CN109636264A (en) 2019-04-16
CN109636264B true CN109636264B (en) 2021-07-23

Family

ID=66067191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811303473.3A Active CN109636264B (en) 2018-11-02 2018-11-02 Shopping method, device, equipment and storage medium based on shared access device

Country Status (1)

Country Link
CN (1) CN109636264B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428199A (en) * 2019-07-17 2019-11-08 福州美成祥机电设备有限公司 A kind of intelligent letter box operation system runed and method
CN113469475B (en) * 2020-03-30 2024-05-14 北京骑胜科技有限公司 Data processing method, device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176621A1 (en) * 2012-05-22 2013-11-28 Ghorashi Sarvestani Seyed Amin Apparatus for depositing articles for subsequent retrieval
KR20150111566A (en) * 2014-03-26 2015-10-06 주식회사 스마트큐브 Electronic locker, Electronic mailbox used beacon and LBS, Medhod for Seat Allocation used beacon and LBS
CN105931108A (en) * 2016-05-13 2016-09-07 成都我来啦网格信息技术有限公司 Commodity selling system and method based on storage cabinet
CN107424338A (en) * 2017-07-26 2017-12-01 深圳中集电商物流科技有限公司 A kind of control method of express delivery cabinet, apparatus and system
CN207690212U (en) * 2018-01-05 2018-08-03 上海云燊智能科技有限公司 It is a kind of can automatic disinfection real time monitoring intelligence take out share cabinet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217502B (en) * 2014-08-15 2017-11-17 安吉标普软件信息技术有限公司 A kind of storage cabinet system intelligent control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176621A1 (en) * 2012-05-22 2013-11-28 Ghorashi Sarvestani Seyed Amin Apparatus for depositing articles for subsequent retrieval
KR20150111566A (en) * 2014-03-26 2015-10-06 주식회사 스마트큐브 Electronic locker, Electronic mailbox used beacon and LBS, Medhod for Seat Allocation used beacon and LBS
CN105931108A (en) * 2016-05-13 2016-09-07 成都我来啦网格信息技术有限公司 Commodity selling system and method based on storage cabinet
CN107424338A (en) * 2017-07-26 2017-12-01 深圳中集电商物流科技有限公司 A kind of control method of express delivery cabinet, apparatus and system
CN207690212U (en) * 2018-01-05 2018-08-03 上海云燊智能科技有限公司 It is a kind of can automatic disinfection real time monitoring intelligence take out share cabinet

Also Published As

Publication number Publication date
CN109636264A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US11142402B2 (en) Automated-service retail system and method
KR101754099B1 (en) Systems and methods for defining attributes of attended delivery/pickup locations
CN110390502A (en) Defeated delivery management system
JP2023045452A (en) Order management apparatus, order management method, and program
JP7470735B2 (en) An application programming interface for structuring distributed systems.
JP6270877B2 (en) Delivery schedule selection system, delivery schedule selection method, and program
CN108027914A (en) Buy auxiliary system
CN110070323A (en) A kind of inventory reduces method, apparatus and EDrop order server
CN110210940B (en) Goods taking method applied to business district and business district order system
CN107330652A (en) A kind of generation method, device and the server of discount order
KR20150053443A (en) Method, apparatus and computer readable medium for managing physucal distribution
CN109636264B (en) Shopping method, device, equipment and storage medium based on shared access device
JP2006092273A (en) Merchandise purchase management system
JP2020077160A (en) Inventory management device and inventory management program
US10915943B2 (en) Order processing systems and methods
JP2018063660A (en) Shopping support device and shopping support method
JP7004882B2 (en) Commodity trading system, commodities trading method and commodities trading program
JP6614564B1 (en) Import / export support system and import / export support method
US20180300980A1 (en) Sales apparatus, control method, and storage medium
JP2003208535A (en) Commodity providing method
CN111047241A (en) Inventory management method, device and computer readable storage medium
JP4478569B2 (en) Operation method of vending machine and its sales system
JP7216170B1 (en) Merchandise management device, merchandise management method, and merchandise management program
US20240029121A1 (en) Methods and apparatuses for impulse purchases at remote locations
JP7069663B2 (en) Information processing equipment, door delivery reception method, and program

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
GR01 Patent grant
GR01 Patent grant