A kind of express query method and system based on intelligent door lock
By using the space-time trajectory matching of express RFID and deliveryman RFID in smart door locks, the problem of the single RFID function of existing door locks cannot be verified for express disputes, the express query and trajectory positioning are realized, and the platform's computing volume is reduced.
Patent Information
- Application Number
- CN202510338406.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-03-21
AI Technical Summary
The existing door lock has a single RFID function and is only used for opening and closing locks. It cannot effectively solve the problem of collecting evidence for disputes such as whether express parcels are delivered or misdelivered.
Through the matching of the space-time trajectory of two RFIDs (Quit RFID, Delivery RFID) we can help find relevant clues for express parcels and realize express query and trajectory positioning.
It provides clues to help find express parcels through RFID trajectory matching, giving priority to triggering door lock responses on top and ground floors, and reducing platform computing volume.
Smart Images

Figure CN119851389B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart door locks, and in particular to a method and system for querying express delivery based on smart door locks. Background Art
[0002] In the prior art, general door locks also have the ability to convert facial images into facial feature vectors through neural networks, store them, and associate them with family members. With the in-depth use of RFID, RFID doors or access control systems have been widely used in the prior art. For example, patent CN104063921B involves a door lock device combination based on RFID sensing, which transmits RFID wireless signals to RFID return modules through RFID transponder modules, and RFID return modules feed back the RFID wireless signals to RFID reading modules. The control module controls the unlocking unit to open, so that the door lock body is unlocked.
[0003] However, the current door lock RFID has a single function, which is only used for opening and closing the door. In addition, there are often disputes over whether express parcels have been delivered or misdelivered, etc. Summary of the invention
[0004] The purpose of the embodiment of the present invention is to provide a method for matching the spatiotemporal trajectories of two RFIDs (express RFID and deliveryman RFID) to help find relevant clues about express parcels, respond to as few messages as possible, and reduce the amount of platform calculation as much as possible.
[0005] A first aspect of the present invention provides a method for querying express delivery based on a smart door lock, wherein the smart door lock includes an RFID reader; the method includes:
[0006] According to the express query request, determine the first RFID and the second RFID corresponding to the express, and forward them to the door lock management platform; the first RFID is the express RFID, and the second RFID is the deliveryman RFID;
[0007] Sending a search message to the smart door lock registered under the door lock management platform according to the door lock management platform; the search message includes the first RFID and the second RFID;
[0008] Determine the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and send a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and its corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock;
[0009] A first track corresponding to the first RFID and a second track corresponding to the second RFID are determined according to the first response message, and an overlapping portion of the first track and the second track is determined to be a courier movement track.
[0010] Further, the types of the first RFID and the second RFID are high frequency RFID or ultra high frequency RFID;
[0011] The method of determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform includes:
[0012] In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time;
[0013] The read record is queried according to the received search message, the record matching the first RFID and the second RFID is determined, and a first response message is generated.
[0014] Further, the method of determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform, further includes:
[0015] Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message;
[0016] If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
[0017] Furthermore, the method further comprises a door lock registration step; the door lock registration step comprises: the smart door lock uploads the facial images of family members to the door lock management platform respectively;
[0018] The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
[0019] The determining, according to the first response message, a first track corresponding to the first RFID and a second track corresponding to the second RFID includes:
[0020] Generate corresponding location information according to the first RFID name and / or the second RFID name in the first response message and the room number information of the smart door lock that reads the RFID;
[0021] A first track corresponding to the first RFID and a second track corresponding to the second RFID are generated according to the location information and the reading time in the first response message.
[0022] In addition, a second aspect of the present invention provides a courier query system based on a smart door lock, wherein the smart door lock includes an RFID reader; the system includes a query module, a retrieval module, a response module, and a determination module, wherein:
[0023] A query module, used to determine the first RFID and the second RFID corresponding to the express delivery according to the express delivery query request, and forward it to the door lock management platform; the first RFID is the express delivery RFID, and the second RFID is the delivery person RFID;
[0024] A retrieval module, used to send a retrieval message to a smart door lock registered under the door lock management platform according to the door lock management platform; the retrieval message includes a first RFID and a second RFID;
[0025] A response module, used to determine the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the search message, and send a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and the corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock;
[0026] A determination module is used to determine a first track corresponding to the first RFID and a second track corresponding to the second RFID according to the first response message, and determine that the overlapping part of the first track and the second track is the express movement track.
[0027] Furthermore, the types of the first RFID and the second RFID are high frequency RFID or ultra high frequency RFID; the response module is further used for:
[0028] In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time; the reading record is queried according to the received retrieval message, the records matching the first RFID and the second RFID are determined, and a first response message is generated.
[0029] Furthermore, the response module is also used for:
[0030] Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message;
[0031] If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
[0032] The system further includes a door lock registration module; the door lock registration module is used to:
[0033] The smart door lock uploads the facial images of family members to the door lock management platform;
[0034] The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
[0035] In addition, the third aspect of the present invention provides a storage medium, which stores a computer program; the program is loaded and executed by a processor to implement the steps of the express query method based on the smart door lock as described in the first aspect above.
[0036] In the solution of the present invention, the first RFID and the second RFID corresponding to the express are determined according to the express query request, and forwarded to the door lock management platform; the first RFID is the express RFID, and the second RFID is the deliveryman RFID; according to the door lock management platform, a search message is sent to the smart door lock registered under the door lock management platform; the search message includes the first RFID and the second RFID;
[0037] According to the retrieval message, the reading records of the first RFID and the second RFID stored locally in the smart door lock are determined, and a first response message is sent to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and its corresponding reading time, as well as the smart door lock ID and the room number information of the smart door lock that read the RFID; according to the first response message, the first trajectory corresponding to the first RFID and the second trajectory corresponding to the second RFID are determined, and the overlapping part of the first trajectory and the second trajectory is determined to be the express movement trajectory. Compared with the prior art, the embodiment of the present application has the following beneficial effects: on the one hand, it provides matching of the spatiotemporal trajectories of two RFIDs (express RFID, deliveryman RFID) to help find relevant clues of express parcels; on the other hand, it gives priority to triggering the response of the door locks on the top floor and the ground floor, responds to as few messages as possible, and reduces the calculation amount of the door lock management platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 It is a flow chart of a method for querying express delivery based on a smart door lock disclosed in an embodiment of the present invention;
[0040] Figure 2 It is a schematic diagram of the structure of an express query system based on a smart door lock disclosed in an embodiment of the present invention;
[0041] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0043] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0044] It should be noted that the “plurality” mentioned in this article refers to two or more.
[0045] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0046] At present, many families in the community have installed smart door locks on their entrance doors (each door lock has an independent ID, door lock IP address, door lock geographic location, etc., as well as a built-in camera and a screen facing the interior of the room). The smart door locks of these families are connected to the Internet (door locks are usually connected to the Internet based on wifi), and are connected to the community "door lock management platform" and managed. Each smart door lock is registered with the platform and periodically updates the necessary information. The platform records the "door lock list" including the door lock ID, door lock IP address, door lock geographic location (including building number, floor, etc.), family information, etc.
[0047] Many families in the community have installed smart locks with cameras and screens on their entrance doors. The interconnection and operation of these smart locks can bring many value-added services.
[0048] The owner's mobile phone has APP installed. Each APP has a unique ID (such as the user name + mobile phone number used when registering), and supports reporting APP-ID, mobile phone NFC-ID, mobile phone wifi mac, mobile phone IP, etc. to the platform, and periodically updates the necessary information. The platform records the "user list", which includes: serial number, APP-ID, mobile phone NFC-ID, mobile phone wifi mac, mobile phone IP where the user's APP is located, and other user information.
[0049] When the owner's mobile phone APP registers with the door lock management platform, it needs to carry the door lock ID. After receiving it, the management platform binds the mobile phone APP-ID to the door lock-ID. Obviously, one door lock ID may correspond to the APP-ID of multiple family members, and one APP-ID may also correspond to multiple door lock IDs. This table is called the APP-door lock association table. In addition, the smart door lock contains a camera facing the outdoors. Family members can be photographed and recorded by the administrator in advance on the door lock, and the door lock reports the photos of the people to the "door lock management platform". The platform maps family members into personnel feature vectors through neural networks and binds them to the room. As a result, each room will contain the feature vectors of its own members.
[0050] The current door lock RFID has a single function, which is only used to open and close the door. In addition, there are often disputes over whether express parcels have been delivered or misdelivered, and it is impossible to quickly locate and view the track and quickly monitor and collect evidence.
[0051] Working principle of RFID: 1. The reader sends out radio wave signals. 2. After receiving the signals, the electronic tag sends its information to the reader. 3. The reader passes the information to the application software for processing. RFID systems can be divided into low frequency (LF), high frequency (HF), ultra-high frequency (UHF) and microwave bands according to different operating frequencies. The application scenarios and technical characteristics of each frequency band are different.
[0052] The communication distance of RFID tags varies depending on many factors, including the frequency used, the type of tag, the power of the reader, environmental conditions, etc. The following are the communication distance ranges of RFID tags of different frequencies: Low frequency (LF) RFID: The sensing distance is generally around 1-10 cm; High frequency (HF) RFID: The sensing distance is generally between a few centimeters and tens of centimeters; Ultra-high frequency (UHF) RFID: The sensing distance is generally 1-10 meters, and in some cases can reach 30 meters or more1. Microwave frequency RFID: Commonly used for traffic management, security monitoring, etc. The sensing distance can reach tens of meters or even farther1.
[0053] In this example, high frequency (HF) RFID or ultra high frequency (UHF) RFID is generally selected, and an RFID tag is attached to the express package.
[0054] In the first aspect of this embodiment, please refer to Figure 1 , Figure 1 The figure is a flow chart of a method for querying express delivery based on a smart door lock disclosed in an embodiment of the present invention. The smart door lock includes an RFID reader; the method includes:
[0055] S101, according to the express query request, determine the first RFID and the second RFID corresponding to the express, and forward them to the door lock management platform; the first RFID is the express RFID, and the second RFID is the deliveryman RFID;
[0056] Specifically, in this embodiment, express parcels are sometimes lost. If an RFID tag is attached to the surface of the parcel, the parcel can be tracked and traced. An RFID reader is built into each door lock in the community. When a parcel passes through the door lock, the door lock will read the RFID information of the parcel. The courier is also attached with an RFID to identify the courier, and the door lock will also read the RFID of the courier. The door lock reads the RFID identification of the parcel or courier, and only retains it locally for 1 week, including the RFID identification and the time point passed.
[0057] When a user finds that a courier package is lost, he or she can apply to the community courier station for inquiry and submit the courier order number. The courier station can query the corresponding package RFID-T and the courier deliveryman RFID-H on duty through the courier order number, and submit the two RFIDs to the community door lock management platform.
[0058] The method further includes a door lock registration step; the door lock registration step includes: the smart door lock uploads the facial images of family members to the door lock management platform respectively;
[0059] The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
[0060] It should be noted that the smart door locks in the community registered on the door lock management platform of this embodiment can communicate with each other based on the smart door lock IP address and smart door lock ID, and can communicate with the door lock management platform. In addition, each smart door lock is connected to the APP of a family member, and the APP of the family member can communicate with the smart door lock of their own home and access the door lock management platform.
[0061] Furthermore, the first RFID and the second RFID are of high frequency RFID or ultra high frequency RFID.
[0062] S102, sending a search message to a smart door lock registered under the door lock management platform according to the door lock management platform; the search message includes a first RFID and a second RFID;
[0063] Specifically, in this embodiment, the door lock management platform sends RFID-T and RFID-H in the form of an "RFID retrieval" message to all smart door locks in the community that are registered under the door lock management platform.
[0064] This makes it easier for all smart door locks under the door lock management platform to query the corresponding express parcels and the movement trajectory information of the express delivery personnel based on the retrieval message.
[0065] S103, determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and the corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock;
[0066] Preferably, determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform includes:
[0067] In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time;
[0068] The read record is queried according to the received search message, the record matching the first RFID and the second RFID is determined, and a first response message is generated.
[0069] Specifically, in this embodiment, after receiving the message, if the door lock finds that there is a record of RFID-T or RFID-H passing through locally, it will reply an "RFID search result" message to the management platform, including the RFID and the time point passed.
[0070] Due to this embodiment, before the query, as long as the express parcel carrying RFID and the deliveryman pass through the door locks of each floor, the information can be read based on the RFID reader of the door lock and the reading time can be recorded. Therefore, the historical door lock-based express delivery and express deliveryman RFID reading information can be generated as a local reading record.
[0071] In some embodiments, the reading record is queried according to the first RFID and the second RFID that need to be retrieved in the retrieval message, the records matching the first RFID and the second RFID are determined (ie, which door lock has been read and the reading time), and a first response message is generated.
[0072] The first response message includes the matched first RFID name and / or second RFID name and its corresponding reading time, and the smart door lock ID that reads the RFID; it may also include the room number information of the smart door lock that reads the RFID.
[0073] S104: Determine a first track corresponding to the first RFID and a second track corresponding to the second RFID according to the first response message, and determine that an overlapping portion of the first track and the second track is a courier movement track.
[0074] The determining, according to the first response message, a first track corresponding to the first RFID and a second track corresponding to the second RFID includes:
[0075] Generate corresponding location information according to the first RFID name and / or the second RFID name in the first response message and the room number information of the smart door lock that reads the RFID;
[0076] A first track corresponding to the first RFID and a second track corresponding to the second RFID are generated according to the location information and the reading time in the first response message.
[0077] Specifically, in this embodiment, the door lock management platform can obtain the room number location information of the smart door lock that has passed through according to the first RFID name in the first response message and the room number information of the smart door lock that identifies its RFID, and further generate a first trajectory corresponding to the first RFID and a second trajectory corresponding to the second RFID according to the reading time in the corresponding first response message, so as to obtain the respective space-time trajectories of RFID-T and RFID-H. The overlapping part of the space-time trajectory is the path taken by the courier to deliver the package, and the non-overlapping part is the trajectory taken by the courier when the package is taken away by the owner. By retrieving the surveillance video of the corresponding time point and place, the person who took the package by mistake can be identified.
[0078] Further, the method of determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform, further includes:
[0079] Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message;
[0080] If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
[0081] Specifically, in this embodiment, in order to reduce the response and processing messages of the door lock management platform, it is not necessary for each door lock on the route to respond. For example, a unit has door locks arranged continuously from the first floor to the sixth floor. If the door locks on the first and third floors respond, it is okay if the second floor does not respond, which does not affect the establishment of the RFID space-time trajectory, and the amount of calculation is reduced.
[0082] Therefore, the present embodiment is designed as follows: when the door lock receives the "RFID retrieval" message (i.e., the first response message) from the platform, it first determines the floor it is on. If it is a door lock on the first floor or the top floor, it must respond immediately and send two messages at the same time, one is unicast to the platform, and the other is broadcast so that the door locks of the unit can receive it. This is for the door lock of the unit to know the time point when the door lock on the first floor or the top floor detects the RFID, so that the door locks of the middle floors can decide whether to respond. However, if it is an middle floor, it will randomly delay for a short period of time, for example, take a random value of 5 seconds (which means that the timer will be randomly triggered within a time of 0-5 seconds), and then when the timer expires, it will send two responses at the same time, one is unicast to the platform, and the other is broadcast so that the door locks of the unit can receive it.
[0083] For example, the broadcast message of the door lock on the first floor shows that a certain RFID appeared at 1:12:30 on a certain day, while the broadcast message of the door lock on the top floor shows that the RFID appeared at 1:12:50 on a certain day. This means that the RFID ran from the first floor to the top floor (the seventh floor). If the door lock on the middle floor finds that the time point when it recorded the RFID is in the middle, it does not need to respond, because the time and space trajectory of the RFID is already very clear.
[0084] In some embodiments, preferably, if the top floor does not broadcast the information of the RFID, it means that the RFID has not reached the top floor; at this time, if the timer of the door lock on the 4th floor expires first, the door lock on the 4th floor will unicast a copy of the "RFID search result" (i.e., the first response message) to the door lock management platform, and broadcast a copy to all door locks in this unit at the same time. The broadcast shows that the RFID appeared at 1:12:45 on a certain day, which means that the spatiotemporal trajectory of the RFID is from the 1st floor to the 4th floor. If the time point at which the door locks on the 2nd and 3rd floors record the RFID is in the middle, there is no need to respond. The door locks on the 5th and 6th floors need to determine whether there is a record of the RFID. If it exists and the time point is later than that of the 4th floor, it needs to unicast to the platform and broadcast a copy to all door locks in this unit. Assuming that the timer of the door lock on the 6th floor is triggered first, sending unicast and broadcast, and the door lock on the 5th floor finds that the time point at which it records the RFID is between the door lock on the 4th floor and the door lock on the 6th floor, it does not need to respond.
[0085] In summary, in this embodiment, according to the express query request, the first RFID and the second RFID corresponding to the express are determined, and forwarded to the door lock management platform; the first RFID is the express RFID, and the second RFID is the deliveryman RFID; according to the door lock management platform, a search message is sent to the smart door lock registered under the door lock management platform; the search message includes the first RFID and the second RFID; according to the search message, the reading records of the first RFID and the second RFID stored locally in the smart door lock are determined, and a first response message is sent to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and its corresponding reading time; according to the first response message, the first trajectory corresponding to the first RFID and the second trajectory corresponding to the second RFID are determined, and the overlapping part of the first trajectory and the second trajectory is determined to be the express movement trajectory. Compared with the prior art, the embodiment of the present application has the following beneficial effects: on the one hand, it provides matching of the spatiotemporal trajectories of two RFIDs (express RFID and deliveryman RFID) to help find relevant clues of express parcels; on the other hand, it preferentially triggers the top floor and the ground floor door lock responses, minimizes the response messages, and reduces the calculation amount of the door lock management platform.
[0086] In addition, the second aspect of this embodiment provides a courier query system based on a smart door lock, wherein the smart door lock includes an RFID reader; as shown in FIG. 2 , the system includes a query module 201, a retrieval module 202, a response module 203, and a determination module 204, wherein:
[0087] The query module 201 is used to determine the first RFID and the second RFID corresponding to the express delivery according to the express delivery query request, and forward them to the door lock management platform; the first RFID is the express delivery RFID, and the second RFID is the delivery person RFID;
[0088] A retrieval module 202 is used to send a retrieval message to a smart door lock registered under the door lock management platform according to the door lock management platform; the retrieval message includes a first RFID and a second RFID;
[0089] The response module 203 is used to determine the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the search message, and send a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and its corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock;
[0090] The determination module 204 is used to determine the first track corresponding to the first RFID and the second track corresponding to the second RFID according to the first response message, and determine that the overlapping part of the first track and the second track is the express movement track.
[0091] Furthermore, the types of the first RFID and the second RFID are high frequency RFID or ultra high frequency RFID; the response module 203 is further used for:
[0092] In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time; the reading record is queried according to the received retrieval message, the records matching the first RFID and the second RFID are determined, and a first response message is generated.
[0093] Furthermore, the response module 203 is further configured to:
[0094] Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message;
[0095] If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
[0096] The system further includes a door lock registration module 200; the door lock registration module 200 is used to:
[0097] The smart door lock uploads the facial images of family members to the door lock management platform;
[0098] The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
[0099] The determining, according to the first response message, a first track corresponding to the first RFID and a second track corresponding to the second RFID includes:
[0100] Generate corresponding location information according to the first RFID name and / or the second RFID name in the first response message and the room number information of the smart door lock that reads the RFID;
[0101] A first track corresponding to the first RFID and a second track corresponding to the second RFID are generated according to the location information and the reading time in the first response message.
[0102] In addition, the third aspect of this embodiment provides a storage medium, which stores a computer program; the program is loaded and executed by a processor to implement the steps of the express query method based on the smart door lock as described in the first aspect above.
[0103] In addition, the present application also discloses an electronic device, such as Figure 3 As shown, the electronic device includes: one or more processors, a memory, and the memory is used to store one or more computer programs; it is characterized in that the computer program is configured to be executed by the one or more processors, and the program includes steps for executing the express query method based on the smart door lock as described in the first aspect above.
[0104] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0105] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.
[0106] The units described as separate components may or may not be physically separated. As a unit, it can be appreciated by those skilled in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0107] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a grid device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0109] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for express delivery query based on smart door lock, characterized in that: The smart door lock includes an RFID reader; the method includes: According to the express query request, determine the first RFID and the second RFID corresponding to the express, and forward them to the door lock management platform; the first RFID is the express RFID, and the second RFID is the deliveryman RFID; Sending a search message to the smart door lock registered under the door lock management platform according to the door lock management platform; the search message includes the first RFID and the second RFID; Determine the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and send a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and its corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock; A first track corresponding to the first RFID and a second track corresponding to the second RFID are determined according to the first response message, and an overlapping portion of the first track and the second track is determined to be a courier movement track.
2. The express query method based on smart door lock according to claim 1 is characterized in that: The types of the first RFID and the second RFID are high frequency RFID or ultra high frequency RFID; The method of determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform includes: In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time; The read record is queried according to the received search message, the record matching the first RFID and the second RFID is determined, and a first response message is generated.
3. The express query method based on smart door lock according to claim 2 is characterized in that: The method of determining the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the retrieval message, and sending a first response message to the door lock management platform, further includes: Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message; If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
4. The express query method based on smart door lock according to claim 3 is characterized in that: The method further includes a door lock registration step; the door lock registration step includes: the smart door lock uploads the facial images of family members to the door lock management platform respectively; The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
5. The express query method based on smart door lock according to claim 4 is characterized in that: The determining, according to the first response message, a first track corresponding to the first RFID and a second track corresponding to the second RFID includes: Generate corresponding location information according to the first RFID name and / or the second RFID name in the first response message and the room number information of the smart door lock that reads the RFID; A first track corresponding to the first RFID and a second track corresponding to the second RFID are generated according to the location information and the reading time in the first response message.
6. A courier tracking system based on smart door locks, characterized in that: The smart door lock includes an RFID reader; the system includes a query module, a retrieval module, a response module and a determination module, wherein: A query module, used to determine the first RFID and the second RFID corresponding to the express delivery according to the express delivery query request, and forward it to the door lock management platform; the first RFID is the express delivery RFID, and the second RFID is the delivery person RFID; A retrieval module, used to send a retrieval message to a smart door lock registered under the door lock management platform according to the door lock management platform; the retrieval message includes a first RFID and a second RFID; A response module, used to determine the reading records of the first RFID and the second RFID stored locally in the smart door lock according to the search message, and send a first response message to the door lock management platform; the first response message includes the first RFID name and / or the second RFID name and the corresponding reading time, as well as the smart door lock ID of the RFID and the room number information of the smart door lock; A determination module is used to determine a first track corresponding to the first RFID and a second track corresponding to the second RFID according to the first response message, and determine that the overlapping part of the first track and the second track is the express movement track.
7. The express query system based on smart door lock according to claim 6 is characterized in that: The first RFID and the second RFID are of high frequency RFID or ultra high frequency RFID; the response module is further used for: In response to the distance between the first RFID and / or the second RFID and the smart door lock being less than a preset distance, the RFID reader of the smart door lock automatically reads the first RFID and / or the second RFID, generates a reading record, and saves it; the reading record includes the RFID name and time; the reading record is queried according to the received retrieval message, the records matching the first RFID and the second RFID are determined, and a first response message is generated.
8. The express query system based on smart door lock according to claim 7 is characterized in that: The response module is further used for: Determine the floor where the current smart door lock is located according to the retrieval message, and if the floor is the top floor or the bottom floor, immediately send a first response message to the door lock management platform; at the same time, broadcast the first response message to other door locks in the unit building; the other door locks cancel sending the response message to the door lock management platform according to the received first response message; If the floor is not the top floor or the ground floor, and the first response message is not received within a predetermined time after the retrieval message is received, a first response message is generated and sent to the door lock management platform.
9. The express query system based on smart door lock according to claim 8, characterized in that: The system further includes a door lock registration module; the door lock registration module is used to: The smart door lock uploads the facial images of family members to the door lock management platform; The door lock management platform maps the uploaded facial images of different family members into different family member information, establishes the family member information, smart door lock ID, smart door lock IP address, the floor where the smart door lock is located, and the room number information corresponding to the smart door lock, establishes a mapping relationship and stores it; among them, the door locks registered on the door lock management platform can communicate with each other.
10. A storage medium storing a computer program; the program is loaded and executed by a processor to implement the steps of the express query method based on the smart door lock as described in any one of claims 1 to 5.
Citation Information
Patent Citations
A door lock device combination based on rfid induction
CN104063921B
Service providing method of home delivery service using electronic tag
JP2002087536A
Map based neighborhood search and community contribution
US20070218900A1