CN111882702B - Door locking method, door locking control device, container and computer readable storage medium - Google Patents
Door locking method, door locking control device, container and computer readable storage medium Download PDFInfo
- Publication number
- CN111882702B CN111882702B CN202010634661.5A CN202010634661A CN111882702B CN 111882702 B CN111882702 B CN 111882702B CN 202010634661 A CN202010634661 A CN 202010634661A CN 111882702 B CN111882702 B CN 111882702B
- Authority
- CN
- China
- Prior art keywords
- door
- field communication
- near field
- signal
- communication signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00563—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00944—Details of construction or manufacture
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically 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
- G07C2009/0092—Electronically 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 cargo, freight or shipping containers and applications therefore in general
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Computer Networks & Wireless Communication (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention relates to the technical field of containers, and provides a door locking method, a door locking control device, a container and a computer readable storage medium. The door locking method comprises the following steps: a signal determination step: determining whether a first target device receives a second near field communication signal, wherein the second near field communication signal is a signal generated after the second target device receives a first near field communication signal sent by the first target device; one of the cabinet body and the door body of the container is the first target equipment, and the other one of the cabinet body and the door body of the container is the second target equipment; a door lock control step: and controlling the door lock state of the door body based on the determination result of the signal determination step. The control device comprises a signal determination module and a door lock control module. The container comprises a container body, a door body and a door locking control device, wherein one of the container body and the door body is provided with NFC master equipment, and the other one of the container body and the door body is provided with NFC slave equipment. The invention is based on the near field communication technology, and can avoid the phenomenon of lock cheating.
Description
Technical Field
The invention relates to the technical field of containers, in particular to a door locking method, a door locking control device, a container and a computer readable storage medium.
Background
With the continuous development of artificial intelligence and mobile payment, containers for automatic vending are more and more popular. At present, most containers determine the locking time according to the door magnetic signals of the door lock, and the phenomenon of locking in advance or locking cheating is easy to occur.
Taking the door magnet as an example, the magnet and the reed pipe of the door magnet are respectively arranged on the door body and the cabinet body. When the door body is close to the cabinet body, the magnet is close to the reed pipe, and the spring bolt falls down when the distance between the magnet and the reed pipe is smaller than the set distance. However, some users can implement the locking cheating action by means of other auxiliary tools such as magnets or magnetic isolation sheets, so that the lock tongue falls down in advance, the user cannot really lock the door body of the container, and then the goods loss is caused.
Disclosure of Invention
The present invention has been made to solve at least one of the problems occurring in the prior art or the related art. Therefore, the invention provides a door locking method with high reliability to avoid the phenomenon of lock cheating.
The invention also provides a door locking control device.
The invention also provides a container.
The invention also provides a computer readable storage medium.
According to a first aspect of the invention, a door locking method comprises the following steps:
a signal determination step: determining whether a first target device receives a second near field communication signal, wherein the second near field communication signal is a signal generated after a second target device receives a first near field communication signal sent by the first target device; one of the cabinet body and the door body of the container is the first target equipment, and the other one of the cabinet body and the door body of the container is the second target equipment;
a door lock control step: and controlling the door lock state of the door body based on the determination result of the signal determination step.
According to the door locking method provided by the embodiment of the invention, the second near field communication signal is generated after the second target device receives the first near field communication signal, so that the uniqueness of the signal can be ensured, the state of the door lock is controlled based on whether the first target device receives the second near field communication signal, and the phenomenon of cheating the lock can be avoided.
In addition, the door locking method according to the embodiment of the invention may further have the following additional technical features:
according to an embodiment of the present invention, the door lock controlling step includes the steps of:
determining whether a door open request signal is received based on the first target device receiving the second near field communication signal;
the door lock is controlled to be in a lock-falling state when the door opening request signal is not received;
and receiving the door opening request signal, and controlling the door lock to be in an opening state.
According to an embodiment of the invention, before performing the signal determining step, the method further comprises the steps of:
a frequency control step: and controlling the first target device to transmit the first near field communication signal according to a first frequency.
According to an embodiment of the present invention, the door lock controlling step includes the steps of:
determining whether a door open request signal is received based on the first target device not receiving the second near field communication signal;
the door opening request signal is not received, and a human-shaped image of the periphery of the container and/or a control alarm are/is acquired;
and receiving the door opening request signal, and controlling the first target device to send the first near field communication signal according to a second frequency, wherein the first frequency is greater than the second frequency.
According to an embodiment of the present invention, the door lock controlling step includes the steps of:
receiving the door opening request signal, and controlling timing;
and within a preset time duration, the first target equipment does not receive the second near field communication signal and controls to play a voice prompt.
According to an embodiment of the present invention, the door lock controlling step includes the steps of:
determining whether the strength of the second near field communication signal is greater than a preset signal strength based on the first target device receiving the second near field communication signal;
the strength of the second near field communication signal is greater than the preset signal strength, and whether a door opening request signal is received or not is determined;
the door lock is controlled to be in a lock-falling state when the door opening request signal is not received;
and receiving the door opening request signal, and controlling the door lock to be in an opening state.
According to an embodiment of the present invention, the door lock controlling step includes the steps of:
determining whether the strength of the second near field communication signal is greater than a preset signal strength based on the first target device receiving the second near field communication signal;
the strength of the second near field communication signal is not greater than the preset signal strength, and whether a door opening request signal is received or not is determined;
the door opening request signal is not received, and a human-shaped image of the periphery of the container and/or a control alarm are/is acquired;
and receiving the door opening request signal, and controlling the first target device to send the first near field communication signal according to a second frequency, wherein the first frequency is greater than the second frequency.
According to an embodiment of the present invention, the door lock controlling step includes the steps of:
receiving the door opening request signal, and controlling timing;
and within a preset time duration, the strength of the second near field communication signal is not greater than the preset signal strength, and voice prompt playing is controlled.
According to an embodiment of the present invention, before the door lock controlling step is performed, the method further includes the steps of:
a door lock determining step: determining whether the door lock is in an open state;
and if the door lock is in an open state, the step of controlling the door lock to be in a lock-falling state comprises controlling the door lock to fall.
According to a second aspect of the present invention, a door lock control device includes:
the device comprises a signal determining module, a signal processing module and a signal processing module, wherein the signal determining module is used for determining whether a first target device receives a second near field communication signal, and the second near field communication signal is a signal generated after the second target device receives a first near field communication signal sent by the first target device; one of the cabinet body and the door body of the container is the first target equipment, and the other one of the cabinet body and the door body of the container is the second target equipment;
and the door lock control module is used for controlling the door lock state of the door body based on the determination result of the signal determination step.
According to the third aspect of the invention, the container comprises a cabinet body, a door body and the door locking control device, wherein one of the cabinet body and the door body is provided with an NFC master device, and the other one is provided with an NFC slave device; the NFC master device is used for sending a first near field communication signal and receiving a second near field communication signal; the NFC slave device is used for receiving the first near field communication signal and sending the second near field communication signal.
A computer-readable storage medium according to an embodiment of the fourth aspect of the invention has stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned door locking method.
One or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:
according to the door lock control method and device, based on the near field communication technology, after the first near field communication signal sent by the first target device is received by the second target device, the second target device can send the second near field communication signal outwards, and therefore the door lock state of the door body is controlled based on whether the first target device receives the second near field communication signal or not. The second near field communication signal is generated after the second target device receives the first near field communication signal, so that the uniqueness of the signal can be ensured, the state of the door lock is controlled based on whether the first target device receives the second near field communication signal, and the phenomenon of cheating the lock can be avoided.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a door locking method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another door locking method provided by the embodiment of the invention;
FIG. 3 is a schematic flow chart of another door locking method according to an embodiment of the present invention;
fig. 4 is a schematic view of a door locking control device according to an embodiment of the present invention;
FIG. 5 is a schematic view of a container according to an embodiment of the present invention;
FIG. 6 is an enlarged view of FIG. 5 at A;
fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Reference numerals:
100. a cabinet body; 200. a door body; 310. an NFC master device; 320. an NFC slave device; 410. a signal determination module; 420. a door lock control module; 510. a processor; 520. a memory; 530. a communication interface; 540. a communication bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the embodiments of the present invention, it should be noted that the terms "upper", "lower", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only used for convenience in describing the embodiments of the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have specific orientations, be constructed in specific orientations, and be operated, and thus, should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "second," "first," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the embodiments of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "connected" and "connected" are to be interpreted broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. Specific meanings of the above terms in the embodiments of the present invention may be understood as specific cases by those of ordinary skill in the art.
In embodiments of the invention, unless expressly stated or limited otherwise, a second feature "on" or "under" a first feature may be directly contacting the second feature or the second and first features may be indirectly contacting each other through intervening media. Also, a second feature "on," "above," and "over" a first feature may be directly or diagonally above the first feature, or simply indicate that the second feature is at a higher level than the first feature. A second feature "under," "below," and "beneath" a first feature may be directly or obliquely under the first feature, or simply mean that the second feature is at a lesser elevation than the first feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Fig. 1 is a schematic flow chart of a door locking method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
With reference to fig. 5 and fig. 6, a door locking method in an embodiment of the present invention is described below by taking a first target device as a cabinet 100 and a second target device as a door 200 as an example, where the above-mentioned cabinet 100 generally refers to a cabinet with an NFC master device 310, and the above-mentioned door 200 generally refers to a door with an NFC slave device 320:
the cabinet 100 sends a first near field communication signal according to a certain frequency, and in the closing process of the door body 200, after the door body 200 receives the first near field communication signal sent by the cabinet 100, the door body 200 sends a second near field communication signal outwards. The second near field communication signal is generated after the door body 200 receives the first near field communication signal, so that the uniqueness of the signal can be ensured, the state of the door lock is controlled based on whether the cabinet body 100 receives the second near field communication signal, and the phenomenon of lock cheating can be avoided.
It should be noted that the first target device may also be the door body 200, and in this case, the second target device is the cabinet 100. In the closing process of the door body 200, after the cabinet 100 receives the first near field communication signal sent by the door body 200, the cabinet 100 sends a second near field communication signal to the outside. Furthermore, the first target device may transmit the first near field communication signal according to its own predetermined program, or may be adjusted by the frequency operation procedure, for example, control the first target device to transmit the first near field communication signal according to the first frequency.
Based on the determination result of the signal determination step, the manner of controlling the door lock state of the door body 200 may be various, for example:
the first mode is mainly for a case that the mounting process of the NFC master device 310 and the NFC slave device 320 is high, that is, the mounting process of the NFC master device 310 and the NFC slave device 320 can meet the requirement that the NFC master device 310 can receive the second near field communication signal sent by the NFC slave device 320 only when the door body 200 is attached to the frame of the cabinet 100, that is, when the door body 200 is closed to the cabinet 100.
In this case, as shown in fig. 2, the door locking method includes the steps of:
step 100: determining whether the first target device receives a second near field communication signal;
step 2011: the first target device receives the second near field communication signal, which indicates that the door body 200 is closed in the cabinet 100 at this time, and determines whether a door opening request signal is received; the door opening request signal is a signal sent by a user in a code scanning or face recognition mode and the like;
step 2012: if the door opening request signal is not received, controlling the door lock to be in a lock falling state; the "controlling the door lock in the lock-out state" referred to herein can be divided into two cases: one is that if the door lock is in an open state, the door lock is controlled to be locked; in another case, if the door lock is in a lock-off state, the door lock may be controlled to maintain the current state. In order to distinguish between the two cases, before the step 2011 is executed, a door lock determination step may be executed to determine whether the door lock is in an open state.
Step 2013: and receiving the door opening request signal, indicating that the user takes the goods, and controlling the door lock to be in an opening state.
Step 2021: the first target device does not receive the second near field communication signal, which indicates that the door body 200 is opened at the moment, and determines whether a door opening request signal is received or not;
step 2022: when the door opening request signal is not received, it is indicated that the door body 200 is abnormally opened, that is, the door body 200 is opened under the condition that the user does not request to open the door in a regular mode such as code scanning or face recognition, and a condition of opening the door violently may exist, so that a man-shaped image of the periphery of the container and/or a control alarm can be obtained at the moment;
step 2023: if the door opening request signal is received, it indicates that the door body 200 is normally opened, and then to improve the detection sensitivity, the first target device is controlled to increase the frequency of sending the first near field communication signal, that is, the first target device is controlled to send the first near field communication signal according to the second frequency, where the first frequency is greater than the second frequency.
In addition, considering that the user may forget to close the door for settlement after shopping, in order to remind the user in time, the method further comprises the following steps:
step 2024: receiving the door opening request signal, controlling the timing
Step 2025: within the preset time duration, the first target device does not receive the second near field communication signal, that is, the door body 200 is not closed in the cabinet body 100, and then the voice prompt is controlled to be played to remind the user to close the door for settlement. Wherein the expected timing duration can be determined according to the shopping duration common to the user.
The second mode is mainly directed to the case that the mounting processes of the NFC master device 310 and the NFC slave device 320 are not too high, that is, the mounting processes of the NFC master device 310 and the NFC slave device 320 cannot meet the condition that the NFC master device 310 can receive the second near-field communication signal sent by the NFC slave device 320 only when the door body 200 is attached to the frame of the cabinet 100, and it is likely that the NFC master device 310 can receive the second near-field communication signal sent by the NFC slave device 320 when a gap still exists between the door body 200 and the cabinet 100.
In this case, in order to improve the reliability and accuracy of the detection, on the basis that the first target device receives the second near field communication signal, the strength of the second near field communication signal needs to be determined, specifically, as shown in fig. 3, the door lock method includes the following steps:
step 100: determining whether the first target device receives a second near field communication signal;
step 2031: when the first target device receives the second near field communication signal, it indicates that the door body 200 is already closed in the cabinet body 100, or the door body 200 is not yet closed in the cabinet body 100, that is, a gap still exists between the door body 200 and the cabinet body 100, and at this time, it may be determined whether the intensity of the second near field communication signal is greater than the preset signal intensity;
step 2032: if the strength of the second near field communication signal is greater than the preset signal strength, it indicates that the door body 200 is closed in the cabinet 100, and at this time, it may be determined whether a door opening request signal is received; the door opening request signal is a signal sent by a user in a code scanning or face recognition mode and the like;
step 2033: if the door opening request signal is not received, controlling the door lock to be in a lock falling state; the "controlling the door lock in the unlocked state" can be divided into two cases: one is that if the door lock is in an open state, the door lock is controlled to be locked; in another case, if the door lock is in a lock-out state, the door lock may be controlled to be kept in the present state. In order to distinguish the two cases, before step 2031 is performed, a door lock determination step may be performed to determine whether the door lock is in an open state.
Step 2034: and receiving the door opening request signal, indicating that the user takes the goods, and controlling the door lock to be in an opening state.
Step 2041: if the strength of the second near field communication signal is not greater than the preset signal strength, it indicates that the door body 200 is not closed in the cabinet body 100 at this time, and it is determined whether a door opening request signal is received;
step 2042: the door opening request signal is not received, which indicates that the door body 200 is abnormally opened, that is, the door body 200 is opened under the condition that the user does not request to open the door in a regular mode such as code scanning or face recognition, and the like, and the door can be opened violently, so that the people-type image of the periphery of the container and/or control alarm can be obtained at the moment;
step 2043: if the door opening request signal is received, it indicates that the door body 200 is normally opened, and then to improve the detection sensitivity, the first target device is controlled to increase the frequency of sending the first near field communication signal, that is, the first target device is controlled to send the first near field communication signal according to the second frequency, where the first frequency is greater than the second frequency.
In addition, considering that the user may forget to close the door for settlement after shopping, the method also comprises the following steps in order to remind the user in time;
step 2044: receiving the door opening request signal, controlling the timing
Step 2045: within the preset time duration, the strength of the second near field communication signal is not greater than the preset signal strength, which indicates that the door body 200 is not closed in the cabinet body 100 at this time, and then the voice prompt is controlled to be played to remind the user to close the door for settlement. Wherein the expected timed duration may be determined based on the duration of shopping for most users.
As shown in fig. 4, an embodiment of the present invention further provides a door lock control apparatus, where the apparatus includes a signal determining module 410 and a door lock control module 420, where the signal determining module 410 is configured to determine whether the first target device receives a second near field communication signal, where the second near field communication signal is a signal generated by the second target device after receiving the first near field communication signal sent by the first target device; one of the cabinet body 100 and the door body 200 of the container is first target equipment, and the other one is second target equipment; the door lock control module 420 is configured to control a door lock state of the door body 200 based on the determination result of the signal determination step.
Further, the device further comprises a frequency control module and a door lock determination module, wherein the frequency control module is used for controlling the first target equipment to send a first near field communication signal according to a first frequency; the door lock determining module is used for determining whether the door lock is in an open state.
As shown in fig. 7, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 520, a communication interface 530, and a computer program stored in the memory 520 and executable on the processor 510, wherein the processor 510, the communication interface 530, and the memory 520 are configured to communicate with each other via a communication bus 540. Processor 510 may call logic instructions in memory 520 to perform the above-described lock gate method.
In addition, the logic instructions in the memory 520 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
It should be noted that the electronic device may be, but is not limited to, a container. When the electronic device is a container, as shown in fig. 5 and fig. 6, the container includes the cabinet 100, the door 200, and the door locking control device, one of the cabinet 100 and the door 200 has the NFC master device 310, and the other has the NFC slave device 320; the NFC master device 310 is configured to send a first near field communication signal and receive a second near field communication signal; the NFC slave device 320 is configured to receive a first near field communication signal and transmit a second near field communication signal.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the dew removal method described above.
The above-described embodiments of the apparatus are merely illustrative, and 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 position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the invention, but not to limit it; although the invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (9)
1. A door locking method, wherein one of a first target device and a second target device has an NFC master device, and the other has an NFC slave device, the door locking method comprising the steps of:
a signal determination step: determining whether a first target device receives a second near field communication signal, wherein the second near field communication signal is a signal generated after the second target device receives a first near field communication signal sent by the first target device; one of the cabinet body and the door body of the container is the first target equipment, and the other one of the cabinet body and the door body of the container is the second target equipment;
a door lock control step: controlling a door lock state of the door body based on a determination result of the signal determination step;
the door lock control step includes the steps of:
determining whether the strength of the second near field communication signal is greater than a preset signal strength based on the first target device receiving the second near field communication signal;
the strength of the second near field communication signal is greater than the preset signal strength, and whether a door opening request signal is received or not is determined;
the door lock is controlled to be in a lock-falling state when the door opening request signal is not received;
receiving the door opening request signal, and controlling the door lock to be in an opening state;
before the signal determining step is performed, the method further comprises the following steps:
a frequency control step: controlling the first target device to transmit the first near field communication signal at a first frequency;
the door lock controlling step further comprises the steps of:
determining whether the strength of the second near field communication signal is greater than a preset signal strength based on the first target device receiving the second near field communication signal;
the strength of the second near field communication signal is not greater than the preset signal strength, and whether a door opening request signal is received or not is determined;
the door opening request signal is not received, and a human-shaped image of the periphery of the container and/or a control alarm are/is acquired;
and receiving the door opening request signal, and controlling the first target equipment to send the first near field communication signal according to a second frequency, wherein the first frequency is greater than the second frequency.
2. The door-locking method of claim 1, wherein the door-lock controlling step comprises the steps of:
determining whether a door open request signal is received based on the first target device receiving the second near field communication signal;
the door lock is controlled to be in a lock-falling state when the door opening request signal is not received;
and receiving the door opening request signal, and controlling the door lock to be in an opening state.
3. The door-locking method according to claim 1, wherein the door-lock controlling step comprises the steps of:
determining whether a door open request signal is received based on the first target device not receiving the second near field communication signal;
the door opening request signal is not received, and a human-shaped image of the periphery of the container and/or a control alarm are/is acquired;
and receiving the door opening request signal, and controlling the first target device to send the first near field communication signal according to a second frequency, wherein the first frequency is greater than the second frequency.
4. The door-locking method of claim 3, wherein the door-lock controlling step comprises the steps of:
receiving the door opening request signal, and controlling timing;
and within a preset time length, the first target equipment does not receive the second near field communication signal and controls to play a voice prompt.
5. The door-locking method of claim 1, wherein the door-lock controlling step comprises the steps of:
receiving the door opening request signal, and controlling timing;
and within a preset time duration, the strength of the second near field communication signal is not greater than the preset signal strength, and voice prompt playing is controlled.
6. The door-locking method according to claim 2 or 1, further comprising, before the door-lock control step, the steps of:
a door lock determining step: determining whether the door lock is in an open state;
and if the door lock is in an open state, the step of controlling the door lock to be in a lock-falling state comprises controlling the door lock to fall.
7. A door lock control device, comprising:
the device comprises a signal determining module, a signal processing module and a signal processing module, wherein the signal determining module is used for determining whether a first target device receives a second near field communication signal, and the second near field communication signal is a signal generated after the second target device receives a first near field communication signal sent by the first target device; one of the cabinet body and the door body of the container is the first target equipment, and the other one of the cabinet body and the door body of the container is the second target equipment;
the door lock control module is used for controlling the door lock state of the door body based on the determination result of the signal determination step; the door lock control module is further used for determining whether the intensity of the second near field communication signal is greater than the preset signal intensity or not based on the fact that the first target device receives the second near field communication signal; the strength of the second near field communication signal is greater than the preset signal strength, and whether a door opening request signal is received or not is determined; the door lock is controlled to be in a lock-falling state when the door opening request signal is not received; receiving the door opening request signal, and controlling the door lock to be in an opening state;
the door lock control module is further used for controlling the first target device to send the first near field communication signal according to a first frequency, and determining whether the strength of the second near field communication signal is greater than a preset signal strength based on the fact that the first target device receives the second near field communication signal; the strength of the second near field communication signal is not greater than the preset signal strength, and whether a door opening request signal is received or not is determined; the door opening request signal is not received, and a human-shaped image of the periphery of the container and/or a control alarm are/is acquired; and receiving the door opening request signal, and controlling the first target device to send the first near field communication signal according to a second frequency, wherein the first frequency is greater than the second frequency.
8. A freight container, comprising a cabinet body, a door body, and the door locking control apparatus of claim 7, one of the cabinet body and the door body having an NFC master device and the other having an NFC slave device; the NFC master device is used for sending a first near field communication signal and receiving a second near field communication signal; the NFC slave device is used for receiving the first near field communication signal and sending the second near field communication signal.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the door locking method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010634661.5A CN111882702B (en) | 2020-07-02 | 2020-07-02 | Door locking method, door locking control device, container and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010634661.5A CN111882702B (en) | 2020-07-02 | 2020-07-02 | Door locking method, door locking control device, container and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111882702A CN111882702A (en) | 2020-11-03 |
CN111882702B true CN111882702B (en) | 2022-11-15 |
Family
ID=73149984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010634661.5A Active CN111882702B (en) | 2020-07-02 | 2020-07-02 | Door locking method, door locking control device, container and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111882702B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701545A (en) * | 2013-12-31 | 2014-04-02 | 深圳市汇顶科技股份有限公司 | Access detection method and device of near field communication |
CN107491799A (en) * | 2017-08-14 | 2017-12-19 | 华中科技大学 | A kind of switch gate condition detection method and device based on RFID |
CN111305655A (en) * | 2020-03-31 | 2020-06-19 | 青岛海容商用冷链股份有限公司 | Intelligent lock of display cabinet and display cabinet |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1284150A (en) * | 1997-12-24 | 2001-02-14 | 洛克川尼克工业有限公司 | Electric lock |
CN101115031A (en) * | 2006-07-26 | 2008-01-30 | 株式会社Ntt都科摩 | Rerouting method and apparatus for mobile gateway |
CN101645129B (en) * | 2008-08-05 | 2013-02-13 | 爱思开电讯投资(中国)有限公司 | Method and device for providing security in near field communication |
KR20130010717A (en) * | 2011-07-19 | 2013-01-29 | 현대모비스 주식회사 | Smart key apparatus for strengthening security and method thereof |
CN102970063B (en) * | 2012-10-26 | 2015-12-16 | 北京三星通信技术研究有限公司 | The method of near-field communication and equipment thereof |
CN103489238A (en) * | 2013-09-09 | 2014-01-01 | 张家港市企飞软件科技有限公司 | NFC (Near Field Communication) control lockset |
US20150278803A1 (en) * | 2014-03-28 | 2015-10-01 | Google Inc. | Near field communication field detection |
CN104978781B (en) * | 2014-04-02 | 2017-09-22 | 深圳市方卡科技股份有限公司 | A kind of electronic lock system based on NFC, electronic lock and method for unlocking |
TW201623056A (en) * | 2014-12-30 | 2016-07-01 | 富智康(香港)有限公司 | Automobile safety system and method |
CN105133954B (en) * | 2015-06-25 | 2018-09-18 | 安恒世通(北京)网络科技有限公司 | A kind of intelligent lock |
CN108475459B (en) * | 2015-12-31 | 2020-11-03 | 罗伯特·博世有限公司 | Door/window magnetic sensing apparatus and method of installation |
CN106856019A (en) * | 2017-01-04 | 2017-06-16 | 四川星门科技有限公司 | A kind of gate inhibition's burglary-resisting system based on NFC technique |
CN106707943A (en) * | 2017-03-13 | 2017-05-24 | 胡渐佳 | Household appliance control system based on monitoring of electronic device |
-
2020
- 2020-07-02 CN CN202010634661.5A patent/CN111882702B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701545A (en) * | 2013-12-31 | 2014-04-02 | 深圳市汇顶科技股份有限公司 | Access detection method and device of near field communication |
CN107491799A (en) * | 2017-08-14 | 2017-12-19 | 华中科技大学 | A kind of switch gate condition detection method and device based on RFID |
CN111305655A (en) * | 2020-03-31 | 2020-06-19 | 青岛海容商用冷链股份有限公司 | Intelligent lock of display cabinet and display cabinet |
Also Published As
Publication number | Publication date |
---|---|
CN111882702A (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108416909B (en) | Intelligent sales counter and intelligent vending method | |
KR102185103B1 (en) | Luggage management system and luggage management method | |
CN207624039U (en) | A kind of vending system | |
CN104123623B (en) | Electronic cabinet cell locking system and method | |
JP2006262942A (en) | Coin-operated laundry utilization system | |
CN105844737A (en) | Camera based electronic lock system and use method | |
CN101625716A (en) | Method for preventing peep on computer and computer with method | |
CN106952445A (en) | A kind of anti-abduction alarm method of domestic intelligent cloud lock and its system | |
CN105818745A (en) | Processing method and device for ensuring safe opening of car door | |
CN111882702B (en) | Door locking method, door locking control device, container and computer readable storage medium | |
CN111140091B (en) | Container locking method, control device, container, electronic device and storage medium | |
CN109697797A (en) | A kind of express mail cabinet, express mail cabinet control method and express mail cabinet control device | |
CN107492167A (en) | A kind of method, apparatus and computer-readable recording medium for releasing door-control lock | |
CN105389898B (en) | Improve the method and apparatus of express mail cabinet security | |
CN113129486A (en) | Vehicle lock control method, terminal device, HID vehicle lock device and electronic device | |
EP1791097A1 (en) | Peripheral devices for gaming device, management server and gaming system therewith | |
JP2020024699A (en) | Baggage management system and baggage management method | |
CN109775178A (en) | Intelligent waste recovery method | |
CN109064675A (en) | Luggage Deposit verification method, device and intelligent inbox | |
CN111932791B (en) | Control method and control device of storage cabinet and storage cabinet | |
US20210312372A1 (en) | Information processing apparatus, information processing method, and information processing system | |
CN109972708A (en) | Lavatory and its control method with Intelligent storage cabinet | |
CN105719373A (en) | Good container system and method for opening goods containers | |
CN211207405U (en) | Safe deposit box | |
CN111833547A (en) | Control method of storage cabinet, control device of storage cabinet and server |
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 |