CN115457706A - Control method and device of storage cabinet, electronic equipment and storage medium - Google Patents

Control method and device of storage cabinet, electronic equipment and storage medium Download PDF

Info

Publication number
CN115457706A
CN115457706A CN202211052900.1A CN202211052900A CN115457706A CN 115457706 A CN115457706 A CN 115457706A CN 202211052900 A CN202211052900 A CN 202211052900A CN 115457706 A CN115457706 A CN 115457706A
Authority
CN
China
Prior art keywords
target
cabinet
target user
determining
storage cabinet
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.)
Granted
Application number
CN202211052900.1A
Other languages
Chinese (zh)
Other versions
CN115457706B (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.)
Douyin Vision Co Ltd
Original Assignee
Douyin Vision 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 Douyin Vision Co Ltd filed Critical Douyin Vision Co Ltd
Priority to CN202211052900.1A priority Critical patent/CN115457706B/en
Publication of CN115457706A publication Critical patent/CN115457706A/en
Application granted granted Critical
Publication of CN115457706B publication Critical patent/CN115457706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/10Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property
    • G07F17/12Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned
    • G07F17/13Coin-freed apparatus for hiring articles; Coin-freed facilities or services for means for safe-keeping of property, left temporarily, e.g. by fastening the property comprising lockable containers, e.g. for accepting clothes to be cleaned the containers being a postal pick-up locker
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00912Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for safes, strong-rooms, vaults or the like
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a control method and device of a storage cabinet, electronic equipment and a storage medium, wherein the storage cabinet comprises a cabinet body and a plurality of cabinet boxes arranged on the cabinet body, the cabinet boxes are used for storing articles, each cabinet box is provided with a box door, and the method comprises the following steps: acquiring identity information of a target user, and determining a plurality of target cabinets associated with the identity information; determining displacement information of a preset time period before the target user reaches the storage cabinet; predicting a direction of departure of the target user relative to the storage cabinet based on the displacement information; and determining the target door opening sequence of the target cabinets based on the leaving direction, and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence. According to the embodiment of the disclosure, under the condition that a plurality of cabinet boxes need to be opened, the adaptive door opening sequence can be planned for the user, and the moving distance and the round-trip times of the user can be reduced.

Description

Control method and device of storage cabinet, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of storage equipment, in particular to a control method and device of a storage cabinet, electronic equipment and a storage medium.
Background
At present, some places (such as enterprise factories and residential areas) are provided with article storage cabinets for users to store articles. Use receiving and dispatching express delivery as an example, the express delivery person can deposit a plurality of express deliveries to the cabinet case respectively in, get the user of express delivery and can follow corresponding cabinet case and take out the express delivery.
However, in the process of using the storage cabinet, there may be a situation that a user needs to store different articles in multiple cabinets or take out multiple articles from multiple cabinets at the same time, which may cause the user to perform multiple reciprocating movements between multiple cabinets, increase unnecessary moving processes and consume more time, thereby affecting the user experience.
Disclosure of Invention
The embodiment of the disclosure at least provides a control method and device of a storage cabinet, electronic equipment and a storage medium.
The embodiment of the disclosure provides a control method of a storage cabinet, the storage cabinet comprises a cabinet body and a plurality of cabinet boxes arranged on the cabinet body, the cabinet boxes are used for storing articles, each cabinet box is provided with a box door, and the method comprises the following steps:
acquiring identity information of a target user, and determining a plurality of target cabinets associated with the identity information;
determining displacement information of a preset time period before the target user reaches the storage cabinet;
predicting the leaving direction of the target user relative to the storage cabinet based on the displacement information;
and determining the target door opening sequence of the target cabinets based on the leaving direction, and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence.
In the embodiment of the disclosure, a plurality of target cabinets associated with a target user may be determined, and displacement information of a preset time period before the target user arrives at a storage cabinet is determined, so as to predict a leaving direction of the target user relative to the storage cabinet, and in combination with the leaving direction, a target door opening sequence of the plurality of target cabinets is determined, and then doors of the plurality of target cabinets are controlled to be sequentially opened according to the target door opening sequence.
In a possible embodiment, the predicting the direction of departure of the target user relative to the storage cabinet based on the displacement information includes:
acquiring the position information of the storage cabinet, and determining the target place of the storage cabinet according to the position information;
and predicting the leaving direction of the target user relative to the storage cabinet based on the environmental information of the target place and the displacement information.
In the embodiment of the disclosure, the leaving direction of the target user relative to the storage cabinet can be comprehensively predicted by combining the environmental information of the target place where the storage cabinet is located on the basis of the displacement information, which is helpful for improving the accuracy of the leaving direction.
In a possible embodiment, the environmental information of the target site includes a type of the target site and/or entrance and exit layout information of the target site; the predicting a direction of departure of the target user with respect to the storage cabinet based on the environmental information of the target location and the displacement information includes:
acquiring current time information, and predicting the leaving direction of the target user relative to the storage cabinet based on the current time information, the type of the target place and the displacement information; or,
and predicting the leaving direction of the target user relative to the storage cabinet based on the entrance layout information and the displacement information of the target place.
In the embodiment of the disclosure, the leaving direction of the target user relative to the storage cabinet can be predicted in a mode of combining multiple kinds of information according to the environment information of different target places, the modes are various, and different modes of predicting the leaving direction can be adapted to different target places.
In a possible embodiment, the predicting the direction of departure of the target user relative to the storage cabinet based on the displacement information includes:
acquiring historical behavior data of the target user relative to the storage cabinet, wherein the historical behavior data comprises historical displacement information and historical departure direction;
and predicting the leaving direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information.
In the embodiment of the disclosure, the leaving direction of the target user relative to the storage cabinet can be comprehensively predicted according to the historical behavior data of the target user relative to the storage cabinet on the basis of the displacement information, which is helpful for improving the matching degree of the predicted leaving direction and the target user in the actual application scene.
In a possible embodiment, the predicting the departing direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information includes:
determining historical displacement information matched with the displacement information from the historical behavior data;
predicting the historical leaving direction with the maximum times corresponding to the historical displacement information as the leaving direction of the target user relative to the storage cabinet.
In the embodiment of the disclosure, the same historical displacement information may exist in a plurality of sets of historical behavior data corresponding to different historical leaving directions, and the historical leaving direction with the largest number of times can be predicted as the leaving direction of the current target user relative to the storage cabinet, so that the accuracy of the leaving direction is effectively improved.
In a possible embodiment, the cabinet is provided with a video capture device; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring video data in the preset time period through the video acquisition equipment;
determining, for each image frame in the video data, a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each image frame relative to the cabinet body.
In the embodiment of the disclosure, video data can be acquired through video acquisition equipment arranged on the cabinet body, because most of the storage cabinets are provided with the video acquisition equipment, extra equipment cost can be avoided from being introduced, the cost is saved, and the video data can be used for obtaining displacement information of a target user in a preset time period based on the position of the target user relative to the cabinet body in each image frame by means of a plurality of image frames in the video data, so that the displacement information can be determined by utilizing the plurality of image frames, the data richness for determining the displacement information is improved, and the accuracy of the determined displacement information is improved.
In a possible embodiment, the cabinet is provided with an infrared identification device; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring a plurality of infrared images of the target user in the preset time period through the infrared identification equipment;
for each infrared image, determining a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each infrared image relative to the cabinet body.
In the embodiment of the disclosure, a plurality of infrared images can be acquired through the infrared recognition device arranged on the cabinet body, so that the position of the target user relative to the cabinet body in each infrared image is determined for each infrared image, and then the displacement information of the target user in a preset time period can be obtained.
In a possible embodiment, the determining a target door opening sequence of the plurality of target cabinets based on the leaving direction includes:
determining the current position of the target user relative to the cabinet body, and determining the relative position relationship between the target cabinets and the current position respectively;
and determining the target door opening sequence of the target cabinets based on the leaving direction and the relative position relation between the target cabinets and the current position.
In the embodiment of the disclosure, the current position of the target user relative to the cabinet body can be determined firstly, so that the relative position relationship between the plurality of target cabinet boxes and the current position can be determined, and a proper target door opening sequence can be planned for the user according to the leaving direction and the relative position relationship.
In a possible embodiment, the determining a target door opening sequence of the target cabinets based on the leaving direction and the relative position relationship between the target cabinets and the current position includes:
and determining the target door opening sequence of the target cabinets according to the shortest moving distance required by the target user to leave the storage cabinet based on the leaving direction and the relative position relation between the target cabinets and the current position.
In the embodiment of the disclosure, under the condition that the leaving direction and the relative position relation are determined, the shortest moving distance required by the target user to leave the storage cabinet can be determined, and the target door opening sequence of the plurality of target cabinet boxes is determined according to the shortest moving distance, so that the shortest moving distance of the user can be realized under the target door opening sequence, and the use experience of the user is facilitated to be improved.
In one possible implementation, an interaction device is arranged on the cabinet body; the determining a current position of the target user relative to the cabinet comprises:
after the identity information of the target user is acquired, determining the position of the interaction equipment on the cabinet body as the current position of the target user relative to the cabinet body.
In the embodiment of the disclosure, under the condition that the cabinet body is provided with the interactive device, the position of the interactive device on the cabinet body can be directly determined as the current position of the target user relative to the cabinet body, so that the data processing speed is effectively increased, meanwhile, the use mode of the target user in an actual application scene is fitted, and the accuracy of the current position is improved.
In a possible embodiment, the controlling of the doors of the target cabinets to be opened sequentially according to the target door opening sequence includes at least one of:
controlling the door of the first cabinet to be opened according to the target door opening sequence, and controlling the door of the next cabinet in the target door opening sequence to be opened after detecting that the door of the currently opened cabinet is closed until the door of the last cabinet in the target door opening sequence is opened; or,
and controlling the doors of the target cabinets to be opened in sequence according to the target door opening sequence at preset time intervals.
In the embodiment of the disclosure, the doors of the target cabinets can be controlled to be opened in sequence according to the target opening sequence in different modes, the flexibility of opening the doors is high, and different opening modes can be provided for different application scenes.
The embodiment of the present disclosure further provides a control device for a storage cabinet, where the device includes:
the cabinet determining module is used for acquiring identity information of a target user and determining a plurality of target cabinets associated with the identity information;
the information determining module is used for determining displacement information of a preset time period before the target user reaches the storage cabinet;
the direction determining module is used for predicting the leaving direction of the target user relative to the storage cabinet based on the displacement information;
and the door opening control module is used for determining the target door opening sequence of the target cabinets based on the leaving direction and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence.
In a possible implementation, the direction determining module is specifically configured to:
acquiring the position information of the storage cabinet, and determining the target place of the storage cabinet according to the position information;
and predicting the leaving direction of the target user relative to the storage cabinet based on the environmental information of the target place and the displacement information.
In a possible embodiment, the environmental information of the target site includes a type of the target site and/or entrance and exit layout information of the target site; the direction determining module is specifically configured to:
acquiring current time information, and predicting the leaving direction of the target user relative to the storage cabinet based on the current time information, the type of the target place and the displacement information; or,
and predicting the leaving direction of the target user relative to the storage cabinet based on the entrance and exit layout information of the target place and the displacement information.
In a possible implementation, the direction determining module is specifically configured to:
acquiring historical behavior data of the target user relative to the storage cabinet, wherein the historical behavior data comprises historical displacement information and historical departure direction;
and predicting the leaving direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information.
In a possible implementation, the direction determining module is specifically configured to:
determining historical displacement information matched with the displacement information from the historical behavior data;
predicting the historical leaving direction with the maximum times corresponding to the historical displacement information as the leaving direction of the target user relative to the storage cabinet.
In a possible embodiment, the cabinet is provided with a video capture device; the information determination module is specifically configured to:
acquiring video data in the preset time period through the video acquisition equipment;
determining, for each image frame in the video data, a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each image frame relative to the cabinet body.
In a possible embodiment, the cabinet is provided with an infrared identification device; the information determination module is specifically configured to:
acquiring a plurality of infrared images of the target user in the preset time period through the infrared identification equipment;
for each infrared image, determining a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each infrared image relative to the cabinet body.
In a possible implementation, the door opening control module is specifically configured to:
determining the current position of the target user relative to the cabinet body, and determining the relative position relationship between the target cabinets and the current position respectively;
and determining the target door opening sequence of the target cabinets based on the leaving direction and the relative position relation between the target cabinets and the current position.
In a possible implementation, the door opening control module is specifically configured to:
and determining the target door opening sequence of the target cabinets according to the shortest moving distance required by the target user to leave the storage cabinet based on the leaving direction and the relative position relation between the target cabinets and the current position.
In one possible implementation, an interaction device is arranged on the cabinet body; the door opening control module is specifically used for:
after the identity information of the target user is acquired, determining the position of the interaction equipment on the cabinet body as the current position of the target user relative to the cabinet body.
In one possible embodiment, the door opening control module is specifically configured to:
controlling the door of the first cabinet to be opened according to the target door opening sequence, and controlling the door of the next cabinet in the target door opening sequence to be opened after detecting that the door of the currently opened cabinet is closed until the door of the last cabinet in the target door opening sequence is opened; or,
and controlling the doors of the target cabinets to be opened in sequence according to the target door opening sequence at preset time intervals.
An embodiment of the present disclosure further provides an electronic device, including: the storage cabinet control system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to execute the control method of the storage cabinet in any one of the possible implementation modes.
The embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program executes the method for controlling a storage cabinet in any one of the above possible embodiments.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the technical aspects of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 illustrates a schematic plan view of a storage cabinet provided by an embodiment of the present disclosure;
fig. 2 is a schematic perspective view illustrating a storage cabinet according to an embodiment of the disclosure;
fig. 3 is a flowchart illustrating a control method for a storage cabinet according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating a control apparatus of a storage cabinet according to an embodiment of the disclosure;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making any creative effort, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of a variety, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
At present, some places (such as enterprise factories and residential areas) are provided with article storage cabinets for users to store articles. For example, the storage cabinets may be used in residential areas to facilitate the distribution of gifts to owners or property personnel; it can also be applied to shopping malls to facilitate the distribution of gifts and the like to customers or shop staff. It should be noted that the application scenarios described above are merely exemplary, and in other embodiments, the application scenarios may also be applied to other scenarios, for example, schools, supermarkets, office buildings, and the like, which is not limited herein.
The following description will be given to the use of the storage cabinet for storing express packages.
As shown in fig. 1, the storage cabinet is provided with cabinet boxes 1-18 and an interaction device 19, in the presence of the interaction device, a user firstly approaches the interaction device to perform an interaction operation (such as authorized opening of the cabinet), and then opens a door of the corresponding cabinet box for the user, however, the sequence of opening the door is not necessarily the most suitable sequence, so that the user needs to perform a plurality of reciprocating movements.
For example, if the cabinets to be opened are 3, 5 and 17, the door opening sequence is 3-5-17, and if the leaving direction of the user is horizontal to the left, the user moves from the current position B to the column where the cabinet 3 is located, then moves to the right to the column where the cabinet 17 is located, and then moves to the left to leave, where the moving mode of the user is B-ase:Sub>A-B-E-ase:Sub>A, this results in ase:Sub>A situation that the user needs to go back and forth many times during using the storage cabinet, which consumes ase:Sub>A lot of time and affects the use experience of the user.
It has been found that, in the process of using the storage cabinet, when a user needs to store different articles in a plurality of cabinets or take out a plurality of articles from a plurality of cabinets, the user may move back and forth between the cabinets many times.
Based on the research, the present disclosure provides a method for controlling a storage cabinet, which may determine a plurality of target cabinets associated with a target user, and determine displacement information of a preset time period before the target user arrives at the storage cabinet, thereby predicting a leaving direction of the target user relative to the storage cabinet, determining a target door opening sequence of the plurality of target cabinets in combination with the leaving direction, and further controlling doors of the plurality of target cabinets to be sequentially opened according to the target door opening sequence.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
In order to facilitate understanding of the present embodiment, first, a detailed description is given to a control method for a storage cabinet disclosed in the embodiments of the present disclosure, and an execution main body of the control method for a storage cabinet provided in the embodiments of the present disclosure may be a storage cabinet, or may be an electronic device with a certain computing capability. In this embodiment, the electronic device may be a server. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud storage, big data, an artificial intelligence platform and the like.
In other embodiments, the electronic device may also be a terminal device or other processing device, and the terminal device may be a mobile device, a terminal, a computing device, and the like. The other processing device may be a device that includes a processor and a memory, and is not limited thereto. In some possible implementations, the control method of the storage cabinet can be implemented by a processor calling computer readable instructions stored in a memory.
It is understood that, before the technical solutions disclosed in the embodiments of the present disclosure are used, the types, the use ranges, the use scenes, and the like of the personal information related to the present disclosure should be informed to the user and authorized by the user in a proper manner according to the relevant laws and regulations.
The following describes a control method for a storage cabinet provided in an embodiment of the present disclosure.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a storage cabinet according to an embodiment of the disclosure. As shown in fig. 2, the method for controlling a storage cabinet provided in the embodiment of the present disclosure may be applied to the storage cabinet shown in fig. 2, taking the storage cabinet 200 as an example, the storage cabinet 200 may include a cabinet body 210, and a plurality of cabinet boxes 220 may be disposed on the cabinet body 210, and the cabinet boxes are used for storing articles, and a user may put the articles into the cabinet boxes or take the articles out of the cabinet boxes. Here, each cabinet 220 includes a cabinet (not shown) and a door 230 rotatably coupled to one side of the cabinet and covering the cabinet. After the cabinet associated with the user is determined, the door of the cabinet can be correspondingly opened, so that the user can conveniently carry out the storage and taking processing of the articles.
In addition, a ceiling 240 can be further arranged on the storage cabinet, so that the user can be protected from the sun and rain, and the experience of the user in the process of using the storage cabinet is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for controlling a storage cabinet according to an embodiment of the disclosure, and the method illustrated in fig. 3 may be applied to the storage cabinet in fig. 2. As shown in fig. 3, the method includes steps S301 to S304, in which:
s301: the method comprises the steps of obtaining identity information of a target user, and determining a plurality of target cabinets associated with the identity information.
Here, the target user is a user who needs to use the target cabinet box in the storage cabinet.
Illustratively, the target user may be a courier to be delivered who needs to place items into the target bin; the target user may also be a user of an item to be removed who needs to remove the item from the target bin; the target user can also be a user of the articles to be stored, and the target user needs to use the target cabinet to deposit the articles; the target user may also be a manager, an operation and maintenance person, a cleaning person, or the like of the storage cabinet, which needs to perform maintenance on the target cabinet, which is not limited herein.
Optionally, referring to fig. 2, as shown in fig. 2, the cabinet body 210 may be provided with a video acquisition device 250 such as a camera or an interactive device 270 such as a service display screen, and the identity information of the target user is determined to be acquired in the case of performing face recognition, fingerprint recognition or receiving input information such as a pickup code and a mobile phone number input by the target user. The manner in which personal information is obtained and used herein can be found in the related description of paragraph 13 of the detailed description of the present disclosure.
Here, a plurality of target cabinets that can be used by the target users having different identities, such as a user who takes out an item, a user who stores an item, and a manager of the cabinet, may be determined respectively.
Specifically, for the target user that is a user who wants to take out an article and the manager of the storage cabinet, the storage cabinet is pre-entered with the identity information of the target user, so after the identity information of the target user is obtained, the identity information may be matched with pre-stored storage identity information to determine whether the target user can use the storage cabinet. Accordingly, in the case where there is identity information that is consistent with the identity information in the plurality of pieces of identity information, it may be determined that the target user may use the storage (has authority), and if there is no identity information that is consistent with the identity information in the plurality of pieces of identity information, it may be determined that the target user may not use the storage (does not have authority).
For example, by taking face recognition as an example, after the current face of the target user is acquired, the current face may be matched with a plurality of pre-stored faces, and under the condition that the stored face matched with the current face exists in the plurality of stored faces, it may be determined that the target user may use the storage cabinet.
For example, taking fingerprint identification as an example, after the current fingerprint of the target user is acquired, the current fingerprint may be matched with a plurality of pre-stored fingerprints, and in a case that the stored fingerprint matching the current fingerprint exists in the plurality of stored fingerprints, it may be determined that the target user may use the storage cabinet.
After determining that the target user can use the storage cabinet, a plurality of target cabinets that can be used by the target user can be further determined.
Specifically, when the target user is determined to be a user who wants to take out an item according to the identity information, the item to be taken away by the target user is stored in the storage cabinet, and when the identity information of the target user is input in advance, a cabinet box stored in association with the identity information, namely, a corresponding relationship between the identity information and the cabinet box is input at the same time, so that after the storage cabinet can be used by the target user, a plurality of target cabinet boxes associated with the identity information of the target user can be determined based on the pre-stored corresponding relationship between the identity information and the cabinet boxes, namely, the target cabinet boxes storing the item to be taken away by the target user are determined.
Correspondingly, for the target user who is a user of an article to be stored, at this time, the article to be taken away by the target user is not stored in the storage cabinet, that is, a plurality of target cabinets which can be used by the target user are not determined, at this time, the identity information of the target user can be obtained in real time based on the video acquisition device or the interaction device which is arranged on the cabinet body, and the target cabinet which is required to be used and is set by the target user can be received in response to the input operation of the target user, so that the corresponding relationship between the identity information and the cabinets is determined, and the plurality of target cabinets which are associated with the identity information of the target user are determined based on the corresponding relationship.
For example, the current face of the target user may be obtained through a face recognition technology, and a cabinet number input by the target user through the interaction device may be received, and the target cabinet required to be used by the target user is determined based on the cabinet number.
S302: and determining displacement information of a preset time period before the target user reaches the storage cabinet.
And the displacement information comprises the movement information of the target user in the process from being far away from the storage cabinet to being close to the storage cabinet within the preset time period until the target user reaches the storage cabinet.
The displacement is a directed line segment from an initial position to a final position, the size of the directed line segment is independent of the path, and the direction is from the starting point to the end point.
Optionally, in order to conveniently and accurately determine whether the target user reaches the front of the storage cabinet, a preset position may be preset, and when the target user reaches the preset position in front of the storage cabinet, it may be determined that the target user reaches the front of the storage cabinet, where the preset position may be a position within a preset range centered on the storage cabinet. For example, a position within a distance of 1m from the storage cabinet may be determined as the preset position. Then, displacement information of the target user for a preset time period before reaching the preset position may be determined.
It is understood that the displacement information includes an initial position of the target user at an initial time of the preset time period, an end position (e.g., a preset position) of the target user at an end time of the preset time period, and a direction from the initial position to the end position.
Here, the ending position is a position before the target user reaches the storage cabinet, and a direction from the initial position to the ending position is an arrival direction of the target user relative to the storage cabinet.
The length of the preset time period can be set according to actual conditions. For example, it may be set that the target user arrives at the storage cabinet 2min before the target user arrives at the storage cabinet.
In a possible embodiment, please refer to fig. 2 again, the cabinet 210 is provided with a video capture device 250; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring video data in the preset time period through the video acquisition equipment;
determining, for each image frame in the video data, a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each image frame relative to the cabinet body.
In the above steps, the video data collected by the video collecting device, such as a camera, in the preset time period may be obtained, then the video data may be decoded by using a video decoding technology, and then a plurality of image frames may be extracted from the video data.
The plurality of image frames extracted from the video data may be the extraction of the image frames for the entire video data, or the extraction of the image frames for the video data at a certain time interval. Then, after a plurality of image frames are acquired, for each image frame, the target user in the image frame may be identified and positioned by a detection algorithm or the like, and the cabinet in the image frame may be identified and positioned, so as to determine the position of the target user relative to the cabinet.
Specifically, for each image frame, article detection and task detection may be performed on the image frame through a detection algorithm, for example, an ICCV algorithm, so as to detect the cabinet and the target object, and further determine a position of the cabinet in the image frame and a position of the target user in the image frame, so as to determine a position of the target user relative to the cabinet.
Then, for all the image frames, the positions of the target user relative to the cabinet body in the two image frames can be compared according to the time sequence of the image frames, so that the initial position of the target user and the direction from the initial position to the end position can be determined, that is, the displacement information of the target user in the preset time period is determined.
In a possible embodiment, please refer to fig. 2 again, as shown in fig. 2, the cabinet 210 is provided with an infrared recognition device 260; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring a plurality of infrared images of the target user in the preset time period through the infrared identification equipment;
for each infrared image, determining a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each infrared image relative to the cabinet body.
In the above step, a plurality of infrared images acquired by the infrared recognition device such as an infrared detector in the preset time period may be acquired, where the target user radiates heat outwards and can be captured by the infrared recognition device, so that each infrared image includes an infrared thermal image corresponding to the target user, and a position of the target user in each infrared image may be determined. Then, for each infrared image, because the cabinet body does not emit sufficient heat like a human body, the target cabinet body in the infrared image can be identified and positioned in a detection algorithm and other manners, and the position of the cabinet body in each infrared image is determined, so that the position of the target user relative to the cabinet body can be determined. Then, for all the infrared images, the positions of the target user relative to the cabinet body in the two infrared images can be compared according to the acquisition sequence of the infrared images, so that the initial position of the target user and the direction from the initial position to the end position can be determined, that is, the displacement information of the target user in the preset time period is determined.
It should be noted that, in fig. 2, in order to better acquire video data and an infrared image, the video acquisition device and the infrared identification device are arranged at an upper left position and an upper right position of the cabinet body, which is not limited to this, one, two, or even multiple video acquisition devices and infrared identification devices on the cabinet body may be provided, and displacement information of the target user in the preset time period may be completely recorded.
S303: predicting a direction of departure of the target user relative to the storage bin based on the displacement information.
Here, in the case where the displacement information is determined, the direction of the target user with respect to the storage cabinet can be determined, and thus the direction of the target user leaving the storage cabinet can be predicted based on the direction of the target user with respect to the storage cabinet.
In a possible embodiment, the predicting the direction of departure of the target user relative to the storage cabinet based on the displacement information includes:
acquiring the position information of the storage cabinet, and determining the target place of the storage cabinet according to the position information;
and predicting the leaving direction of the target user relative to the storage cabinet based on the environmental information of the target place and the displacement information.
In the foregoing step, first, location information of the storage cabinet may be obtained, specifically, a Positioning chip, such as a Global Positioning System (GPS) chip, may be set on the storage cabinet in advance, and the location information of the storage cabinet is determined based on data collected by the Positioning chip, and optionally, the location information may include longitude and latitude of the storage cabinet. Then, the target location where the storage cabinet is located can be determined through the location information, and optionally, the target location can be determined by combining a preset map, where the preset map may include the storage cabinet and a preset area around the storage cabinet, and specifically, the preset map and the location information may be combined to locate a location corresponding to the location information in the preset map, for example, a building, so that the located location can be determined as the target location where the storage cabinet is located. Next, environment information of the target location may be determined, where the environment information may include internal environment information of the target location, external environment information, self-attribute information, and the like, where the internal environment information may include an internal structure, a layout, and the like of the target location, the external environment information may include information of other locations around the target location, and the like, and the self-attribute information may include a type, a use, and the like of the target location. In this way, by integrating the environmental information of the target location and the displacement information, the behavior information of the target user after using the target cabinet can be predicted, and the leaving direction of the target user relative to the storage cabinet can be determined.
In this embodiment, the environmental information of the target location may include a type of the target location, and when the leaving direction is predicted, current time information may be acquired, and the leaving direction of the target user with respect to the storage cabinet may be predicted based on the current time information, the type of the target location, and the displacement information.
For example, if the obtained location information of the storage cabinet is an external first floor of an office building and the current time information is thirty-eight am of monday, it may be determined that a target location where the storage cabinet is located is the office building, the type of the target location is a work location, and the displacement information indicates that the target user arrives at the storage cabinet from a direction away from a door of the office building, and at this time, it may be predicted that the target user will enter the office building to work after using the target cabinet box, so that it may be predicted that the departure direction is a direction from the storage cabinet to the door of the office building.
In another embodiment, the environmental information of the target location may include entrance layout information of the target location, and the exit direction of the target user with respect to the storage cabinet may be predicted based on the entrance layout information of the target location and the displacement information in order to predict the exit direction.
For example, if the obtained location information of the storage cabinet is inside a certain room, it may be determined that the target location where the storage cabinet is located is a room, the entrance and exit layout information of the target location indicates that the room has only one door, that is, the room has only one entrance and exit, and the displacement information indicates that the target user enters the storage cabinet from the door, at this time, it may be predicted that the target user will leave the room through the door after using the target cabinet box, and therefore, the leaving direction may be predicted to be a direction pointing from the storage cabinet to the door.
For example, if the location information of the storage cabinet is obtained as the inside of a certain room, it may be determined that the target location where the storage cabinet is located is a room, the entrance layout information of the target location indicates that the room has two doors a and b, that is, the room has two entrances and exits, a distance between the door a and the storage cabinet in the two doors is greater than a distance between the door b and the storage cabinet, and the displacement information indicates that the target user enters from the door a and arrives before the storage cabinet, at this time, it may be predicted that the target user will leave the room through the door closer to the storage cabinet after using the target cabinet box, and therefore, the leaving direction may be predicted as a direction from the storage cabinet to the door b.
In the embodiment of the present disclosure, the moving direction is predicted based on the displacement information in combination with the environmental information of the target location where the storage cabinet is placed, and in other embodiments, the moving direction may be predicted according to the historical behavior habit of the target user, so as to improve the matching degree between the predicted moving direction and the target user.
Accordingly, in one possible embodiment, the predicting the direction of departure of the target user relative to the storage cabinet based on the displacement information includes:
acquiring historical behavior data of the target user relative to the storage cabinet, wherein the historical behavior data comprises historical displacement information and historical departure direction;
and predicting the leaving direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information.
In the foregoing steps, first, history information of the target user using the storage cabinet may be obtained, and optionally, the history information may include a history usage record and history behavior data, where the history usage record may indicate a usage situation of the target user for a cabinet, specifically, which cabinet the target user uses, and the history behavior data may record history displacement information and a history leaving direction of the target user. In the present embodiment, the historical behavior data is mainly used, and when the leaving direction is predicted, the leaving direction of the target user with respect to the storage cabinet may be predicted based on the current displacement information and the historical leaving direction indicated by each of the historical behavior data. The manner in which the history information is obtained and used herein can be seen in the description of paragraph 13 of the detailed description of the disclosure.
In practical applications, there are usually multiple sets of historical behavior data, and for the multiple sets of historical behavior data, there may be a case where there is the same historical displacement information in the multiple sets of historical behavior data and there are corresponding different historical departure directions, and at this time, the departure directions may be predicted in combination with the number of occurrences of each historical departure direction.
Therefore, when the moving direction of the target user relative to the storage cabinet is predicted based on the historical behavior data and the displacement information, the historical movement information matching the displacement information may be determined from the historical behavior data, and then the historical moving direction corresponding to the historical movement information the most frequently is predicted as the moving direction of the target user relative to the storage cabinet.
In the above step, the displacement information may be firstly compared with the historical displacement information indicated by each historical behavior data, so as to determine historical displacement information matching with the displacement information, then a historical leaving direction corresponding to each historical displacement information may be determined, and then the number of times of occurrence of each historical leaving direction may be determined, where the historical leaving direction with the largest number of occurrences may be regarded as a leaving direction to which the target user is accustomed after using the storage cabinet, and therefore the historical leaving direction with the largest number of occurrences may be predicted as a leaving direction of the target user relative to the storage cabinet.
For example, if it is screened that the historical displacement information in 10 sets of historical behavior data matches the displacement information of this time, in the 10 sets of historical behavior data, 6 sets of historical behavior data include a historical leaving direction c,3 sets of historical behavior data include a historical leaving direction d, and 1 set of historical behavior data include a historical leaving direction e, it may be determined that the number of the historical leaving directions c is the largest, and therefore, the historical leaving direction c may be predicted as the leaving direction of the target user relative to the storage cabinet.
In practical applications, in most cases, the target user returns as it is after using the storage cabinet, so in order to increase the processing speed, in other embodiments, a direction opposite to the direction indicated by the displacement information may be predicted as the direction in which the target user leaves the storage cabinet.
S304: and determining the target door opening sequence of the target cabinets based on the leaving direction, and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence.
In this step, when the leaving direction of the target user relative to the storage cabinet is predicted, a target door opening sequence of the plurality of target cabinets can be generated for the target user in a targeted manner.
In a possible embodiment, the determining a target door opening sequence of the plurality of target cabinets based on the leaving direction includes:
determining the current position of the target user relative to the cabinet body, and determining the relative position relationship between the target cabinets and the current position respectively;
and determining the target door opening sequence of the target cabinets based on the leaving direction and the relative position relation between the target cabinets and the current position.
Here, if the door is opened, the target user may move from the current position to the front of the opened cabinet, and in order to reduce the moving distance of the target user, the current position of the target user relative to the cabinet may be determined first.
In a possible embodiment, referring to fig. 2, as shown in fig. 2, the cabinet 210 is provided with an interaction device 270; the determining a current position of the target user relative to the cabinet comprises:
after the identity information of the target user is acquired, determining the position of the interaction equipment on the cabinet body as the current position of the target user relative to the cabinet body.
It can be understood that, if the cabinet body is provided with the interaction device such as a service display screen, the identity information of the target user may be acquired through the interaction device, and the information of the target cabinet box may also be displayed for the target user through the interaction device, so that the target user may stand in front of the interaction device first when arriving at the storage cabinet, and thus the position of the interaction device on the cabinet body may be determined as the current position of the target user relative to the cabinet body.
In other embodiments, if no interaction device is disposed on the cabinet body, after the identity information of the target user is obtained, it may be determined which cabinet row the user currently stands in front of, and the position of any cabinet in the cabinet row on the cabinet body is determined as the current position of the target user relative to the cabinet body. Then, after determining the current position of the target user relative to the cabinet, the relative positional relationship of the plurality of target cabinets to the current position, respectively, may be determined.
Here, all the cabinets on the storage cabinet may be previously subjected to positioning processing to determine cabinet position information of each cabinet, and therefore, after the current position is determined, the relative positional relationship between each of the target cabinets and the current position may be determined based on the cabinet position information.
Optionally, a coordinate system may be established with a certain position on the cabinet body as an origin, so that a coordinate corresponding to each cabinet may be determined, and the cabinet position information of each cabinet may be represented by the coordinate.
For example, referring to fig. 1, as shown in fig. 1, the left lower position of the cabinet is used as an origin, the horizontal direction and the vertical direction are established in the horizontal rightward direction, and the vertical axis is established in the vertical upward direction, so that the cabinet position information of the cabinets 1 to 18 and the interaction device position information of the interaction device 19 can be obtained.
Then, a target door opening sequence of the target cabinets can be determined based on the leaving direction and the relative position relationship between the target cabinets and the current position.
In order to reduce the time consumption of the user in the process of accessing the storage cabinet, in one possible implementation, the target door opening sequence of the plurality of target cabinets may be determined according to the shortest moving distance required by the target user to leave the storage cabinet based on the leaving direction and the relative position relationship between the plurality of target cabinets and the current position respectively.
Specifically, when the leaving direction and the relative position relationship between the target cabinets and the current position are determined, the column in which all the target cabinets are located may be determined first, and then the target door opening sequence may be determined according to the sequence from the column far from the leaving direction to the column near the leaving direction.
For example, referring to fig. 1 at the same time, as shown in fig. 1, in the case that the cabinet is provided with the interaction device, the position of the interaction device 19 on the cabinet is determined as the current position of the target user relative to the cabinet, and if the target cabinets are 3, 5 and 17 and the departing direction is horizontal to the left, the shortest moving distance required by the target user to leave the storage cabinet can be determined as moving from the target user located position B to the column where the cabinet 17 is located first, and then moving from the right to the left to the column where the cabinet 3 is located, at which time the target door opening sequence of the plurality of target cabinets can be determined. Here, it can be known that the moving mode corresponding to the shortest moving distance is B-E-B-ase:Sub>A, and there are two door opening sequences corresponding to the shortest distance, which are 17-5-3 and 5-17-3, respectively.
Here, if there are at least two door opening sequences corresponding to the shortest moving distance, the target door opening sequence corresponding to the target user may be determined according to the user to take out an item or the user to store an item indicated by the identity information of the target user.
For example, if the identity information indicates that the target user is a user who handles an item to be taken out, 17-5-3 may be determined as the target door opening sequence in order to reduce the time for the user to hold the item, and correspondingly, if the identity information indicates that the target user is a user who handles an item to be stored, 5-17-3 may be determined as the target door opening sequence in order to reduce the time for the user to hold the item.
Optionally, if the target cabinets exist in the same column, in order to reduce the number of times that the target user bends, the target door opening sequence of the target cabinets may be determined in an order from top to bottom.
For example, if the target cabinets are 1, 2 and 3, the target door opening sequence may be 1-2-3.
Under the condition that the target door opening sequence of the target cabinets is determined, the cabinets doors of the target cabinets can be controlled to be opened in sequence according to the target door opening sequence.
Accordingly, in a possible implementation manner, in order to ensure the safety of the target user in the process of using the target cabinet, the door of the first cabinet may be controlled to be opened according to the target door opening sequence, and after detecting that the currently opened cabinet door is closed, the door of the next cabinet in the target door opening sequence is controlled to be opened until the door of the last cabinet in the target door opening sequence is opened.
For example, in the case that the target door opening sequence is 17-5-3, the door of the cabinet 17 may be first controlled to be opened, the door of the cabinet 5 may be controlled to be opened after the door of the cabinet 17 is detected to be closed, and the door of the cabinet 3 may be controlled to be opened after the door of the cabinet 5 is detected to be closed.
In other embodiments, in order to improve flexibility of the target user in using the target cabinet, the doors of the target cabinets may be controlled to be opened sequentially at preset time intervals according to the target door opening sequence.
For example, in the case that the target door opening sequence is 17-5-3, if the preset time interval is 20s, the door of the cabinet 17 may be controlled to be opened first, the time for opening the door of the cabinet 17 is 8 00, then the door of the cabinet 5 is controlled to be opened at 8.
It will be understood by those of skill in the art that in the above method of the present embodiment, the order of writing the steps does not imply a strict order of execution and does not impose any limitations on the implementation, as the order of execution of the steps should be determined by their function and possibly inherent logic.
The control method for the storage cabinet provided by the embodiment of the disclosure can determine a plurality of target cabinet boxes associated with a target user, and determine displacement information of a preset time period before the target user arrives at the storage cabinet, so as to predict the leaving direction of the target user relative to the storage cabinet, and determine the target door opening sequence of the plurality of target cabinet boxes by combining the leaving direction, and further control the doors of the plurality of target cabinet boxes to be sequentially opened according to the target door opening sequence.
Based on the same inventive concept, the embodiment of the present disclosure further provides a control apparatus for a storage cabinet corresponding to the control method for a storage cabinet, and since the principle of the apparatus in the embodiment of the present disclosure for solving the problem is similar to the control method for a storage cabinet described above in the embodiment of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not described again.
Referring to fig. 4, fig. 4 is a schematic view of a control device of a storage cabinet according to an embodiment of the disclosure. As shown in fig. 4, a control apparatus 400 of a storage cabinet provided in an embodiment of the present disclosure includes:
a cabinet determining module 410, configured to obtain identity information of a target user, and determine a plurality of target cabinets associated with the identity information;
an information determining module 420, configured to determine displacement information of a preset time period before the target user arrives at the storage cabinet;
a direction determination module 430, configured to predict a direction of departure of the target user relative to the storage cabinet based on the displacement information;
and the door opening control module 440 is configured to determine a target door opening sequence of the plurality of target cabinets based on the leaving direction, and control the cabinets doors of the plurality of target cabinets to be opened in sequence according to the target door opening sequence.
In a possible implementation, the direction determining module 430 is specifically configured to:
acquiring the position information of the storage cabinet, and determining a target place of the storage cabinet according to the position information;
and predicting the leaving direction of the target user relative to the storage cabinet based on the environmental information of the target place and the displacement information.
In a possible embodiment, the environmental information of the target site includes a type of the target site and/or entrance and exit layout information of the target site; the direction determining module 430 is specifically configured to:
acquiring current time information, and predicting the leaving direction of the target user relative to the storage cabinet based on the current time information, the type of the target place and the displacement information; or,
and predicting the leaving direction of the target user relative to the storage cabinet based on the entrance layout information and the displacement information of the target place.
In a possible implementation, the direction determining module 430 is specifically configured to:
obtaining historical behavior data of the target user relative to the storage cabinet, wherein the historical behavior data comprises historical displacement information and a historical departure direction;
and predicting the leaving direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information.
In a possible implementation, the direction determining module 430 is specifically configured to:
determining historical displacement information matched with the displacement information from the historical behavior data;
predicting the historical leaving direction with the maximum times corresponding to the historical displacement information as the leaving direction of the target user relative to the storage cabinet.
In a possible embodiment, the cabinet is provided with a video capture device; the information determining module 420 is specifically configured to:
acquiring video data in the preset time period through the video acquisition equipment;
determining, for each image frame in the video data, a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each image frame relative to the cabinet body.
In a possible embodiment, the cabinet is provided with an infrared identification device; the information determining module 420 is specifically configured to:
acquiring a plurality of infrared images of the target user in the preset time period through the infrared identification equipment;
for each infrared image, determining a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each infrared image relative to the cabinet body.
In a possible implementation manner, the door opening control module 440 is specifically configured to:
determining the current position of the target user relative to the cabinet body, and determining the relative position relationship between the target cabinets and the current position respectively;
and determining the target door opening sequence of the target cabinets based on the leaving direction and the relative position relation between the target cabinets and the current position.
In a possible implementation manner, the door opening control module 440 is specifically configured to:
and determining the target door opening sequence of the target cabinets according to the shortest moving distance required by the target user to leave the storage cabinet based on the leaving direction and the relative position relation between the target cabinets and the current position.
In one possible implementation, an interaction device is arranged on the cabinet body; the door opening control module 440 is specifically configured to:
after the identity information of the target user is acquired, determining the position of the interaction equipment on the cabinet body as the current position of the target user relative to the cabinet body.
In one possible implementation, the door opening control module 440 is specifically configured to:
controlling the door of the first cabinet to be opened according to the target door opening sequence, and controlling the door of the next cabinet in the target door opening sequence to be opened until the door of the last cabinet in the target door opening sequence is opened after the door of the currently opened cabinet is detected to be closed; or,
and controlling the doors of the target cabinets to be opened in sequence according to the target door opening sequence at preset time intervals.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
The control device for the storage cabinet provided by the embodiment of the disclosure can determine a plurality of target cabinet boxes associated with a target user, and determine displacement information of a preset time period before the target user arrives at the storage cabinet, thereby predicting the leaving direction of the target user relative to the storage cabinet, determining the target door opening sequence of the plurality of target cabinet boxes by combining the leaving direction, and further controlling the doors of the plurality of target cabinet boxes to be sequentially opened according to the target door opening sequence.
Corresponding to the control method of the storage cabinet in fig. 3, an embodiment of the present disclosure further provides an electronic device 500, as shown in fig. 5, which is a schematic structural diagram of the electronic device 500 provided in the embodiment of the present disclosure, and includes:
a processor 510, a memory 520, and a bus 530; the memory 520 is used for storing execution instructions and comprises a memory 521 and an external memory 522; the memory 521 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 510 and data exchanged with an external memory 522 such as a hard disk, the processor 510 exchanges data with the external memory 522 through the memory 521, and when the electronic device 500 operates, the processor 510 and the memory 520 communicate with each other through a bus 530, so that the processor 510 can execute the steps of the above-described control method of the storage cabinet.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 500. In other embodiments of the present application, the electronic device 500 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method for controlling a storage cabinet in the above method embodiment. The storage medium may be a volatile or non-volatile computer-readable storage medium.
An embodiment of the present disclosure further provides a computer program product, where the computer program product includes computer instructions, and the computer instructions, when executed by a processor, may perform the steps of the method for controlling a storage cabinet in the foregoing method embodiment.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK) or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and devices may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus, device and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which 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) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, but not to limit the technical solutions, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes and substitutions do not depart from the spirit and scope of the embodiments disclosed herein, and they should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. A control method of a storage cabinet is characterized in that the storage cabinet comprises a cabinet body and a plurality of cabinet boxes arranged on the cabinet body, the cabinet boxes are used for storing articles, each cabinet box is provided with a box door, and the method comprises the following steps:
acquiring identity information of a target user, and determining a plurality of target cabinets associated with the identity information;
determining displacement information of a preset time period before the target user reaches the storage cabinet;
predicting the leaving direction of the target user relative to the storage cabinet based on the displacement information;
and determining the target door opening sequence of the target cabinets based on the leaving direction, and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence.
2. The method of claim 1, wherein predicting the direction of departure of the target user relative to the storage bin based on the displacement information comprises:
acquiring the position information of the storage cabinet, and determining the target place of the storage cabinet according to the position information;
and predicting the leaving direction of the target user relative to the storage cabinet based on the environmental information of the target place and the displacement information.
3. The method of claim 2, wherein the environmental information of the target site includes a type of the target site and/or entrance and exit layout information of the target site; the predicting a direction of departure of the target user with respect to the storage cabinet based on the environmental information of the target location and the displacement information includes:
acquiring current time information, and predicting the leaving direction of the target user relative to the storage cabinet based on the current time information, the type of the target place and the displacement information; or,
and predicting the leaving direction of the target user relative to the storage cabinet based on the entrance layout information and the displacement information of the target place.
4. The method of claim 1, wherein predicting the direction of departure of the target user relative to the storage bin based on the displacement information comprises:
acquiring historical behavior data of the target user relative to the storage cabinet, wherein the historical behavior data comprises historical displacement information and historical departure direction;
and predicting the leaving direction of the target user relative to the storage cabinet based on the historical behavior data and the displacement information.
5. The method of claim 4, wherein predicting the direction of departure of the target user relative to the storage bin based on the historical behavior data and the displacement information comprises:
determining historical displacement information matched with the displacement information from the historical behavior data;
predicting the historical leaving direction with the maximum times corresponding to the historical displacement information as the leaving direction of the target user relative to the storage cabinet.
6. The method according to claim 1, characterized in that the cabinet is provided with a video capture device; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring video data in the preset time period through the video acquisition equipment;
determining, for each image frame in the video data, a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each image frame relative to the cabinet body.
7. The method according to claim 1, characterized in that the cabinet is provided with an infrared identification device; the determining of the displacement information of the target user in the preset time period before the target user arrives at the storage cabinet includes:
acquiring a plurality of infrared images of the target user in the preset time period through the infrared identification equipment;
for each infrared image, determining a position of the target user relative to the cabinet;
and determining displacement information of the target user in the preset time period based on the position of the target user in each infrared image relative to the cabinet body.
8. The method of claim 1, wherein said determining a target door opening order for the plurality of target cabinets based on the departure direction comprises:
determining the current position of the target user relative to the cabinet body, and determining the relative position relationship between the target cabinets and the current position respectively;
and determining the target door opening sequence of the target cabinets based on the leaving direction and the relative position relation between the target cabinets and the current position.
9. The method of claim 8, wherein determining the target door opening sequence of the plurality of target cabinets based on the departure direction and the relative positional relationship of the plurality of target cabinets to the current position, respectively, comprises:
and determining the target door opening sequence of the target cabinets according to the shortest moving distance required by the target user to leave the storage cabinet based on the leaving direction and the relative position relation between the target cabinets and the current position.
10. The method of claim 8, wherein the cabinet has an interaction device disposed thereon; the determining a current position of the target user relative to the cabinet comprises:
after the identity information of the target user is acquired, determining the position of the interaction equipment on the cabinet body as the current position of the target user relative to the cabinet body.
11. The method of claim 1, wherein the controlling the doors of the plurality of target cabinets to open in sequence according to the target door opening sequence comprises at least one of:
controlling the door of the first cabinet to be opened according to the target door opening sequence, and controlling the door of the next cabinet in the target door opening sequence to be opened until the door of the last cabinet in the target door opening sequence is opened after the door of the currently opened cabinet is detected to be closed; or,
and controlling the box doors of the target cabinet boxes to be opened in sequence according to the target door opening sequence at preset time intervals.
12. A control apparatus for a storage cabinet, the apparatus comprising:
the cabinet determining module is used for acquiring identity information of a target user and determining a plurality of target cabinets associated with the identity information;
the information determining module is used for determining displacement information of a preset time period before the target user reaches the storage cabinet;
the direction determining module is used for predicting the leaving direction of the target user relative to the storage cabinet based on the displacement information;
and the door opening control module is used for determining the target door opening sequence of the target cabinets based on the leaving direction and controlling the cabinets doors of the target cabinets to be opened in sequence according to the target door opening sequence.
13. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the method of controlling a storage cabinet according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the method of controlling a storage cabinet according to any one of claims 1 to 11.
CN202211052900.1A 2022-08-31 2022-08-31 Control method and device of storage cabinet, electronic equipment and storage medium Active CN115457706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211052900.1A CN115457706B (en) 2022-08-31 2022-08-31 Control method and device of storage cabinet, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211052900.1A CN115457706B (en) 2022-08-31 2022-08-31 Control method and device of storage cabinet, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115457706A true CN115457706A (en) 2022-12-09
CN115457706B CN115457706B (en) 2023-08-15

Family

ID=84301454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211052900.1A Active CN115457706B (en) 2022-08-31 2022-08-31 Control method and device of storage cabinet, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115457706B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115983802A (en) * 2023-03-03 2023-04-18 泰州市人民医院 Centralized file management terminal and file management method
CN116311691A (en) * 2022-12-21 2023-06-23 漫谷信息科技(苏州)有限公司 Intelligent cabinet using system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120319814A1 (en) * 2011-06-14 2012-12-20 International Business Machines Corporation Opening management through gait detection
CN109637048A (en) * 2019-01-31 2019-04-16 顺丰科技有限公司 Intellectual access system and intellectual access method
CN111435467A (en) * 2019-01-14 2020-07-21 菜鸟智能物流控股有限公司 Logistics object storage device, logistics object extraction method thereof and electronic equipment
CN111489111A (en) * 2019-01-28 2020-08-04 菜鸟智能物流控股有限公司 Logistics object management device, logistics object extraction method thereof and electronic equipment
CN112017375A (en) * 2020-08-24 2020-12-01 深圳市智莱科技股份有限公司 Method and device for indicating storage space position
CN112276955A (en) * 2020-10-30 2021-01-29 北京市商汤科技开发有限公司 Article distribution method, device and equipment and storage medium
CN112562284A (en) * 2020-12-04 2021-03-26 拉扎斯网络科技(上海)有限公司 Cabinet lattice door opening prompting method and device of intelligent cabinet and electronic equipment
CN112991602A (en) * 2019-12-18 2021-06-18 杭州海康威视数字技术股份有限公司 Bidirectional access control system and control method thereof
CN214955191U (en) * 2021-02-23 2021-11-30 光控特斯联(上海)信息科技有限公司 Express delivery storing compartment based on thing networking

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120319814A1 (en) * 2011-06-14 2012-12-20 International Business Machines Corporation Opening management through gait detection
CN111435467A (en) * 2019-01-14 2020-07-21 菜鸟智能物流控股有限公司 Logistics object storage device, logistics object extraction method thereof and electronic equipment
CN111489111A (en) * 2019-01-28 2020-08-04 菜鸟智能物流控股有限公司 Logistics object management device, logistics object extraction method thereof and electronic equipment
CN109637048A (en) * 2019-01-31 2019-04-16 顺丰科技有限公司 Intellectual access system and intellectual access method
CN112991602A (en) * 2019-12-18 2021-06-18 杭州海康威视数字技术股份有限公司 Bidirectional access control system and control method thereof
CN112017375A (en) * 2020-08-24 2020-12-01 深圳市智莱科技股份有限公司 Method and device for indicating storage space position
CN112276955A (en) * 2020-10-30 2021-01-29 北京市商汤科技开发有限公司 Article distribution method, device and equipment and storage medium
CN112562284A (en) * 2020-12-04 2021-03-26 拉扎斯网络科技(上海)有限公司 Cabinet lattice door opening prompting method and device of intelligent cabinet and electronic equipment
CN214955191U (en) * 2021-02-23 2021-11-30 光控特斯联(上海)信息科技有限公司 Express delivery storing compartment based on thing networking

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116311691A (en) * 2022-12-21 2023-06-23 漫谷信息科技(苏州)有限公司 Intelligent cabinet using system and method
CN116311691B (en) * 2022-12-21 2024-04-05 漫谷信息科技(苏州)有限公司 Intelligent cabinet using system and method
CN115983802A (en) * 2023-03-03 2023-04-18 泰州市人民医院 Centralized file management terminal and file management method

Also Published As

Publication number Publication date
CN115457706B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
US20230316762A1 (en) Object detection in edge devices for barrier operation and parcel delivery
CN115457706B (en) Control method and device of storage cabinet, electronic equipment and storage medium
US11974077B2 (en) Action detection during image tracking
US10229322B2 (en) Apparatus, methods and computer products for video analytics
JP6646176B1 (en) Autonomous store tracking system
US20240087141A1 (en) Image-based action detection using contour dilation
US10334411B2 (en) Tailgating detection
MX2007016406A (en) Target detection and tracking from overhead video streams.
CN107958258A (en) For following the trail of the method and system of the object in limited area
US11756216B2 (en) Object re-identification during image tracking
US11756211B2 (en) Topview object tracking using a sensor array
US11568554B2 (en) Contour-based detection of closely spaced objects
US11659139B2 (en) Determining candidate object identities during image tracking
TW200903386A (en) Target detection and tracking from video streams
US11900724B2 (en) System and method for providing machine-generated tickets to facilitate tracking
US20130080120A1 (en) Method for Optimal and Efficient Guard Tour Configuration Utilizing Building Information Model and Adjacency Information
US9098744B2 (en) Position estimation device, position estimation method, and program
CN109271847A (en) Method for detecting abnormality, device and equipment in unmanned clearing scene
JP2022539920A (en) Method and apparatus for matching goods and customers based on visual and gravity sensing
KR20220100887A (en) Action detection during image tracking
JP7230812B2 (en) Delivery management system, management server, delivery management method and program
CN112307864A (en) Method and device for determining target object and man-machine interaction system
CN111429194B (en) User track determination system, method, device and server
US10176379B1 (en) Integrating computer vision and wireless data to provide identification
US11928942B2 (en) Systems and methods for theft prevention and detection

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