CN108881614A - A kind of danger early warning method and terminal - Google Patents
A kind of danger early warning method and terminal Download PDFInfo
- Publication number
- CN108881614A CN108881614A CN201810404202.0A CN201810404202A CN108881614A CN 108881614 A CN108881614 A CN 108881614A CN 201810404202 A CN201810404202 A CN 201810404202A CN 108881614 A CN108881614 A CN 108881614A
- Authority
- CN
- China
- Prior art keywords
- terminal
- relative distance
- danger source
- currently
- detectable signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72418—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
- H04M1/72421—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Abstract
This application involves intelligent terminal technical field, in particular to a kind of danger early warning method and terminal;Wherein, method includes:Obtain triggering command;Based on the triggering command, triggering terminal is sent out detectable signal for the relative distance between detecting terminal and danger source at interval of scheduled duration L;It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤i;Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi‑1;Based on currently practical relative distance Di, the practical relative distance D of historyi‑1And the Encounter Time A of scheduled duration L prediction terminal and danger sourcei;As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation;The technical solution of the application detects danger source by sending detectable signal, and predicts that Encounter Time gives warning in advance, and ensure that the safety of user.
Description
Technical field
This application involves intelligent terminal technical field more particularly to a kind of danger early warning method and terminal devices.
Background technique
The intelligent terminals such as mobile phone, tablet computer integrate the feature of convenience, entertainment, functional diversity due to it,
Scarce a part can not be obtained by increasingly becoming in people's daily life, still, with the continuous development of terminal technology, more more first
Into application of the technology on intelligent terminal, greatly enrich people's lives;But at the same time people are to intelligent end
The requirement and expectation at end are also higher and higher, and people are enjoying the intelligent terminals bring basis sexual functions such as mobile phone, tablet computer
Meanwhile also to the hommization of intelligent terminal and intelligence, more stringent requirements are proposed.
In actual life, people are in the process of walking by can habitually use the intelligent terminals such as mobile phone, also with regard to shape
At it has often been said that race of bowing, indulging the intelligent terminals such as mobile phone on walking road can cause especially in danger zone to user
Very big security risk is easy to cause traffic accident;In the prior art, mobile phone is played to user in order to solve to bow in the process on foot
Caused by security risk, often walk during by front camera or touch screen feedback detection user whether make
With intelligent terminals such as mobile phones;And it is detecting user or whether user is detected using intelligent terminals such as mobile phones by touch screen
When, directly limitation user uses mobile phone, plays the variation (arrival of such as automobile) that mobile phone depends on user surrounding environment on foot, not
It is merely to depend on user in object for appreciation mobile phone of walking, solely Rule of judgment makes terminal that can not know whether security risk i.e.
It will arrive and then carry out early warning, single ground directly limits using bad use feeling is caused to user, is unfavorable for
Promote Intelligent Terminal and Humanization Level of Municipal.
Summary of the invention
The purpose of the application is to provide a kind of danger early warning method and terminal, can detect danger source, and carries out in advance pre-
It is alert, and guarantee user security.
According to some embodiments of the present application in a first aspect, embodiments herein provides a kind of danger early warning side
Method is applied to terminal, the method includes:
Obtain triggering command;
Based on the triggering command, triggering terminal is sent out detectable signal for detecting end at interval of scheduled duration L
Relative distance between end and danger source;
It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤
i;
Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Wherein, it is based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal
With the Encounter Time A of danger sourcei;
As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation.
Optionally, the method for obtaining triggering command includes:
Obtain the geographical location information that terminal is currently located;
Judge terminal currently whether in the predetermined area according to the geographical location information;
If terminal is currently at the predetermined area, triggering command is generated, and obtain;
Optionally, before generating triggering command, the method also includes:
Detect whether user is using the terminal,
Detecting that user when using the terminal, generates triggering command.
It is optionally, described that by the detectable signal to detect to obtain terminal currently currently practical opposite between danger source
Distance DiMethod include:
Being sent out can be by dangerous identifing source and received detectable signal;
Obtain the sending time S of the detectable signali;
Receive the response signal corresponding with the detectable signal that danger source is returned when receiving the detectable signal;
When receiving response signal corresponding with the detectable signal of transmission, the receiving time of the response signal is obtained
Ri;
Theoretical relative distance D between computing terminal and danger sourcei';
According to the theoretical relative distance Di' currently practical relative distance of the terminal currently between danger source is calculated
Di。
Optionally, the theoretical relative distance D between the computing terminal and danger sourcei' before, the method is also wrapped
It includes:
Response signal corresponding with the detection is parsed, the danger source for including in the response signal is obtained and receives detection
The receiving time of signal and the sending time for sending response signal corresponding with detectable signal;
According to the sending time computing relay duration T of the receiving time of the detectable signal parsed and response signali。
Optionally, the theoretical relative distance D between the computing terminal and danger sourcei' method include:
Based on the sending time Si, the receiving time Ri, signaling rate C and delay duration TiComputational theory
Relative distance Di';
Wherein,
Wherein, ViFor in delay duration TiSpeed of related movement between interior terminal and danger source.
Optionally, described according to the theoretical relative distance Di' that terminal is calculated is currently current between danger source
Practical relative distance DiMethod include:
According in delay duration TiSpeed of related movement V between interior terminal and danger sourceiIt calculates in delay duration TiInterior end
Relative distance changing value M between end and danger sourcei;
Wherein, Mi=Vi*Ti;
The theoretical relative distance D that will be calculatedi' subtract in delay duration TiBetween interior terminal and danger source it is opposite away from
From changing value MiTo obtain currently practical relative distance D of the terminal currently between danger sourcei;
I.e.:
Optionally, the practical relative distance D of history between the terminal and danger source that last time is detected is obtainedi-1Method packet
It includes:
It is actually opposite by the history being sent out between the terminal and danger source that detectable signal detects to read last time
Distance Di-1;
Wherein,
Wherein, Ti-1For the delay duration in last time detection process;Mi-1To postpone duration T in last time detection processi-1It is interior
Relative distance changing value between terminal and danger source;Vi-1For in delay duration Ti-1Opposite fortune between interior terminal and danger source
Dynamic speed;Ri-1For the receiving time of the response signal in last time detection process;Si-1Detectable signal in last time detection process
Sending time.
Optionally, described to be based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L is pre-
The method for surveying the Encounter Time of terminal and danger source includes:
Calculate the relative distance changing value M in scheduled duration L between terminal and danger source;
Wherein,
Wherein, the speed of related movement in scheduled duration L between terminal and danger source is V;
Calculating the speed of related movement in scheduled duration L between terminal and danger source is V;
Wherein,
Based on currently practical relative distance DiIt is that V calculates Encounter Time A with the speed of related movementi;
Wherein,
According to the another aspect of the application, embodiments herein additionally provides a kind of terminal, including memory, is configured
For storing data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured
To execute following operation:
Obtain triggering command;
Based on the triggering command, triggering terminal is sent out detectable signal for detecting end at interval of scheduled duration L
Relative distance between end and danger source;
It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤
i;
Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Wherein, it is based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal
With the Encounter Time A of danger sourcei;
As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation.
The above-mentioned technical proposal of the application, which is used, is sent out the mode of detectable signal at interval of scheduled duration L to detect end
Relative distance between end and danger source;And it detects to obtain terminal by the detectable signal currently current between danger source
Practical relative distance Di, 2≤i;And further obtain the history between the last time terminal and danger source that detect it is practical it is opposite away from
From Di-1;Based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal and danger source
Encounter Time Ai;And the Encounter Time AiTriggering terminal, which executes, when less than predetermined threshold reminds operation, through the above scheme,
Can look-ahead go out Encounter Time between terminal and danger source, and give user to issue early warning in advance before Encounter Time arrival
Prompt, so guarantee user security, and on the other hand, the source of being safe from danger close to when illustrate that user temporarily compares peace
Entirely;When detecting user's using terminal, directly limitation user does not use above scheme, but is gone forward side by side by the detection of danger source
The mode that row gives warning in advance, both can guarantee unlimited user's using terminal processed, and can guarantee user security, and had improved the use of user
Impression improves the hommization and intelligentized level of terminal.
Detailed description of the invention
To more fully understand and illustrating some embodiments of the present application, below with reference to the description of attached drawing reference implementation example,
In the drawings, same digital number indicates corresponding part in the accompanying drawings.
Fig. 1 is a kind of schematic flow chart of the danger early warning method provided according to some embodiments of the present application;
Fig. 2 be some embodiments of the present application provide detect to obtain terminal currently and danger source by the detectable signal
Between currently practical relative distance DiMethod schematic flow chart.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application more clear, With reference to embodiment and join
According to attached drawing, the application is further described.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this Shen
Range please.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid this is unnecessarily obscured
The concept of application.
The term used in following description and claims and phrase are not limited to literal meaning, and being merely can
Understand and consistently understands the application.Therefore, for those skilled in the art, it will be understood that provide to the various implementations of the application
The description of example is only the purpose to illustrate, rather than limits the application of appended claims and its Equivalent definitions.
Below in conjunction with the attached drawing in some embodiments of the application, technical solutions in the embodiments of the present application carries out clear
Chu is fully described by, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.
Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts all
Other embodiments shall fall in the protection scope of this application.
It should be noted that the term used in the embodiment of the present application is only merely for the mesh of description specific embodiment
, it is not intended to be limiting the application." one " of the embodiment of the present application and singular used in the attached claims,
"one", "an", " described " and "the" be also intended to including most forms, unless the context clearly indicates other meaning.Also
It should be appreciated that term "and/or" used herein refers to and includes that any of project is listed in one or more mutually bindings
Or all possible combinations.Expression " first ", " second ", " first " and " second " be for modify respective element without
Consideration sequence or importance are used only for distinguishing a kind of element and another element, without limiting respective element.Under in addition,
Technical characteristic involved in the application different embodiments described in face as long as they do not conflict with each other can phase
Mutually combine.
In order to which the clearer each attached drawing of description gives same step different labels in various figures.
Can be electronic equipment according to the terminal of some embodiments of the application, the electronic equipment may include smart phone,
PC (PC, such as tablet computer, desktop computer, notebook, net book, palm PC PDA), mobile phone, e-book
Reader, portable media player (PMP), audio/video player (MP3/MP4), video camera, virtual reality device
(VR) and the combination of one or more of wearable device etc..According to some embodiments of the present application, the wearable device
It may include type of attachment (such as wrist-watch, ring, bracelet, glasses or wear-type device (HMD)), integrated type (such as electronics
Clothes), decorated type (such as pad skin, tatoo or built in electronic device) etc. or several combinations.In some realities of the application
One of it applies in example, the electronic equipment can be flexibly, be not limited to above equipment, or can be above-mentioned various equipment
Or several combination.In this application, term " user " can be indicated using the people of electronic equipment or setting using electronic equipment
Standby (such as artificial intelligence electronic equipment).
Below in conjunction with attached drawing, it is described in detail according to the sequence of figure to figure.
It please refers to Fig. 1 (i.e. shown in attached drawing 100), Fig. 1 is a kind of danger provided according to some embodiments of the present application
The schematic flow chart of method for early warning;
As shown in Figure 1, embodiments herein provides a kind of danger early warning method, it is applied to terminal, the method packet
It includes:
Step S101:Obtain triggering command;
Step S102:Based on the triggering command, triggering terminal at interval of scheduled duration L be sent out detectable signal with
Relative distance between detecting terminal and danger source;
Step S103:By the detectable signal detect to obtain terminal currently between danger source it is currently practical it is opposite away from
From Di, 2≤i;
Step S104:Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Step S105:Based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L prediction
The Encounter Time A of terminal and danger sourcei;
Step S106:When the Encounter Time Ai is less than predetermined threshold, triggering terminal, which executes, reminds operation.
Wherein, it should be noted that the danger source in the application is the terminal device being installed on the vehicles, i.e., vehicle-mounted
Terminal;
The detectable signal of the application is preferably wifi signal, in the communications field, RTT (Round Trip Time, when round-trip
Between) it is signal from being sent to the time for receiving response and spending.This time mainly includes signal between two communication terminals
Propagation spend time.For wireless signal, it is whole in two communications that this time is equivalent to light (i.e. any signal)
Hold the time spent.The application is based on WiFi RTT technology;Its data frame has:Each unicast packet side of being received immediately
The intrinsic characteristic of confirmation, therefore it is suitble to detection range.When WiFi data frame is propagated, the total time that signal propagates cost is:
Start to transmit data packet and receive the duration between corresponding data, which is known as long-range delay (dremote);Receiving end receives
It after to signal and sends reply data and has a delay, which is known as local delay (dlocal);Therefore data frame is total
Be with the propagation time in distance:Long-range delay subtracts the time locally postponed.So utilize the public affairs of WiFi signal ranging
Formula is:
(c≈3*108M/s, that is, the light velocity);Because of the wave band one of electromagnetic signal and light
It causes, therefore spread speed is also 3*108m/s;Transmitting terminal and the distance between be distance, therefore signal from be sent to receive
Response has propagated twice of distance, i.e. 2*distance;Dremote is to propagate the total time spent, and dlocal is in receiving end
On delay, so the time spent in distance is the difference subtracted each other of two times.
The application is based on above-mentioned basic principle, by being sent out the relative distance of detectable signal and danger source, Jin Erti
Before predict Encounter Time between terminal and danger source, and give user to issue early warning in advance before Encounter Time arrival,
Ensure that user security, and on the other hand, the source of being safe from danger close to when illustrate user's temporarily relatively safety;Above-mentioned side
When detecting user's using terminal, directly limitation user does not use case, but by the detection of danger source and gives warning in advance
Mode, both can guarantee unlimited user's using terminal processed, and can guarantee user security.
As a kind of optional embodiment, the method for obtaining triggering command includes:
Obtain the geographical location information that terminal is currently located;
Judge terminal currently whether in the predetermined area according to the geographical location information;
If terminal is currently at the predetermined area, triggering command is generated, and obtain;
By GPS positioning function obtain geographical location information, measure user close to traffic environment complexity area (such as
The predetermined areas such as crossroad) when, active transmission detectable signal detects danger source, and is reminded in advance;In this way, when user is complete
When immersing on mobile terminals entirely, the possible danger of user can be also reminded in time.
As a kind of optional embodiment, before generating triggering command, the method also includes:
Detect whether user is using the terminal,
Detecting that user when using the terminal, generates triggering command.
(i.e. shown in attached drawing 200) referring to figure 2., Fig. 2 are some embodiments of the present application offers by the detection
Signal detection obtains currently practical relative distance D of the terminal currently between danger sourceiMethod schematic flow chart;
As shown in Fig. 2, as a kind of optional embodiment, it is described by the detectable signal detect to obtain terminal currently with
Currently practical relative distance D between danger sourceiMethod include:
Step S201:Being sent out can be by dangerous identifing source and received detectable signal;
Step S202:Obtain the sending time S of the detectable signali;
Step S203:Reception danger source returns corresponding with the detectable signal when receiving the detectable signal
Response signal;
Step S204:When receiving response signal corresponding with the detectable signal of transmission, the response signal is obtained
Receiving time Ri;
Step S205:Theoretical relative distance D between computing terminal and danger sourcei';
Step S206:According to the theoretical relative distance Di' current reality of the terminal currently between danger source is calculated
Border relative distance Di。
A kind of theoretical relative distance D as optional embodiment, between the computing terminal and danger sourcei' before,
The method also includes:
Response signal corresponding with the detection is parsed, the danger source for including in the response signal is obtained and receives detection
The receiving time of signal and the sending time for sending response signal corresponding with detectable signal;
According to the sending time computing relay duration T of the receiving time of the detectable signal parsed and response signali。
A kind of theoretical relative distance D as optional embodiment, between the computing terminal and danger sourcei' method
Including:
Based on the sending time Si, the receiving time Ri, signaling rate C and delay duration TiComputational theory
Relative distance Di';
Wherein,
Wherein, ViFor in delay duration TiSpeed of related movement between interior terminal and danger source.
It is described according to the theoretical relative distance D as a kind of optional embodimenti' be calculated terminal currently with danger
Currently practical relative distance D between dangerous sourceiMethod include:
According in delay duration TiSpeed of related movement V between interior terminal and danger sourceiIt calculates in delay duration TiInterior end
Relative distance changing value M between end and danger sourcei;
Wherein, Mi=Vi*Ti;
The theoretical relative distance D that will be calculatedi' subtract in delay duration TiBetween interior terminal and danger source it is opposite away from
From changing value MiTo obtain currently practical relative distance D of the terminal currently between danger sourcei;
I.e.:
Wherein, it should be noted that be to make two terminals when carrying out ranging based on WiFi RTT technology in the prior art
From the point of view of static state, and the application in special circumstances, the user and danger source as where terminal are (i.e. where car-mounted terminal
Automobile) change in location can occur in real time, at this time if will two terminals calculated as static state, inevitably result in and measure
Relative distance inaccuracy between terminal and danger source;Such as:Detectable signal is issued in t1 moment terminal, is connect in t2 moment danger source
Detectable signal is received, issues response signal corresponding with detectable signal in t3 moment danger source, t4 moment terminal receives this
Response signal, in the ideal case, t2=t3;But in the actual process, t2 ≠ t3 can have the delay duration of t3-t2,
In this delay duration of t3-t2, change in location may all occur for terminal and danger source, therefore when the actual transmission of signal
Long also just not instead of t4-t1, t4-t1- (t3-t2), by the delay duration and phase between propagation delay time terminal and danger source
Change in location is taken into account, relative distance that can more accurately between measuring terminals and danger source.
As a kind of optional embodiment, obtain history between the terminal and danger source that last time is detected it is practical it is opposite away from
From Di-1Method include:
It is actually opposite by the history being sent out between the terminal and danger source that detectable signal detects to read last time
Distance Di-1;
Wherein,
Wherein, Ti-1For the delay duration in last time detection process;Mi-1To postpone duration T in last time detection processi-1It is interior
Relative distance changing value between terminal and danger source;Vi-1For in delay duration Ti-1Opposite fortune between interior terminal and danger source
Dynamic speed;Ri-1For the receiving time of the response signal in last time detection process;Si-1Detectable signal in last time detection process
Sending time.
It is described to be based on currently practical relative distance D as a kind of optional embodimenti, the practical relative distance D of historyi-1With
And the method that scheduled duration L predicts the Encounter Time of terminal and danger source includes:
Calculate the relative distance changing value M in scheduled duration L between terminal and danger source;
Wherein,
Wherein, the speed of related movement in scheduled duration L between terminal and danger source is V;
Calculating the speed of related movement in scheduled duration L between terminal and danger source is V;
Wherein,
Based on currently practical relative distance DiIt is that V calculates Encounter Time A with the speed of related movementi;
Wherein,
In order to which above-mentioned technical proposal is better achieved, embodiments herein additionally provides a kind of terminal, including memory,
It is configured as storing data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured
To execute following operation:
Obtain triggering command;
Based on the triggering command, triggering terminal is sent out detectable signal for detecting end at interval of scheduled duration L
Relative distance between end and danger source;
It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤
i;
Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Wherein, it is based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal
With the Encounter Time A of danger sourcei;
As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation.
When obtaining triggering command, the processor is configured to executing following operation:
Obtain the geographical location information that terminal is currently located;
Judge terminal currently whether in the predetermined area according to the geographical location information;
If terminal is currently at the predetermined area, triggering command is generated, and obtain;
Before generating triggering command, the processor is configured to executing following operation:
Detect whether user is using the terminal,
Detecting that user when using the terminal, generates triggering command.
It is detecting to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signaliWhen,
The processor is configured to executing following operation:
Being sent out can be by dangerous identifing source and received detectable signal;
Obtain the sending time S of the detectable signali;
Receive the response signal corresponding with the detectable signal that danger source is returned when receiving the detectable signal;
When receiving response signal corresponding with the detectable signal of transmission, the receiving time of the response signal is obtained
Ri;
Theoretical relative distance D between computing terminal and danger sourcei';
According to the theoretical relative distance Di' currently practical relative distance of the terminal currently between danger source is calculated
Di。
Theoretical relative distance D between the computing terminal and danger sourcei' before, the processor is configured to holding
The following operation of row:
Response signal corresponding with the detection is parsed, the danger source for including in the response signal is obtained and receives detection
The receiving time of signal and the sending time for sending response signal corresponding with detectable signal;
According to the sending time computing relay duration T of the receiving time of the detectable signal parsed and response signali。
Theoretical relative distance D between computing terminal and danger sourcei' when, the processor is configured to executing following
Operation:
Based on the sending time Si, the receiving time Ri, signaling rate C and delay duration TiComputational theory
Relative distance Di';
Wherein,
Wherein, ViFor in delay duration TiSpeed of related movement between interior terminal and danger source.
According to the theoretical relative distance Di' be calculated terminal currently between danger source it is currently practical it is opposite away from
From DiWhen, the processor is configured to executing following operation:
According in delay duration TiSpeed of related movement V between interior terminal and danger sourceiIt calculates in delay duration TiInterior end
Relative distance changing value M between end and danger sourcei;
Wherein, Mi=Vi*Ti;
The theoretical relative distance D that will be calculatedi' subtract in delay duration TiBetween interior terminal and danger source it is opposite away from
From changing value MiTo obtain currently practical relative distance D of the terminal currently between danger sourcei;
I.e.:
Obtaining the practical relative distance D of history between the terminal and danger source that last time is detectedi-1When, the processor
It is configured as executing following operation:
It is actually opposite by the history being sent out between the terminal and danger source that detectable signal detects to read last time
Distance Di-1;
Wherein,
Wherein, Ti-1For the delay duration in last time detection process;Mi-1To postpone duration T in last time detection processi-1It is interior
Relative distance changing value between terminal and danger source;Vi-1For in delay duration Ti-1Opposite fortune between interior terminal and danger source
Dynamic speed;Ri-1For the receiving time of the response signal in last time detection process;Si-1Detectable signal in last time detection process
Sending time.
It is being based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal and danger
When the Encounter Time in dangerous source, the processor is configured to executing following operation:
Calculate the relative distance changing value M in scheduled duration L between terminal and danger source;
Wherein,
Wherein, the speed of related movement in scheduled duration L between terminal and danger source is V;
Calculating the speed of related movement in scheduled duration L between terminal and danger source is V;
Wherein,
Based on currently practical relative distance DiIt is that V calculates Encounter Time A with the speed of related movementi;
Wherein,
The application is intended to protect a kind of danger early warning method and terminal, the above-mentioned technical proposal of the application to use at interval of pre-
Periodically long L is sent out the mode of detectable signal with the relative distance between detecting terminal and danger source;And pass through the detection
Signal detection obtains currently practical relative distance D of the terminal currently between danger sourcei, 2≤i;And further obtain last time spy
The practical relative distance D of the history between terminal and danger source measuredi-1;Based on currently practical relative distance Di, the practical phase of history
Adjust the distance Di-1And the Encounter Time A of scheduled duration L prediction terminal and danger sourcei;And the Encounter Time AiLess than predetermined threshold
When value triggering terminal execute remind operation, through the above scheme, can look-ahead go out Encounter Time between terminal and danger source,
And early warning is issued to user in advance before Encounter Time arrival, and then guarantee user security, and on the other hand, do not having
Dangerous source close to when illustrate user temporarily relatively safety;Above scheme does not limit directly when detecting user's using terminal
User processed uses, but by way of passing through the detection of danger source and being given warning in advance, it both can guarantee that unlimited user processed used eventually
End, and can guarantee user security, the use feeling of user is improved, the hommization and intelligentized level of terminal are improved.
It should be noted that the above embodiments are intended merely as example, the application is not limited to such example, but can
To carry out various change.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing not only include with sequence described here in temporal sequence
The processing of execution, and the processing including executing parallel or respectively rather than in chronological order.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
It is completed by the relevant hardware of computer program instructions, the program can be stored in a computer readable storage medium,
The program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can for magnetic disk,
CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM)
Deng.
Above disclosed is only some preferred embodiments of the application, and the right model of the application cannot be limited with this
It encloses, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and wants according to the application right
Made equivalent variations is sought, is still belonged to the scope covered by the invention.
Claims (10)
1. a kind of danger early warning method, which is characterized in that it is applied to terminal, the method includes:
Obtain triggering command;
Based on the triggering command, triggering terminal at interval of scheduled duration L be sent out detectable signal with for detecting terminal with
Relative distance between danger source;
It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤i;
Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L prediction terminal and danger source
Encounter Time Ai;
As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation.
2. the method according to claim 1, wherein the method for obtaining triggering command includes:
Obtain the geographical location information that terminal is currently located;
Judge terminal currently whether in the predetermined area according to the geographical location information;
If terminal is currently at the predetermined area, triggering command is generated, and obtain.
3. according to the method described in claim 2, it is characterized in that, before generating triggering command, the method also includes:
Detect whether user is using the terminal,
Detecting that user when using the terminal, generates triggering command.
4. the method according to claim 1, wherein it is described detect to obtain terminal by the detectable signal it is current
Currently practical relative distance D between danger sourceiMethod include:
Being sent out can be by dangerous identifing source and received detectable signal;
Obtain the sending time S of the detectable signali;
Receive the response signal corresponding with the detectable signal that danger source is returned when receiving the detectable signal;
When receiving response signal corresponding with the detectable signal of transmission, the receiving time R of the response signal is obtainedi;
Theoretical relative distance D between computing terminal and danger sourcei';
According to the theoretical relative distance Di' currently practical relative distance D of the terminal currently between danger source is calculatedi。
5. according to the method described in claim 4, it is characterized in that, the theory between the computing terminal and danger source is opposite
Distance Di' before, the method also includes:
Response signal corresponding with the detection is parsed, the danger source for including in the response signal is obtained and receives detectable signal
Receiving time and send the sending time of corresponding with detectable signal response signal;
According to the sending time computing relay duration T of the receiving time of the detectable signal parsed and response signali。
6. according to the method described in claim 5, it is characterized in that, theory between the computing terminal and danger source it is opposite away from
From Di' method include:
Based on the sending time Si, the receiving time Ri, signaling rate C and delay duration TiComputational theory is opposite
Distance Di';
Wherein,
Wherein, ViFor in delay duration TiSpeed of related movement between interior terminal and danger source.
7. according to the method described in claim 6, it is characterized in that, described according to the theoretical relative distance Di' end is calculated
Hold the currently currently practical relative distance D between danger sourceiMethod include:
According in delay duration TiSpeed of related movement V between interior terminal and danger sourceiIt calculates in delay duration TiInterior terminal with
Relative distance changing value M between danger sourcei;
Wherein, Mi=Vi*Ti;
The theoretical relative distance D that will be calculatedi' subtract in delay duration TiRelative distance between interior terminal and danger source becomes
Change value MiTo obtain currently practical relative distance D of the terminal currently between danger sourcei;
I.e.:
8. the method according to the description of claim 7 is characterized in that obtaining going through between the terminal and danger source that last time is detected
Historical facts border relative distance Di-1Method include:
Reading last time passes through the practical relative distance of history that is sent out between the terminal and danger source that detectable signal detects
Di-1;
Wherein,
Wherein, Ti-1For the delay duration in last time detection process;Mi-1To postpone duration T in last time detection processi-1Interior terminal
Relative distance changing value between danger source;Vi-1For in delay duration Ti-1Relative motion speed between interior terminal and danger source
Degree;Ri-1For the receiving time of the response signal in last time detection process;Si-1The transmission of detectable signal in last time detection process
Time.
9. the method according to claim 1, wherein described be based on currently practical relative distance Di, the practical phase of history
Adjust the distance Di-1And the method that scheduled duration L predicts the Encounter Time of terminal and danger source includes:
Calculate the relative distance changing value M in scheduled duration L between terminal and danger source;
Wherein,
Wherein, the speed of related movement in scheduled duration L between terminal and danger source is V;
Calculating the speed of related movement in scheduled duration L between terminal and danger source is V;
Wherein,
Based on currently practical relative distance DiIt is that V calculates Encounter Time A with the speed of related movementi;
Wherein,
10. a kind of terminal, which is characterized in that including memory, be configured as storing data and instruction;
The processor communicated is established with memory, wherein when executing the instruction in memory, the processor is configured to holding
The following operation of row:
Obtain triggering command;
Based on the triggering command, triggering terminal at interval of scheduled duration L be sent out detectable signal with for detecting terminal with
Relative distance between danger source;
It detects to obtain currently practical relative distance D of the terminal currently between danger source by the detectable signali, 2≤i;
Obtain the practical relative distance D of history between the terminal and danger source that last time is detectedi-1;
Wherein, it is based on currently practical relative distance Di, the practical relative distance D of historyi-1And scheduled duration L predicts terminal and danger
The Encounter Time A in sourcei;
As the Encounter Time AiWhen less than predetermined threshold, triggering terminal, which executes, reminds operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810404202.0A CN108881614A (en) | 2018-04-28 | 2018-04-28 | A kind of danger early warning method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810404202.0A CN108881614A (en) | 2018-04-28 | 2018-04-28 | A kind of danger early warning method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108881614A true CN108881614A (en) | 2018-11-23 |
Family
ID=64326892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810404202.0A Pending CN108881614A (en) | 2018-04-28 | 2018-04-28 | A kind of danger early warning method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881614A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112232581A (en) * | 2020-10-26 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Driving risk prediction method and device, electronic equipment and storage medium |
CN112637418A (en) * | 2019-09-24 | 2021-04-09 | 华为技术有限公司 | Danger reminding method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2921858Y (en) * | 2006-05-24 | 2007-07-11 | 乐金电子(中国)研究开发中心有限公司 | Blind guiding mobile telephone |
CN102685299A (en) * | 2011-03-08 | 2012-09-19 | 联想(北京)有限公司 | Obstacle dangerous case prompting method and hand-held terminal |
CN103152483A (en) * | 2013-03-04 | 2013-06-12 | 广东欧珀移动通信有限公司 | Method and device for monitoring approaching object by using mobile device |
CN105718888A (en) * | 2016-01-22 | 2016-06-29 | 北京中科慧眼科技有限公司 | Obstacle prewarning method and obstacle prewarning device |
CN106573589A (en) * | 2014-08-01 | 2017-04-19 | 株式会社电装 | Predicted-collision-time calculation device, and predicted-collision-time calculation method |
-
2018
- 2018-04-28 CN CN201810404202.0A patent/CN108881614A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2921858Y (en) * | 2006-05-24 | 2007-07-11 | 乐金电子(中国)研究开发中心有限公司 | Blind guiding mobile telephone |
CN102685299A (en) * | 2011-03-08 | 2012-09-19 | 联想(北京)有限公司 | Obstacle dangerous case prompting method and hand-held terminal |
CN103152483A (en) * | 2013-03-04 | 2013-06-12 | 广东欧珀移动通信有限公司 | Method and device for monitoring approaching object by using mobile device |
CN106573589A (en) * | 2014-08-01 | 2017-04-19 | 株式会社电装 | Predicted-collision-time calculation device, and predicted-collision-time calculation method |
CN105718888A (en) * | 2016-01-22 | 2016-06-29 | 北京中科慧眼科技有限公司 | Obstacle prewarning method and obstacle prewarning device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112637418A (en) * | 2019-09-24 | 2021-04-09 | 华为技术有限公司 | Danger reminding method and device |
CN112232581A (en) * | 2020-10-26 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Driving risk prediction method and device, electronic equipment and storage medium |
CN112232581B (en) * | 2020-10-26 | 2024-04-12 | 腾讯科技(深圳)有限公司 | Driving risk prediction method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8531414B2 (en) | Bump suppression | |
RU2640822C2 (en) | Method, device and communication system for wearable device | |
US20150126234A1 (en) | User interface for object tracking | |
GB2507155A (en) | Proximity tag and method for object tracking | |
WO2015015047A1 (en) | Distance estimation | |
CN103227865B (en) | Display method of voice recognition interface and mobile terminal | |
CN107045528A (en) | A kind of method and terminal reminded of going on a journey | |
WO2016197060A1 (en) | Smart location-based reminders | |
US10721347B2 (en) | Detecting patterns and behavior to prevent a mobile terminal drop event | |
CN104822132A (en) | Position sharing method | |
CN108881614A (en) | A kind of danger early warning method and terminal | |
CN107729781A (en) | The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium | |
CN107995367B (en) | Arrival reminding method and device, storage medium and mobile terminal | |
EP3097495A1 (en) | Apparatus and method for correlating context data | |
CN108171965B (en) | Arrival reminding method and device, storage medium and mobile terminal | |
CN109410535A (en) | A kind for the treatment of method and apparatus of scene information | |
CN109708657A (en) | A kind of based reminding method and mobile terminal | |
WO2014160372A1 (en) | User interface for object tracking | |
CN108234757A (en) | A kind of method of safety guarantee, terminal device and computer-readable medium | |
CN110445937A (en) | Event-prompting method and Related product | |
CN112492518B (en) | Card determination method, device, electronic equipment and storage medium | |
CN109348062A (en) | Emergency call realization method, electronic device and computer readable storage medium | |
CN108965042A (en) | Acquisition methods, device, terminal device and the storage medium of network delay | |
CN107172302A (en) | Audio control method and device, computer installation and computer-readable recording medium | |
CN105446578A (en) | Information processing method, first electronic equipment and wearable electronic equipment |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181123 |