CN111882378A - Goods settlement method and device for storage cabinet and storage medium - Google Patents

Goods settlement method and device for storage cabinet and storage medium Download PDF

Info

Publication number
CN111882378A
CN111882378A CN202010591420.7A CN202010591420A CN111882378A CN 111882378 A CN111882378 A CN 111882378A CN 202010591420 A CN202010591420 A CN 202010591420A CN 111882378 A CN111882378 A CN 111882378A
Authority
CN
China
Prior art keywords
settlement
goods
cabinet
goods data
task queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010591420.7A
Other languages
Chinese (zh)
Inventor
陆寅
陶海金
胡娟
何雅菁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Midea Intelligent Technologies Co Ltd
Original Assignee
Hefei Midea Intelligent Technologies 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 Hefei Midea Intelligent Technologies Co Ltd filed Critical Hefei Midea Intelligent Technologies Co Ltd
Priority to CN202010591420.7A priority Critical patent/CN111882378A/en
Publication of CN111882378A publication Critical patent/CN111882378A/en
Pending legal-status Critical Current

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of communication, and provides a goods settlement method and a goods settlement device for a storage cabinet, wherein the method comprises the following steps: determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed; generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue; and settling accounts of the settlement tasks in the calculation task queue in sequence to generate a settlement list, and sending the settlement list to the client. The embodiment provides a goods settlement method and device for a storage cabinet, which can be used for producing settlement tasks on goods data obtained before and after opening and closing a cabinet door, placing the settlement tasks in a settlement task queue for sequential processing, saving the time for a user to wait for generation of a settlement list when a network environment is not good enough, and improving the use efficiency of the storage cabinet.

Description

Goods settlement method and device for storage cabinet and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a goods settlement method and device of a storage cabinet and a storage medium.
Background
After the cabinet door is opened, goods are put into or taken out of the cabinet door, and after the cabinet door is closed, the cabinet can be settled to generate a list. The list is the list of goods added or reduced in the storage cabinet.
Since the generation of the list is performed on the background server, the cargo data in the cabinet needs to be uploaded to the server. However, the network environment of the locker is not in a good state, so that data transmission takes a certain time, and at the moment, a user needs to take time to wait for acquiring the list.
For example, a distributor may add or replace goods into a locker periodically, and if the distributor needs to wait for the settlement list of the operation to be obtained on the terminal device used after adding or replacing goods, the distributor may be delayed from distributing goods to the next locker, and another distributor may be delayed from distributing goods in the same locker.
For example, after a purchaser purchases goods from a locker, the purchaser needs to wait for the settlement list of the operation to be obtained at a mobile phone terminal, so that the purchaser is delayed from handling other things, and another purchaser purchases goods on the same locker.
Therefore, the two conditions can influence the use of the locker by users.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a goods settlement method for a storage cabinet, which can produce settlement tasks for goods data obtained before and after opening and closing a cabinet door, place the settlement tasks in a settlement task queue for sequential processing, save the time for a user to wait for generating a settlement list when the network environment is not good enough, and improve the use efficiency of the storage cabinet.
The invention also provides a goods settlement device of the storage cabinet.
The goods settlement method for the storage cabinet in the embodiment of the first aspect of the invention comprises the following steps:
determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed;
generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue;
and settling accounts of the settlement tasks in the calculation task queue in sequence to generate a settlement list, and sending the settlement list to a client.
The goods settlement method of the storage cabinet provided by the embodiment of the invention also has the following additional technical characteristics:
further, before determining the first cargo data and the second cargo data of the current time, the method further includes:
receiving a door opening request sent by a client, and determining a door opening instruction according to the door opening request;
and sending the door opening instruction to the storage cabinet, so that the storage cabinet determines that the first goods data and the second goods data are uploaded last time, and opening a cabinet door according to the door opening instruction.
Further, still include:
sending the door opening instruction to the storage cabinet, enabling the storage cabinet to determine that the first goods data and the second goods data are not uploaded last time, and feeding back an error code;
and generating fault information according to the error code, and sending the fault information to a client.
Further, before determining the first cargo data and the second cargo data of the current time, the method further includes:
the method comprises the steps of receiving a door opening request sent by a client, determining that the first goods data and the second goods data are uploaded last time, determining a door opening instruction according to the door opening request, and sending the door opening instruction to the storage cabinet.
Further, still include:
and determining that the last first goods data and the last second goods data are not uploaded, and sending a door opening refusing signal to the client.
Further, the door opening request includes the identity information of the door opening person, the settlement task queue includes a distribution settlement task queue and a sale settlement task queue, correspondingly, a new settlement task is generated according to the first goods data and the second goods data, and the new settlement task is placed in the settlement task queue, including:
determining a distribution type or a selling type according to the identity information of the door opening person;
determining a distribution settlement task queue or a sale settlement task queue according to the distribution type or the sale type;
and generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a distribution settlement task queue or a selling settlement task queue.
Further, still include: clearing the settlement tasks after settlement processing in the settlement task queue.
Further, before placing the new settlement task in the settlement task queue, the method further comprises:
and determining the new settlement task as a first settlement task, and creating a settlement task queue.
The goods settlement device of the locker of the embodiment of the second aspect of the invention comprises:
the acquisition module is used for determining first goods data in the cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed;
the configuration module is used for generating a new settlement task according to the first goods data and the second goods data and placing the new settlement task in a settlement task queue;
and the settlement module is used for sequentially settling the settlement tasks in the calculation task queue, generating a settlement list and sending the settlement list to the client.
Further, the system also comprises a control module used for:
receiving a door opening request sent by a client, and determining a door opening instruction according to the door opening request;
and sending the door opening instruction to the storage cabinet, so that the storage cabinet determines that the first goods data and the second goods data are uploaded last time, and opening a cabinet door according to the door opening instruction.
Further, it is also used for:
sending the door opening instruction to the storage cabinet, enabling the storage cabinet to determine that the first goods data and the second goods data are not uploaded last time, and feeding back an error code;
and generating fault information according to the error code, and sending the fault information to a client.
Further, the system also comprises a control module used for:
the method comprises the steps of receiving a door opening request sent by a client, determining that the first goods data and the second goods data are uploaded last time, determining a door opening instruction according to the door opening request, and sending the door opening instruction to the storage cabinet.
Further, the control module is further configured to:
and determining that the last first goods data and the last second goods data are not uploaded, and sending a door opening refusing signal to the client.
Further, the door opening request includes the identity information of the door opener, the settlement task queue includes a distribution settlement task queue and a sale settlement task queue, and correspondingly, the configuration module is configured to:
determining a distribution type or a selling type according to the identity information of the door opening person;
determining a distribution settlement task queue or a sale settlement task queue according to the distribution type or the sale type;
and generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a distribution settlement task queue or a selling settlement task queue.
Further, the clearing module is used for clearing the settlement tasks after settlement processing in the settlement task queue.
The system further comprises a creating module for determining the new settlement task as the first settlement task and creating a settlement task queue before the new settlement task is placed in the settlement task queue.
An electronic device according to an embodiment of the third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the cargo settlement method of the locker.
A non-transitory computer-readable storage medium according to a fourth aspect of the present invention, having stored thereon a computer program which, when executed by a processor, performs the steps of the method for settlement of goods in a locker as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for settling the contents of a storage cabinet according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating the use of the storage cabinet according to the embodiment of the present invention;
FIG. 3 is another flow chart of the use of the storage cabinet according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of a goods settlement device of a locker according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is a schematic flow chart illustrating a cargo settlement method for a locker according to an embodiment of the present invention, and referring to fig. 1, the method includes:
s11, determining first goods data in the cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed;
s12, generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue;
and S13, settlement processing is carried out on the settlement tasks in the calculation task queue in sequence, a settlement list is generated, and the settlement list is sent to the client.
With respect to step S11 to step S12, it should be noted that, in the embodiment of the present invention, the intelligent locker can store goods, and also can monitor the entering and exiting of goods to generate a list. Intelligent lockers are more and more common, such as locker, exhibition cabinet etc.
After the cabinet door is opened, goods are put into or taken out of the cabinet door, and after the cabinet door is closed, the cabinet can be settled to generate a list. The list is a goods list for adding or reducing goods in the storage cabinet.
Since the generation of the list is performed on the background server, the cargo data in the cabinet needs to be uploaded to the server. However, the network environment of the locker is not in a good state, so that data transmission takes a certain time, and a user needs to wait for obtaining the list.
For example, a distributor may add or replace goods into a locker periodically, and if the distributor needs to wait for the settlement list of the operation to be obtained on the terminal device used after adding or replacing goods, the distributor may be delayed from distributing goods to the next locker, and another distributor may be delayed from distributing goods in the same locker.
For example, after a purchaser purchases goods from a locker, the purchaser needs to wait for the settlement list of the operation to be obtained at a mobile phone terminal, so that the purchaser is delayed from handling other things, and another purchaser purchases goods on the same locker.
Therefore, the two conditions can influence the use of the locker by users.
Therefore, in the embodiment of the invention, after determining the first goods data in the cabinet before the cabinet door of the current locker is opened and the second goods data in the cabinet after the cabinet door is closed, the server side forms a new settlement task by the first goods data and the second goods data, and places the new settlement task in the settlement task queue. The accounting task queue provides a buffer for the progress of processing tasks. When the server obtains the uploaded goods data, settlement processing is performed in the order of the settlement task queue, and once a settlement list is generated, the settlement list is transmitted to the client (a terminal device used by a distributor or a purchaser).
At this time, the user does not need to spend time at the locker to wait for the settlement list to be obtained, so that other things are not delayed to be processed. And after the settlement list is generated, the settlement list is sent to the corresponding client.
According to the goods settlement method for the storage cabinet, provided by the embodiment of the invention, the goods data obtained before and after the cabinet door is opened can be used for producing settlement tasks, and the settlement tasks are placed in the settlement task queue for sequential processing, so that the time for a user to wait for the generation of a settlement list when the network environment is not good enough is saved, and the use efficiency of the storage cabinet is improved.
In a further embodiment of the method of an embodiment of the present invention, prior to determining the current first shipment data and the second shipment data, the method further comprises:
the method comprises the steps of receiving a door opening request (triggered by code scanning or face scanning or the like) sent by a client, determining a door opening instruction according to the door opening request, sending the door opening instruction to a storage cabinet, enabling the storage cabinet to determine that the first goods data and the second goods data of the last time are uploaded, and opening a cabinet door according to the door opening instruction.
In this regard, it should be noted that, if the last first goods data and the last second goods data cannot be uploaded to the service end due to a transmission problem or a failure problem. At this time, if the first goods data and the second goods data are continuously acquired for a new time, the settlement work of the service end may be disordered and a settlement task may be lost. Therefore, after receiving the door opening request sent by the client, the server side verifies the door opening request, generates a door opening instruction after the verification is passed, and sends the door opening instruction to the storage cabinet.
After the locker receives the door opening instruction again, whether the first goods data and the second goods data of the last time are uploaded or not is determined, if the first goods data and the second goods data of the last time are uploaded, the locker can open the cabinet door according to the door opening instruction, and the next time of obtaining the goods data is carried out.
If the fault information is not uploaded, the storage cabinet sends an error code to the server, the server analyzes the fault information according to the error code after receiving the error code, and then the fault information is sent to the client.
In a further embodiment of the method of an embodiment of the present invention, prior to determining the current first shipment data and the second shipment data, the method further comprises:
and the server receives a door opening request sent by the client, determines a door opening instruction according to the door opening request if the first goods data and the second goods data are uploaded last time, and sends the door opening instruction to the storage cabinet.
And if the last time of the first goods data and the second goods data is not uploaded, sending a door opening refusing signal to the client.
In a further embodiment of the method of an embodiment of the present invention, the locker faces a distributor and a purchaser, the distributor distributes the goods into the locker, and the purchaser purchases the goods from the locker. The distributor or the purchaser can scan the two-dimensional code on the code storage cabinet to apply for opening the cabinet door. But the distributor or the purchaser belongs to different use identities, for this reason, the door opening request sent by the code scanning two-dimensional code to the server comprises the identity information of the door opening person, and the server can determine whether the cabinet door is opened to process the goods until the goods belong to a distribution type or a selling type according to the identity information of the door opening person.
For different types, in the embodiment of the invention, the settlement task queue can be divided into a distribution settlement task queue and a sale settlement task queue.
And determining a delivery settlement task queue according to the delivery type.
And determining a selling settlement task queue according to the selling type.
And if the request is determined to be the delivery settlement task queue, generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in the delivery settlement task queue.
And if the selling settlement task queue is determined, generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in the selling settlement task queue.
In a further embodiment of the method of an embodiment of the present invention, the settlement tasks after settlement processing are cleared in the settlement task queue. Clearing the settlement tasks after settlement processing can prevent repeated settlement of each settlement task in the settlement task queue.
In a further embodiment of the method of an embodiment of the present invention, the settlement task queue does not exist when there are no settlement tasks. For this reason, a settlement task queue needs to be established as appropriate. And when the new settlement task is determined to be the first settlement task, establishing a settlement task queue. And when a new settlement task exists again and the previous settlement task is not processed, adding the new settlement queue into the created settlement task queue.
According to the scheme described in the above embodiment, the following is an overall flow explanation by using the flow chart of the storage cabinet shown in fig. 2 and fig. 3, which specifically includes the following steps:
referring to fig. 2, a distributor (using a terminal) scans a code, a server obtains a door opening request and sends a door opening instruction to a locker, the locker determines whether the last cargo data is uploaded to the server, and if the uploading is successful, the locker is unlocked, and the distributor can open a door to load and unload the cargo. Otherwise, the door is refused to be opened, an error code is returned to the server, and the server generates fault information according to the error code and informs a distributor of the reason that the door cannot be opened.
After the lock is unlocked, the commodity detection equipment is triggered to start detection, and the data of the goods when the deliverer gets the goods on or off the shelf are recorded through the detection light curtain, the weighing sensor, the camera and the like. And closing the cabinet door after the delivery personnel finish loading and unloading, and triggering the commodity detection equipment to stop detection.
The storage cabinet uploads the goods data to the server side to generate a settlement task, and a settlement task queue is created. And the server side settles the tasks in the settlement task queue and refreshes the queue.
And the distributor receives the settlement list to complete the distribution process.
Referring to fig. 3, after a distributor (using a terminal) scans a code, a server side obtains a door opening request, determines whether previous goods data is received, and unlocks if the previous goods data is successfully received, and the distributor can open a door to load and unload goods. Otherwise, the door is refused to be opened, and a door opening refusing signal is returned.
After the lock is unlocked, the commodity detection equipment is triggered to start detection, and the data of the goods when the deliverer gets the goods on or off the shelf are recorded through the detection light curtain, the weighing sensor, the camera and the like. And closing the cabinet door after the delivery personnel finish loading and unloading, and triggering the commodity detection equipment to stop detection.
The storage cabinet uploads the goods data to the server side to generate a settlement task, and a settlement task queue is created. And the server side settles the tasks in the settlement task queue and refreshes the queue.
And the distributor receives the settlement list to complete the distribution process.
According to the goods settlement method for the storage cabinet, the goods data obtained before the cabinet door is opened and after the cabinet door is closed can be used for producing settlement tasks, the settlement tasks are placed in the settlement task queue for sequential processing, the time for a user to wait for the generation of a settlement list when the network environment is not good enough is saved, and the use efficiency of the storage cabinet is improved.
Fig. 4 is a schematic structural diagram of a goods settlement device of a locker according to an embodiment of the present invention, referring to fig. 4, the device includes an acquisition module 21, a configuration module 22 and a settlement module 23, wherein:
the acquisition module 21 is configured to determine first cargo data in a current storage cabinet before the cabinet door of the storage cabinet is opened and second cargo data in the current storage cabinet after the cabinet door of the storage cabinet is closed;
the configuration module 22 is configured to generate a new settlement task according to the first cargo data and the second cargo data, and place the new settlement task in a settlement task queue;
and the settlement module 23 is configured to perform settlement processing on the settlement tasks in the calculation task queue in sequence, generate a settlement list, and send the settlement list to the client.
In a further embodiment of the apparatus of the embodiments of the present invention, the apparatus further comprises a control module, configured to:
receiving a door opening request sent by a client, and determining a door opening instruction according to the door opening request;
and sending the door opening instruction to the storage cabinet, so that the storage cabinet determines that the first goods data and the second goods data are uploaded last time, and opening a cabinet door according to the door opening instruction.
In a further embodiment of the apparatus of the embodiments of the present invention, the apparatus is further configured to:
sending the door opening instruction to the storage cabinet, enabling the storage cabinet to determine that the first goods data and the second goods data are not uploaded last time, and feeding back an error code;
and generating fault information according to the error code, and sending the fault information to a client.
In a further embodiment of the apparatus according to the embodiment of the present invention, the apparatus further includes a control module, configured to:
the method comprises the steps of receiving a door opening request sent by a client, determining that the first goods data and the second goods data are uploaded last time, determining a door opening instruction according to the door opening request, and sending the door opening instruction to the storage cabinet.
In a further embodiment of the apparatus according to the embodiment of the present invention, the control module is further configured to:
and determining that the last first goods data and the last second goods data are not uploaded, and sending a door opening refusing signal to the client.
In a further embodiment of the apparatus according to an embodiment of the present invention, the door opening request includes identity information of a door opener, the settlement task queue includes a distribution settlement task queue and a sale settlement task queue, and accordingly, the configuration module is configured to:
determining a distribution type or a selling type according to the identity information of the door opening person;
determining a distribution settlement task queue or a sale settlement task queue according to the distribution type or the sale type;
and generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a distribution settlement task queue or a selling settlement task queue.
In a further embodiment of the apparatus according to the embodiment of the present invention, the apparatus further includes a clearing module, configured to clear the settlement task after the settlement processing from the settlement task queue.
In a further embodiment of the apparatus according to an embodiment of the present invention, the apparatus further includes a creating module, configured to determine that the new settlement task is a first settlement task before placing the new settlement task in the settlement task queue, and create the settlement task queue.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
According to the goods settlement method for the storage cabinet, provided by the embodiment of the invention, the goods data obtained before and after the cabinet door is opened can be used for producing settlement tasks, and the settlement tasks are placed in the settlement task queue for sequential processing, so that the time for a user to wait for the generation of a settlement list when the network environment is not good enough is saved, and the use efficiency of the storage cabinet is improved.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)31, a communication Interface (communication Interface)32, a memory (memory)33 and a communication bus 34, wherein the processor 31, the communication Interface 32 and the memory 33 are communicated with each other via the communication bus 34. The processor 31 may call logic instructions in the memory 33 to perform the following method: determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed; generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue; and settling accounts of the settlement tasks in the calculation task queue in sequence to generate a settlement list, and sending the settlement list to a client.
In addition, the logic instructions in the memory 33 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed; generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue; and settling accounts of the settlement tasks in the calculation task queue in sequence to generate a settlement list, and sending the settlement list to a client.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including: determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed; generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue; and settling accounts of the settlement tasks in the calculation task queue in sequence to generate a settlement list, and sending the settlement list to a client.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
The above embodiments are merely illustrative of the present invention and are not to be construed as limiting the invention. Although the present invention has been described in detail with reference to the embodiments, it should be understood by those skilled in the art that various combinations, modifications or equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention, and the technical solution of the present invention is covered by the claims of the present invention.

Claims (11)

1. A method for settling the goods in a storage cabinet is characterized by comprising the following steps:
determining first goods data in a cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed;
generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a settlement task queue;
and settling accounts of the settlement tasks in the settlement task queue in sequence to generate a settlement list, and sending the settlement list to the client.
2. The method for settling the contents of a storage cabinet according to claim 1, further comprising, before determining the first and second contents data of the current time, the steps of:
receiving a door opening request sent by a client, and determining a door opening instruction according to the door opening request;
and sending the door opening instruction to the storage cabinet, so that the storage cabinet determines that the first goods data and the second goods data are uploaded last time, and opening a cabinet door according to the door opening instruction.
3. The cargo settlement method for storage cabinets of claim 2, further comprising:
sending the door opening instruction to the storage cabinet, enabling the storage cabinet to determine that the first goods data and the second goods data are not uploaded last time, and feeding back an error code;
and generating fault information according to the error code, and sending the fault information to a client.
4. The method for settling the contents of a storage cabinet according to claim 1, further comprising, before determining the first and second contents data of the current time, the steps of:
the method comprises the steps of receiving a door opening request sent by a client, determining that the first goods data and the second goods data are uploaded last time, determining a door opening instruction according to the door opening request, and sending the door opening instruction to the storage cabinet.
5. The cargo settlement method for storage cabinets of claim 4, further comprising:
and determining that the last first goods data and the last second goods data are not uploaded, and sending a door opening refusing signal to the client.
6. The method for settling the goods in the storage cabinet according to any one of claims 2 to 5, wherein the request for opening the door includes identity information of a person opening the door, the settlement task queue includes a distribution settlement task queue and a sale settlement task queue, and accordingly, a new settlement task is generated according to the first goods data and the second goods data, and is placed in the settlement task queue, and the method includes:
determining a distribution type or a selling type according to the identity information of the door opening person;
determining a distribution settlement task queue or a sale settlement task queue according to the distribution type or the sale type;
and generating a new settlement task according to the first goods data and the second goods data, and placing the new settlement task in a distribution settlement task queue or a selling settlement task queue.
7. The cargo settlement method for storage cabinets of claim 1, further comprising: clearing the settlement tasks after settlement processing in the settlement task queue.
8. The method for settling the contents of a locker as recited in claim 1, further comprising, before placing the new settlement task in the settlement task queue:
and determining the new settlement task as a first settlement task, and creating a settlement task queue.
9. A cargo settlement device for a locker, comprising:
the acquisition module is used for determining first goods data in the cabinet before the cabinet door of the current storage cabinet is opened and second goods data in the cabinet after the cabinet door is closed;
the configuration module is used for generating a new settlement task according to the first goods data and the second goods data and placing the new settlement task in a settlement task queue;
and the settlement module is used for sequentially settling the settlement tasks in the calculation task queue, generating a settlement list and sending the settlement list to the client.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method of cargo settlement of a locker as claimed in any one of claims 1 to 8.
11. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method for settling the contents of a locker of any one of claims 1 to 8.
CN202010591420.7A 2020-06-24 2020-06-24 Goods settlement method and device for storage cabinet and storage medium Pending CN111882378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010591420.7A CN111882378A (en) 2020-06-24 2020-06-24 Goods settlement method and device for storage cabinet and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010591420.7A CN111882378A (en) 2020-06-24 2020-06-24 Goods settlement method and device for storage cabinet and storage medium

Publications (1)

Publication Number Publication Date
CN111882378A true CN111882378A (en) 2020-11-03

Family

ID=73158149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010591420.7A Pending CN111882378A (en) 2020-06-24 2020-06-24 Goods settlement method and device for storage cabinet and storage medium

Country Status (1)

Country Link
CN (1) CN111882378A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228681A (en) * 2016-07-25 2016-12-14 深圳市双驰科技有限公司 A kind of automatic vending method, system and vending machine
CN108492027A (en) * 2018-03-21 2018-09-04 合肥美的智能科技有限公司 Self-service vending management system and method
CN108564690A (en) * 2018-04-04 2018-09-21 合肥美的智能科技有限公司 Door unlocking control method and system and sales counter
CN108922025A (en) * 2018-07-09 2018-11-30 Ut斯达康通讯有限公司 Settle accounts method of payment, device, Intelligent cargo cabinet and server
CN109727382A (en) * 2018-12-29 2019-05-07 泸州元能电子科技有限公司 A kind of settlement method of Intelligent cargo cabinet, device, terminal and storage medium
CN109816857A (en) * 2019-02-28 2019-05-28 上海趣售科技有限公司 A kind of intelligence is sold goods management method and device
CN110136326A (en) * 2019-04-24 2019-08-16 深兰科技(上海)有限公司 A kind of sales counter control method and device
CN110276891A (en) * 2019-06-04 2019-09-24 合肥美的智能科技有限公司 Unmanned vending equipment, unmanned vending control method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228681A (en) * 2016-07-25 2016-12-14 深圳市双驰科技有限公司 A kind of automatic vending method, system and vending machine
CN108492027A (en) * 2018-03-21 2018-09-04 合肥美的智能科技有限公司 Self-service vending management system and method
CN108564690A (en) * 2018-04-04 2018-09-21 合肥美的智能科技有限公司 Door unlocking control method and system and sales counter
CN108922025A (en) * 2018-07-09 2018-11-30 Ut斯达康通讯有限公司 Settle accounts method of payment, device, Intelligent cargo cabinet and server
CN109727382A (en) * 2018-12-29 2019-05-07 泸州元能电子科技有限公司 A kind of settlement method of Intelligent cargo cabinet, device, terminal and storage medium
CN109816857A (en) * 2019-02-28 2019-05-28 上海趣售科技有限公司 A kind of intelligence is sold goods management method and device
CN110136326A (en) * 2019-04-24 2019-08-16 深兰科技(上海)有限公司 A kind of sales counter control method and device
CN110276891A (en) * 2019-06-04 2019-09-24 合肥美的智能科技有限公司 Unmanned vending equipment, unmanned vending control method and system

Similar Documents

Publication Publication Date Title
CN104767716B (en) Service request processing method and device
US20140241583A1 (en) Secure self-checkout
CN110119931A (en) Authorize the method and system, server and machine readable storage medium for picking
CN106909978A (en) A kind of method and apparatus for loading and unloading goods management
CN110363476A (en) Warehousing allocation processing method and device
CN113345171A (en) Cabinet lattice application method and device of intelligent cabinet and computing equipment
CN109302379A (en) Identity identifying method, device, server and medium
US20210117875A1 (en) Storage compartment coordination and tracking
CN110458544B (en) Payment method and payment service system of multi-cash-register-crossing system
CN111882378A (en) Goods settlement method and device for storage cabinet and storage medium
CN110342179A (en) Stereo garage outbound control method and system
CN112884403A (en) Article distribution method and device, electronic equipment and storage medium
CN111833547B (en) Control method of storage cabinet, control device of storage cabinet and server
CN110245893A (en) Logistics customer service processing method, system and device
AU2019399636A1 (en) Agricultural product supply system and method, and agricultural product transaction processing method
CN114841769A (en) Parcel information updating method and device
CN111951063A (en) Commodity data processing system, method and device
CN111652440B (en) Goods volume information management method and device for logistics nodes
CN113642961B (en) Monitoring method and device in cargo handling process
CN113178032A (en) Video processing method, system and storage medium
CN110795445B (en) Concurrent task processing method and device, server equipment and medium
CN111815867B (en) Settling processing method and device for storage cabinet and storage medium
JP2004182366A (en) Container transportation adjustment management system and container transportation adjustment management method
CN115185589A (en) Parallel pickup method and device
CN114120544B (en) Sharing control method and device for meal outlet cabinet and electronic equipment

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