CN112530143A - Distance reminding method and device, storage medium and electronic equipment - Google Patents
Distance reminding method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN112530143A CN112530143A CN202011221045.3A CN202011221045A CN112530143A CN 112530143 A CN112530143 A CN 112530143A CN 202011221045 A CN202011221045 A CN 202011221045A CN 112530143 A CN112530143 A CN 112530143A
- Authority
- CN
- China
- Prior art keywords
- information
- distance
- monitoring equipment
- monitoring
- acquiring
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012544 monitoring process Methods 0.000 claims abstract description 126
- 238000004891 communication Methods 0.000 claims abstract description 28
- 238000012806 monitoring device Methods 0.000 claims description 66
- 238000005259 measurement Methods 0.000 claims description 41
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000977 initiatory effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Alarm Devices (AREA)
Abstract
The embodiment of the application discloses a distance reminding method, a distance reminding device, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring wireless connection information carrying a matching field, determining monitoring equipment corresponding to the wireless connection information based on the matching field, acquiring distance information between the monitoring equipment and the monitoring equipment based on communication time difference between the monitoring equipment and the monitoring equipment, generating prompt information based on the distance information, and outputting the prompt information. By adopting the embodiment of the application, the distance between the devices is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a distance reminding method and apparatus, a storage medium, and an electronic device.
Background
The condition that children, old man or pet are lost frequently can be met in daily life, and current implementation is through being connected the cell-phone with anti-lost device, and the object being monitored can carry anti-lost device, and the cell-phone just can calculate the distance between cell-phone and the supervisory equipment and remind through the signal strength who receives anti-lost device, plays the effect of anti-lost. Because the distance precision obtained through the signal intensity is low, the device is easily influenced by the environment, the condition that the device cannot perform correct early warning is caused, and the accuracy of anti-lost early warning is reduced.
Disclosure of Invention
The embodiment of the application provides a distance reminding method and device, a storage medium and electronic equipment, and the distance between the equipment can be acquired based on the communication time difference of radio electromagnetic waves, so that the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a distance reminding method, where the method includes:
acquiring wireless connection information carrying a matching field, and determining monitoring equipment corresponding to the wireless connection information based on the matching field;
acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the monitoring equipment;
and generating prompt information based on the distance information, and outputting the prompt information.
In a second aspect, an embodiment of the present application provides a distance reminding device, where the device includes:
the matching module is used for acquiring wireless connection information carrying matching fields and determining monitoring equipment corresponding to the wireless connection information based on the matching fields;
the distance calculation module is used for acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the distance calculation module;
and the prompt module is used for generating prompt information based on the distance information and outputting the prompt information.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, wireless connection information carrying a matching field is acquired, a monitoring device corresponding to the wireless connection information is determined based on the matching field, distance information between the monitoring device and the monitoring device is acquired based on a communication time difference between the monitoring device and the wireless connection information, prompt information is generated based on the distance information, and the prompt information is output. The distance between the devices is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an exemplary schematic diagram of interaction between a distance reminding apparatus and a monitoring device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a distance reminding method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a distance reminding method according to an embodiment of the present application;
FIG. 4a is a schematic diagram illustrating an example of obtaining a distance using fine timing measurement according to an embodiment of the present application;
fig. 4b is an exemplary schematic diagram of a distance obtaining device according to an embodiment of the present disclosure;
FIG. 4c is an exemplary diagram of a range of distance thresholds provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of a distance reminding device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a distance reminding device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a distance calculation module according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a prompt module according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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 application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The distance reminding method provided by the embodiment of the application can be realized by relying on a computer program, and can run on a distance reminding device based on a von neumann system. The computer program may be integrated into the application or may run as a separate tool-like application. The distance reminding device and the monitoring device in the embodiment of the present application may be terminal devices with a Wireless Fidelity (WIFI) Aware function, including but not limited to: the distance reminding device comprises a mobile phone, a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing devices connected to a wireless modem, and the like, wherein the distance reminding device and the monitoring device can be the same type of device or different types of devices. With reference to fig. 1, a schematic diagram of interaction between a distance reminding device and a monitoring device is provided for the embodiment of the present application, and a device with a WIFI Aware function has a capability of "sensing surroundings", and can quickly discover surrounding devices, applications, information and the like that also have the WIFI Aware function.
The following describes the distance reminding method provided by the present application in detail with reference to specific embodiments.
Referring to fig. 2, a schematic flow chart of a distance reminding method according to an embodiment of the present application is provided. As shown in fig. 2, the method of the embodiment of the present application may include the following steps S101-S103.
S101, acquiring wireless connection information carrying a matching field, and determining monitoring equipment corresponding to the wireless connection information based on the matching field.
Specifically, when the distance reminding device or the terminal device equipped with the distance reminding device starts the WIFI Aware function, the distance reminding device can sense various information, including the wireless connection information which is sent by the monitoring device and carries the matching field. The method comprises the steps that a distance reminding device obtains wireless connection information carrying matching fields, wherein the matching fields are matching marks of the distance reminding device and monitoring equipment, can be manually set and stored in the distance reminding device and the corresponding monitoring equipment, the distance reminding device and the monitoring equipment have a unique matching field, and the distance reminding device can confirm which monitoring equipment sending the wireless connection information is the monitoring equipment according to the matching fields; of course, the matching field may also be a device identifier, and the device identifier may uniquely correspond to the monitoring device, for example: physical address, device code, etc.
And S102, acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the monitoring equipment.
Specifically, the distance reminding device calculates the distance between the distance reminding device and the monitoring device at this time according to the communication time difference when the distance reminding device and the monitoring device perform information interaction, that is, the difference between the time when the distance reminding device sends information to the monitoring device and the time when the monitoring device receives the information.
S103, generating prompt information based on the distance information, and outputting the prompt information.
Specifically, the distance reminding device generates corresponding prompt information according to the distance between the distance reminding device and the monitoring equipment and outputs the prompt information. The prompt message may be a prompt message including a distance between the distance reminding device and the monitoring equipment, and methods for outputting the prompt message include, but are not limited to, a short message, a telephone, a pop-up window, and the like.
In the embodiment of the application, wireless connection information carrying a matching field is acquired, monitoring equipment corresponding to the wireless connection information is determined based on the matching field, distance information between the monitoring equipment and the monitoring equipment is acquired based on communication time difference between the monitoring equipment and the wireless connection information, prompt information is generated based on the distance information, and the prompt information is output. The distance between the devices is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved.
Referring to fig. 3, a schematic flow chart of a distance reminding method is provided in the embodiment of the present application. As shown in fig. 3, the method of the embodiment of the present application may include the following steps S201 to S208.
S201, acquiring wireless connection information carrying a matching field, and determining monitoring equipment corresponding to the wireless connection information based on the matching field.
See S101 for details, which are not described herein.
S202, distance measurement information is sent to the monitoring equipment, and a sending time stamp of the distance measurement information is obtained.
Specifically, when acquiring the wireless connection information carrying the matching field, the distance reminding device transmits the distance measurement information to the monitoring equipment, and acquires a timestamp when transmitting the distance measurement information, wherein the timestamp is data generated by using a digital signature technology, and a signature object comprises information such as original file information, signature parameters, signature time and the like.
The distance measurement information is used to instruct the monitoring device to return information related to the measured distance.
S203, receiving feedback information returned by the monitoring equipment based on the distance measurement information, and acquiring a receiving time stamp of the feedback information.
Specifically, the distance reminding device receives feedback information returned by the monitoring device, the feedback information is sent to the distance reminding device while the monitoring device receives the distance measurement information, specifically, the feedback information may be reply information for the distance measurement information, the reply information includes a matching field, the distance reminding device may identify the monitoring device through the matching field in the feedback information, and may confirm a timestamp when the feedback information is received as a receiving timestamp.
S204, acquiring a time difference value between the sending time stamp and the receiving time stamp, and acquiring distance information between the monitoring equipment and the monitoring equipment based on the time difference value and the electromagnetic wave propagation speed.
Specifically, the distance reminding device calculates distance information between the distance reminding device and the monitoring device by using an FTM protocol, the FTM protocol is a method for determining a distance between nodes, information is exchanged between a wireless network terminal (STA) and a wireless Access Point (AP), the STA can determine the distance between the STA and the AP by the time of transmitting or receiving the information at the AP or the STA, that is, in the embodiment of the present application, the distance reminding device can determine the distance between the STA and the monitoring device by the time of transmitting and receiving the information by the distance reminding device, and the distance reminding device can obtain the distance between the STA and the monitoring device by multiplying half of a time difference between a transmission timestamp and a reception timestamp by an electromagnetic wave propagation speed. Because the electromagnetic wave propagation speed is high, the propagation time is generally ignored, and therefore, even if the holder of the distance reminding device and the holder of the monitoring equipment are in a relative movement state, the calculation error of the distance can be reduced, and the accuracy of distance calculation is ensured.
Referring to fig. 4a together, fig. 4a is an exemplary schematic diagram of a distance reminding device acquiring distance information by using an FTM protocol, where the distance reminding device records a sending timestamp while sending distance measurement information to a monitoring device, the monitoring device replies feedback information while receiving the distance measurement information, the distance reminding device records a receiving timestamp while receiving the feedback information, a time difference between the sending timestamp and the recording timestamp is T, a time consumed by the distance measurement information in a transmission process is T1, a time consumed by the feedback information in a transmission process is T2, T1+ T2, a transmission speed of the distance measurement information and a transmission distance of the feedback information are the same, and T1 is T2, half of T is a time consumed by the distance measurement information or the feedback information in the transmission process, and a transmission speed of the information is a propagation speed c of an electromagnetic wave, the distance reminding device calculates the distance L between the distance reminding device and the monitoring equipment according to the formula: l ═ T/2) × c.
Please refer to fig. 4b together, fig. 4b is an exemplary schematic diagram of obtaining distance information, the distance reminding device may be a parent's mobile phone, the monitoring apparatus may be a smart watch worn by a child, the mobile phone sends distance measurement information to the smart watch and receives feedback information replied by the smart watch, and a time difference between the distance measurement information and the feedback information is 1 × 10-7s, propagation speed of electromagnetic waveDegree is c ═ 3 × 108And m/s, so that the distance between the parents and the child, namely the distance between the mobile phone and the smart watch is 30 m.
S205, when the distance information is larger than a first distance threshold value, outputting first early warning information.
Specifically, when the distance between the distance reminding device and the monitoring device is greater than a first distance threshold, the distance reminding device outputs first early warning information, the first distance threshold can be initial setting of the distance reminding device, and can also be set by a user on the distance reminding device, the first early warning information can be prompt information containing the distance information and is used for reminding the user that the distance between the user and the monitoring device is greater than the first distance threshold, and the output mode of the first early warning information includes but is not limited to alarm, short message, vibration or pop-up window and the like.
S206, when the distance information is larger than a second distance threshold value, second early warning information is sent to the monitoring equipment.
Specifically, when the distance between the distance reminding device and the monitoring equipment is greater than the second distance threshold, the distance reminding device sends second early warning information to the monitoring equipment, and the monitoring equipment can output safety prompt information after receiving the second early warning information. The second distance threshold is greater than the first distance threshold, and may be an initial setting of the distance reminding device, or may be set by the user on the distance reminding device. The safety prompt information output by the monitoring device can be used for reminding a holder of the monitoring device, such as a minor or an old person, of not walking at will, because the second distance threshold is a distance from the reminding device to the monitoring device, the distance between the holder of the monitoring device and a user of the reminding device is far away at the moment, the reminding of the holder of the monitoring device of not walking at will can facilitate the user to find the holder of the monitoring device, and the output mode of the safety prompt information includes but is not limited to alarm, short message, vibration or pop-up window and the like.
Optionally, when the distance information is greater than the second distance threshold, the distance reminding device may also output a prompt message for reminding that the distance between the user of the distance reminding device and the monitoring device is greater than the second distance threshold.
And S207, when the distance information is greater than a third distance threshold value, initiating a call request to the monitoring equipment.
Specifically, when the distance between the distance reminding device and the monitoring device is greater than the third distance threshold, the distance reminding device may initiate a call request to the monitoring device, may send a voice call request, and may send a video call request. The third distance threshold is greater than the second distance threshold, and may be an initial setting of the distance reminding device, or may be set by the user on the distance reminding device.
S208, sending positioning request information to the monitoring equipment, and acquiring address information returned by the monitoring equipment based on the positioning request information.
Specifically, when the distance between the distance reminding device and the monitoring equipment is greater than the third distance threshold, the distance reminding device sends positioning request information to the monitoring equipment and obtains address information returned by the monitoring equipment, wherein the positioning request information is used for indicating the monitoring equipment to reply the address information when the monitoring equipment receives the positioning request information.
S209, calling a navigation application, generating navigation information between the monitoring equipment and the monitoring equipment based on the current position information and the address information, and outputting the navigation information.
Specifically, when the distance reminding device acquires the address information returned by the monitoring device, a navigation application is called, and the navigation application may be installed in the distance reminding device or installed in the same terminal device as the distance reminding device. The distance reminding device sets the current position in the current position information when the address information is acquired as a starting point, sets the monitoring equipment address in the address information as an end point, generates navigation information from the current position to the monitoring equipment address by using a navigation application, and displays the navigation information on the distance reminding device, so that a user can reach the monitoring equipment address according to the navigation information. Helping a user of the distance reminder to find a monitoring device holder that is remote therefrom.
Please refer to fig. 4c together, which is an exemplary schematic diagram of a range of distance thresholds, where point a is a parent holding a mobile phone with a distance reminding device, points B1, B2, and B3 are three locations of a child holding a monitoring device, i.e., a smart watch, respectively, and when the first distance threshold is 10m, the second distance threshold is 20m, and the third distance threshold is 30m, the situation that the child is in different locations may be:
when the child is at the position of point B1, the mobile phone of the parent outputs a safety alarm audio to remind the parent that the distance between the parent and the child is more than 10m, and active measures such as searching and the like are taken;
when the child is at the position of point B2, the mobile phone sends second early warning information to the smart watch of the child, and the smart watch outputs a safety warning audio frequency after receiving the second early warning information to remind the child not to walk at will and wait for the parents to arrive;
when child is in the position of B3 point, the cell-phone will send the conversation request to child's smart watch, and after child's operation was put through, the head of a family can converse with child, pacify. Meanwhile, the mobile phone can send positioning request information to the intelligent watch and receive address information which can only be replied by the watch, and a navigation application in the mobile phone is called to help indicate parents to find children.
In the embodiment of the application, wireless connection information with a matching field is acquired, monitoring equipment corresponding to the wireless connection information is determined based on the matching field, distance measurement information is sent to the monitoring equipment, a sending timestamp of the distance measurement information is acquired, feedback information returned by the monitoring equipment based on the distance measurement information is received, a receiving timestamp of the feedback information is acquired, a time difference between the sending timestamp and the receiving timestamp is acquired, distance information between the monitoring equipment and the monitoring equipment is acquired based on the time difference and the propagation speed of electromagnetic waves, the distance between the equipment is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved; by judging the distance threshold, the staged anti-lost early warning function is realized, and the effectiveness of anti-lost early warning is ensured; by calling the navigation application, the monitored object can be quickly and accurately positioned, the navigation information between the devices is generated, and the effectiveness of anti-lost early warning is further enhanced.
The distance reminding device provided by the embodiment of the application will be described in detail with reference to fig. 5 to 6. It should be noted that, the distance reminding device shown in fig. 5 to fig. 6 is used for executing the method of the embodiment shown in fig. 2 and fig. 3 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 2 and fig. 3 of the present application.
Please refer to fig. 5, which shows a schematic structural diagram of a distance reminding device according to an exemplary embodiment of the present application. The distance reminding device can be realized by software, hardware or a combination of the software and the hardware to be all or part of the device. The device 1 comprises a matching module 11, a distance calculation module 12 and a prompt module 13.
The matching module 11 is configured to acquire wireless connection information carrying a matching field, and determine, based on the matching field, a monitoring device corresponding to the wireless connection information;
the distance calculation module 12 is configured to obtain distance information with the monitoring device based on a communication time difference with the monitoring device;
and the prompt module 13 is configured to generate prompt information based on the distance information, and output the prompt information.
In the embodiment of the application, wireless connection information carrying a matching field is acquired, monitoring equipment corresponding to the wireless connection information is determined based on the matching field, distance information between the monitoring equipment and the monitoring equipment is acquired based on communication time difference between the monitoring equipment and the wireless connection information, prompt information is generated based on the distance information, and the prompt information is output. The distance between the devices is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved.
Please refer to fig. 6, which shows a schematic structural diagram of a distance reminding device according to an exemplary embodiment of the present application. The distance reminding device can be realized by software, hardware or a combination of the software and the hardware to be all or part of the device. The device 1 comprises a matching module 11, a distance calculation module 12, a prompt module 13 and a navigation module 14.
The matching module 11 is configured to acquire wireless connection information carrying a matching field, and determine, based on the matching field, a monitoring device corresponding to the wireless connection information;
the distance calculation module 12 is configured to obtain distance information with the monitoring device based on a communication time difference with the monitoring device;
specifically, please refer to fig. 7, which provides a schematic structural diagram of a distance calculating module according to an embodiment of the present disclosure. As shown in fig. 7, the distance calculation module 12 may include:
a measurement information sending unit 121, configured to send distance measurement information to the monitoring device, and obtain a sending timestamp of the distance measurement information;
a feedback information receiving unit 122, configured to receive feedback information returned by the monitoring device based on the distance measurement information, and obtain a receiving timestamp of the feedback information;
a distance information acquiring unit 123, configured to acquire distance information with the monitoring device based on the sending timestamp and the receiving timestamp.
Optionally, the distance information acquiring unit 123 is specifically configured to acquire a time difference between the sending timestamp and the receiving timestamp, and acquire distance information between the monitoring device and the monitoring device based on the time difference and the electromagnetic wave propagation speed.
The prompt module 13 is configured to generate prompt information based on the distance information, and output the prompt information;
specifically, please refer to fig. 8 together, which provides a schematic structural diagram of a prompt module for the embodiment of the present application, and as shown in fig. 8, the prompt module 13 may include:
the first early warning unit 131 is configured to output first early warning information when the distance information is greater than a first distance threshold;
a second warning unit 132, configured to send second warning information to the monitoring device when the distance information is greater than a second distance threshold, where the second distance threshold is greater than the first distance threshold;
a third warning unit 133, configured to initiate a call request to the monitoring device when the distance information is greater than a third distance threshold, where the third distance threshold is greater than the second distance threshold.
The navigation module 14 is configured to send positioning request information to the monitoring device, and acquire address information returned by the monitoring device based on the positioning request information;
and generating navigation information between the monitoring equipment and the monitoring equipment based on the address information, and outputting the navigation information.
Optionally, the navigation module 14 is specifically configured to send positioning request information to the monitoring device, and acquire address information returned by the monitoring device based on the positioning request information;
and calling a navigation application, generating navigation information between the monitoring equipment and the monitoring equipment based on the current position information and the address information, and outputting the navigation information.
In the embodiment of the application, wireless connection information carrying a matching field is acquired, monitoring equipment corresponding to the wireless connection information is determined based on the matching field, distance measurement information is sent to the monitoring equipment, a sending timestamp of the distance measurement information is acquired, feedback information returned by the monitoring equipment based on the distance measurement information is received, a receiving timestamp of the feedback information is acquired, a time difference between the sending timestamp and the receiving timestamp is acquired, distance information between the monitoring equipment and the monitoring equipment is acquired based on the time difference and an electromagnetic wave propagation speed, the distance between the equipment is acquired through a communication time difference of a wireless electromagnetic wave, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is improved; by judging the distance threshold, the staged anti-lost early warning function is realized, and the effectiveness of anti-lost early warning is ensured; by calling the navigation application, the monitored object can be quickly and accurately positioned, the navigation information between the devices is generated, and the effectiveness of anti-lost early warning is further enhanced.
It should be noted that, when the distance reminding device provided in the foregoing embodiment executes the distance reminding method, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the distance reminding device and the distance reminding method provided by the above embodiments belong to the same concept, and the detailed implementation process is shown in the method embodiments, which is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the distance reminding method according to the embodiment shown in fig. 1 to 4c, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 4c, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded by the processor and executes the distance reminding method according to the embodiment shown in fig. 1 to 4c, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 4c, and is not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 9, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a distance reminding application program.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to call the distance reminding application stored in the memory 1005, and specifically perform the following operations:
acquiring wireless connection information carrying a matching field, and determining monitoring equipment corresponding to the wireless connection information based on the matching field;
acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the monitoring equipment;
and generating prompt information based on the distance information, and outputting the prompt information.
In an embodiment, when the processor 1001 obtains the distance information with the monitoring device based on the communication time difference with the monitoring device, specifically, the following operations are performed:
sending distance measurement information to the monitoring equipment, and acquiring a sending timestamp of the distance measurement information;
receiving feedback information returned by the monitoring equipment based on the distance measurement information, and acquiring a receiving timestamp of the feedback information;
and acquiring distance information between the monitoring equipment and the monitoring equipment based on the sending time stamp and the receiving time stamp.
In one embodiment, when the processor 1001 acquires the distance information between the monitoring device and the monitoring device based on the sending timestamp and the receiving timestamp, specifically:
and acquiring a time difference value of the sending time stamp and the receiving time stamp, and acquiring distance information between the monitoring equipment and the monitoring equipment based on the time difference value and the electromagnetic wave propagation speed.
In one embodiment, the processor 1001, when executing generating a prompt message based on the distance information and outputting the prompt message, specifically performs the following operations:
when the distance information is larger than a first distance threshold value, outputting first early warning information;
when the distance information is greater than a second distance threshold, sending second early warning information to the monitoring equipment, wherein the second distance threshold is greater than the first distance threshold;
and when the distance information is greater than a third distance threshold value, initiating a call request to the monitoring equipment, wherein the third distance threshold value is greater than a second distance threshold value.
In one embodiment, after initiating a call request to the monitoring device when the distance information is greater than the third distance threshold, the processor 1001 further performs the following operations:
sending positioning request information to the monitoring equipment, and acquiring address information returned by the monitoring equipment based on the positioning request information;
and generating navigation information between the monitoring equipment and the monitoring equipment based on the address information, and outputting the navigation information.
In one embodiment, the processor 1001, in executing the generation of the navigation information with the monitoring device based on the address information, and outputting the navigation information, specifically, executes the following operations:
and calling a navigation application, generating navigation information between the monitoring equipment and the monitoring equipment based on the current position information and the address information, and outputting the navigation information.
In the embodiment of the application, wireless connection information with a matching field is acquired, monitoring equipment corresponding to the wireless connection information is determined based on the matching field, distance measurement information is sent to the monitoring equipment, a sending timestamp of the distance measurement information is acquired, feedback information returned by the monitoring equipment based on the distance measurement information is received, a receiving timestamp of the feedback information is acquired, a time difference between the sending timestamp and the receiving timestamp is acquired, distance information between the monitoring equipment and the monitoring equipment is acquired based on the time difference and the propagation speed of electromagnetic waves, the distance between the equipment is acquired through the communication time difference of the wireless electromagnetic waves, the accuracy of distance acquisition is improved, and the accuracy of anti-lost early warning is further improved; by judging the distance threshold, the staged anti-lost early warning function is realized, and the effectiveness of anti-lost early warning is ensured; by calling the navigation application, the monitored object can be quickly and accurately positioned, the navigation information between the devices is generated, and the effectiveness of anti-lost early warning is further enhanced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.
Claims (10)
1. A distance reminding method is characterized by comprising the following steps:
acquiring wireless connection information carrying a matching field, and determining monitoring equipment corresponding to the wireless connection information based on the matching field;
acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the monitoring equipment;
and generating prompt information based on the distance information, and outputting the prompt information.
2. The method of claim 1, wherein the obtaining distance information with the monitoring device based on the communication time difference with the monitoring device comprises:
sending distance measurement information to the monitoring equipment, and acquiring a sending timestamp of the distance measurement information;
receiving feedback information returned by the monitoring equipment based on the distance measurement information, and acquiring a receiving timestamp of the feedback information;
and acquiring distance information between the monitoring equipment and the monitoring equipment based on the sending time stamp and the receiving time stamp.
3. The method of claim 2, wherein the obtaining distance information from the monitoring device based on the transmit timestamp and the receive timestamp comprises:
and acquiring a time difference value of the sending time stamp and the receiving time stamp, and acquiring distance information between the monitoring equipment and the monitoring equipment based on the time difference value and the electromagnetic wave propagation speed.
4. The method of claim 1, wherein generating the hint information based on the distance information and outputting the hint information comprises:
when the distance information is larger than a first distance threshold value, outputting first early warning information;
when the distance information is greater than a second distance threshold, sending second early warning information to the monitoring equipment, wherein the second distance threshold is greater than the first distance threshold;
and when the distance information is greater than a third distance threshold value, initiating a call request to the monitoring equipment, wherein the third distance threshold value is greater than a second distance threshold value.
5. The method of claim 4, wherein after initiating a call request to the monitoring device when the distance information is greater than a third distance threshold, further comprising:
sending positioning request information to the monitoring equipment, and acquiring address information returned by the monitoring equipment based on the positioning request information;
and generating navigation information between the monitoring equipment and the monitoring equipment based on the address information, and outputting the navigation information.
6. The method of claim 5, wherein generating navigation information with the monitoring device based on the address information and outputting the navigation information comprises:
and calling a navigation application, generating navigation information between the monitoring equipment and the monitoring equipment based on the current position information and the address information, and outputting the navigation information.
7. A distance reminder device, the device comprising:
the matching module is used for acquiring wireless connection information carrying matching fields and determining monitoring equipment corresponding to the wireless connection information based on the matching fields;
the distance calculation module is used for acquiring distance information between the monitoring equipment and the monitoring equipment based on the communication time difference between the monitoring equipment and the distance calculation module;
and the prompt module is used for generating prompt information based on the distance information and outputting the prompt information.
8. The apparatus of claim 7, wherein the distance calculation module comprises:
the monitoring equipment comprises a measurement information sending unit, a measurement information sending unit and a monitoring information sending unit, wherein the measurement information sending unit is used for sending distance measurement information to the monitoring equipment and acquiring a sending timestamp of the distance measurement information;
a feedback information receiving unit, configured to receive feedback information returned by the monitoring device based on the distance measurement information, and obtain a receiving timestamp of the feedback information;
and the distance information acquisition unit is used for acquiring the distance information between the monitoring equipment and the monitoring equipment based on the sending time stamp and the receiving time stamp.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 6.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011221045.3A CN112530143A (en) | 2020-11-05 | 2020-11-05 | Distance reminding method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011221045.3A CN112530143A (en) | 2020-11-05 | 2020-11-05 | Distance reminding method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112530143A true CN112530143A (en) | 2021-03-19 |
Family
ID=74979687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011221045.3A Pending CN112530143A (en) | 2020-11-05 | 2020-11-05 | Distance reminding method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112530143A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225939A (en) * | 2022-06-22 | 2022-10-21 | 深圳创维-Rgb电子有限公司 | Distance reminding method, device and equipment based on Bluetooth and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761839A (en) * | 2014-01-14 | 2014-04-30 | 柳明福 | Anti-lost object search method based on TOF wireless distance measurement |
CN204576094U (en) * | 2015-01-28 | 2015-08-19 | 杭州图析信息技术有限公司 | A kind of children's location watch |
CN205103564U (en) * | 2015-11-03 | 2016-03-23 | 曹雄 | Children intelligent communication wrist -watch |
US20160335876A1 (en) * | 2015-05-11 | 2016-11-17 | Apple Inc. | Wirelessly Tethered Device Tracking |
CN207249869U (en) * | 2017-07-11 | 2018-04-17 | 柴博闻 | A kind of breast pin type children anti-losing device |
CN209514850U (en) * | 2018-12-24 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Anti-lost control system |
CN111091681A (en) * | 2019-12-12 | 2020-05-01 | 南京酷派软件技术有限公司 | Anti-lost monitoring method and device, storage medium and electronic equipment |
-
2020
- 2020-11-05 CN CN202011221045.3A patent/CN112530143A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103761839A (en) * | 2014-01-14 | 2014-04-30 | 柳明福 | Anti-lost object search method based on TOF wireless distance measurement |
CN204576094U (en) * | 2015-01-28 | 2015-08-19 | 杭州图析信息技术有限公司 | A kind of children's location watch |
US20160335876A1 (en) * | 2015-05-11 | 2016-11-17 | Apple Inc. | Wirelessly Tethered Device Tracking |
CN205103564U (en) * | 2015-11-03 | 2016-03-23 | 曹雄 | Children intelligent communication wrist -watch |
CN207249869U (en) * | 2017-07-11 | 2018-04-17 | 柴博闻 | A kind of breast pin type children anti-losing device |
CN209514850U (en) * | 2018-12-24 | 2019-10-18 | 阿里巴巴集团控股有限公司 | Anti-lost control system |
CN111091681A (en) * | 2019-12-12 | 2020-05-01 | 南京酷派软件技术有限公司 | Anti-lost monitoring method and device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
薛林等: "一种运用WiFi技术防止手持设备丢失的方法", 《数字技术与应用》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225939A (en) * | 2022-06-22 | 2022-10-21 | 深圳创维-Rgb电子有限公司 | Distance reminding method, device and equipment based on Bluetooth and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228358B (en) | Method, device, mobile terminal and storage medium for correcting vertical synchronization signal | |
CN110881211A (en) | Power saving method, device, storage medium and terminal | |
US10165404B2 (en) | Method for triggering operation and portable electronic device | |
CN108646970B (en) | Display control method and related product | |
US11997562B2 (en) | Tracking proximities of devices and/or objects | |
CN107452383B (en) | Information processing method, server, terminal and information processing system | |
CN104572104A (en) | Processing method and device for monitoring alarm clock | |
CN109121199A (en) | Localization method, positioning device, mobile terminal and storage medium | |
CN108551525B (en) | State determination method of movement track and mobile terminal | |
CN107786714B (en) | Sound control method, apparatus and system based on vehicle-mounted multimedia equipment | |
US11903054B2 (en) | Method for establishing communication connection and related products | |
CN112530143A (en) | Distance reminding method and device, storage medium and electronic equipment | |
CN105141755A (en) | Information reply method, smart watch, terminal equipment and system | |
CN111986454A (en) | Wireless earphone searching method, device, storage medium and terminal | |
WO2019141162A1 (en) | Terminal device searching method, apparatus and related device | |
CN109041212B (en) | Positioning method and wearable device | |
CN109413592B (en) | Broadcasting method and mobile terminal | |
CN107862190B (en) | Reminding method and related product | |
WO2022262445A1 (en) | Method and apparatus for acquiring positioning information, electronic device, and storage medium | |
CN109413259B (en) | Event reminding method and terminal equipment | |
CN113299039A (en) | Alarm method, alarm device, storage medium and electronic equipment | |
CN112825537A (en) | Mobile terminal, safety monitoring method and device | |
US20120122419A1 (en) | Emergency message transmission method and electronic device implementing the method | |
US20170116842A1 (en) | Information processing system, terminal, information processing method, terminal information processing method, and program | |
CN109003468B (en) | Vehicle control method and related product |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210319 |