Summary of the invention
In consideration of it, the present invention provides a kind of method for security protection based on mobile terminal, system and mobile terminal, solve logical
The technical issues of crossing the operational poor with initiative of existing mobile terminal hedging emergency and influencing safe effect.
According to one embodiment of present invention, a kind of method for security protection based on mobile terminal is provided, comprising: detection is
No triggering safeguard protection mode;When detecting triggering safeguard protection mode, all mobile terminals around mobile terminal are obtained
Signaling data;Acquire the GPS positioning data of the mobile terminal and all mobile terminals of surrounding;And analysis handles the shifting
The GPS positioning data of dynamic terminal and all mobile terminals of surrounding, and generate safe route.
Preferably, described to detect whether that triggering safeguard protection mode includes: to detect the input of user;Judge the user's
Whether input is default safeguard protection mode triggering command;When the input for judging the user is default safeguard protection mode triggering
When instruction, triggering safeguard protection mode is determined;And when the input for judging the user is not default safeguard protection mode triggering
When instruction, determination does not trigger safeguard protection mode.
Preferably, the signaling data for obtaining all mobile terminals around mobile terminal includes: sending to peripheral base station
The request of the signaling data of all mobile terminals around acquisition;And receive all mobile terminals around peripheral base station transmission
Signaling data.
Preferably, the analysis handles the GPS positioning data of the mobile terminal and all mobile terminals of peripheral base station
And generating safe route includes: the analysis mobile terminal at a distance from all mobile terminals of surrounding;Analyze the movement
The relative position and densely distributed degree of terminal and all mobile terminals of surrounding;And according to the mobile terminal and week analyzed
Distance, relative position and the densely distributed degree for enclosing all mobile terminals generate safe route.
Preferably, after generating safe route further include: show safe route and the surrounding institute of generation
There are the GPS positioning data of mobile terminal;And it is kept away according to the GPS positioning data of the mobile terminal of acquisition and the safety
Dangerous route navigates.
According to another embodiment of the invention, a kind of safety system based on mobile terminal is provided, comprising: detection
Module, for detecting whether triggering safeguard protection mode;Signaling obtains module, for detecting triggering peace when the detection module
The signaling data of all mobile terminals around mobile terminal is obtained when full guard mode;GPS module, it is described mobile whole for acquiring
End and the signaling obtain the GPS positioning data of all mobile terminals around module acquisition;And analysis and processing module, it uses
The mobile terminal of the GPS module acquisition and the GPS positioning data of all mobile terminals of peripheral base station are handled in analysis
And generate safe route.
Preferably, it includes: signaling data request unit that the signaling, which obtains module, for sending acquisition week to peripheral base station
Enclose the request of the signaling data of all mobile terminals;And signaling data receiving unit, for receiving the week of peripheral base station transmission
Enclose the signaling data of all mobile terminals.
Preferably, the analysis and processing module includes: distance analysis unit, for analyzing the mobile terminal and surrounding institute
There is the distance of mobile terminal;Position closeness analytical unit, for analyzing the mobile terminal and all mobile terminals of surrounding
Relative position and densely distributed degree;And safe Route Generation unit, for according to the distance analysis unit and position
The mobile terminal that closeness analytical unit analyzes is at a distance from all mobile terminals of surrounding, relative position and densely distributed
Degree generates safe route.
Preferably, the safety system based on mobile terminal further include: display module, for showing the peace generated
The GPS positioning data of the mobile terminal and all mobile terminals of surrounding that full hedging route and GPS module are collected;And it leads
Model plane block, the GPS positioning data of the mobile terminal for being acquired according to the GPS module and the safe route
It navigates.
Another embodiment according to the present invention, also provides a kind of mobile terminal, the mobile terminal include it is above-mentioned based on
The safety system of mobile terminal.
Method for security protection based on mobile terminal, system and mobile terminal provided by the invention are detecting triggering peace
When full guard mode, the GPS positioning data of mobile terminal and all mobile terminals of surrounding are obtained, and analyze generation safe
Route, user close to the crowd is dense area and can ask for help rapidly according to the optimal safe route guiding and be detached from safety
Hidden danger, conveniently and efficiently provides optimal safe route, safe it is easy to operate effectively, improve mobile terminal peace
Initiative, real-time and the operability of full guard, improve the safety protective effect of mobile terminal.
Specific embodiment
Further more detailed description is made to technical solution of the present invention with reference to the accompanying drawings and detailed description.It is aobvious
So, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art's every other embodiment obtained without creative labor,
It all should belong to the scope of protection of the invention.
In the description of the present invention, it is to be understood that, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In the description of the present invention, it should be noted that unless otherwise specific regulation
And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection,
Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through
It is indirectly connected.For the ordinary skill in the art, above-mentioned term can be understood in the present invention in conjunction with concrete condition
Concrete meaning.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " plurality " is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Mobile terminal of the invention can have the electric terminal of mobile communication module and GPS module for any type, than
Such as mobile phone, tablet computer, laptop, intelligent glasses, Intelligent bracelet, smartwatch.
Fig. 1 is the flow diagram of the method for security protection based on mobile terminal in one embodiment of the invention.As schemed
Show, the method for security protection based on mobile terminal, comprising:
Step S101: triggering safeguard protection mode is detected whether.
In the present embodiment, it when the mobile terminal works normally, first has to detect whether triggering safeguard protection mode.
It is referring to fig. 2, described to detect whether triggering safeguard protection mode, comprising:
Step S201: the input of user is detected.
Step S202: whether the input for judging the user is default safeguard protection mode triggering command.
Step S203: when the input for judging the user is default safeguard protection mode triggering command, triggering peace is determined
Full guard mode;And when the input for judging the user is not default safeguard protection mode triggering command, determination is not triggered
Safeguard protection mode.
In the present embodiment, can preset security protection module triggering command according to operating habit or operation ease is
Predetermined registration operation, for example quickly press power key twice in succession, continuously quickly rock the mobile terminal, continuous quickly pressing three times
Navigation key etc. can simple and quick operation predetermined registration operation, facilitate user can quick start safeguard protection mould when encountering danger
Formula.When the mobile terminal works normally, when detecting that user inputs default safeguard protection mode triggering command, confirm into
The safeguard protection mode for entering to help user actively to flee danger.
Step S102: when detecting triggering safeguard protection mode, the letter of all mobile terminals around mobile terminal is obtained
Enable data.
In the present embodiment, when the mobile terminal carries out safeguard protection mode, start to obtain institute around mobile terminal
There is the signaling data of mobile terminal.Referring to Fig. 3, the signaling data for obtaining all mobile terminals around mobile terminal, comprising:
Step S301: the request of the signaling data of all mobile terminals around acquisition is sent to peripheral base station.
In the present embodiment, the mobile terminal is by the base station around mobile communication module discovery, and to peripheral base station
Send the request of the signaling data of all mobile terminals around acquisition.For example, sending around acquisition 500 meters to base station by mobile phone
The request of the signaling data of all mobile phones in range.Base station is when receiving the request, in registered in advance and authorization for safety
The position of the mobile phone of all mobile phone signaling datas is believed within the scope of 500 meters around can returning to the mobile terminal in the case where protection
Breath.
Step S302: the signaling data of all mobile terminals around peripheral base station transmission is received.
In the present embodiment, all signaling numbers within the scope of 500 meters of surrounding are obtained by the mobile terminal peripheral base station
According to obtaining the location information of all mobile terminal users around.
Step S103: the GPS positioning data of the mobile terminal and all mobile terminals of surrounding are acquired.
In the present embodiment, the mobile terminal and all mobile terminals of surrounding are acquired in real time by GPS module
GPS data, obtain the mobile terminal and it is described around the accurate location information of all mobile terminals and relative position letter
Breath.
Step S104: analysis handles the GPS positioning data of the mobile terminal and all mobile terminals of surrounding, and generates
Safe route.
Referring to fig. 4, the analysis handles the GPS positioning data of the mobile terminal and all mobile terminals of peripheral base station
And it generates safe route and includes:
Step S401: the mobile terminal is analyzed at a distance from all mobile terminals of surrounding.
Step S402: analyze the mobile terminal and all mobile terminals of surrounding relative position and densely distributed degree;
Step S403: according at a distance from all mobile terminals of the mobile terminal and surrounding analyzed, relative position and
Densely distributed degree generates safe route.
In the present embodiment, by analyze the mobile terminal at a distance from all mobile terminals of surrounding, relative position with
And densely distributed degree, generate the densely distributed degree height of mobile terminal and apart from the closer optimal safe road of nearest mobile terminal
Line, user close to the crowd is dense area and can be asked for help rapidly by the optimal safe route guiding, and be detached from safety
Hidden danger.
In the method for security protection based on mobile terminal of the present embodiment, when detecting triggering safeguard protection mode,
The GPS positioning data of mobile terminal and all mobile terminals of surrounding are obtained, and analyzes and generates safe route, user Ke Gen
It close to the crowd is dense area and asks for help rapidly according to the optimal safe route guiding and is detached from security risk, it is convenient and efficient
Ground provides optimal safe route, safe it is easy to operate effectively, improve the active of mobile terminal safety protection
Property, real-time and operability, improve the safety protective effect of mobile terminal.
Fig. 5 is the flow diagram of the method for security protection based on mobile terminal in another embodiment of the present invention.Such as figure
It is shown, the method for security protection based on mobile terminal, comprising:
Step S501: triggering safeguard protection mode is detected whether.
Step S502: when detecting triggering safeguard protection mode, the letter of all mobile terminals around mobile terminal is obtained
Enable data.
Step S503: the GPS positioning data of the mobile terminal and all mobile terminals of surrounding are acquired.
Step S504: analysis handles the GPS positioning data of the mobile terminal and all mobile terminals of surrounding, and generates
Safe route.
Step S505: the safe route of generation and the GPS positioning data of all mobile terminals of surrounding are shown;And
Step S506: it is carried out according to the GPS positioning data of the mobile terminal of acquisition and the safe route
Navigation.
In the method for security protection based on mobile terminal of the present embodiment, after generating the safe route, show
Show the safe route of generation and the GPS positioning data of all mobile terminals of surrounding and carries out leading in real time for safe
Boat, user can be according to navigation information, the real time positioning data of display and the safe routes rapidly close to the crowd is dense
Area simultaneously asks for help and is detached from security risk, conveniently and efficiently provides direct navigation directions to user security hedging, improves
Initiative, real-time and the operability of mobile terminal safety protection, improve the safety protective effect of mobile terminal.
Referring to Fig. 6, on the basis of above method embodiment, another embodiment of the invention provides a kind of based on mobile whole
The safety system 100 at end.As shown, the safety system 100 based on mobile terminal, including it is sequentially connected
Detection module 10, signaling obtain module 20, GPS module 30 and analysis and processing module 40.
The detection module 10, for detecting whether triggering safeguard protection mode.When the mobile terminal works normally,
It first has to detect whether triggering safeguard protection mode by the detection module 10.Specifically, the detection of detection module 10 is used
The input at family, and judge whether the input of the user is default safeguard protection mode triggering command.When judging the user's
When input is default safeguard protection mode triggering command, the detection module 10 determines triggering safeguard protection mode;When judging
When the input for stating user is not default safeguard protection mode triggering command, the determination of detection module 10 does not trigger safeguard protection mould
Formula.
In the present embodiment, can preset security protection module triggering command according to operating habit or operation ease is
Predetermined registration operation, for example quickly press power key twice in succession, continuously quickly rock the mobile terminal, continuous quickly pressing three times
Navigation key etc. can simple and quick operation predetermined registration operation, facilitate user can quick start safeguard protection mould when encountering danger
Formula.When the mobile terminal works normally, when the detection module 10 detects that user inputs default safeguard protection mode touching
When sending instructions, confirmation enters the safeguard protection mode for helping user actively to flee danger.
The signaling obtains module 20, moves for obtaining when the detection module 10 detects triggering safeguard protection mode
The signaling data of dynamic all mobile terminals of terminal surrounding.In the present embodiment, when the mobile terminal carries out safeguard protection mode
When, the signaling obtains module 20 and starts to obtain the signaling data of all mobile terminals around mobile terminal.It is described referring to Fig. 6
It includes signaling data request unit 201 and signaling data receiving unit 202 that signaling, which obtains module 20,.
The signaling data request unit 201, for sending the signaling of all mobile terminals around acquisition to peripheral base station
The request of data.In the present embodiment, the mobile terminal is by the base station around mobile communication module discovery, and passes through described
Signaling data request unit 201 sends the request of the signaling data of all mobile terminals around acquisition to peripheral base station.For example, institute
State the signaling data that signaling data request unit 201 sends all mobile phones within the scope of 500 meters around acquisition by mobile phone to base station
Request.It base station, can be to the movement in the case where registered in advance and authorization is for safeguard protection when receiving the request
Terminal returns to the location information of the mobile phone of all mobile phone signaling datas within the scope of 500 meters of surrounding.
The signaling data receiving unit 202, for receiving the signaling of all mobile terminals around peripheral base station transmission
Data.In the present embodiment, the signaling data receiving unit 202 obtains surrounding 500 by the mobile terminal peripheral base station
All signaling datas in rice range, obtain the location information of all mobile terminal users around.
The GPS module 30 obtains around module acquisition and owns for acquiring the mobile terminal and the signaling
The GPS positioning data of mobile terminal.In the present embodiment, the mobile terminal and described is acquired by GPS module 30 in real time
The GPS data of all mobile terminals of surrounding, obtains the mobile terminal and all mobile terminals of surrounding accurately position
Information and relative position information.
The analysis and processing module 40 handles the mobile terminal and week that the GPS module 30 acquires for analyzing
It encloses the GPS positioning data of all mobile terminals in base station and generates safe route.Referring to Fig. 8, the analysis and processing module 40
Including sequentially connected distance analysis unit 401, position closeness analytical unit 402 and safe Route Generation unit
403。
Wherein, the distance analysis unit 401 is for analyzing the mobile terminal at a distance from all mobile terminals of surrounding.
The position closeness analytical unit 402, for analyze the mobile terminal and all mobile terminals of surrounding relative position and
Densely distributed degree.The safe Route Generation unit 403, for intensive according to the distance analysis unit 401 and position
The mobile terminal that analyzes of degree analytical unit 402 is at a distance from all mobile terminals of surrounding, relative position and densely distributed
Degree generates safe route.
In the present embodiment, the analysis and processing module 40 is by analyzing the mobile terminal and all mobile terminals of surrounding
Distance, relative position and densely distributed degree, generate mobile terminal densely distributed degree height and closer apart from nearest mobile terminal
Optimal safe route, user close to the crowd is dense area and can be sought rapidly by the optimal safe route guiding
It helps, and is detached from security risk.
In the safety system 100 based on mobile terminal of the present embodiment, triggering peace is detected in detection module 10
When full guard mode, GPS module 30 obtains the GPS positioning data of mobile terminal and all mobile terminals of surrounding, analysis processing
The analysis of module 40 generates safe route, and user can be according to the optimal safe route guiding rapidly close to the crowd is dense
Area simultaneously asks for help and is detached from security risk, conveniently and efficiently provides optimal safe route, the operation letter of safe
It is single effective, initiative, real-time and the operability of mobile terminal safety protection are improved, the safeguard protection of mobile terminal is improved
Effect.
Fig. 9 is the structural schematic diagram of the safety system 100 based on mobile terminal in further embodiment of the present invention.Such as
Shown in figure, the safety system 100 based on mobile terminal, including sequentially connected detection module 10, signaling obtain mould
Block 20, GPS module 30, analysis and processing module 40, display module 50 and navigation module 60.The display module 50 is for showing
The mobile terminal and surrounding that the safe route and the GPS module 30 that the analysis and processing module 40 generates are collected
The GPS positioning data of all mobile terminals, the navigation module 60 are used to be acquired according to the GPS module 30 described mobile whole
The GPS positioning data at end and the safe route navigate.
In the safety system 100 based on mobile terminal of the present embodiment, generated in the analysis and processing module 40
After the safe route, the safe route of the display of display module 50 generation and around all mobile terminals
GPS positioning data and the real-time navigation that safe is carried out by the navigation module 60, user can be according to navigation informations, display
Real time positioning data and the safe route close to the crowd is dense area and ask for help rapidly and be detached from security risk,
Direct navigation directions conveniently and efficiently are provided to user security hedging, improve initiative, the reality of mobile terminal safety protection
When property and operability improve the safety protective effect of mobile terminal.
It is understood that the safety system 100 provided in an embodiment of the present invention based on mobile terminal can be independent
It uses, can also be used as a part of mobile terminal, the safety protection function of Lai Shixian safe.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The descriptions such as example " or " some examples " mean particular features, structures, materials, or characteristics described in conjunction with this embodiment or example
It is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are different
Surely identical embodiment or example is referred to.Moreover, particular features, structures, materials, or characteristics described can be any
It can be combined in any suitable manner in one or more embodiment or examples.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this
The range of invention is defined by the claims and their equivalents.