CN112530143A - Distance reminding method and device, storage medium and electronic equipment - Google Patents

Distance reminding method and device, storage medium and electronic equipment Download PDF

Info

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
Application number
CN202011221045.3A
Other languages
Chinese (zh)
Inventor
姜志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realme Mobile Telecommunications Shenzhen Co Ltd
Original Assignee
Realme Mobile Telecommunications Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realme Mobile Telecommunications Shenzhen Co Ltd filed Critical Realme Mobile Telecommunications Shenzhen Co Ltd
Priority to CN202011221045.3A priority Critical patent/CN112530143A/en
Publication of CN112530143A publication Critical patent/CN112530143A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

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

Distance reminding method and device, storage medium and electronic equipment
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.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
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.
CN202011221045.3A 2020-11-05 2020-11-05 Distance reminding method and device, storage medium and electronic equipment Pending CN112530143A (en)

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)

Citations (7)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
薛林等: "一种运用WiFi技术防止手持设备丢失的方法", 《数字技术与应用》 *

Similar Documents

Publication Publication Date Title
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN105895073B (en) Notification information sending method and device
CN110881211A (en) Power saving method, device, storage medium and terminal
CN108646970B (en) Display control method and related product
CN107452383B (en) Information processing method, server, terminal and information processing system
US11903054B2 (en) Method for establishing communication connection and related products
US11412346B2 (en) Tracking proximities of devices and/or objects
CN108551525B (en) State determination method of movement track and mobile terminal
CN112309089A (en) Alarm method, alarm device, storage medium and electronic equipment
US10165404B2 (en) Method for triggering operation and portable electronic device
CN108093138A (en) A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing
CN109121199A (en) Localization method, positioning device, mobile terminal and storage medium
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN109041212B (en) Positioning method and wearable device
CN112530143A (en) Distance reminding method and device, storage medium and electronic equipment
WO2022262445A1 (en) Method and apparatus for acquiring positioning information, electronic device, and storage medium
CN106330875B (en) Message display method and device
CN109413592B (en) Broadcasting method and mobile terminal
CN114005260A (en) Article omission prompting method and device, electronic equipment and readable storage medium
CN110045378B (en) Method and device for searching terminal equipment and related equipment
CN110583009B (en) Ring control method, ring control device, storage medium and electronic equipment
US9842483B2 (en) Information processing system for reducing load on a server
CN112825537A (en) Mobile terminal, safety monitoring method and device
US20120122419A1 (en) Emergency message transmission method and electronic device implementing the method
US20220408216A1 (en) Tracking Proximities of Devices and/or Objects

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