CN113095762B - Object processing method and device - Google Patents

Object processing method and device Download PDF

Info

Publication number
CN113095762B
CN113095762B CN202110468159.6A CN202110468159A CN113095762B CN 113095762 B CN113095762 B CN 113095762B CN 202110468159 A CN202110468159 A CN 202110468159A CN 113095762 B CN113095762 B CN 113095762B
Authority
CN
China
Prior art keywords
weight
event
time
determining
moment
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
CN202110468159.6A
Other languages
Chinese (zh)
Other versions
CN113095762A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202110468159.6A priority Critical patent/CN113095762B/en
Publication of CN113095762A publication Critical patent/CN113095762A/en
Application granted granted Critical
Publication of CN113095762B publication Critical patent/CN113095762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups

Abstract

The embodiment of the application provides an object processing method and device, wherein the method comprises the following steps: determining that the weight of the object in the first goods lattice changes at the first moment, and determining that the first goods lattice reaches a stable state at the second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period. A first weight of the object in the first cargo space before a first time and a second weight of the object in the first cargo space at a second time are obtained. And judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight. If so, determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the weight triggering event. And sending weight trigger information to the platform server. The gateway equipment analyzes the collected gravity data, so that the data quantity transmitted to the server can be effectively reduced, and the monitoring efficiency of the movement of the object is improved.

Description

Object processing method and device
Technical Field
Embodiments of the present application relate to computer technologies, and in particular, to a method and an apparatus for processing an object.
Background
With the development of scientific technology, an object taking and placing mode without supervision is increasingly widely applied in daily life, such as an unmanned supermarket, an unmanned warehouse and the like.
At present, in the related art, when taking and placing objects without supervision, image data, weight data and the like corresponding to a shelf are generally collected, and then all the collected data are sent to a cloud server, and the cloud server monitors objects taken or placed in each shelf by a user.
However, transmitting all data to the server for processing results in a large amount of data being transmitted, which in turn results in inefficient monitoring of the movement of the object.
Disclosure of Invention
The embodiment of the application provides an object processing method and device, which are used for solving the problem of low monitoring efficiency of object movement.
In a first aspect, an embodiment of the present application provides an object processing method, applied to a gateway device, where the method includes:
determining that the weight of an object in a first goods lattice changes at a first moment, and determining that the first goods lattice reaches a stable state at a second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period;
Acquiring a first weight of the object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment;
judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight;
if yes, determining weight triggering information corresponding to the first cargo compartment between the first moment and the second moment according to the weight triggering event, wherein the weight triggering information is used for indicating the weight triggering event in the first cargo compartment;
and sending the weight trigger information to a platform server.
In one possible design, the determining, according to the first weight and the second weight, whether a weight trigger event exists between the first time and the second time includes:
if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
If the difference between the first weight and the second weight is equal to 0, determining whether a weight triggering event exists according to the weights of a plurality of moments between the first moment and the second moment.
In one possible design, the determining whether a weight trigger event exists based on weights at a plurality of times between the first time and the second time includes:
judging whether the weights of a plurality of moments between the first moment and the second moment are all the same weight or not;
if yes, determining that a weight triggering event does not exist;
if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
In one possible design, the determining weight trigger information corresponding to the first cargo compartment between the first time and the second time according to the weight trigger event includes:
preprocessing the weight triggering event to obtain a target event;
and determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the target event.
In one possible design, the preprocessing the weight-triggered event to obtain a target event includes:
Acquiring event information corresponding to the weight triggering event, wherein the event information comprises at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
judging whether a weight change value corresponding to the weight triggering event is larger than or equal to a weight threshold value or not;
if yes, determining the weight triggering event as the target event;
if not, the weight triggering event is determined to be a small weight event, and the target event is determined according to the small weight event.
In one possible design, the determining the target event from the light weight event includes:
judging whether a second low weight event continuous with the current low weight event exists or not;
if so, merging the current small weight event and the second small weight event into the target event when the current small weight event meets the preset condition, wherein the weight change value corresponding to the target event is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event,
the preset conditions are as follows: the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the at least one second small weight event is an integer multiple of the weight of the single object carried in the first cargo compartment;
If not, the light weight event is determined to be the target event.
In one possible design, the determining weight trigger information corresponding to the first cargo compartment between the first time and the second time according to the target event includes:
and determining event information corresponding to the target event as the weight trigger information.
In one possible design, the method further comprises:
monitoring whether a goods shelf corresponding to the first goods lattice has faults or not in real time;
if the fault occurs, the fault information is reported.
In one possible design, the method further comprises:
sending timing request information to a timing server by taking a second preset duration as a period, wherein the timing request information comprises request sending time;
acquiring a time data packet sent by the timing request information, wherein the time data packet comprises the request sending time, the request receiving time and the server response time;
determining the response receiving time for receiving the time data packet;
and correcting the current time according to the request sending time, the request receiving time, the server response time and the response receiving time.
In one possible design, the correcting the current time according to the request sending time, the request receiving time, the server response time, and the response receiving time includes:
determining a first time offset according to the request sending time, the request receiving time, the server response time and the response receiving time;
and correcting the current time according to the first time offset.
In a second aspect, an embodiment of the present application provides an object processing method, applied to a platform server, where the method includes:
receiving weight triggering information sent by gateway equipment, wherein the weight triggering information is used for indicating that a weight triggering event occurs in a first goods lattice;
and determining an object movement event according to the weight trigger information.
In one possible design, the weight trigger information includes at least one of: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
the determining an object movement event according to the weight trigger information comprises the following steps:
determining a target object identifier corresponding to a goods grid identifier corresponding to the first goods grid according to the corresponding relation between the goods grid identifier and the object identifier;
According to the target object identification, determining the weight of a single target object corresponding to the target object identification;
and determining the object movement event according to the weight of the single target object corresponding to the target object identification.
In one possible design, the determining the object movement event according to the weight of the single target object corresponding to the target object identification includes:
judging whether the weight change value in the weight trigger information is an integral multiple of the weight of the single target object or not;
if yes, determining that the weight change value corresponds to a multiple M of the weight of the single target object as the moving number of the target object so as to obtain the object moving event, wherein the event information of the object moving event comprises at least one of the following information: the moving time, the goods shelf identifier corresponding to the first goods lattice, the goods lattice identifier corresponding to the first goods lattice, the target object identifier and the moving number, wherein M is an integer greater than or equal to 1;
if not, the abnormal information is sent to the target equipment.
In one possible design, after the sending of the anomaly information to the target device, the method further includes:
Acquiring a user identifier associated with a shelf identifier of the first shelf;
according to the user identification, at least one associated object identification corresponding to the user identification is obtained;
judging whether the object in the first goods lattice is placed correctly or not according to the weight of the single associated object corresponding to each associated object identifier, the weight of the single target object in the first goods lattice and the weight change value;
if the abnormal object is incorrect, determining to place the incorrect abnormal object, and sending prompt information to the target equipment, wherein the prompt information is used for indicating that the abnormal object is placed incorrectly.
In a third aspect, an embodiment of the present application provides an object processing apparatus, applied to a gateway device, where the apparatus includes:
the system comprises a determining module, a first storage grid and a second storage grid, wherein the determining module is used for determining that the weight of an object in the first storage grid changes at a first moment and determining that the first storage grid reaches a stable state at a second moment, and the stable state is a state that the weight of the object in the first storage grid does not change within a first preset duration;
the acquisition module is used for acquiring a first weight of the object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment;
The judging module is used for judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight;
the determining module is further configured to determine, if yes, weight trigger information corresponding to the first cargo compartment between the first time and the second time according to the weight trigger event, where the weight trigger information is used to indicate that the weight trigger event occurs in the first cargo compartment;
and the sending module is used for sending the weight triggering information to the platform server.
In one possible design, the judging module is specifically configured to:
if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is equal to 0, determining whether a weight triggering event exists according to the weights of a plurality of moments between the first moment and the second moment.
In one possible design, the determining module is specifically configured to:
Judging whether the weights of a plurality of moments between the first moment and the second moment are all the same weight or not;
if yes, determining that a weight triggering event does not exist;
if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
In one possible design, the determining module is specifically configured to:
preprocessing the weight triggering event to obtain a target event;
and determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the target event.
In one possible design, the determining module is specifically configured to:
acquiring event information corresponding to the weight triggering event, wherein the event information comprises at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
judging whether a weight change value corresponding to the weight triggering event is larger than or equal to a weight threshold value or not;
if yes, determining the weight triggering event as the target event;
if not, the weight triggering event is determined to be a small weight event, and the target event is determined according to the small weight event.
In one possible design, the determining module is specifically configured to:
judging whether a second low weight event continuous with the current low weight event exists or not;
if so, merging the current small weight event and the second small weight event into the target event when the current small weight event meets the preset condition, wherein the weight change value corresponding to the target event is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event,
the preset conditions are as follows: the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the at least one second small weight event is an integer multiple of the weight of the single object carried in the first cargo compartment;
if not, the light weight event is determined to be the target event.
In one possible design, the determining module is specifically configured to:
and determining event information corresponding to the target event as the weight trigger information.
In one possible design, the apparatus further comprises: an operation and maintenance module;
the operation and maintenance module is used for:
monitoring whether a goods shelf corresponding to the first goods lattice has faults or not in real time;
If the fault occurs, the fault information is reported.
In one possible design, the determining module is further configured to:
sending timing request information to a timing server by taking a second preset duration as a period, wherein the timing request information comprises request sending time;
acquiring a time data packet sent by the timing request information, wherein the time data packet comprises the request sending time, the request receiving time and the server response time;
determining the response receiving time for receiving the time data packet;
and correcting the current time according to the request sending time, the request receiving time, the server response time and the response receiving time.
In one possible design, the determining module is further configured to:
determining a first time offset according to the request sending time, the request receiving time, the server response time and the response receiving time;
and correcting the current time according to the first time offset.
In a fourth aspect, an embodiment of the present application provides an object processing apparatus, applied to a platform server, where the apparatus includes:
the receiving module is used for receiving weight triggering information sent by the gateway equipment, and the weight triggering information is used for indicating that a weight triggering event occurs in the first goods lattice;
And the determining module is used for determining an object movement event according to the weight trigger information.
In one possible design, the weight trigger information includes at least one of: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
the determining module is specifically configured to:
determining a target object identifier corresponding to a goods grid identifier corresponding to the first goods grid according to the corresponding relation between the goods grid identifier and the object identifier;
according to the target object identification, determining the weight of a single target object corresponding to the target object identification;
and determining the object movement event according to the weight of the single target object corresponding to the target object identification.
In one possible design, the determining module is specifically configured to:
judging whether the weight change value in the weight trigger information is an integral multiple of the weight of the single target object or not;
if yes, determining that the weight change value corresponds to a multiple M of the weight of the single target object as the moving number of the target object so as to obtain the object moving event, wherein the event information of the object moving event comprises at least one of the following information: the moving time, the goods shelf identifier corresponding to the first goods lattice, the goods lattice identifier corresponding to the first goods lattice, the target object identifier and the moving number, wherein M is an integer greater than or equal to 1;
If not, the abnormal information is sent to the target equipment.
In one possible design, the determining module is further configured to:
after the abnormal information is sent to the target equipment, acquiring a user identifier associated with the shelf identifier of the first shelf;
according to the user identification, at least one associated object identification corresponding to the user identification is obtained;
judging whether the object in the first goods lattice is placed correctly or not according to the weight of the single associated object corresponding to each associated object identifier, the weight of the single target object in the first goods lattice and the weight change value;
if the abnormal object is incorrect, determining to place the incorrect abnormal object, and sending prompt information to the target equipment, wherein the prompt information is used for indicating that the abnormal object is placed incorrectly.
In a fifth aspect, an embodiment of the present application provides an object processing apparatus, including:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being adapted to perform the method of any one of the above first aspect and the various possible designs of the first aspect or the second aspect and the various possible designs of the second aspect when the program is executed.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect and any of the various possible designs of the first aspect or of the second aspect and any of the various possible designs of the second aspect.
In a seventh aspect, embodiments of the present application provide a computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements a method as described in the first aspect and any of the various possible designs of the first aspect or the second aspect and any of the various possible designs of the second aspect.
The embodiment of the application provides an object processing method and device, wherein the method comprises the following steps: determining that the weight of the object in the first goods lattice changes at the first moment, and determining that the first goods lattice reaches a stable state at the second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period. A first weight of the object in the first cargo space before a first time and a second weight of the object in the first cargo space at a second time are obtained. And judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight. If so, determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the weight triggering event, wherein the weight triggering information is used for indicating the occurrence of the weight triggering event in the first goods lattice. And sending weight trigger information to the platform server. The gateway equipment analyzes the collected gravity data to determine weight triggering information when the gravity triggering event exists according to the first weight corresponding to the first moment and the second weight corresponding to the second moment, and sends the weight triggering information to the platform server, so that the server can determine a specific object moving event according to the weight triggering information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation of an object processing system according to an embodiment of the present application;
FIG. 2 is a flowchart of an object control method according to an embodiment of the present application;
FIG. 3 is a second flowchart of an object processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an implementation of determining whether a weight triggering event exists according to an embodiment of the present application;
FIG. 5 is a schematic illustration of a preprocessing of weight triggering events provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of one possible scenario of a moving object according to an embodiment of the present application;
fig. 7 is a signaling flow chart of an object processing method according to an embodiment of the present application;
FIG. 8 is a flowchart III of an object processing method according to an embodiment of the present application;
FIG. 9 is a flowchart of a method for processing objects according to an embodiment of the present application;
FIG. 10 is a flowchart fifth of an object processing method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a first implementation of determining object placement based on a first function according to an embodiment of the present application;
FIG. 12 is a second schematic implementation diagram of determining object placement based on a first function according to an embodiment of the present application;
FIG. 13 is a third implementation diagram of determining object placement based on a first function according to an embodiment of the present application;
FIG. 14 is a block diagram of a logic system of an object processing method according to an embodiment of the present application;
FIG. 15 is a schematic diagram of a unit of an object processing method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of an object processing apparatus according to an embodiment of the present application;
FIG. 17 is a second schematic diagram of an object handling apparatus according to an embodiment of the present application;
fig. 18 is a schematic hardware structure of an object processing device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to better understand the technical scheme of the present application, the following describes related technologies related to the present application.
In conventional shops and warehouses, the user or staff usually manually identifies the articles taken from or placed on the shelves, but the operation efficiency is low, and with the continuous development of science and technology, the unmanned object taking and placing mode is increasingly widely applied in daily life, such as unmanned supermarkets, unmanned warehouses and the like.
In the related technology, when an object taking and placing mode without supervision is realized, an RFID reader is arranged at an entrance guard of a supermarket or a warehouse, and an RFID tag is arranged on an object, so that a user or a worker needs to stay for a period of time at the entrance guard after completing taking and placing of the object, and the RFID reader waits for identifying the RFID tag on the object so as to complete scanning and identifying of the object.
However, the implementation of waiting for scanning at the entrance guard may result in inefficiency in the identification process of object pick-and-place. Meanwhile, under the condition that the article is shielded, RFID identification cannot be effectively realized, so that the accuracy of article identification is reduced.
For this problem, at present, the object taken from the shelf can be identified by adopting a weight vision combination mode in the related technology, for example, image data and weight data corresponding to the shelf can be collected, and then the collected data are all uploaded to a cloud server, so that the user or staff can monitor the object taken or placed by the cloud.
However, all data is transmitted back to the cloud server for processing, which results in a large number of data transmissions and thus lower monitoring efficiency of object movement.
Aiming at the problems in the prior art, the application provides the following technical conception: by setting the corresponding gateway equipment for the goods shelf, the gateway equipment collects relevant data of each goods shelf in real time and analyzes the relevant data, so that whether the goods shelf takes or not is determined, and when the taking or placing of the object is determined, weight triggering information can be transmitted to a server, wherein the weight triggering information can comprise weight change values corresponding to the movement of the object, for example, so that the data transmission quantity can be effectively reduced, and the detection efficiency of the movement of the object is improved.
The method for processing an object according to the present application will be described with reference to specific embodiments, first, the object processing system according to the present application will be described with reference to fig. 1, and fig. 1 is a schematic implementation diagram of the object processing system according to the embodiment of the present application.
As shown in fig. 1, the object processing system of the present application includes a smart shelf, a gateway device, and a server.
Wherein, can include a plurality of goods check in the intelligent goods shelves, can place at least one object in every goods check, and wherein the weight of the object that every goods check born can real-time supervision, in one possible implementation way, is provided with a plurality of laminas in the intelligent goods shelves, and the free change of many specifications can be consequently put into operation to the structure of goods shelves.
In this embodiment, a corresponding gateway device may be provided for each intelligent shelf, where the gateway device may collect the weight of an object carried by each grid in the intelligent shelf in real time, and analyze the weight data according to the collected weight data to determine whether there is a moved object in the shelf, if so, transmit weight trigger information to a server, where the weight trigger information may include, for example, a weight change value, or may further include a movement event, a grid identifier, a movement state, and the like, where the movement state may be, for example, taking or may further be placing.
And in this embodiment, for example, a server may be provided for a plurality of shelves, where the server may receive weight trigger information transmitted by the gateway device, where the server may determine that an object is moved in a shelf according to the weight trigger information, and the server may further process according to the weight trigger information, so as to determine a specific object movement event, where the object movement event may include, for example, a movement time, a goods shelf identifier, a movement state, a weight change value, a movement number, and so on.
The server in this embodiment may be a local server, or may be a cloud server, also referred to as a cloud computing server or a cloud host, or may be a server of a distributed system, or a server combined with a blockchain, which is not limited in this embodiment.
In one possible implementation, as shown in fig. 1, the smart shelf and the gateway device may be connected, for example, by a wired manner, and the gateway device and the server may be connected, for example, wirelessly.
Or, the intelligent shelf and the gateway device may be connected in a wireless manner, and the gateway device and the server may be connected in a wired manner, which is not limited in this embodiment, and the specific implementation manners of the wired connection and the wireless connection may be selected according to actual requirements.
On the basis of the description system of fig. 1, the object control method provided by the present application is described in detail below with reference to fig. 2, where the embodiment of fig. 2 describes an implementation manner corresponding to the gateway device in the system, and fig. 2 is a flowchart of the object control method provided by the embodiment of the present application.
As shown in fig. 2, the method includes:
S201, determining that the weight of the object in the first goods lattice changes at a first moment, and determining that the first goods lattice reaches a stable state at a second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period.
In this embodiment, the first cargo space may be any cargo space in the current shelf, and it may be understood that in this embodiment, whether each cargo space in the shelf moves an object needs to be monitored separately, and a specific implementation is described by taking the first cargo space as an example at present, so that the first cargo space may correspond to any cargo space in the shelf.
The gateway device may collect the weight of the object in the first cargo compartment in real time, and in one possible implementation manner, for example, a gravity sensor and a transmitter may be disposed in the first cargo compartment, where the gravity sensor may convert a gravity signal into an electrical signal, and the transmitter may convert a gravity analog electrical signal into a gravity digital electrical signal, i.e. a weight value, so that the weight of the object in the first cargo compartment may be determined by the gravity sensor and the transmitter in the first cargo compartment.
It will be appreciated that a plurality of bins may be included on the shelf, wherein each bin may have a gravity sensor and a transmitter disposed therein, and in one possible implementation, the gateway device may poll the gravity sensor and the transmitter of each bin in turn to collect the weight of the object carried by each bin in real time.
For example, the gateway device may determine that the weight of the object in the first cargo compartment changes at the first moment through real-time monitoring of the weight, and may determine that the behavior that causes the weight change occurs in the first cargo compartment from the first moment, that the object moves in the first cargo compartment, that the user takes the object from the first cargo compartment and puts the object down, that is, that the object does not actually move, that the weight change is determined at present due to a fault problem, and may continuously monitor the weight of the object in the first cargo compartment, and then make a next judgment after waiting for the weight of the object in the first cargo compartment to be stable.
Therefore, the gateway device may determine, according to the weight of the object in the first cargo space monitored in real time, whether the weight of the object in the first cargo space reaches a stable state, where the stable state refers to that the weight of the object in the first cargo space does not change within a first preset duration, and the first preset duration may be, for example, 70 ms, or may also be any duration, which is not limited in this embodiment.
For example, the gateway device may determine that the first compartment has reached a steady state at the second moment, i.e. that the action causing the weight change at the second moment ceases, and that the weight of the object in the first compartment has again reached a steady state.
S202, acquiring a first weight of the object in the first goods lattice before a first moment and a second weight of the object in the first goods lattice at a second moment.
In this embodiment, the weight of the object in the first cargo compartment changes at the first time, that is, the weight of the object in the first cargo compartment is stable before the first time, and the weight of the object in the first cargo compartment reaches to be stable again at the second time, so that the weight change information between the first time and the second time can be determined according to the weight corresponding to the first time and the weight corresponding to the second time.
Therefore, in this embodiment, a first weight of the object in the first cargo space between the first moments can be obtained, and a second weight of the object in the first cargo space between the second moments can also be obtained.
In one possible implementation, the gateway device may store the weight of the object of the first cargo grid acquired in real time locally, and in this embodiment may obtain the first weight and the second weight described above locally.
S203, judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight, if so, executing S204, and if not, executing S206.
In this embodiment, the weight change information of the first cargo space between the first time and the second time may be determined according to the first weight and the second weight, for example, the weight change value may be determined according to the first weight and the second weight, so as to determine how much the weight of the object carried in the first cargo space has changed from the first time to the second time.
In one possible implementation, the gateway device may analyze the first weight and the second weight to determine whether a gravity trigger event occurs within a period of time between the first time and the second time, where the gravity trigger event is an event that causes a change in the weight of the object in the first cargo compartment.
For example, when the difference between the first weight and the second weight is large, it may be determined that a gravity trigger event exists; or when the difference between the first weight and the second weight is smaller, the detection may be considered as false detection, and further it is determined that no gravity trigger event exists, where a specific implementation manner for determining whether the gravity trigger event exists or not may be selected and expanded according to actual requirements, which is not limited in this embodiment.
S204, according to the weight triggering event, weight triggering information corresponding to the first goods lattice between the first moment and the second moment is determined, and the weight triggering information is used for indicating the occurrence of the weight triggering event in the first goods lattice.
In one possible implementation manner, if it is determined that the gravity trigger event exists, weight trigger information of the first cargo grid between the first time and the second time may be determined according to related information of the gravity trigger event, where the weight trigger information may include, for example, the weight change value described above, and the weight trigger information may further include, for example, a cargo grid identifier corresponding to the first cargo grid, the first time and the second time when the movement occurs, and so on.
Or, the weight triggering information may further include a first moment, a first weight corresponding to the first moment, a second weight corresponding to the second moment, and a grid identifier of the first grid.
Or may further include a movement state or the like determined according to the weight change value, for example, the weight change value in this embodiment refers to the weight before the change minus the weight after the change, and for example, when the weight change value is determined to be positive, the movement state may be determined to be taken, and when the weight change value is determined to be negative, the movement state may be determined to be put.
The specific implementation manner of the weight triggering information in this embodiment is not limited, as long as it can indicate that a weight triggering event occurs in the first cargo compartment.
S205, sending weight trigger information to the platform server.
After determining the weight trigger information, the gateway device may send the weight trigger information described above to the platform server, and the server may further process according to the weight trigger information, thereby determining a specific object movement event.
It can be understood that, in this embodiment, only a small amount of data is included in the weight trigger information sent to the platform server, and because in this embodiment, most of the data analysis work has been completed in the gateway device, the amount of data transmitted to the server can be effectively reduced, and the workload of the server can be effectively reduced, so that the monitoring efficiency of the object movement is effectively improved.
S206, not executing operation.
In another possible implementation manner, if the gateway device currently determines that there is no weight triggering event, no operation is currently required, and no information needs to be reported to the server, so long as the gateway device continuously monitors the weight of the object in the first cargo grid.
The object processing method provided by the embodiment of the application comprises the following steps: determining that the weight of the object in the first goods lattice changes at the first moment, and determining that the first goods lattice reaches a stable state at the second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period. A first weight of the object in the first cargo space before a first time and a second weight of the object in the first cargo space at a second time are obtained. And judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight. If so, determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the weight triggering event, wherein the weight triggering information is used for indicating the occurrence of the weight triggering event in the first goods lattice. And sending weight trigger information to the platform server. The gateway equipment analyzes the collected gravity data to determine weight triggering information when the gravity triggering event exists according to the first weight corresponding to the first moment and the second weight corresponding to the second moment, and sends the weight triggering information to the platform server, so that the server can determine a specific object moving event according to the weight triggering information.
On the basis of the above embodiment, the object processing method provided by the present application is further described below with reference to fig. 3, where the embodiment of fig. 3 is still described as an implementation manner corresponding to the gateway device in the above system. Fig. 3 is a flowchart two of an object processing method provided by an embodiment of the present application, fig. 4 is a schematic implementation diagram of determining whether a weight triggering event exists, fig. 5 is a schematic preprocessing diagram of a weight triggering event provided by an embodiment of the present application, and fig. 6 is a schematic diagram of a possible situation of a moving object provided by an embodiment of the present application.
As shown in fig. 3, the method includes:
s301, determining that the weight of the object in the first goods lattice changes at a first moment, and determining that the first goods lattice reaches a stable state at a second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period.
S302, acquiring a first weight of the object in the first goods lattice before a first moment and a second weight of the object in the first goods lattice at a second moment.
The implementation of S301 and S302 is similar to the implementation of S201 and S202, and will not be described here again.
S303, judging whether the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, if so, executing S304, and if not, executing S305.
In this embodiment, the first weight is a stable weight before the weight corresponding to the first cargo compartment changes, and the second weight is a stable weight after the weight corresponding to the first cargo compartment changes, and it may be determined whether a weight triggering event occurs between the first time and the second time according to a difference between the first weight and the second weight.
In one possible implementation manner, for example, whether the difference between the first weight and the second weight is greater than or equal to a first preset threshold may be first determined, where the first preset threshold may be understood as a threshold for screening whether the first preset threshold is misjudged, so that the first preset threshold may be set smaller, for example, the current object carried in the first grid is mineral water, and assuming that the weight of a bottle of mineral water is 500g, for example, the first preset threshold may be set to be 5g, that is, a weight change greater than 5g may determine that a weight triggering event exists, but may be misjudged when less than 5g, where the specific setting manner of the first preset threshold may be selected according to actual needs, which is not limited in this embodiment.
S304, determining that a weight triggering event exists.
In one possible implementation, if it is determined that the difference between the first weight and the second weight is greater than or equal to a first preset threshold, it may be determined that a weight trigger event is currently present.
Continuing with the example of using mineral water described above, assuming that the difference between the first weight and the second weight is currently determined to be 1000g, it is currently possible that two bottles of mineral water are moved, and thus a trigger event may be determined to exist; alternatively, it is currently also possible to determine that the difference between the first weight and the second weight is 50g, in which case, although this weight does not reach the weight of a bottle of mineral water, it is still considered that a weight triggering event has occurred, because it is greater than the first preset threshold, requiring a subsequent treatment.
S305, judging whether the difference between the first weight and the second weight is equal to 0, if so, executing S306, and if not, executing S308.
In another possible implementation, if it is determined that the difference between the first weight and the second weight is smaller than the first preset threshold, it indicates that misjudgment is likely to occur at present, but there is a special case at present, that is, the difference between the first weight and the second weight is 0, that is, the weights before and after the weight change are the same, because there are some special cases at present.
Special cases may include, for example: while an object is being taken from the first compartment, another object of the same weight is placed in the first compartment. Special cases may also include: after touching or moving the object, the user stops the touching and moving operations, for example, the user just holds something, looks and puts down, or even does not hold it, and the operation is ended just by touching it, in which special cases, a case may occur in which the difference between the first weight and the second weight is smaller than the first preset threshold value and equal to 0, and therefore it is necessary to further determine whether the difference between the first weight and the second weight is equal to 0 in this embodiment.
If it is determined that the difference between the first weight and the second weight is not equal to 0, it means that the difference between the current first weight and the second weight is smaller than the first preset threshold but not equal to 0, and because the first preset threshold in this embodiment is a threshold for determining whether the first weight is misjudged, in the current case, it may be determined that misdetection occurs, and further it is determined that there is no weight triggering event.
S306, judging whether the weights of the plurality of moments between the first moment and the second moment are the same weight, if so, executing S308, and if not, executing S307.
In one possible implementation, if the difference between the first weight and the second weight is determined to be 0, it indicates that the weights before and after the weight change are the same, and it is required to specifically determine whether false detection occurs or the special case of the above-described simultaneous placement and fetching occurs.
In the present embodiment, the specific case can be determined by judging whether the weights at the plural times between the first time and the second time are all the same weight.
S307, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments, if yes, executing S304, and if not, executing S308.
In one possible implementation manner, if it is determined that the weights at the multiple times between the first time and the second time are not all the same weight, for example, there is a peak value or a gradient change, then it is indicated that the weight of the object in the first grid is changed between the first time and the second time, and in the current case, whether a weight triggering event exists may be determined according to multiple grid pictures corresponding to the multiple times between the first time and the second time.
The first cargo grid may be provided with a photographing device, which is used for monitoring the state of the object in the first cargo grid in real time, so that a plurality of cargo grid images between the first moment and the second moment can be obtained, and whether a gravity trigger event exists or not is determined by performing image analysis on the cargo grid images, that is, whether an event that the object is placed or taken exists or not is determined, and a specific image analysis mode can be selected according to actual requirements.
If it is determined from the grid image analysis that a weight triggering event is present, for example, that while the above-described object is being taken from the first grid, there may be a special case in which another object of the same weight is placed in the first grid, in which case, although the final result is that the weight is unchanged, a movement of the object actually occurs between the first moment and the second moment, and thus it may be determined that a weight triggering event is present.
If it is determined from the grid image analysis that there is no weight triggering event, for example, a special case may occur in which the above-described user stops the touching and moving operations after touching or moving the object, in which case, during the touching and moving of the user, the weight of the object in the first grid may change, but eventually no object movement still occurs, so that it may be determined that there is no weight triggering event.
The specific result of the final determination depends on the actual object movement.
S308, determining that no weight triggering event exists.
In one possible implementation, if it is determined that the weights at the multiple times between the first time and the second time are all the same weight, it may be determined that the weight of the object in the first cargo space is not changed from the first time to the second time, it may be determined that a false detection is generated in the current situation, possibly a sensor failure, possibly an acquisition data transmission error, or the like, and thus it may be determined that there is no weight triggering event currently.
Based on the above description, for example, it may be understood with reference to fig. 4 that the implementation of determining whether a weight triggering event exists in this embodiment, as shown in fig. 4, when it is determined that the difference between the first weight and the second weight is greater than or equal to the first preset threshold, the weight triggering event is determined to exist, when it is determined that the difference between the first weight and the second weight is less than the first preset threshold and greater than 0, it is determined that no weight triggering event exists, and when it is determined that the difference between the first weight and the second weight is equal to 0, analysis is performed according to the cargo frame picture, so as to determine whether the weight triggering event exists.
S309, acquiring event information corresponding to the weight triggering event, wherein the event information comprises at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value.
After determining the weight trigger event, the weight trigger information in this embodiment may be determined according to the event information corresponding to the weight trigger event, and in a possible implementation, the event information may include at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value.
The movement time may be, for example, the first time described above, or may also be the first time and the second time described above, or may also be a time between the first time and the second time, which is not limited in this embodiment, as long as it is a time for indicating that the object is moving.
And the grid identification corresponding to the first grid is used for indicating which grid has the weight triggering event currently, and the weight change value is used for indicating the specific weight change currently.
In one possible implementation manner, when the difference between the first weight and the second weight is greater than the first preset threshold, it is determined that the weight triggering event exists, the difference between the first weight and the second weight may be directly determined as a weight change value, or further analysis may be performed in combination with a plurality of cargo images between the first moment and the second moment, so as to determine the weight change value more accurately.
In another possible implementation manner, when the difference between the first weight and the second weight is equal to 0, it is determined that a gravity trigger event exists, a gravity change value may be determined according to an analysis result of the plurality of images, specifically, the plurality of images may be analyzed to further determine a taken object and a placed object, in this case, for example, at least two weight trigger events may be determined, and then, a movement time corresponding to the taking and a movement time corresponding to the placing may be determined according to the plurality of cargo images, so as to determine event information corresponding to each of the different weight trigger events.
S310, judging whether a weight change value corresponding to the weight trigger event is larger than or equal to a weight threshold, if so, executing S311, and if not, executing S312.
After determining the weight-triggered event, the weight-triggered event may be preprocessed, because the behavior of the user is not controllable, so that the weight change value of some weight-triggered events may be small, and the events with small weight change values may be weight changes generated by touching and observing the object by the user, which does not mean a real moving operation of the object, so that the weight-triggered event needs to be preprocessed.
And obtaining a target event after preprocessing, wherein the target event is an event needing to be reported to the server, and the preprocessing is to determine whether to combine weight triggering events with smaller weight change values or not so as to improve the accuracy of information reported to the server.
The event information corresponding to the weight triggering event includes a weight change value, and the embodiment can determine whether the weight change value is greater than or equal to a weight threshold.
The weight threshold is used to indicate whether the current weight change value is a larger change or a smaller change, where the weight threshold may be set to, for example, the weight of a single object in the first cargo compartment, or may be set to any weight, which may be selected according to practical requirements.
S311, determining the weight triggering event as a target event.
In one possible implementation manner, if the weight change value corresponding to the weight trigger event is greater than or equal to the weight threshold, the current weight trigger event is indicated to be an event with a large weight change, and the weight trigger event may be directly determined as the target event, so as to report the target event to the server.
For example, as can be understood with reference to fig. 5, assuming that the weight change value of the weight trigger event is determined to be greater than the weight threshold value at time t1, it is possible to determine that a large weight event x exists at time t1 and directly determine the large weight event x as the target event 1.
S312, determining the weight triggering event as a small weight event, judging whether a second small weight event continuous with the current small weight event exists, if so, executing S313, and if not, executing S314.
In another possible implementation, if the weight change value corresponding to the weight trigger event is less than the weight threshold, indicating that the current weight trigger event is a time with a relatively small weight change, the current weight trigger event may be determined to be a small weight event.
It will be appreciated that the user may not pick up the object directly from the first compartment or place the object, and may have the situation shown in fig. 6, see fig. 6, where the cup is currently placed in the first compartment, assuming that the user touches the cup 601, but does not pick up it completely, and as shown in fig. 6, the contact point 602 is still present at the bottom of the cup 601 and the first compartment, in which case the weight change may not be the weight of the entire cup, say the weight of a single cup is 500g, and the weight change at this time may be 200g.
Alternatively, it may also occur that the user's hand is placed on the first compartment, either of which may ultimately result in multiple light weight events occurring at successive times.
Where the weight-loss events may be combined, say, in the example of fig. 6, the user has first picked up half, and in the state shown in fig. 6, the end user has completely picked up, these weight-loss events may be combined into one event, or weight-loss events may not be combined, where a principle is that weight-loss events that can be combined are consecutive.
Thus currently when a weight trigger event is determined to be a low weight event, it may be determined whether there is a second low weight event that is consecutive to the current low weight event, that is, there is no high weight event between the merged low weight events.
S313, when the current small weight event meets the preset condition, merging the current small weight event and the second small weight event into a target event, wherein the weight change value corresponding to the target event is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event.
In one possible implementation, if it is determined that there is a second light weight event that is continuous with the current light weight event, it is determined that the light weight events are continuous in time, then it may be determined whether the current light weight event meets a preset condition, and when it is determined that the preset condition is met, the current light weight event and the second light weight event are combined into a target event, where the preset condition in this embodiment is: the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the at least one second small weight event is an integer multiple of the weight of the single object carried in the first cargo compartment. The weight change value corresponding to the target event after merging is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event.
As can be understood, for example, with reference to fig. 5, assuming that the small weight event a is determined at time t2 and the small weight event b is determined at time t3, as can be seen from fig. 5, the small weight event a and the small weight event b are continuous, and assuming that the weight change value corresponding to the small weight event a is 200g and the weight change value corresponding to the small weight event b is 300g, for example, the weight of the single object carried in the first cargo compartment is 500g, it is determined that the small weight events a and b satisfy the preset condition, and therefore the small weight event a and the small weight event b can be combined, thereby obtaining the target event 2, and the weight change value corresponding to the target event 2 is 500g.
S314, determining the small-weight event as a target event.
In another possible implementation, if it is determined that there is no second light weight event consecutive to the current light weight event, the light weight event may be directly determined as the target event.
For example, as can be understood with reference to fig. 5, assuming that the small weight event c is determined at time t4 and there are no other small weight events continuous with the small weight event c, the small weight time d at time t6 and the small weight event c are not continuous in time and thus cannot be merged, the small weight event c may be determined as the target event 3 directly.
S315, determining event information corresponding to the target event as weight trigger information.
After determining the target event, event information corresponding to the target event may be determined as moving object information, and thus the moving object information in the present embodiment may include at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value. Or the mobile object information may be correspondingly expanded according to the specific implementation of the event information, which is not limited in this embodiment.
S316, sending weight trigger information to the platform server.
The implementation of S315 is similar to S205, and will not be described here again.
According to the object processing method provided by the embodiment of the application, whether the weight triggering event exists or not can be effectively determined by comparing the difference value of the first weight and the second weight with the first preset threshold value, and whether the weight triggering event exists or not is analyzed according to the goods lattice image aiming at the special condition that the difference value is 0, so that omission of the weight triggering event is avoided under the special condition, and the accuracy of determining the weight triggering event is effectively improved. And meanwhile, after the weight triggering event is determined, preprocessing is carried out on the weight triggering event so as to combine the small weight events which can be combined, so that the accuracy of information reported to the server is improved. Meanwhile, the gateway equipment realizes the determination and preprocessing of the event, so that only the weight trigger information corresponding to the target event can be reported to the server, the number of data transmission is effectively reduced, the processing data amount of the server is effectively reduced, and the monitoring efficiency of the movement of the object is improved.
Based on the above embodiment, in this embodiment, whether the shelf corresponding to the first cargo rack fails may be monitored in real time, and if so, failure information may be reported.
Specifically, there are mechanical components, gravity sensor components, and physical wiring in the system of intelligent shelves. If the intelligent goods shelf system fails, the gravity sampling value is wrong, so that the intelligent goods shelf system cannot work normally. In one possible implementation, the sampling value of the gravity sensor can be detected in real time, whether the wiring and the sensor fail or not can be judged, and when the failure is determined, failure information can be reported to the operation and maintenance platform.
Through carrying out fault detection to intelligent counter, report fault information when breaking down to can effectively guarantee the effective operation of intelligent counter.
On the basis of the above embodiment, the gateway device needs to determine the weight of the object of the first cargo space in real time, and in order to ensure the accuracy of the information, it needs to ensure that the time error of the gateway device is within a certain range, so that the gateway device in this embodiment needs to perform the time correction processing, and the implementation manner of the time correction processing is described below with reference to fig. 7, and fig. 7 is a signaling flow chart of the object processing method provided by the embodiment of the present application.
As shown in fig. 7, the method includes:
s701, the gateway equipment sends timing request information to a timing server by taking a second preset time length as a period, wherein the timing request information comprises request sending time.
In this embodiment, the gateway device may periodically send timing request information to the timing server, for example, may send timing request information with the second preset duration as a period, where the timing request information includes a request sending time, and in this embodiment, the request sending time is denoted as T1.
In one possible implementation, the timing server may be a network time protocol (Network Time Protocol, NTP) server, for example, the network device may send an NTP timing request packet to the NTP server once per minute, where the request transmission time is included in the NTP timing request packet. Or, the implementation manner of the timing server may be selected according to the actual requirement, and in the actual implementation process, the specific implementation of the second preset duration may also be selected according to the actual requirement, which is not limited in this embodiment.
S702, the timing server determines the request receiving time for receiving the timing request information.
After the timing server receives the timing request information, the request reception time at which the timing request information is received may be recorded, and in this embodiment, the request reception time is denoted as T2.
S703, the timing server records the server response time of the timing server.
And when the timing server prepares to respond to the timing request information of the gateway device, the timing server may record the server response time of the timing server, which is denoted as T3 in this embodiment.
S704, the timing server packages the request sending time, the request receiving time and the server response time into time data packets.
The timing server currently determines the request sending time T1, the request receiving time T2 and the server response time T3, and the timing server can package the three parts of information together to obtain a time data packet.
And S705, the timing server sends a time data packet to the gateway equipment.
After the packets are formed into time data packets, the timing server may send the time data packets to the gateway device.
S706, the gateway device determines the response receiving time of the received time data packet.
When the gateway device receives the time data packet sent by the timing server, the response receiving time of the received time data packet may be recorded, and in this embodiment, the response receiving time may be recorded as T4.
And S707, the gateway equipment determines the time offset according to the request sending time, the request receiving time, the server response time and the response receiving time.
After the above operation is completed, the gateway device may determine the request sending time, the request receiving time, the server response time, and the response receiving time, and may determine the time offset according to the four pieces of information, where in one possible implementation, the time offset may, for example, satisfy the following formula one:
wherein T1 is the request sending time, T2 is the request receiving time, T3 is the server response time, T4 is the response receiving time, and T is the time offset.
And S708, the gateway device corrects the current time according to the time offset.
After obtaining the time offset T, the gateway device may correct the current time according to the time offset T, and in this embodiment, the current time is denoted as T5.
In this embodiment, at least one time difference threshold is set to determine how to correct the current time based on the time offset in particular.
In one possible implementation, if the time offset is less than or equal to the first time difference threshold, the current time is determined to be the corrected time.
The first time difference threshold in this embodiment may be understood as a tolerable time deviation threshold, and in the current case, it may be determined that the current time offset is within the tolerable time deviation threshold, and the time correction processing is not required for the gateway device, so the current time T5 may be directly determined as the corrected time, which may be represented as t=t5, where T represents the corrected time.
In another possible implementation manner, if the time offset is greater than the first time difference threshold and less than or equal to a second time difference threshold, determining the sum of the time offset and the current time as the corrected time.
The second time difference threshold in this embodiment may be understood as a time deviation threshold that does not need multiple checks, and in the present case, it may be determined that the current time offset exceeds the tolerable time deviation threshold, but multiple checks do not need to be performed, so the sum of the time offset and the current time may be directly determined as the corrected time, which may be denoted as t=t5+t, where T represents the corrected time.
In yet another possible implementation manner, if the time offset is greater than the second time difference threshold, after a third preset duration, the process of determining the time offset is re-performed, so as to obtain a new time offset, and the current time is corrected according to the new time offset.
In the current case, since the current time offset exceeds the time offset threshold without multiple checks, the time offset needs to be redetermined, so that the above-described process of determining the time offset may be re-performed after a third preset period, for example, after 1 second, to obtain a new time offset, and the current time is corrected according to the new time offset, where the specific implementation of the third preset period may be selected according to the actual requirement.
In particular, the implementation of correcting the current time based on the new time offset is similar to the implementation described above.
If the new time offset is within the tolerable time offset threshold (less than or equal to the first time difference threshold), time correction is not needed; if the new time offset exceeds the tolerable time offset threshold but is within the time offset threshold without multiple checks (greater than the first time difference threshold and less than or equal to the second time difference threshold), directly determining the sum of the new time offset and the current time as corrected time; if the new time offset still exceeds the time offset threshold (greater than the second time difference threshold) without multiple checks, then it may be determined whether the difference between the new time offset and the determined time offset is within the tolerable time offset threshold (less than or equal to the first time difference threshold), and if so, then the current time may be corrected in accordance with the new time offset; if not, the above process may be performed multiple times, multiple times a new time offset may be determined, and if timing is not yet achieved after multiple times of attempts, timing may be attempted again after a fourth predetermined period of time has elapsed.
According to the object processing method provided by the embodiment of the application, the time of the gateway equipment is corrected, so that the accuracy of the related information determined by the gateway equipment can be effectively ensured, and the specific time correction operation is determined by comparing the time offset with a plurality of thresholds in the time correction processing process, so that the effectiveness and the accuracy of the time correction processing are effectively ensured.
The above embodiments describe an object processing method of a gateway device, based on the description, it may be determined that the gateway device may send weight trigger information to a platform server, so that the server determines a specific object movement event according to the weight trigger information, and the object processing method on the server side is described below with reference to the specific embodiments.
The execution main body of the embodiment is a platform server, and it can be understood that the platform server is a server for receiving weight trigger information and processing according to the weight trigger information, and specific implementation in the platform server can be selected according to actual requirements, so long as corresponding data processing can be realized.
Referring to fig. 8, fig. 8 is a flowchart III of an object processing method according to an embodiment of the present application, as shown in fig. 8, where the method includes:
S801, weight triggering information sent by gateway equipment is received, wherein the weight triggering information is used for indicating that a weight triggering event occurs in a first goods lattice.
In this embodiment, the server may receive the weight trigger information sent by the gateway device, and the implementation manner of the weight trigger information is similar to that in the foregoing embodiment, because in this embodiment, the weight trigger information is already determined by the gateway device, and may indicate that a weight trigger event occurs in the first cargo compartment, so that the server is not required to analyze whether the object moves or not, thereby effectively reducing the number of data transmissions and reducing the resource consumption of the server.
S802, determining an object movement event according to the weight trigger information.
After receiving the weight trigger information, the server may determine the object movement time according to the weight trigger information, where in one possible implementation, the weight trigger information includes at least one of: the movement time, the grid identification corresponding to the first grid, and the weight change value, the server may analyze the information to determine whether an object movement event has occurred in the first grid.
The object movement event that occurs may be determined, for example, from the weight change value and the weight of the individual objects in the first cargo compartment.
The object processing method provided in this embodiment includes: and receiving weight triggering information sent by the gateway equipment, wherein the weight triggering information is used for indicating that a weight triggering event occurs in the first goods lattice. And determining an object movement event according to the weight trigger information. The object indication information can directly indicate that a weight trigger event occurs in the first goods lattice, so that the server can determine the object movement event by performing simple processing according to the weight trigger information.
On the basis of the above embodiment, the method for processing an object on the server side is described in further detail below with reference to fig. 9, and fig. 9 is a flowchart of the method for processing an object provided in the embodiment of the present application.
As shown in fig. 9, the method includes:
and S901, receiving weight triggering information sent by gateway equipment, wherein the weight triggering information is used for indicating that a weight triggering event occurs in the first goods lattice.
The implementation of S901 is similar to that of S801, and will not be described here again.
S902, determining a target object identifier corresponding to the goods lattice identifier corresponding to the first goods lattice according to the corresponding relation between the goods lattice identifier and the object identifier.
It will be appreciated that the fixed object is placed in each compartment, for example, mineral water is placed in compartment a, potato chips are placed in compartment B, and spicy strips are placed in compartment C, so that there is a correspondence between compartment identification and object identification, and the weight trigger information of this embodiment may include at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value.
The target object identifier corresponding to the grid identifier corresponding to the first grid can be determined according to the corresponding relationship, for example, if the mineral water is placed in the first grid, the target object identifier corresponding to the grid identifier corresponding to the first grid is the identifier of the mineral water.
S903, determining the weight of a single target object corresponding to the target object identifier according to the target object identifier.
The server may store the weights of individual objects of various kinds, so that the weight of the individual object corresponding to the target object identifier may be determined according to the target object identifier, for example, the target object identifier may be an identifier of mineral water, and the weight of a bottle of mineral water may be determined to be 500g according to the identifier of mineral water.
S904, judging whether the weight change value in the weight trigger information is an integral multiple of the weight of the single target object, if so, executing S1005, and if not, executing S1006.
After determining the weight of the single target object, it may be determined whether the weight change value in the weight trigger information is an integer multiple of the single target object based on the weight trigger information.
S905, determining that the weight change value corresponds to a multiple M of the weight of the single target object as the moving number of the target object, so as to obtain an object moving event, wherein event information of the object moving event includes at least one of the following information: the moving time, the goods shelf identification corresponding to the first goods lattice, the goods lattice identification corresponding to the first goods lattice, the target object identification and the moving quantity, wherein M is an integer greater than or equal to 1;
in one possible implementation, if it is determined that the weight change value in the weight trigger information is an integer multiple of the single target object, it may be determined that a certain number of target objects, which are currently in the first cargo bay, are moved, a multiple M of the weight change value corresponding to the weight of the single target object may be determined, and the multiple M may be determined as the moving number of target objects.
For example, the current weight change value is 1000g, the target object may be mineral water, the weight of the single target object may be 500g, the weight change value may be 2 times the weight of the single target object, and the movement number may be 2.
After determining the number of movements, a specific object movement event may be determined, wherein the event information of the object movement event comprises at least one of the following information: the method comprises the steps of moving time, a goods shelf identifier corresponding to a first goods grid, a goods grid identifier corresponding to the first goods grid, a target object identifier and moving quantity.
Assuming that the mineral water is used as an example, the specific meaning of the object movement event can be determined after the current object movement event, that is, in the intelligent shelf corresponding to the shelf identifier, the mineral water in the first goods lattice is taken into two bottles at the moment corresponding to the movement event.
S906, sending abnormal information to the target equipment.
In another possible implementation manner, if it is determined that the weight change value in the weight trigger information is not an integer multiple of the single target object, there may be a case that the user is out of order, or there may be a case of misdetection, so that it is necessary to report the sending information to the target device to prompt that the object in the first cargo compartment is abnormal.
According to the object processing method provided by the embodiment of the application, the moving quantity of the target objects is determined according to the weight change value in the weight trigger information and the ratio of the single target object, so that the determination of the object moving event can be accurately realized on the basis of a small quantity of data processing, in addition, when the weight change value is not an integer multiple of the single target object, abnormal information is sent to target equipment, and the abnormal condition in the intelligent goods shelf can be effectively and rapidly reported, so that the ordering of the object placement in the goods shelf is ensured.
Based on the foregoing embodiments, in the object processing method provided by the embodiment of the present application, after the platform server sends the exception information to the target device, the platform server may also detect whether the object in the intelligent shelf is in a disordered condition, which is described below with reference to a specific embodiment, fig. 10 is a flowchart five of the object processing method provided by the embodiment of the present application, fig. 11 is a schematic implementation diagram one of determining object placement based on the first function provided by the embodiment of the present application, fig. 12 is a schematic implementation diagram two of determining object placement based on the first function provided by the embodiment of the present application, and fig. 13 is a schematic implementation diagram three of determining object placement based on the first function provided by the embodiment of the present application.
As shown in fig. 10, the method includes:
s1001, acquiring a user identification associated with the shelf identification of the first shelf.
In this embodiment, after the user enters the unmanned supermarket or the unmanned warehouse, a user identifier is generated for the user, so as to determine the user behavior according to the user identifier.
In one possible implementation, assuming that the user a moves an object from the first shelf, an association relationship between the user a and the first shelf may be established in the server to indicate that the current movement of the object in the first shelf is performed by the user a, so that a correspondence between the shelf identifier and the user identifier may be stored in the server, and further the platform server may obtain the user identifier associated with the shelf identifier of the first shelf.
S1002, according to the user identification, at least one associated object identification corresponding to the user identification is obtained.
In this embodiment, the server establishes an association between the object identifier of the object taken by the user and the user identifier, so as to determine what the user has taken from the shelf, so that the user can conveniently perform statistics or management later.
For example, when the user a takes mineral water and potato chips, the user identifier a and the object identifier of the mineral water and potato chips have an association relationship, so that the association object identifier corresponding to the user a can be determined to at least comprise the identifier of the mineral water and the identifier of the potato chips according to the user identifier of the user a.
S1003, inputting the weight of a single associated object corresponding to the associated object identification, the weight of a single target object in the first goods lattice and the weight change value into a first function, wherein the first function comprises a first parameter and at least one second parameter, the first parameter corresponds to the target object, and each second parameter corresponds to each associated object.
In this embodiment, a first function is provided for determining whether the movement of the object is correct, where the first function includes a first parameter and at least one second parameter, and the input of the first function is the weight of the individual associated object, the weight of the individual target object, and the weight change value corresponding to each associated object identifier, where the first parameter is a parameter corresponding to the target object, and each second parameter is a parameter corresponding to each associated object.
In one possible implementation, the first function may, for example, satisfy the following formula two:
wherein, assuming there are n associated objects currently,for a single weight of the nth associated object, A n For the second parameter corresponding to the nth associated object, W 2 For the weight of a single target object, B is a first parameter corresponding to the target object, δw is a weight change value.
In this embodiment, the weight of the individual associated object may be determined, the weight of the individual target object may be determined, and the weight change values may be uniform, so that the individual weight of each associated object, the weight of the individual target object, and the weight change values may be input as a first function, and the parameters may be solved to determine whether the placement of the object is correct.
S1004, setting at least one second parameter to 0, judging whether the first parameter has an integer solution, if so, executing S1105, and if not, executing S1106.
In this embodiment, each of the second parameters may be set to 0 first to determine an integer solution of the first parameter, and it may be understood that when each of the second parameters is set to 0, the weight of the currently associated object does not participate in calculation, the integer solution of the first parameter is determined only by the weight change value and the weight of the single target object, and according to whether the integer solution exists, whether the weight change amount is an integer multiple of the single target object can be determined, so as to determine whether there is a shuffle of the objects in the first cargo space.
S1005, determining that the object in the first goods lattice is correctly placed.
In one possible implementation, if it is determined that the first parameter has an integer solution, then it may be determined that the amount of weight change is an integer multiple of the first weight, and thus it may be determined that the object in the first cargo space is placed correctly.
For example, as can be appreciated in connection with the example of FIG. 11, if the current target object is a beverage whose individual object weighs 300g, then W can be determined 2 300, and assuming that the current weight change is 600g, δw may be determined to be 600, since all the second parameters are set to 0, and thus based on these data, it may be determined that the first parameter B is 2, and thus that two bottles of beverage are moved in the first bay, and thus that the placement of the object is correct.
S1006, determining that the object in the first goods lattice is placed in error.
In another possible implementation, if it is determined that the first parameter does not have an integer solution, it may be determined that the weight change is not an integer multiple of the first weight, and then the object in the first cargo space may be misplaced.
For example, as can be appreciated in connection with the example of FIG. 12, if the current target object is a beverage whose individual object weighs 300g, then W can be determined 2 For 300, and assuming that the current weight change amount is 600g, δw may be determined to be 600 because all the second parameters are set to 0, so that the first parameter B may be determined to be 1/3 based on these data, because the second parameter currently determined is not an integer, and thus an object placement error in the first cargo compartment may be determined.
S1009, determining the integer solutions corresponding to the second parameters and the first parameters.
After determining that the object in the first cargo space is placed in error, in this implementation, it may also be determined what object is specifically prevented from being in error, and it is not required to set each second parameter to 0 at present, but rather, the integer solutions corresponding to each second parameter and each first parameter are directly determined.
It can be understood that the error in placement of the current object is affirmatively that the user places the associated object already held in the hand of the user in the first goods lattice and/or takes the target object from the first goods lattice, and then the changed object can be determined only by solving the first parameter and the second parameter.
As can be appreciated, for example, in connection with fig. 13, it is assumed that the associated object corresponding to the current user identity is a can and a peppery strip, i.e. the user has taken and held the can and the peppery strip from a shelf, wherein the weight of a single can may be, for example, 400g, the weight of a single bag of peppery strip may be, for example, 23g, while the target object in the current first compartment is a beverage, the weight of a single beverage may be, for example, 300g, and the current weight change value is 100g, and an integer solution of the second parameter and the first parameter is solved based on these data, with the result that a may be obtained 1 =1、A 2 =0、B=-1。
Based on this data, it may be determined that the current user places a can in his hand in the first compartment and takes a beverage from the first compartment.
It will thus be appreciated based on the above description that the second parameter represents the number of associated objects in the hand of the user placed in the first compartment and the first parameter represents the number of target objects the user has taken from the first compartment.
It will be appreciated that, because the plurality of results are solved based on limited data, in the actual implementation process, there may be a plurality of different implementations of the first parameter and the integer solution of the first parameter, in which case specific data needs to be reported to the target device, and the staff may perform analysis specifically according to the actual situation.
And in the actual implementation process, the situation that one or more parameters of the second parameter and the first parameter have no integer solution may also occur, and in this case, specific data needs to be reported to the target device, so that a worker performs analysis according to the actual situation.
S1008, at least one target second parameter with the integer solution not being 0 is obtained in the integer solution corresponding to each second parameter.
S1009, determining the associated object corresponding to each target second parameter as an abnormal object.
Based on the above, it may be determined that the second parameter identifies the number of the first container where the user places a certain related object in the hand, so for the second parameter whose integer solution is not 0, the second parameter corresponding to the abnormal object that is placed in error is indicated, for example, in the example of fig. 13, the second parameter corresponding to the can is not 0, and it may be determined that the can is placed in the first container and the second parameter corresponding to the spicy bar is 0, which indicates that the spicy bar is not placed in the first container.
Therefore, the second parameter with the integer solution not being 0 can be determined as the target second parameter, and the associated object corresponding to the target second parameter is determined as the abnormal object, for example, in the example of fig. 13, the can is determined as the abnormal object.
S1010, sending prompt information to the target equipment, wherein the prompt information is used for indicating that the abnormal object is placed in error.
After determining the abnormal object, a prompt message may be sent to the target device to prompt that the abnormal object is currently placed in error in the first cargo compartment, and then the staff may, for example, go to the site for processing, or prompt the user to prevent the object from being in the correct cargo compartment as soon as possible, which is not limited in this embodiment.
According to the object processing method provided by the embodiment of the application, the first parameter and the second parameter are solved according to the single weight of the related object in the shopping cart of the user and the weight and weight variation of the single target object in the first goods lattice, so that whether the situation of messy taking and messy placing of the object occurs can be simply and effectively determined, and when the situation that the object is prevented from being wrong is determined, the integer solutions of the first parameter and the second parameter can be solved based on the data, so that the abnormal object with the specific placement error can be determined, and prompt information is sent to the target equipment to prompt the current abnormal object placement error, so that the position and the object with the placement error can be rapidly positioned, and the efficiency of determining the abnormal situation is improved.
The above-mentioned object processing methods on the gateway device side and the server side are respectively introduced, and a system of the object processing method of the present application is described below with reference to fig. 14 and 15, where fig. 14 is a logic system frame diagram of the object processing method provided by the embodiment of the present application, and fig. 15 is a schematic unit diagram of the object processing method provided by the embodiment of the present application.
First, the implementation logic of the object processing method provided by the embodiment of the present application may be described with reference to fig. 14:
As shown in fig. 14, multiple layers may be included in the intelligent shelf, gravity data of each cargo grid may be collected separately for each layer of shelf, the gravity data may be analyzed in a trigger detection unit of the gateway device to determine a gravity trigger event, and after the gravity trigger event is preprocessed, a target event that needs to be reported to the server may be obtained, and event information of the target event is determined to be weight trigger information and transmitted to the server.
Object recognition can be performed in the server according to the weight trigger information, so that specific object movement events can be determined, for example, the object movement events can be: in a certain compartment of a certain shelf, a certain object is moved a certain number at a certain time.
The specific implementation of each unit and the specific interaction procedure of data are described with reference to fig. 15 on the basis of fig. 14:
as shown in fig. 15, a plurality of goods shelves can be provided, for example, 5 layers are provided on the intelligent goods shelf, 5 goods shelves are provided on each layer, 25 goods shelves are provided in total, wherein, a gravity sensor and a transmitter are provided in each goods shelf, the specific connection mode can be that each goods shelf transmitter handle of each layer is connected to 1 RS485 interface of gateway equipment, two RS485 interfaces of each layer are summarized, wherein, the handle connection has the advantage of easy installation and maintenance, and each layer of goods shelf is connected with 1 RS485 interface of the gateway, so that the replacement of laminates is facilitated, and the flexibility of the goods shelf is facilitated.
The gateway equipment comprises a gravity acquisition unit, wherein the gravity acquisition unit can collect real-time weight values of all cargo lattices in a polling mode and send the collected real-time weight values to the trigger detection unit so that the trigger detection unit can determine whether a gravity trigger event exists.
The weight of each goods lattice is collected in real time, so that reliable data input is provided for subsequent data processing, and the accuracy of object mobile monitoring is effectively ensured.
The triggering detection unit may analyze the weight of the cargo grid in real time, continuously determine whether the weight of the cargo grid is stable when the weight of the cargo grid is determined to change at a first moment, record the weight of the cargo grid at a second moment that is stable, determine whether a gravity triggering event exists according to the first weight before the first moment and the second weight at the second moment, and determine a specific implementation manner of the gravity triggering event according to the description of the foregoing embodiment, which is not repeated herein.
When it is determined that the gravity trigger event exists, the determined time information of the gravity trigger event is sent to an event reporting unit, and the gravity trigger event is preprocessed in the event reporting unit, so that the small-weight events which can meet the preset condition are combined, and thus the target time required to be reported to the server is obtained, and the specific implementation of determining the target event can be referred to the description of the above embodiment, and is not repeated here.
The gateway device determines event information corresponding to the target event as weight triggering information and transmits the weight triggering information to the platform server so as to indicate that an object moving event possibly exists in the first goods lattice at present, the platform server can determine the object moving event or report abnormal information to the target device after processing according to the weight triggering information, the specific implementation mode of the gateway device refers to the description, and the platform server can detect the object placed in error so as to send prompt information to the target device, so that the object placement order is effectively improved.
And the gateway equipment can also detect the operation and maintenance state of the intelligent goods shelf and report the operation and maintenance information to the operation and maintenance platform so as to ensure the working stability of the intelligent goods shelf system.
Meanwhile, the gateway equipment can also interact with the timing server to ensure that the time error of the gateway equipment is within a certain range, and the specific implementation mode can refer to the description of the embodiment, and the timing processing is performed through the gateway equipment, so that the accuracy and the instantaneity of data acquisition and data processing can be ensured.
Meanwhile, referring to fig. 15, it may be determined that, for example, the gateway device may perform data interaction with the platform server and the timing server through the gigabit gateway and the switch, and in the actual implementation process, a specific interaction manner may also be selected and extended according to actual requirements, which is not limited in this embodiment.
According to the object processing method provided by the embodiment of the application, the weight data of each goods lattice is collected in real time through the gateway equipment and analyzed in real time, whether the movement of the object occurs is judged according to the change rule of the weight, and only the weight triggering information generated after the object is moved is transmitted to the platform server, so that the data transmission quantity is reduced, and the detection efficiency and the instantaneity of the object movement are improved.
Fig. 16 is a schematic structural diagram of an object processing apparatus according to an embodiment of the present application. As shown in fig. 16, the apparatus 160 includes: a determining module 1601, an acquiring module 1602, a judging module 1603, and a transmitting module 1604.
A determining module 1601, configured to determine that a weight of an object in a first cargo space changes at a first time, and determine that the first cargo space reaches a stable state at a second time, where the stable state is a state in which the weight of the object in the first cargo space does not change within a first preset duration;
an obtaining module 1602, configured to obtain a first weight of the object in the first cargo space before the first time, and a second weight of the object in the first cargo space at the second time;
a determining module 1603, configured to determine whether a weight triggering event exists between the first time and the second time according to the first weight and the second weight;
The determining module 1601 is further configured to determine, if yes, weight trigger information corresponding to the first cargo compartment between the first time and the second time according to the weight trigger event, where the weight trigger information is used to indicate that a weight trigger event occurs in the first cargo compartment;
a sending module 1604 configured to send the weight trigger information to a platform server.
In one possible design, the determining module 1603 is specifically configured to:
if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is equal to 0, determining whether a weight triggering event exists according to the weights of a plurality of moments between the first moment and the second moment.
In one possible design, the determining module 1601 is specifically configured to:
judging whether the weights of a plurality of moments between the first moment and the second moment are all the same weight or not;
If yes, determining that a weight triggering event does not exist;
if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
In one possible design, the determining module 1601 is specifically configured to:
preprocessing the weight triggering event to obtain a target event;
and determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the target event.
In one possible design, the determining module 1601 is specifically configured to:
acquiring event information corresponding to the weight triggering event, wherein the event information comprises at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
judging whether a weight change value corresponding to the weight triggering event is larger than or equal to a weight threshold value or not;
if yes, determining the weight triggering event as the target event;
if not, the weight triggering event is determined to be a small weight event, and the target event is determined according to the small weight event.
In one possible design, the determining module 1601 is specifically configured to:
Judging whether a second low weight event continuous with the current low weight event exists or not;
if so, merging the current small weight event and the second small weight event into the target event when the current small weight event meets the preset condition, wherein the weight change value corresponding to the target event is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event,
the preset conditions are as follows: the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the at least one second small weight event is an integer multiple of the weight of the single object carried in the first cargo compartment;
if not, the light weight event is determined to be the target event.
In one possible design, the determining module 1601 is specifically configured to:
and determining event information corresponding to the target event as the weight trigger information.
In one possible design, the apparatus further comprises: an operation and maintenance module 1605;
the operation and maintenance module 1605 is configured to:
monitoring whether a goods shelf corresponding to the first goods lattice has faults or not in real time;
If the fault occurs, the fault information is reported.
In one possible design, the determining module 1601 is further configured to:
sending timing request information to a timing server by taking a second preset duration as a period, wherein the timing request information comprises request sending time;
acquiring a time data packet sent by the timing request information, wherein the time data packet comprises the request sending time, the request receiving time and the server response time;
determining the response receiving time for receiving the time data packet;
and correcting the current time according to the request sending time, the request receiving time, the server response time and the response receiving time.
In one possible design, the determining module 1601 is further configured to:
determining a first time offset according to the request sending time, the request receiving time, the server response time and the response receiving time;
and correcting the current time according to the first time offset.
In one possible design, the determining module 1601 is further configured to:
if the first time offset is smaller than or equal to the first time difference threshold, determining the current time as corrected time; or alternatively, the process may be performed,
If the first time offset is greater than the first time difference threshold and less than or equal to a second time difference threshold, determining the sum of the first time offset and the current time as corrected time; or alternatively, the process may be performed,
and if the first time offset is greater than the second time difference threshold, re-executing the process of determining the time offset after a third preset duration to obtain a new second time offset, and correcting the current time according to the second time offset.
In one possible design, the determining module 1601 is further configured to:
if the second time offset is smaller than or equal to the first time difference threshold, determining the current time as corrected time; or alternatively, the process may be performed,
if the second time offset is greater than the first time difference threshold and less than or equal to a second time difference threshold, determining the sum of the second time offset and the current time as corrected time; or alternatively, the process may be performed,
if the second time offset is larger than the second time difference threshold, judging whether the difference value between the first time offset and the second time offset is smaller than or equal to the first time difference threshold;
If yes, determining the sum of the second time offset and the current time as corrected time;
if not, re-executing the process of determining the time offset at least once to obtain at least one new third time offset, correcting the current time according to the at least one new third time offset, and if not, re-executing the time correction process after a fourth preset time period.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 17 is a schematic diagram of a second structure of an object processing apparatus according to an embodiment of the present application. As shown in fig. 17, the apparatus 170 includes: a receiving module 1701, a determining module 1702.
A receiving module 1701, configured to receive weight triggering information sent by a gateway device, where the weight triggering information is used to indicate that a weight triggering event occurs in a first cargo compartment;
a determining module 1702 configured to determine an object movement event according to the weight trigger information.
In one possible design, the weight trigger information includes at least one of: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
The determining module 1702 is specifically configured to:
determining a target object identifier corresponding to a goods grid identifier corresponding to the first goods grid according to the corresponding relation between the goods grid identifier and the object identifier;
according to the target object identification, determining the weight of a single target object corresponding to the target object identification;
and determining the object movement event according to the weight of the single target object corresponding to the target object identification.
In one possible design, the determining module 1702 is specifically configured to:
judging whether the weight change value in the weight trigger information is an integral multiple of the weight of the single target object or not;
if yes, determining that the weight change value corresponds to a multiple M of the weight of the single target object as the moving number of the target object so as to obtain the object moving event, wherein the event information of the object moving event comprises at least one of the following information: the moving time, the goods shelf identifier corresponding to the first goods lattice, the goods lattice identifier corresponding to the first goods lattice, the target object identifier and the moving number, wherein M is an integer greater than or equal to 1;
if not, the abnormal information is sent to the target equipment.
In one possible design, the determining module 1702 is further configured to:
after the abnormal information is sent to the target equipment, acquiring a user identifier associated with the shelf identifier of the first shelf;
according to the user identification, at least one associated object identification corresponding to the user identification is obtained;
judging whether the object in the first goods lattice is placed correctly or not according to the weight of the single associated object corresponding to each associated object identifier, the weight of the single target object in the first goods lattice and the weight change value;
if the abnormal object is incorrect, determining to place the incorrect abnormal object, and sending prompt information to the target equipment, wherein the prompt information is used for indicating that the abnormal object is placed incorrectly.
In one possible design, the determining module 1702 is specifically configured to:
inputting the weight of a single associated object corresponding to the associated object identifier, the weight of a single target object in the first goods lattice and the weight change value into a first function, wherein the first function comprises a first parameter and at least one second parameter, the first parameter corresponds to the target object, and the second parameters correspond to the associated objects respectively;
Setting the at least one second parameter to 0, and judging whether an integer solution exists in the first parameter;
if not, determining that the object in the first goods lattice is placed in error.
In one possible design, the determining module 1702 is specifically configured to:
determining each second parameter and each integer solution corresponding to the first parameter;
at least one target second parameter with the integer solution not being 0 is obtained in the integer solution corresponding to each second parameter;
and determining the associated object corresponding to each target second parameter as the abnormal object.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 18 is a schematic hardware structure of an object processing apparatus according to an embodiment of the present application, as shown in fig. 18, an object processing apparatus 180 of the present embodiment includes: a processor 1801 and a memory 1802; wherein the method comprises the steps of
A memory 1802 for storing computer-executable instructions;
the processor 1801 is configured to execute computer-executable instructions stored in the memory to implement the steps executed by the object processing method in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 1802 may be separate or integrated with the processor 1801.
When the memory 1802 is provided separately, the object handling device further comprises a bus 1803 for connecting said memory 1802 and the processor 1801.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the object processing method executed by the object processing device is realized.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application.
It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (13)

1. An object processing method, applied to a gateway device, the method comprising:
determining that the weight of an object in a first goods lattice changes at a first moment, and determining that the first goods lattice reaches a stable state at a second moment, wherein the stable state is a state that the weight of the object in the first goods lattice does not change within a first preset time period;
acquiring a first weight of the object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment;
judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight;
If yes, determining weight triggering information corresponding to the first cargo compartment between the first moment and the second moment according to the weight triggering event, wherein the weight triggering information is used for indicating the weight triggering event in the first cargo compartment;
sending the weight trigger information to a platform server;
the determining, according to the first weight and the second weight, whether a weight triggering event exists between the first time and the second time includes:
if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is equal to 0, judging whether the weights at a plurality of moments between the first moment and the second moment are all the same weight; if yes, determining that a weight triggering event does not exist; if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
2. The method of claim 1, wherein determining weight trigger information for the first cargo compartment corresponding between the first time and the second time based on the weight trigger event comprises:
acquiring event information corresponding to the weight triggering event, wherein the event information comprises at least one of the following: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
judging whether a weight change value corresponding to the weight triggering event is larger than or equal to a weight threshold value or not;
if yes, determining the weight triggering event as a target event;
if not, determining the weight triggering event as a small weight event, and determining the target event according to the small weight event;
and determining weight triggering information corresponding to the first goods lattice between the first moment and the second moment according to the target event.
3. The method of claim 2, wherein said determining said target event from said light weight event comprises:
judging whether a second low weight event continuous with the current low weight event exists or not;
if so, merging the current small weight event and the second small weight event into the target event when the current small weight event meets the preset condition, wherein the weight change value corresponding to the target event is the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the second small weight event,
The preset conditions are as follows: the sum of the weight change value corresponding to the current small weight event and the weight change value corresponding to the at least one second small weight event is an integer multiple of the weight of the single object carried in the first cargo compartment;
if not, the light weight event is determined to be the target event.
4. A method according to any one of claims 1-3, wherein the method further comprises:
sending timing request information to a timing server by taking a second preset duration as a period, wherein the timing request information comprises request sending time;
acquiring a time data packet sent by the timing request information, wherein the time data packet comprises the request sending time, the request receiving time and the server response time;
determining the response receiving time for receiving the time data packet;
determining a first time offset according to the request sending time, the request receiving time, the server response time and the response receiving time;
and correcting the current time according to the first time offset.
5. The method of claim 4, wherein correcting the current time based on the first time offset comprises:
If the first time offset is smaller than or equal to the first time difference threshold, determining the current time as corrected time; or alternatively, the process may be performed,
if the first time offset is greater than the first time difference threshold and less than or equal to a second time difference threshold, determining the sum of the first time offset and the current time as corrected time; or alternatively, the process may be performed,
and if the first time offset is greater than the second time difference threshold, re-executing the process of determining the time offset after a third preset duration to obtain a new second time offset, and correcting the current time according to the second time offset.
6. An object processing method, applied to a platform server, the method comprising:
receiving weight triggering information sent by gateway equipment, wherein the weight triggering information is used for indicating that a weight triggering event occurs in a first goods lattice;
determining an object movement event according to the weight trigger information;
the weight triggering information is determined according to the weight triggering event when the gateway device judges whether a weight triggering event exists between the first moment and the second moment according to a first weight of an object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment, and when the judgment result is yes, the weight triggering information corresponding to the first goods lattice between the first moment and the second moment is determined according to the weight triggering event, the first weight and the second weight are obtained when the weight of the object in the first goods lattice is determined to change at the first moment, and the first goods lattice is determined to reach a stable state when the second moment is determined, wherein the stable state is a state that the weight of the object in the first goods lattice is not changed within a first preset duration, and the judgment whether the weight triggering event exists between the first moment and the second moment comprises: if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
If the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is equal to 0, judging whether the weights at a plurality of moments between the first moment and the second moment are all the same weight; if yes, determining that a weight triggering event does not exist; if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
7. The method of claim 6, wherein the weight trigger information comprises at least one of: the moving time, the goods lattice identification corresponding to the first goods lattice and the weight change value;
the determining an object movement event according to the weight trigger information comprises the following steps:
determining a target object identifier corresponding to a goods grid identifier corresponding to the first goods grid according to the corresponding relation between the goods grid identifier and the object identifier;
according to the target object identification, determining the weight of a single target object corresponding to the target object identification;
judging whether the weight change value in the weight trigger information is an integral multiple of the weight of the single target object or not;
If yes, determining that the weight change value corresponds to a multiple M of the weight of the single target object as the moving number of the target object so as to obtain the object moving event, wherein the event information of the object moving event comprises at least one of the following information: the moving time, the goods shelf identifier corresponding to the first goods lattice, the goods lattice identifier corresponding to the first goods lattice, the target object identifier and the moving number, wherein M is an integer greater than or equal to 1;
if not, the abnormal information is sent to the target equipment.
8. The method of claim 7, wherein after the sending of the anomaly information to the target device, the method further comprises:
acquiring a user identifier associated with a shelf identifier of the first shelf;
according to the user identification, at least one associated object identification corresponding to the user identification is obtained;
judging whether the object in the first goods lattice is placed correctly or not according to the weight of the single associated object corresponding to each associated object identifier, the weight of the single target object in the first goods lattice and the weight change value;
if the abnormal object is incorrect, determining to place the incorrect abnormal object, and sending prompt information to the target equipment, wherein the prompt information is used for indicating that the abnormal object is placed incorrectly.
9. The method of claim 8, wherein determining whether the object in the first cargo compartment is correctly placed according to the weight of the single associated object, the weight of the single target object in the first cargo compartment, and the weight change value, which are respectively corresponding to each associated object identifier, comprises:
inputting the weight of a single associated object corresponding to the associated object identifier, the weight of a single target object in the first goods lattice and the weight change value into a first function, wherein the first function comprises a first parameter and at least one second parameter, the first parameter corresponds to the target object, and the second parameters correspond to the associated objects respectively;
setting the at least one second parameter to 0, and judging whether an integer solution exists in the first parameter;
if not, determining that the object in the first goods lattice is placed in error.
10. An object processing apparatus, for application to a gateway device, the apparatus comprising:
the system comprises a determining module, a first storage grid and a second storage grid, wherein the determining module is used for determining that the weight of an object in the first storage grid changes at a first moment and determining that the first storage grid reaches a stable state at a second moment, and the stable state is a state that the weight of the object in the first storage grid does not change within a first preset duration;
The acquisition module is used for acquiring a first weight of the object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment;
the judging module is used for judging whether a weight triggering event exists between the first moment and the second moment according to the first weight and the second weight;
the determining module is further configured to determine, if yes, weight trigger information corresponding to the first cargo compartment between the first time and the second time according to the weight trigger event, where the weight trigger information is used to indicate that the weight trigger event occurs in the first cargo compartment;
the sending module is used for sending the weight triggering information to a platform server;
the judging module is specifically configured to:
if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or alternatively, the process may be performed,
if the difference between the first weight and the second weight is equal to 0, determining whether a weight triggering event exists according to the weights of a plurality of moments between the first moment and the second moment.
11. An object processing apparatus for application to a platform server, the apparatus comprising:
the receiving module is used for receiving weight triggering information sent by the gateway equipment, and the weight triggering information is used for indicating that a weight triggering event occurs in the first goods lattice;
the determining module is used for determining an object movement event according to the weight triggering information;
the weight triggering information is determined according to the weight triggering event when the gateway device judges whether a weight triggering event exists between the first moment and the second moment according to a first weight of an object in the first goods lattice before the first moment and a second weight of the object in the first goods lattice at the second moment, and when the judgment result is yes, the weight triggering information corresponding to the first goods lattice between the first moment and the second moment is determined according to the weight triggering event, the first weight and the second weight are obtained when the weight of the object in the first goods lattice is determined to change at the first moment, and the first goods lattice is determined to reach a stable state when the second moment is determined, wherein the stable state is a state that the weight of the object in the first goods lattice is not changed within a first preset duration, and the judgment whether the weight triggering event exists between the first moment and the second moment comprises: if the difference value between the first weight and the second weight is larger than or equal to a first preset threshold value, determining that a weight triggering event exists; or if the difference between the first weight and the second weight is greater than 0 and less than the first preset threshold, determining that a weight triggering event does not exist; or if the difference between the first weight and the second weight is equal to 0, judging whether the weights at a plurality of moments between the first moment and the second moment are all the same weight; if yes, determining that a weight triggering event does not exist; if not, determining whether a weight triggering event exists according to the plurality of goods lattice images corresponding to the plurality of moments.
12. An object processing apparatus, characterized by comprising:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being for performing the method of any one of claims 1 to 5 or 6 to 9 when the program is executed.
13. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 5 or 6 to 9.
CN202110468159.6A 2021-04-28 2021-04-28 Object processing method and device Active CN113095762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110468159.6A CN113095762B (en) 2021-04-28 2021-04-28 Object processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110468159.6A CN113095762B (en) 2021-04-28 2021-04-28 Object processing method and device

Publications (2)

Publication Number Publication Date
CN113095762A CN113095762A (en) 2021-07-09
CN113095762B true CN113095762B (en) 2023-10-17

Family

ID=76681312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110468159.6A Active CN113095762B (en) 2021-04-28 2021-04-28 Object processing method and device

Country Status (1)

Country Link
CN (1) CN113095762B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009072391A (en) * 2007-09-21 2009-04-09 Multi Solution:Kk Commodity display system having shoplifter sensing function
JP2014152018A (en) * 2013-02-08 2014-08-25 Flow Co Ltd Product management system
CN106952401A (en) * 2017-03-14 2017-07-14 帮团成都电子商务有限责任公司 A kind of data processing method and device
CN107451891A (en) * 2017-07-27 2017-12-08 惠州市伊涅科技有限公司 Convenience store's automatic vending method
WO2019184646A1 (en) * 2018-03-27 2019-10-03 合肥美的智能科技有限公司 Method and device for identifying merchandise, merchandise container
CN111065590A (en) * 2017-07-28 2020-04-24 善肴控股株式会社 Inventory management system and wireless tag device
CN111738184A (en) * 2020-06-28 2020-10-02 杭州海康威视数字技术股份有限公司 Commodity picking and placing identification method, device, system and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009072391A (en) * 2007-09-21 2009-04-09 Multi Solution:Kk Commodity display system having shoplifter sensing function
JP2014152018A (en) * 2013-02-08 2014-08-25 Flow Co Ltd Product management system
CN106952401A (en) * 2017-03-14 2017-07-14 帮团成都电子商务有限责任公司 A kind of data processing method and device
CN107451891A (en) * 2017-07-27 2017-12-08 惠州市伊涅科技有限公司 Convenience store's automatic vending method
CN111065590A (en) * 2017-07-28 2020-04-24 善肴控股株式会社 Inventory management system and wireless tag device
WO2019184646A1 (en) * 2018-03-27 2019-10-03 合肥美的智能科技有限公司 Method and device for identifying merchandise, merchandise container
CN111738184A (en) * 2020-06-28 2020-10-02 杭州海康威视数字技术股份有限公司 Commodity picking and placing identification method, device, system and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Design of fruits and vegetables online inspection system based on vision;Huili Zhou et al;《Journal of Physics:Conference Series》;全文 *
基于生物识别技术的智慧支付体系研究;王玉刚 等;《金融纵横》;全文 *

Also Published As

Publication number Publication date
CN113095762A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US8854190B2 (en) Systems and methods to detect cross reads in RFID tags
US20200026268A1 (en) Control device and diagnosis system
US20090102661A1 (en) Wireless asset identification and location
CN110213068A (en) A kind of monitoring method and relevant device of message-oriented middleware
JP2009217382A (en) Failure analysis system, failure analysis method, failure analysis server, and failure analysis program
CN111428822A (en) Article identification method, device and equipment, intelligent container and intelligent container system
CN110837824B (en) Commodity identification method for vending device, vending device and storage medium
CN106503761A (en) Drawing system and method are sentenced in article safety check
CN112756265B (en) Method and device for detecting abnormal sorting of articles, industrial control equipment and storage medium
CN113095762B (en) Object processing method and device
KR102188981B1 (en) Smart lonely deate protecting system and method thereof
CN114049575A (en) Intelligent detection method and system for contraband of security check machine and electronic equipment
CN113469137A (en) Abnormal behavior recognition method and device, storage medium and electronic device
CN112270788A (en) Beverage bottle recycling fraud prevention method and beverage bottle recycling machine
US11928823B2 (en) Transient sensor monitoring definitions for edge computing devices
CN114140751B (en) Examination room monitoring method and system
US20210342805A1 (en) System and method for identifying grab-and-go transactions in a cashierless store
CN112985518B (en) Intelligent temperature and humidity monitoring method and device based on Internet of things
CN109542903B (en) Data processing method and device
CN103955662B (en) Embedded type Z-code recognition system
CN113457990A (en) Goods sorting method, device, electronic equipment and medium
CN112949747A (en) Dish detection method, related equipment, system and storage medium
CN107180390A (en) Equipment for data processing
CN101673234A (en) Abnormality monitoring method and device
CN111191504A (en) Community garbage classification processing and system and computer readable storage medium

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