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 the operability by the emergency of existing mobile terminal hedging and initiative is poor and affect the technical problem of safe effect.
According to one embodiment of present invention, it is provided that a kind of method for security protection based on mobile terminal, include: detecting whether to trigger safeguard protection pattern;When triggering safeguard protection pattern being detected, obtain the signaling data of all mobile terminals around mobile terminal;The GPS gathering described mobile terminal and all mobile terminals of surrounding positions data;And the GPS analyzing and processing described mobile terminal and all mobile terminals of surrounding positions data, and generate safe route.
Preferably, detect whether described in that triggering safeguard protection pattern includes: the input of detection user;Whether the input judging described user is preset security protected mode triggering command;When the input judging described user is preset security protected mode triggering command, determine triggering safeguard protection pattern;And when the input judging described user is not preset security protected mode triggering command, determines and do not trigger safeguard protection pattern.
Preferably, around described acquisition mobile terminal, the signaling data of all mobile terminals includes: send the request gathering the signaling data of all mobile terminals around to peripheral base station;And receive the signaling data of all mobile terminals of surrounding that peripheral base station sends.
Preferably, the GPS location data of the described mobile terminal of described analyzing and processing and all mobile terminals of peripheral base station generate safe route and include: analyze the distance of described mobile terminal and all mobile terminals of surrounding;Analyze the relative position of described mobile terminal mobile terminal all with surrounding and densely distributed degree;And generate safe route according to the distance of the described mobile terminal analyzed mobile terminal all with surrounding, relative position and densely distributed degree.
Preferably, also include generating after safe route: the GPS location data of safe route that display generates and around all mobile terminals;And according to gather described mobile terminal GPS location data and described safe route navigate.
According to another embodiment of the invention, it is provided that a kind of safety system based on mobile terminal, including: detection module, for detecting whether trigger safeguard protection pattern;Signaling acquisition module, for obtaining the signaling data of all mobile terminals around mobile terminal when described detection module detects and triggers safeguard protection pattern;GPS module, positions data for gathering the GPS of all mobile terminals of surrounding of described mobile terminal and the collection of described signaling acquisition module;And analysis and processing module, the GPS of described mobile terminal and all mobile terminals of peripheral base station for analyzing and processing described GPS module collection positions data and generates safe route.
Preferably, described signaling acquisition module includes: signaling data request unit, for sending the request gathering the signaling data of all mobile terminals around to peripheral base station;And signaling data receives unit, for receiving the signaling data of all mobile terminals of surrounding that peripheral base station sends.
Preferably, described analysis and processing module includes: distance analysis unit, for analyzing the distance of described mobile terminal and all mobile terminals of surrounding;Position closeness analytic unit, for analyzing the relative position of described mobile terminal mobile terminal all with surrounding and densely distributed degree;And safe Route Generation unit, for generating safe route according to the distance of described distance analysis unit mobile terminal all with surrounding with the described mobile terminal that position closeness analytic unit analyzes, relative position and densely distributed degree.
Preferably, described safety system based on mobile terminal also includes: display module, and the described mobile terminal that the safe route and GPS module for showing generation is collected positions data with the GPS of all mobile terminals of surrounding;And navigation module, the GPS of the described mobile terminal for gathering according to described GPS module positions data and described safe route navigates.
According to another embodiment of the present invention, also providing for a kind of mobile terminal, described mobile terminal includes above-mentioned safety system based on mobile terminal.
The method for security protection based on mobile terminal that the present invention provides, system and mobile terminal, when triggering safeguard protection pattern being detected, the GPS of acquisition mobile terminal and around all mobile terminals positions data, and analyze generation safe route, user can be according to described optimum safe route guiding rapidly near the crowd is dense district and ask for help and depart from potential safety hazard, provide optimum safe route conveniently and efficiently, safe simple to operate effectively, improve the initiative of mobile terminal safety protection, real-time and operability, improve the safety protective effect of mobile terminal.
Detailed description of the invention
Make to describe in more detail further to technical scheme with detailed description of the invention below in conjunction with the accompanying drawings.Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained on the premise of not making creative work, all should belong to the scope of protection of the invention.
In describing the invention, it is to be understood that term " first ", " second " etc. be only used for describe purpose, and it is not intended that instruction or hint relative importance.In describing the invention, it should be noted that unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and connects for example, it may be fixing, it is also possible to be to removably connect, or be integrally connected;Can be to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to be indirectly connected to by intermediary.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood in conjunction with concrete condition.Additionally, in describing the invention, except as otherwise noted, " multiple " are meant that two or more.
In flow chart or at this, any process described otherwise above or method description are construed as, represent and include one or more module of code, fragment or part for the executable instruction of the step that realizes specific logical function or process, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The mobile terminal of the present invention can be the electric terminal that any type has mobile communication module and GPS module, such as mobile phone, panel computer, notebook computer, intelligent glasses, Intelligent bracelet, intelligent watch etc..
Fig. 1 is the schematic flow sheet of method for security protection based on mobile terminal in one embodiment of the invention.As it can be seen, described method for security protection based on mobile terminal, including:
Step S101: detect whether to trigger safeguard protection pattern.
In the present embodiment, when described mobile terminal normally works, first have to detect whether to trigger safeguard protection pattern.See Fig. 2, described in detect whether trigger safeguard protection pattern, including:
Step S201: the input of detection user.
Step S202: whether the input judging described user is preset security protected mode triggering command.
Step S203: when the input judging described user is preset security protected mode triggering command, determines triggering safeguard protection pattern;And when the input judging described user is not preset security protected mode triggering command, determines and do not trigger safeguard protection pattern.
In the present embodiment; can pre-set security protection module triggering command according to operating habit or operation ease is predetermined registration operation; the most double quick pressing power key, continuously quickly rock described mobile terminal, continuous three quick pressing navigation keys etc. can the predetermined registration operation of simple and quick operation, facilitate user can quickly start safeguard protection pattern when running into danger.When described mobile terminal normally works, when detecting that user inputs preset security protected mode triggering command, confirm to enter the safeguard protection pattern helping user actively to flee danger.
Step S102: when triggering safeguard protection pattern being detected, obtains the signaling data of all mobile terminals around mobile terminal.
In the present embodiment, when described mobile terminal carries out safeguard protection pattern, start to obtain the signaling data of all mobile terminals around mobile terminal.See Fig. 3, the signaling data of all mobile terminals around described acquisition mobile terminal, including:
Step S301: send the request gathering the signaling data of all mobile terminals around to peripheral base station.
In the present embodiment, described mobile terminal finds base station around by mobile communication module, and sends the request gathering the signaling data of all mobile terminals around to peripheral base station.Such as, by mobile phone request of the signaling data of all mobile phones in the range of 500 meters around base station transmission gathers.Base station when receiving described request, registered in advance and authorize in the case of the safeguard protection can around the return of described mobile terminal the positional information of the mobile phone of all mobile phone signaling datas in the range of 500 meters.
Step S302: receive the signaling data of all mobile terminals of surrounding that peripheral base station sends.
In the present embodiment, by all signaling datas in the range of the acquisition of described mobile terminal peripheral base station around 500 meters, the positional information of the most all mobile phone users is obtained.
Step S103: the GPS gathering described mobile terminal and all mobile terminals of surrounding positions data.
In the present embodiment, by mobile terminal described in GPS module Real-time Collection and the gps data of described all mobile terminals around, it is thus achieved that described mobile terminal and described all mobile terminals around position information and relative position information accurately.
Step S104: the GPS analyzing and processing described mobile terminal and all mobile terminals of surrounding positions data, and generates safe route.
Seeing Fig. 4, the GPS of the described mobile terminal of described analyzing and processing and peripheral base station all mobile terminals location data also generate safe route and include:
Step S401: analyze the distance of described mobile terminal and all mobile terminals of surrounding.
Step S402: analyze the relative position of described mobile terminal mobile terminal all with surrounding and densely distributed degree;
Step S403: generate safe route according to the distance of all mobile terminals of described mobile terminal and surrounding analyzed, relative position and densely distributed degree.
In the present embodiment, by analyzing distance, relative position and the densely distributed degree of described mobile terminal mobile terminal all with surrounding, generate the optimum safe route that the densely distributed degree of mobile terminal is high and closest mobile terminal is nearer, user by described optimum safe route guiding rapidly near the crowd is dense district and ask for help, and can depart from potential safety hazard.
In the method for security protection based on mobile terminal of the present embodiment, when triggering safeguard protection pattern being detected, the GPS of acquisition mobile terminal and around all mobile terminals positions data, and analyze generation safe route, user can be according to described optimum safe route guiding rapidly near the crowd is dense district and ask for help and depart from potential safety hazard, provide optimum safe route conveniently and efficiently, safe simple to operate effectively, improve the initiative of mobile terminal safety protection, real-time and operability, improve the safety protective effect of mobile terminal.
Fig. 5 is the schematic flow sheet of method for security protection based on mobile terminal in another embodiment of the present invention.As it can be seen, described method for security protection based on mobile terminal, including:
Step S501: detect whether to trigger safeguard protection pattern.
Step S502: when triggering safeguard protection pattern being detected, obtains the signaling data of all mobile terminals around mobile terminal.
Step S503: the GPS gathering described mobile terminal and all mobile terminals of surrounding positions data.
Step S504: the GPS analyzing and processing described mobile terminal and all mobile terminals of surrounding positions data, and generates safe route.
Step S505: safe route and the GPS of all mobile terminals of surrounding that display generates position data;And
Step S506: GPS location data and described safe route according to the described mobile terminal gathered are navigated.
In the method for security protection based on mobile terminal of the present embodiment, after generating described safe route, show the GPS location data of the safe route generated and all mobile terminals of surrounding and carry out the real-time navigation of safe, user can be according to navigation information, the real time positioning data of display and described safe route are rapidly near the crowd is dense district and ask for help and depart from potential safety hazard, there is provided direct navigation directions to conveniently and efficiently user security hedging, improve the initiative of mobile terminal safety protection, real-time and operability, improve the safety protective effect of mobile terminal.
Seeing Fig. 6, on the basis of said method embodiment, another embodiment of the present invention provides a kind of safety system 100 based on mobile terminal.As it can be seen, described safety system based on mobile terminal 100, including the detection module 10 being sequentially connected with, signaling acquisition module 20, GPS module 30 and analysis and processing module 40.
Described detection module 10, for detecting whether trigger safeguard protection pattern.When described mobile terminal normally works, first have to detect whether to trigger safeguard protection pattern by described detection module 10.Concrete, described detection module 10 detects the input of user, and judges whether the input of described user is preset security protected mode triggering command.When the input judging described user is preset security protected mode triggering command, described detection module 10 determines triggering safeguard protection pattern;When the input judging described user is not preset security protected mode triggering command, described detection module 10 determines and does not triggers safeguard protection pattern.
In the present embodiment; can pre-set security protection module triggering command according to operating habit or operation ease is predetermined registration operation; the most double quick pressing power key, continuously quickly rock described mobile terminal, continuous three quick pressing navigation keys etc. can the predetermined registration operation of simple and quick operation, facilitate user can quickly start safeguard protection pattern when running into danger.When described mobile terminal normally works, when described detection module 10 detects that user inputs preset security protected mode triggering command, confirm to enter the safeguard protection pattern helping user actively to flee danger.
Described signaling acquisition module 20, for obtaining the signaling data of all mobile terminals around mobile terminal when described detection module 10 detects and triggers safeguard protection pattern.In the present embodiment, when described mobile terminal carries out safeguard protection pattern, described signaling acquisition module 20 starts to obtain the signaling data of all mobile terminals around mobile terminal.Seeing Fig. 6, described signaling acquisition module 20 includes that signaling data request unit 201 and signaling data receive unit 202.
Described signaling data request unit 201, for sending the request gathering the signaling data of all mobile terminals around to peripheral base station.In the present embodiment, described mobile terminal finds base station around by mobile communication module, and is sent the request of the collection signaling data of all mobile terminals around to peripheral base station by described signaling data request unit 201.Such as, described signaling data request unit 201 is by mobile phone request of the signaling data of all mobile phones in the range of 500 meters around base station transmission gathers.Base station when receiving described request, registered in advance and authorize in the case of the safeguard protection can around the return of described mobile terminal the positional information of the mobile phone of all mobile phone signaling datas in the range of 500 meters.
Described signaling data receives unit 202, for receiving the signaling data of all mobile terminals of surrounding that peripheral base station sends.In the present embodiment, described signaling data reception unit 202, by all signaling datas in the range of the acquisition of described mobile terminal peripheral base station around 500 meters, obtains the positional information of the most all mobile phone users.
Described GPS module 30, positions data for gathering the GPS of all mobile terminals of surrounding of described mobile terminal and the collection of described signaling acquisition module.In the present embodiment, by mobile terminal described in GPS module 30 Real-time Collection and the gps data of described all mobile terminals around, it is thus achieved that described mobile terminal and described all mobile terminals around position information and relative position information accurately.
Described analysis and processing module 40, the GPS of described mobile terminal and all mobile terminals of peripheral base station for analyzing and processing the collection of described GPS module 30 positions data and generates safe route.Seeing Fig. 8, described analysis and processing module 40 includes distance analysis unit 401, position closeness analytic unit 402 and the safe Route Generation unit 403 being sequentially connected with.
Wherein, described distance analysis unit 401 is for analyzing the distance of described mobile terminal and all mobile terminals of surrounding.Described position closeness analytic unit 402, for analyzing the relative position of described mobile terminal mobile terminal all with surrounding and densely distributed degree.Described safe Route Generation unit 403, for generating safe route according to the distance of described distance analysis unit 401 mobile terminal all with surrounding with the described mobile terminal that position closeness analytic unit 402 analyzes, relative position and densely distributed degree.
In the present embodiment, described analysis and processing module 40 is by analyzing distance, relative position and the densely distributed degree of described mobile terminal mobile terminal all with surrounding, generate the optimum safe route that the densely distributed degree of mobile terminal is high and closest mobile terminal is nearer, user by described optimum safe route guiding rapidly near the crowd is dense district and ask for help, and can depart from potential safety hazard.
In the safety system based on mobile terminal 100 of the present embodiment, when detection module 10 detects triggering safeguard protection pattern, GPS module 30 obtains the GPS of mobile terminal and all mobile terminals of surrounding and positions data, analysis and processing module 40 is analyzed and is generated safe route, user can be according to described optimum safe route guiding rapidly near the crowd is dense district and ask for help and depart from potential safety hazard, provide optimum safe route conveniently and efficiently, safe simple to operate effectively, improve the initiative of mobile terminal safety protection, real-time and operability, improve the safety protective effect of mobile terminal.
Fig. 9 is the structural representation of safety system 100 based on mobile terminal in further embodiment of the present invention.As it can be seen, described safety system based on mobile terminal 100, including the detection module 10 being sequentially connected with, signaling acquisition module 20, GPS module 30, analysis and processing module 40, display module 50 and navigation module 60.Safe route and the described mobile terminal of described GPS module 30 collection that described display module 50 generates for showing described analysis and processing module 40 position data with the GPS of all mobile terminals of surrounding, and the GPS of the described navigation module 60 described mobile terminal for gathering according to described GPS module 30 positions data and described safe route navigates.
In the safety system based on mobile terminal 100 of the present embodiment, after described analysis and processing module 40 generates described safe route, the GPS location data of safe route that the display of described display module 50 generates and around all mobile terminals are also passed through described navigation module 60 and are carried out the real-time navigation of safe, user can be according to navigation information, the real time positioning data of display and described safe route are rapidly near the crowd is dense district and ask for help and depart from potential safety hazard, there is provided direct navigation directions to conveniently and efficiently user security hedging, improve the initiative of mobile terminal safety protection, real-time and operability, improve the safety protective effect of mobile terminal.
It is understood that the safety system based on mobile terminal 100 that the embodiment of the present invention provides can be used alone, it is also possible to as a part for mobile terminal, realize the safety protection function of safe.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.In the above-described embodiment, multiple steps or method can realize with software or the firmware that storage in memory and is performed by suitable instruction execution system.Such as, if realized with hardware, as in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic of logic gates for data signal realizes logic function, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. describe specific features, structure, material or the feature meaning to combine this embodiment or example description and are contained at least one embodiment or the example of the present invention.In this manual, the schematic representation to above-mentioned term is not necessarily referring to identical embodiment or example.And, the specific features of description, structure, material or feature can combine in any one or more embodiments or example in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: these embodiments can carry out in the case of without departing from the principle of the present invention and objective multiple change, revise, replace and modification, the scope of the present invention is limited by claim and equivalent thereof.