Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The technical solution of the present invention will be described below by way of specific examples.
Referring to fig. 1, a schematic flow chart illustrating steps of a key ring positioning method according to an embodiment of the present invention is shown, which may specifically include the following steps:
s101, when the key ring is detected to leave the key box, controlling to start a positioning unit of the key ring, wherein the positioning unit is used for collecting positioning data;
it should be noted that the method can be applied to the smart key ring.
The smart key ring in this embodiment is configured with a positioning unit and a communication unit. Wherein, the positioning unit can gather the location data in real time to send the location data to specific terminal equipment or management platform through communication unit, in order to realize the location to the key ring position.
Of course, besides the positioning unit and the communication unit, other units capable of intelligently managing the key ring can be configured in the intelligent key ring. Such as a control unit, a sensing unit, a power management unit, etc. This embodiment is not limited to this.
The execution subject of the present embodiment is the control unit in the smart key fob. The control unit can be regarded as the core of the whole intelligent key ring, and the main function of the control unit is to complete the interconnection and control with other units and realize the related application function of the key ring.
In general, in a second-hand house transaction, a rental market, and other occasions where keys need to be managed in a centralized manner, in order to ensure the security of the keys and achieve intelligent, streamlined and objective management of the keys, the keys may be placed in a key ring and the key ring may be stored in a key box.
When the key is needed, the user can take out the key ring from the key box. At this moment, the control unit of key ring can control the positioning unit and open, fixes a position the orbit of key ring after leaving the key case in real time.
In the embodiment of the present invention, the Positioning unit configured in the key ring may be at least one of a beidou Satellite navigation Positioning unit, a GPS (Global Positioning System) Satellite navigation Positioning unit, a Glonass Satellite navigation Positioning unit, a Galileo Satellite navigation Positioning unit, and a QZSS Satellite navigation Positioning unit. The positioning mode used by the Beidou Satellite Navigation positioning unit is adopted for Beidou RNSS (Radio Navigation Satellite System) single-mode positioning. Of course, according to actual needs, other types of positioning units may be adopted in the smart key ring, which is not limited in this embodiment.
S102, establishing communication connection between a communication unit of the key ring and a preset management platform;
in the embodiment of the present invention, the management platform may be a platform for centralized management of the key box, the key ring, and the keys placed in the key ring. According to specific service requirements, the management platform can comprise a plurality of servers and can provide a user interface for outside through terminal equipment, so that management personnel can manage the key box, the key ring and the keys.
In the embodiment of the invention, the key ring can realize communication connection with the management platform through the communication unit of the key ring.
It should be noted that the communication unit may include a wired communication unit and a wireless communication unit. For example, when the key fob is placed in the key box, the key fob may perform data interaction with the key box through the wired communication unit; and when the key ring is taken out of the key box, the key ring can perform data interaction with the management platform through the wireless communication unit.
S103, based on the communication connection, the positioning data are sent to the management platform.
In the embodiment of the invention, the positioning data acquired by the positioning unit can be sent to the management platform through the communication unit, so that the management platform can know the current position of the key ring in time, and the key ring and the key can be monitored in the whole process. Even key ring and key have lost, also can help retrieving the key fast through fixing a position the key ring.
In the embodiment of the invention, the positioning unit and the communication unit are configured in the key ring, so that the positioning unit can be started to collect positioning data and send the positioning data to the management platform after the key ring leaves the key box, the management platform can conveniently know the current position of the key ring in time, and the intelligent management of the key is realized. If the condition that key ring and key lost takes place, also can be in time through the location data locking key position, help finding the key fast, guaranteed the safe in utilization of key ring and key.
Referring to fig. 2, a schematic flow chart illustrating steps of another key ring positioning method according to an embodiment of the present invention is shown, which may specifically include the following steps:
s201, establishing communication connection between a communication unit of the key ring and a preset management platform, wherein the communication unit comprises a wireless communication unit;
in the embodiment of the present invention, the management platform may be a platform for centralized management of the key box, the key ring, and the keys placed in the key ring. According to specific service requirements, the management platform can comprise a plurality of servers and can provide a user interface for outside through terminal equipment, so that management personnel can manage the key box, the key ring and the keys.
In a specific implementation, the communication connection between the key fob and the management platform can be realized through a communication unit configured in the key fob.
In an embodiment of the present invention, the communication unit may include a wired communication unit and a wireless communication unit. For example, when the key fob is placed in the key box, the key fob may perform data interaction with the key box through the wired communication unit; and when the key ring is taken out of the key box, the key ring can perform data interaction with the management platform through the wireless communication unit.
The communication mode of the wireless communication unit may be public network communication such as 2G, 3G, 4G, and 5G, and may also be any one or more of NB-IOT (Narrow Band Internet of Things) Internet of Things communication, LORA (low power consumption remote wireless communication technology) communication, bluetooth, ZigBee (a low speed short distance transmission wireless Internet protocol) communication, and beidou RDSS (Radio Determination Satellite Radio Service) communication, which is not limited in this embodiment.
S202, when a key ring tracking command of the management platform is received, determining the positioning frequency in the key ring tracking command;
In the embodiment of the invention, the key ring can realize different functions according to the instruction of the management platform. For example, the management platform can send the pursuit instruction to the key ring, instructs the key ring to gather the location data, realizes the location to the key ring.
The key fob tracking command sent by the management platform may include information on the frequency of location. Namely, through the location frequency, instruct the key ring according to what frequency gather the location data. For example, the positioning data is acquired every 3 seconds, or every 10 seconds, or in real time, etc.
S203, controlling a positioning unit of the key ring to be turned on or turned off according to the positioning frequency, wherein the positioning unit is used for collecting positioning data;
in the embodiment of the invention, the control unit of the key ring can control the opening or closing of the positioning unit according to the positioning frequency in the tracking instruction after receiving the tracking instruction issued by the management platform. When the positioning unit is started, positioning data can be collected; when the positioning unit is closed, the acquisition of the positioning data is stopped.
Taking the positioning frequency of 10 seconds as an example, the control unit may first control the positioning unit to start at a certain time, and collect the positioning data. After the positioning data is collected, the positioning unit is closed, after 10 seconds, the positioning data is collected from the newly opened positioning unit, and the data is circularly collected according to the interval. Therefore, the key ring positioning data can be obtained in time, the system overhead of the control unit is saved, and the power consumption of the key ring is saved.
S204, based on the communication connection between the wireless communication unit and the management platform, sending the positioning data to the management platform according to the positioning frequency, wherein the management platform is used for generating a tracking track of the key ring according to the positioning data;
in the embodiment of the invention, the positioning unit can acquire the positioning data according to a certain frequency. Correspondingly, the communication unit also can be according to the same frequency, sends above-mentioned locating data to the management platform, by the management platform according to received locating data, draws the pursuit orbit of key ring, realizes the overall process control to the key ring.
S205, if the key ring is located in the key box, controlling to close a positioning unit of the key ring.
In the embodiment of the invention, aiming at the occasions where the keys need to be managed in a centralized way, the key ring positioning unit can be started to collect the positioning data only after the key ring leaves the key box. When the key fob is in the key box, the above operation need not be performed.
Thus, it is possible to determine whether the key fob's locating unit needs to be turned off by detecting whether the key fob is in the key box.
In an embodiment of the invention, three contacts may be provided on the surface of the key fob. These three contacts may be used for charging and communication of the key fob. For example, when the key fob is charged, a positive direct current power supply can be connected to the first contact, and the second contact is grounded. And when the key ring is communicated with the key box, the communication can be completed through the first contact and the third contact. That is, the first contact is connected with the data line, the third contact is connected with the clock line, and the I2C (Inter-Integrated Circuit) communication between the key ring and the key box can be realized.
Therefore, whether the key ring is communicated with the key box through the wired communication unit or not can be detected. If the key ring is detected to be communicated with the key box through the wired communication unit, the key ring can be judged to be in the key box. At this time, the turning off of the positioning unit may be controlled by the control unit.
In the embodiment of the invention, the key ring tracking instruction of the management platform is received, so that the positioning data can be acquired according to a specific frequency, the tracking track of the key ring can be drawn, the whole key ring moving process can be monitored, and the use safety of the key and the key ring is ensured.
It should be noted that, the sequence numbers of the steps in the foregoing embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the internal logic of the process, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Referring to fig. 3, a schematic diagram of a positioning device of a key fob equipped with a positioning unit and a communication unit according to an embodiment of the present invention is shown, and the device may specifically include the following modules:
the key ring unlocking device comprises an unlocking module 301, a key ring unlocking module and a key ring unlocking module, wherein the unlocking module is used for controlling to unlock a positioning unit of the key ring when the key ring is detected to leave a key box, and the positioning unit is used for collecting positioning data;
An establishing module 302, configured to establish a communication connection between a communication unit of the key fob and a preset management platform;
a sending module 303, configured to send the positioning data to the management platform based on the communication connection.
In the embodiment of the present invention, the apparatus may further include the following modules:
the key ring tracking module is used for receiving a key ring tracking instruction of the management platform and determining the key ring tracking instruction;
and the positioning unit control module is used for controlling the opening or closing of the positioning unit of the key ring according to the positioning frequency.
In this embodiment of the present invention, the communication unit may include a wireless communication unit, and the sending module 303 may specifically include the following sub-modules:
and the positioning data sending submodule is used for sending the positioning data to the management platform according to the positioning frequency based on the communication connection between the wireless communication unit and the management platform, and the management platform is used for generating the tracking track of the key ring according to the positioning data.
In this embodiment of the present invention, the communication mode of the wireless communication unit may include at least one of:
2G communication, 3G communication, 4G communication, 5G communication, NB-IOT communication of the Internet of things, LORA communication, Bluetooth, ZigBee communication and Beidou RDSS communication.
In the embodiment of the present invention, the apparatus may further include the following modules:
the key ring detection module is used for detecting whether the key ring is in the key box or not;
and the positioning unit closing module is used for controlling to close the positioning unit of the key ring if the key ring is in the key box.
In an embodiment of the present invention, the communication unit may include a wired communication unit, and the key ring detection module may specifically include the following sub-modules:
the wired communication detection submodule is used for detecting whether the key ring is communicated with the key box through a wired communication unit;
and the key ring judgment submodule is used for judging that the key ring is in the key box if the key ring is detected to be communicated with the key box through the wired communication unit.
In the embodiment of the present invention, the positioning unit may include at least one of a beidou satellite navigation positioning unit, a GPS satellite navigation positioning unit, a Glonass satellite navigation positioning unit, a Galileo satellite navigation positioning unit, and a QZSS satellite navigation positioning unit. The positioning mode of the Beidou satellite navigation and positioning unit is Beidou RNSS single-mode positioning.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to the description of the method embodiment section for relevant points.
Referring to fig. 4, a schematic view of a key fob is shown in accordance with one embodiment of the present invention. As shown in fig. 4, the key ring 400 of the present embodiment includes: a processor 410, a memory 420, and a computer program 421 stored in the memory 420 and executable on the processor 410. The processor 410 executes the computer program 421 to implement the steps in the above-mentioned key ring location method, such as steps S101 to S103 shown in fig. 1 and steps S201 to S205 shown in fig. 2. Alternatively, the processor 410, when executing the computer program 421, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 301 to 303 shown in fig. 3.
Illustratively, the computer program 421 may be partitioned into one or more modules/units, which are stored in the memory 420 and executed by the processor 410 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which may be used to describe the execution of the computer program 421 in the key fob 400. For example, the computer program 421 may be divided into an opening module, a building module and a sending module, and each module has the following specific functions:
The key ring unlocking device comprises an unlocking module, a key box locking module and a key unlocking module, wherein the unlocking module is used for controlling to unlock a positioning unit of the key ring when the key ring is detected to leave the key box, and the positioning unit is used for acquiring positioning data;
the key ring management system comprises an establishing module, a management module and a management module, wherein the establishing module is used for establishing communication connection between a communication unit of the key ring and a preset management platform;
and the sending module is used for sending the positioning data to the management platform based on the communication connection.
The key fob 400 can include, but is not limited to, a processor 410, a memory 420. Those skilled in the art will appreciate that figure 4 is merely an example of a key fob 400 and does not constitute a limitation of key fob 400 and may include more or fewer components than shown, or some components in combination, or different components, e.g., key fob 400 may also include input output devices, network access devices, buses, etc.
The Processor 410 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 420 may be an internal storage unit of the fob 400, such as a hard disk or memory of the fob 400. The memory 420 may also be an external storage device of the key fob 400, such as a plug-in hard disk provided on the key fob 400, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on. Further, the memory 420 may also include both an internal memory unit and an external memory device of the fob 400. The memory 420 is used to store the computer program 421 and other programs and data required by the key fob 400. The memory 420 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.