CN116721496B - Data transmission method, shared sales counter and storage medium - Google Patents

Data transmission method, shared sales counter and storage medium Download PDF

Info

Publication number
CN116721496B
CN116721496B CN202310975903.0A CN202310975903A CN116721496B CN 116721496 B CN116721496 B CN 116721496B CN 202310975903 A CN202310975903 A CN 202310975903A CN 116721496 B CN116721496 B CN 116721496B
Authority
CN
China
Prior art keywords
weight sensor
user
target video
server
shared
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
CN202310975903.0A
Other languages
Chinese (zh)
Other versions
CN116721496A (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.)
Guangdong Xingyun Kaiwu Technology Co ltd
Original Assignee
Guangdong Xingyun Kaiwu 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 Guangdong Xingyun Kaiwu Technology Co ltd filed Critical Guangdong Xingyun Kaiwu Technology Co ltd
Priority to CN202310975903.0A priority Critical patent/CN116721496B/en
Publication of CN116721496A publication Critical patent/CN116721496A/en
Application granted granted Critical
Publication of CN116721496B publication Critical patent/CN116721496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/52Weighing apparatus combined with other objects, e.g. furniture
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/01Testing or calibrating of weighing apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention provides a data transmission method, a shared vending cabinet and a storage medium, which are applied to the technical field of vending machines, wherein the method is applied to the shared vending cabinet, and the shared vending cabinet comprises a weight sensor and a camera, and comprises the following steps: determining whether the weight sensor has failed; if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by a camera, and is used for settling an order of the user by the server; if the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified, uploading the target video to a server. According to the scheme, the accuracy of the settlement of the shared selling cabinets is improved, the reliability of equipment is improved, and meanwhile, the third party interface is not called every time, so that the generated cost is low.

Description

Data transmission method, shared sales counter and storage medium
Technical Field
The present invention relates to the field of vending machines, and in particular, to a data transmission method, a shared vending cabinet, and a storage medium.
Background
At present, vending machines are mainly divided into two types, namely a traditional goods channel vending machine, and after a user finishes paying, the vending machine pushes out corresponding goods from a goods channel. The other type is an open type vending cabinet, the vending cabinet is based on the credit of a user, the user can unlock the cabinet door to automatically take the commodities in the equipment, and then commodity identification and settlement are carried out based on the result perceived by the sensor.
Generally, the open vending cabinet mainly adopts two types of sensors for sensing, the first type is a weight sensor, the weight sensor determines the commodity taken out by the user by sensing the weight change of the goods shelf, but the weight sensor cannot sense the weight change under the condition of failure, namely the commodity taken out by the user cannot be determined. The second type is a camera, the images collected by the camera determine commodities taken out by a user through an image analysis model, but the technology is generally limited to the technical capability, most equipment manufacturers do not have the development capability of a complex video image processing model, and the scheme based on the image recognition of the camera is generally based on a payment interface of a third party, so that the settlement period is longer, tens of seconds shorter, minutes longer and the cost is higher.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the invention provides a data transmission method, a shared vending cabinet and a storage medium, which have lower reliability and lower cost.
The invention provides a data transmission method which is applied to a shared vending cabinet, wherein the shared vending cabinet comprises a weight sensor and a camera, and the method comprises the following steps:
determining whether the weight sensor has failed;
if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by the camera, and the target video is used for settling an order of the user by the server;
and if the weight sensor is determined to not fail and the goods fetched by the user cannot be identified, uploading the target video to a server.
According to the data transmission method provided by the invention, the number of the weight sensors is a plurality, and after determining whether the weight sensors have faults, the method further comprises the following steps:
if at least one weight sensor fails, determining whether the shelf where the failed at least one weight sensor is located is associated with the order of the user;
the uploading the target video to the server comprises the following steps:
and if the fact that the goods shelf where the at least one weight sensor with the faults is located is associated with the order of the user is determined, uploading the target video to a server.
According to the data transmission method provided by the invention, the determining whether the weight sensor has a fault comprises the following steps:
and determining whether the weight sensor fails or not based on whether the output data of the weight sensor is in a preset range.
According to the data transmission method provided by the invention, the method further comprises the following steps:
under the condition that the weight sensor is determined to be faulty, fault information is sent to the server, wherein the fault information is used for enabling the server to open a video identification interface to the shared sales cabinet; the video identification interface is used for receiving the target video sent by the sharing selling cabinet.
According to the data transmission method provided by the invention, the determining whether the weight sensor has a fault comprises the following steps:
and after the user is identified to open the sales counter or the user is identified to finish taking goods, determining whether the weight sensor fails.
According to the data transmission method provided by the invention, the target video is a video clip shot by the camera within the time range from the opening of the sharing selling cabinet by the user to the closing of the sharing selling cabinet.
According to the data transmission method provided by the invention, the method further comprises the following steps:
and under the condition that settlement can not be carried out through the data of the weight sensor for a plurality of times, sending operation and maintenance indication information to the server, and directly using a video recognition mode to carry out settlement.
The invention also provides a data transmission method, which is applied to the server and comprises the following steps:
receiving a target video sent by the sharing vending cabinet, wherein the target video is a video of a user picking process shot by a camera of the sharing vending cabinet; the target video is sent under the condition that the weight sensor is determined to be faulty or the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified;
and sending the target video to third-party equipment, wherein the target video is used for settling an order of the user.
The invention also provides a data transmission device applied to the shared vending cabinet, wherein the shared vending cabinet comprises a weight sensor and a camera, and the device comprises:
a processing module for determining whether the weight sensor has failed;
the sending module is used for uploading a target video to a server if the processing module determines that the weight sensor fails, wherein the target video is a video of a user taking process shot by the camera, and the target video is used for settling an order of the user by the server;
and the sending module is further used for uploading the target video to a server if the processing module determines that the weight sensor does not fail and cannot identify goods taken by the user.
The invention also provides a data transmission device, which is applied to a server and comprises:
the receiving module is used for receiving a target video sent by the sharing vending cabinet, wherein the target video is a video of a user taking process shot by a camera of the sharing vending cabinet; the target video is sent under the condition that the weight sensor is determined to be faulty or the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified;
and the sending module is used for sending the target video to third-party equipment, and the target video is used for settling the order of the user.
The invention also provides a shared vending cabinet, comprising:
the device comprises a cabinet body, a weight sensor, a camera and a main control board respectively connected with the weight sensor and the camera;
the weight sensor, the camera and the main control board are arranged in the cabinet body;
the weight sensor and the camera acquire data, and the server for communicating with the shared vending cabinet performs order settlement based on the weight sensor and the camera acquire data and payment information of a user;
and the main control board is used for executing any one of the data transmission methods.
The invention also provides a master control device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the data transmission method according to any one of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data transmission method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a data transmission method as described in any of the above.
The data transmission method, the shared vending cabinet and the storage medium provided by the invention determine whether the weight sensor has faults or not; if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking up process shot by the camera, and if the weight sensor is determined to be non-faulty and goods picked up by the user cannot be identified, uploading the target video to the server, wherein the target video is used for settling an order of the user by the server, and settling can be performed in a video identification mode when the weight sensor is faulty, so that the settlement accuracy of the shared sales cabinet can be improved, and the reliability of equipment is improved; when the weight sensor does not have faults, only the data of the weight sensor can be adopted for settlement, and the cost is low.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a data transmission method provided by the present invention;
fig. 2 is a schematic diagram of a shared vending cabinet according to the data transmission method provided by the invention;
FIG. 3 is a second flow chart of the data transmission method according to the present invention;
FIG. 4 is a third flow chart of the data transmission method according to the present invention;
fig. 5 is a schematic structural diagram of a data transmission device according to the present invention;
FIG. 6 is a second schematic diagram of a data transmission device according to the present invention;
fig. 7 is a schematic structural diagram of a master control device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
First, the nouns and application scenarios related to the embodiments of the present invention are described:
at present, vending machines are mainly divided into two types, namely a traditional goods channel vending machine, and after a user finishes paying, the vending machine pushes out corresponding goods from a goods channel. The other type is an open type vending cabinet, the vending cabinet is based on the credit of a user, the user can unlock the cabinet door to automatically take the commodities in the equipment, and then commodity identification and settlement are carried out based on the result perceived by the sensor.
The method of the embodiment of the invention is mainly aimed at an open type vending cabinet, such as a shared vending cabinet.
The following describes the technical solution of the embodiment of the present invention in detail with reference to fig. 1 to 7. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 1 is a schematic flow chart of a data transmission method provided by the present invention. The method of the embodiment is applied to a shared vending cabinet, the shared vending cabinet comprises a weight sensor and a camera, as shown in fig. 1, and the method provided by the embodiment comprises the following steps:
step 101, determining whether a weight sensor fails;
specifically, it is determined whether a weight sensor in the shared merchandiser has failed, for example, based on whether the output data of the weight sensor is abnormal.
As shown in fig. 2, the shared vending cabinet comprises a cabinet body, a multi-layer goods shelf, a main control board and a camera, wherein the multi-layer goods shelf, the main control board and the camera are arranged in the cabinet body, and a weight sensor (such as a pressure sensor and the like) for sensing the weight of the goods shelf of each layer is arranged in each layer of goods shelf; the main control board is connected with the weight sensor and converts the data based on the weight sensor into sales information, and optionally, the data of the weight sensor can be uploaded to the server, and the server determines what commodity the user takes.
Wherein cameras are typically used for video surveillance. The camera is connected with the main control board.
Optionally, the main control board includes a payment communication module, or a function of the payment communication module is integrated in the main control board, and the payment communication module is used for providing software corresponding to the payment function, namely service (Software as a Service, SAAS).
It should be noted that, in fig. 2, a shelf may have one or more weight sensors, and the camera may have more than one.
Step 102, if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by a camera, and the target video is used for settling an order of the user by the server;
optionally, when the weight sensor fails, failure information is sent to the server, the server generates a failure work order, and the video identification interface is opened to the shared vending cabinet.
Specifically, if it is determined that the weight sensor fails, the target video of the user in the process of taking the goods is uploaded to the server, and the server settles the order of the user based on the target video, for example, a third party interface is called for settlement.
For example, when the shared vending cabinet is in door closing settlement, the main control board uploads video clips between when the user opens the shared vending cabinet and when the user closes the shared vending cabinet to the server. After the server associates the video clip with the order of the user, the server sends the video clip to a third party interface, obtains an identification result (such as goods taken out by the user), and performs charging settlement on the order of the user.
Optionally, the target video relates to a start time and an end time, the start time and the end time being determined based on unlock and lock signals generated by the shared merchandiser device. The two signals determine that the shared merchandiser device uploaded the video clip for video recognition. In brief, the target video for identification is a video clip from unlocking to locking.
And step 103, if the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified, uploading the target video to the server.
Specifically, in a state where no sensor failure is detected, when the recognition result of the order cannot be determined, the target video is also uploaded to the server. And the server calls a third party interface to identify according to the information of the identification result of the commodity which cannot be determined, for example, calls a third party video identification service through the third party interface.
The method of this embodiment, determining whether the weight sensor is malfunctioning; if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by the camera, and the target video is used for settling an order of the user by the server; if the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified, uploading the target video to a server, so that the accuracy of settlement of the shared vending cabinet can be improved, and the reliability of equipment is improved; and the shared vending cabinet has multiple settlement capacities, and meanwhile, when the weight sensor fails or the weight sensor fails but cannot identify goods taken by a user, the target video is uploaded to the server for settlement, so that the settlement is directly performed by adopting the data of the weight sensor when the weight sensor fails, the settlement time is shorter, the efficiency is higher, and the cost is lower.
Alternatively, step 101 may be specifically implemented as follows:
and determining whether the weight sensor fails or not based on whether the output data of the weight sensor is in a preset range.
For example, a main control board of the shared vending cabinet is provided with a sensor fault sensing program, and the fault sensing program is executed after a user finishes picking and locking each time or is executed when an instruction is issued to open the shared vending cabinet; the program is used for detecting whether the output data of the weight sensor is in a preset range; if the output data of the weight sensor is not in the normal preset range, judging that the weight sensor fails. Wherein the fault awareness program would poll the weight sensor of each tier shelf. For example, for each layer of the weight sensor of the pallet, there will be an initial output value due to the existence of the pallet, which indicates that there is definitely an abnormality in the pallet or the weight sensor if the output value of the weight sensor is lower than the initial output value. For example, the weight sensor is bad, outputs 0 directly, and does not sense weight. It is also possible that the shelf is deformed out of contact with the sensor.
Optionally, step 101 is specifically performed at the following occasions:
and after the user is identified to open the sales counter or the user is identified to finish taking goods, determining whether the weight sensor fails.
Specifically, after the user is identified to open the sales cabinet, or the user is identified to finish taking goods, whether the weight sensor of the sales cabinet fails or not is determined, if so, the settlement can be directly carried out in a video identification mode, the accuracy and the reliability of the settlement are improved, the user waiting time is reduced without carrying out identification settlement in a weight sensor-based identification settlement mode, if not, the weight sensor-based identification settlement mode is adopted, a third party interface is not required to be called, and the cost is low.
In the above embodiment, the accuracy and efficiency of identifying and settling can be improved by determining whether the weight sensor of the sales cabinet is faulty after identifying that the user opens the sales cabinet or identifying that the user finishes picking up goods.
Optionally, the method further comprises the steps of:
under the condition that the weight sensor is determined to be faulty, fault information is sent to the server, wherein the fault information is used for enabling the server to open a video identification interface to the shared sales cabinet; the video identification interface is used for receiving the target video sent by the sharing selling cabinet.
Specifically, the fault information can be used for indicating the server to perform settlement in a video identification mode, and can inform operation and maintenance personnel to perform maintenance, an interface for video identification is opened after the fault information is received, a target video sent by the shared selling cabinet is received, and the interface can be closed at other times, so that the safety is improved.
Optionally, the number of weight sensors of the shared merchandiser is multiple, and after determining whether the weight sensor has failed, the method further comprises:
if at least one weight sensor fails, determining whether the shelf where the failed at least one weight sensor is located is associated with the order of the user;
the uploading of the target video to the server can be realized specifically by the following steps:
and if the fact that the goods shelf where the at least one weight sensor with the faults is located is associated with the order of the user is determined, uploading the target video to a server.
Specifically, in order to reduce the need for the shared vending cabinet to call the third party interface for video identification and settlement, the order of the shelf where the weight sensor related to the failure is located can apply for calling the third party interface for calculation. Because a layer of shelves will have weight sensors at multiple locations, damage to individual weight sensors will only affect the recognition result, but will still be able to sense weight changes.
Therefore, if the condition that all weight sensors of a certain shelf are out of order does not occur, the following processing can be performed at the shared selling cabinet end:
whether the third party interface is required to be called or not can be judged according to whether the order relates to the goods shelf where the weight sensor with the fault is located, if not, the goods taken out by the user are determined and settled through the weight change perceived by the weight sensor still available; if a malfunctioning weight sensor shelf is involved, the shared merchandiser is allowed to be identified and settlement processed by calling a third party interface before maintenance is complete.
In the above embodiment, when it is determined that the shelf where the at least one weight sensor is located is associated with the order of the user, the target video is uploaded to the server, and settlement is performed by adopting a video identification mode, if the target video is not associated with the order of the user, the target video is not required to be sent, so that settlement efficiency is improved, unnecessary data transmission is reduced, resource waste is avoided, call to video identification service of a third party is reduced, and cost is low.
Optionally, the method further comprises:
and under the condition that settlement can not be carried out through the data of the weight sensor for a plurality of times, sending operation and maintenance indication information to the server, and directly using a video recognition mode to carry out settlement.
Specifically, when the situation that the data passing through the weight sensor cannot be accurately settled continuously occurs in the sharing vending cabinet, operation and maintenance indication information is generated, for example, an operation and maintenance work order is generated, the operation and maintenance indication information is sent to a server, a video recognition mode is started for settlement, and the settlement process based on the weight sensor is directly skipped so as to reduce waiting time of a user.
As shown in fig. 3, the method of the present embodiment includes the steps of:
step 301, starting detection of a weight sensor after a user opens a sales cabinet or the user gets goods;
step 302, determining whether an abnormal sensor exists;
if it is determined that an abnormal (or faulty) sensor exists, then step 303 is performed to determine whether a sensor fault exists for the entire shelf; if there is a sensor failure of the whole shelf, then step 307 is performed; if there is no sensor failure of the whole shelf, executing step 306, determining whether the current user order relates to the shelf with the sensor failure, if yes, executing step 307, and if not, executing step 304;
if it is determined that there is no abnormal (or faulty) sensor, executing step 304 to continue settlement based on the result of the weight sensor;
step 305, determining whether the settlement result is abnormal;
if yes, executing step 307, and calling a third party interface through a server to carry out settlement;
if not, ending.
In the embodiment of the invention, the judgment is carried out based on the sensing condition of the shared selling cabinet, whether the third-party video identification service needs to be additionally called or not is determined, and the processing mode of the camera image is called, so that the order of the user can be correctly processed when the weight sensing is invalid, and the call to the third-party video identification service can be reduced, so that the cost is saved. Two recognition and calculation schemes based on a weight sensor and a camera are in parallel relation, so long as one is available.
In summary, the scheme of the embodiment of the invention is mainly applied to the shared vending cabinet with the weight settlement capability and the monitoring camera, and the shared vending cabinet does not have the image recognition settlement capability, and the settlement capability is obtained by accessing the SAAS service provided by the third party. The other is a shared vending cabinet which originally has weight perception and video perception, and the shared vending cabinet is generally comprehensively analyzed and settled through the weight perception and the video perception. For such schemes, the number of video interface calls can be optimized, reducing the settlement time for most orders. Meanwhile, two perception settlement modes are parallel and are not comprehensive, so that the equipment reliability is stronger.
Fig. 4 is a third flow chart of the data transmission method provided by the present invention. The data transmission method of the present embodiment may be applied to a server, as shown in fig. 4, where the data transmission method provided in the present embodiment includes:
step 401, receiving a target video sent by a shared vending cabinet, wherein the target video is a video of a user picking up process shot by a camera of the shared vending cabinet; the target video is sent under the condition that the weight sensor is determined to be faulty or the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified;
step 402, sending a target video to a third party device, wherein the target video is used for settling an order of a user.
The method of the embodiment of the present invention is similar to the method of any of the foregoing embodiments of the method for sharing the vending cabinet side, and its implementation principle and technical effects are similar, and are not repeated here.
The data transmission device provided by the invention is described below, and the data transmission device described below and the data transmission method described above can be referred to correspondingly.
Fig. 5 is a schematic structural diagram of a data transmission device provided by the present invention. The data transmission device of this embodiment can be applied to the sharing and sell the cabinet, the sharing is sold the cabinet and is included weight sensor and camera, as shown in fig. 5, the data transmission device that this embodiment provided includes:
a processing module 110 for determining whether the weight sensor has failed;
the sending module 120 is configured to upload a target video to a server if the processing module 110 determines that the weight sensor fails, where the target video is a video of a user picking process shot by the camera, and the target video is used for the server to settle an order of the user;
the sending module 120 is further configured to upload the target video to a server if the processing module 110 determines that the weight sensor is not faulty and cannot identify the goods taken by the user.
Optionally, the number of the weight sensors is plural, and the processing module 110 is further configured to:
after determining whether the weight sensor fails, if at least one weight sensor fails, determining whether a shelf where the failed at least one weight sensor is located is associated with the user's order;
the sending module 120 is specifically configured to:
and if the fact that the goods shelf where the at least one weight sensor with the faults is located is associated with the order of the user is determined, uploading the target video to a server.
Optionally, the processing module 110 is specifically configured to:
and determining whether the weight sensor fails or not based on whether the output data of the weight sensor is in a preset range.
Optionally, the sending module 120 is further configured to:
under the condition that the weight sensor is determined to be faulty, fault information is sent to the server, wherein the fault information is used for enabling the server to open a video identification interface to the shared sales cabinet; the video identification interface is used for receiving the target video sent by the sharing selling cabinet.
Optionally, the processing module 110 is specifically configured to:
and after the user is identified to open the sales counter or the user is identified to finish taking goods, determining whether the weight sensor fails.
Optionally, the target video is a video clip shot by the camera within a time range from when the user opens the shared vending cabinet to when the shared vending cabinet is closed.
Optionally, the sending module 120 is further configured to:
under the condition that settlement can not be carried out through data of the weight sensor for a plurality of times, sending operation and maintenance indication information to the server;
the processing module 110 is further configured to directly use a video recognition method to perform settlement.
The device of the embodiment of the present invention is configured to perform the method of any of the foregoing method embodiments, and its implementation principle and technical effects are similar, and are not described in detail herein.
Fig. 6 is a second schematic structural diagram of the data transmission device provided by the present invention. The data transmission device of the present embodiment may be applied to a server, as shown in fig. 6, where the data transmission device provided in the present embodiment includes:
the receiving module 210 is configured to receive a target video sent by the shared vending cabinet, where the target video is a video of a user pickup process shot by a camera of the shared vending cabinet; the target video is sent under the condition that the weight sensor is determined to be faulty or the weight sensor is determined to be not faulty and the goods taken by the user cannot be identified;
and the sending module 220 is configured to send the target video to a third party device, where the target video is used for settling an order of the user.
The device of the embodiment of the present invention is configured to perform the method of any of the foregoing method embodiments, and its implementation principle and technical effects are similar, and are not described in detail herein.
Fig. 7 illustrates an entity diagram of a master device, as shown in fig. 7, which may include: processor 710, communication interface (Communications Interface) 720, memory 730, and communication bus 740, wherein processor 710, communication interface 720, memory 730 communicate with each other via communication bus 740. Processor 710 may invoke logic instructions in memory 730 to perform a data transfer method comprising: determining whether the weight sensor has failed;
if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by the camera, and the target video is used for settling an order of the user by the server;
and if the weight sensor is determined to not fail and the goods fetched by the user cannot be identified, uploading the target video to a server.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of performing the data transmission method provided by the above methods, the method comprising: determining whether the weight sensor has failed;
if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by the camera, and the target video is used for settling an order of the user by the server;
and if the weight sensor is determined to not fail and the goods fetched by the user cannot be identified, uploading the target video to a server.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a data transmission method provided by the above methods, the method comprising: determining whether the weight sensor has failed;
if the weight sensor is determined to be faulty, uploading a target video to a server, wherein the target video is a video of a user picking process shot by the camera, and the target video is used for settling an order of the user by the server;
and if the weight sensor is determined to not fail and the goods fetched by the user cannot be identified, uploading the target video to a server.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A data transmission method, characterized in that it is applied to a shared vending cabinet, said shared vending cabinet comprising a weight sensor and a camera, said method comprising:
after the user is identified to open the shared vending cabinet or the user is identified to finish taking goods, determining whether the weight sensor fails or not based on whether the output data of the weight sensor is in a preset range; the number of the weight sensors is a plurality;
if at least one weight sensor fails, determining whether the shelf where the failed at least one weight sensor is located is associated with the order of the user;
if it is determined that the goods shelf where the at least one failed weight sensor is located is associated with the order of the user, uploading a target video to a server, wherein the target video is a video of the user taking process shot by the camera, and the target video is used for settling the order of the user by the server;
and if the weight sensor is determined to not fail and the goods fetched by the user cannot be identified, uploading the target video to a server.
2. The data transmission method according to claim 1, characterized in that the method further comprises:
under the condition that the weight sensor is determined to be faulty, fault information is sent to the server, wherein the fault information is used for enabling the server to open a video identification interface to the shared sales cabinet; the video identification interface is used for receiving the target video sent by the sharing selling cabinet.
3. The data transmission method according to claim 1, wherein the target video is a video clip taken by the camera within a time range from when the user opens the shared vending cabinet to when the shared vending cabinet is closed; the method further comprises the steps of:
and under the condition that settlement can not be carried out through the data of the weight sensor for a plurality of times, sending operation and maintenance indication information to the server, and directly using a video recognition mode to carry out settlement.
4. A data transmission method, applied to a server, the method comprising:
receiving a target video sent by a sharing vending cabinet, wherein the sharing vending cabinet comprises a weight sensor and a camera, and the target video is a video of a user goods taking process shot by the camera; the target video is sent under the condition that whether at least one weight sensor in a plurality of weight sensors of the shared vending cabinet fails or not is determined based on whether the output data of the weight sensors is in a preset range, and a goods shelf where the at least one weight sensor is located is associated with an order of the user, or whether the plurality of weight sensors do not fail and goods taken by the user cannot be identified is determined; whether the weight sensors have faults or not is determined after the user is identified to open a shared vending cabinet or the user is identified to finish taking goods;
and sending the target video to third-party equipment, wherein the target video is used for settling an order of the user.
5. A shared merchandiser, comprising:
the device comprises a cabinet body, a weight sensor, a camera and a main control board respectively connected with the weight sensor and the camera;
the weight sensor, the camera and the main control board are arranged in the cabinet body;
the weight sensor and the camera acquire data, and the server for communicating with the shared vending cabinet performs order settlement based on the weight sensor and the camera acquire data and payment information of a user;
and the main control board is used for executing the data transmission method according to any one of claims 1 to 3.
6. A master control device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the data transmission method according to any one of claims 1 to 3 or the data transmission method according to claim 4 when executing the program.
7. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the data transmission method according to any one of claims 1 to 3 or the data transmission method according to claim 4.
CN202310975903.0A 2023-08-04 2023-08-04 Data transmission method, shared sales counter and storage medium Active CN116721496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310975903.0A CN116721496B (en) 2023-08-04 2023-08-04 Data transmission method, shared sales counter and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310975903.0A CN116721496B (en) 2023-08-04 2023-08-04 Data transmission method, shared sales counter and storage medium

Publications (2)

Publication Number Publication Date
CN116721496A CN116721496A (en) 2023-09-08
CN116721496B true CN116721496B (en) 2023-12-05

Family

ID=87869982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310975903.0A Active CN116721496B (en) 2023-08-04 2023-08-04 Data transmission method, shared sales counter and storage medium

Country Status (1)

Country Link
CN (1) CN116721496B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510024A (en) * 2018-03-27 2018-09-07 江苏军物联网股份有限公司 Unmanned retail Intelligent cargo cabinet based on RFID technique and its good selling method
CN109448230A (en) * 2018-10-19 2019-03-08 北京牧家科技有限公司 A kind of risk-control mechanism of unmanned retail
CN111815852A (en) * 2020-07-07 2020-10-23 武汉马克到家科技有限公司 Image and gravity dual-mode automatic commodity identification system for open-door self-taking type sales counter
CN212391834U (en) * 2020-06-02 2021-01-22 浙江星星冷链集成股份有限公司 Novel unmanned sales counter
CN112304413A (en) * 2020-09-28 2021-02-02 梅特勒-托利多(常州)精密仪器有限公司 Method and device for detecting state of weighing sensor
CN112734446A (en) * 2020-12-31 2021-04-30 北京每日优鲜电子商务有限公司 Commodity verification method and device based on vision and gravity detection
CN113178032A (en) * 2021-03-03 2021-07-27 北京迈格威科技有限公司 Video processing method, system and storage medium
CN114093083A (en) * 2021-11-25 2022-02-25 广州乐摇摇信息科技有限公司 Gravity cabinet control method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510024A (en) * 2018-03-27 2018-09-07 江苏军物联网股份有限公司 Unmanned retail Intelligent cargo cabinet based on RFID technique and its good selling method
CN109448230A (en) * 2018-10-19 2019-03-08 北京牧家科技有限公司 A kind of risk-control mechanism of unmanned retail
CN212391834U (en) * 2020-06-02 2021-01-22 浙江星星冷链集成股份有限公司 Novel unmanned sales counter
CN111815852A (en) * 2020-07-07 2020-10-23 武汉马克到家科技有限公司 Image and gravity dual-mode automatic commodity identification system for open-door self-taking type sales counter
CN112304413A (en) * 2020-09-28 2021-02-02 梅特勒-托利多(常州)精密仪器有限公司 Method and device for detecting state of weighing sensor
CN112734446A (en) * 2020-12-31 2021-04-30 北京每日优鲜电子商务有限公司 Commodity verification method and device based on vision and gravity detection
CN113178032A (en) * 2021-03-03 2021-07-27 北京迈格威科技有限公司 Video processing method, system and storage medium
CN114093083A (en) * 2021-11-25 2022-02-25 广州乐摇摇信息科技有限公司 Gravity cabinet control method and device

Also Published As

Publication number Publication date
CN116721496A (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN109887161B (en) Anti-theft method and system for unmanned sales counter and unmanned sales counter with anti-theft function
US6766232B1 (en) Method for recognition of faults on a motor vehicle
CN111899016A (en) Quality data processing method and device based on block chain
CN110599670B (en) Abnormal detection method and system for number of paper money in money box, server and financial equipment
CN110017994B (en) Method, apparatus, system, device and medium for detecting abnormality of autonomous vehicle
US10332360B2 (en) Device fraud indicator detection and reporting
CN111090658B (en) Abnormal transaction processing method, system and equipment
CN116721496B (en) Data transmission method, shared sales counter and storage medium
CN108133540B (en) Detection method and detection device for abnormal number of paper money in paper money box and electronic equipment
CN111143151B (en) Service monitoring method and device and electronic equipment
CN111932525B (en) Method and device for detecting left-over real object of real object delivery port of bank equipment
CN111833547B (en) Control method of storage cabinet, control device of storage cabinet and server
CN108196985A (en) A kind of storage system failure prediction method and device based on intelligent predicting
CN114493881A (en) Two-party cross-border trading platform and method based on block chain technology
US20200279268A1 (en) Money handling system, money handling apparatus, center apparatus, and fraud detecting method for money handling apparatus
CN112712657A (en) Monitoring method, device, monitoring system, monitoring equipment and storage medium
CN112734446A (en) Commodity verification method and device based on vision and gravity detection
CN113283904A (en) POS payment method, device and processor based on block chain and artificial intelligence
CN115699124A (en) Hardware-based sensor analysis
CN116708801B (en) Video compression method, shared sales counter and storage medium
CN116684626B (en) Video compression method and sharing vending cabinet
KR20200099863A (en) Method for analyzing of object
KR102319386B1 (en) Apparatus and method of calculating failure intensity
KR102562135B1 (en) Parking control apparatus, and method for parking settlement
JP7524356B2 (en) Hardware-Based Sensor Analytics

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