Summary of the invention
Fundamental purpose of the present invention is to provide a kind of hot spot region alarm method and service platform based on GPS information, is intended to for abundant orientation management function flexibly is provided in terminal device change in location process.
In order to achieve the above object, the present invention proposes a kind of hot spot region alarm method based on GPS information, comprising:
Receiving terminal apparatus is according to the global position system GPS locating information of the described terminal device of change in location Real-time Obtaining;
Judge according to the GPS locating information of described terminal device whether described terminal device enters the hot spot region of setting;
When described terminal device enters the hot spot region of described setting, produce and send a warning message.
Preferably, judge that according to the GPS locating information of described terminal device the step whether described terminal device enters the hot spot region of setting comprises:
Obtain the latitude and longitude information of the hot spot region of described setting;
Calculate described terminal device according to the latitude and longitude information of the hot spot region of the GPS locating information of described terminal device and described setting and whether enter the hot spot region of described setting.
Preferably, when described terminal device enters the hot spot region of described setting, produce and the step that sends a warning message comprises:
When described terminal device enters the hot spot region of described setting, produce warning information;
Described warning information is sent to described terminal device and other predefined take over partys.
Preferably, when described terminal device enters the hot spot region of described setting, produce and the step that sends a warning message after also comprise:
When described terminal device leaves the hot spot region of described setting, cancel described warning information.
Preferably, also comprise before the step of described receiving terminal apparatus according to the global position system GPS locating information of the described terminal device of change in location Real-time Obtaining:
Set one or several closed regions as the hot spot region on map.
The present invention also proposes a kind of hot spot region alerting service platform based on GPS information, comprising:
Receiver module is used for receiving terminal apparatus according to the global position system GPS locating information of the described terminal device of change in location Real-time Obtaining;
Judge module is used for judging according to the GPS locating information of described terminal device whether described terminal device enters the hot spot region of setting;
Alarm module is used for producing and sending a warning message when described terminal device enters the hot spot region of described setting.
Preferably, described judge module comprises:
Acquiring unit is for the latitude and longitude information of the hot spot region that obtains described setting;
Computing unit is used for whether entering the hot spot region of described setting according to the described terminal device of latitude and longitude information calculating of the GPS locating information of described terminal device and the hot spot region of described setting.
Preferably, described alarm module comprises:
Generation unit is used for producing warning information when described terminal device enters the hot spot region of described setting;
Transmitting element is used for described warning information is sent to described terminal device and other predefined take over partys.
Preferably, also comprise after described alarm module:
Cancel module, be used for cancelling described warning information when described terminal device leaves the hot spot region of described setting.
Preferably, also comprise before described receiver module:
Setting module is used for setting one or several closed regions as the hot spot region on map.
A kind of hot spot region alarm method and service platform based on GPS information that the present invention proposes, the GPS locating information that terminal device is real-time and the latitude and longitude information of predefined several hot spot regions are by calculating and judging, when described terminal device enters the hot spot region of described setting, produce corresponding the warning, can allow the user to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged, can select to avoid or enter the hot spot region of setting, practical and flexible.
Embodiment
The solution of the embodiment of the present invention is mainly: the GPS locating information that terminal device is real-time and the latitude and longitude information of predefined several hot spot regions are by calculating and judging, when described terminal device enters the hot spot region of described setting, produce corresponding the warning, can allow the user to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged, can select to avoid or enter the hot spot region of setting, practical and flexible.
As shown in Figure 1, first embodiment of the invention proposes a kind of hot spot region alarm method based on GPS information, comprising:
Step S101, receiving terminal apparatus is according to the global position system GPS locating information of the described terminal device of change in location Real-time Obtaining;
In the present embodiment, terminal device has the global position system GPS locating device, the GPS locating information of obtaining self that terminal device is real-time according to change in location, and can upload by communication interface the GPS locating information of described terminal device, the convenient reception;
Step S102 judges according to the GPS locating information of described terminal device whether described terminal device enters the hot spot region of setting;
the orientation of the popular place name of one or several that go up according to the map or landmark is as the hot spot region of setting, can obtain the latitude and longitude information of the hot spot region of described setting, and preserve, in the continuous change procedure in the position of terminal device, the GPS locating information of the real-time described terminal device of reception, the latitude and longitude information of hot spot region that with the GPS locating information of described terminal device is the described setting of its latitude and longitude information and preservation is calculated, whether drop on by the longitude and latitude that judges described terminal device within the longitude and latitude scope of hot spot region of described setting and judge whether described terminal device enters the hot spot region of setting, when the longitude and latitude of described terminal device drops within the longitude and latitude scope of hot spot region of described setting, be judged as the hot spot region that described terminal device has entered described setting, when the longitude and latitude of described terminal device is not within the longitude and latitude scope in the hot spot region of described setting, be judged as the hot spot region that described terminal device has left described setting.
Step S103 when described terminal device enters the hot spot region of described setting, produces and sends a warning message;
When entering the hot spot region of described setting according to the described terminal device of step S102 judgement, produce warning information, and warning information is sent to described terminal device by communication interface, described warning information shows on described terminal device after processing by described terminal device, plays the effect that alarm is reminded; In addition, described warning information can also be sent to predefined take over party by communication interface with other various ways such as note, mail etc., point out described terminal device to enter the hot spot region of described setting, allow the user to the hot spot region of setting and the real-time orientation of described terminal device, clearly understanding be arranged, the user can select to leave or confirm to enter the hot spot region of described setting according to demand;
Particularly, as shown in Figure 2, above-mentioned steps S102 can comprise:
Step S1021 obtains the latitude and longitude information of the hot spot region of described setting;
Step S1022 calculates described terminal device according to the latitude and longitude information of the hot spot region of the GPS locating information of described terminal device and described setting and whether enters the hot spot region of described setting.
As shown in Figure 3, above-mentioned steps S103 can comprise:
Step S1031 when described terminal device enters the hot spot region of described setting, produces warning information;
Step S1032 sends to described terminal device and other predefined take over partys with described warning information.
The present embodiment can allow the user to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged by such scheme, can select to avoid or enter and set the hot spot region, and is especially in strange zone, very practical and flexible.
As shown in Figure 4, second embodiment of the invention proposes a kind of hot spot region alarm method based on GPS information, on the basis of above-mentioned the first embodiment, also comprises after above-mentioned steps S103:
Step S104 when described terminal device leaves the hot spot region of described setting, cancels described warning information.
The difference of the present embodiment and above-mentioned the second embodiment is, when leaving the hot spot region of described setting according to the described terminal device of step S102 judgement, cancel described warning information, allow terminal device recover normal operating conditions, simultaneously can allow the user understand terminal device and leave the hot spot region, make it to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged, avoid according to demand or enter the hot spot region of described setting.
As shown in Figure 5, third embodiment of the invention proposes a kind of hot spot region alarm method based on GPS information, on the basis of above-mentioned the second embodiment, also comprises before above-mentioned steps S101:
Step S100 sets one or several closed regions as the hot spot region on map;
The difference of the present embodiment and above-mentioned the second embodiment is, the present embodiment also is included in sets one or several closed regions as the operation of hot spot region on map.
Can set the hot spot region of needs according to user's demand on map, described hot spot region can for a zone, also can define a plurality of zones; Described hot spot region can be set as border circular areas, also can be set as the polygon closed region, and the user can be according to demand, in the hot spot region that the cofree setting of map need to be avoided or enter, convenient flexibly.
As shown in Figure 6, first embodiment of the invention proposes a kind of hot spot region alerting service platform based on GPS information, comprising: receiver module 401, judge module 402 and alarm module 403, wherein:
Receiver module 401 is used for receiving terminal apparatus according to the global position system GPS locating information of the described terminal device of change in location Real-time Obtaining;
In the present embodiment, terminal device has the global position system GPS locating device, the GPS locating information of obtaining self that terminal device is real-time according to change in location, and can upload by communication interface the GPS locating information of described terminal device, the convenient reception;
Judge module 402 is used for judging according to the GPS locating information of described terminal device whether described terminal device enters the hot spot region of setting;
the orientation of the popular place name of one or several that go up according to the map or landmark is as the latitude and longitude information of the hot spot region of setting, and preserve, in the continuous change procedure in the position of terminal device, the GPS locating information of the real-time described terminal device of reception, the latitude and longitude information of hot spot region that with the GPS locating information of described terminal device is the described setting of its latitude and longitude information and preservation is calculated, whether drop on by the longitude and latitude that judges described terminal device within the longitude and latitude scope of hot spot region of described setting and judge whether described terminal device enters the hot spot region of setting, when the longitude and latitude of described terminal device drops within the longitude and latitude scope of hot spot region of described setting, be judged as the hot spot region that described terminal device has entered described setting, when the longitude and latitude of described terminal device is not within the longitude and latitude scope in the hot spot region of described setting, be judged as the hot spot region that described terminal device has left described setting.
Alarm module 403 is used for producing and sending a warning message when described terminal device enters the hot spot region of described setting.
When the judge module 402 described terminal devices of judgement enter the hot spot region of described setting, produce warning information, and warning information is sent to described terminal device by communication interface, described warning information shows on described terminal device after processing by described terminal device, plays the effect that alarm is reminded; In addition, described warning information can also be sent to predefined take over party by communication interface with other various ways such as note, mail etc., point out described terminal device to enter the hot spot region of described setting, allow the user to the hot spot region of setting and the real-time orientation of described terminal device, clearly understanding be arranged, the user can select to leave or confirm to enter the hot spot region of described setting according to demand;
Particularly, as shown in Figure 7, described judge module 402 can comprise: acquiring unit 4021, computing unit 4022, wherein:
Acquiring unit 4021 is for the longitude and latitude of the hot spot region that obtains described setting;
Computing unit 4022 is used for whether entering the hot spot region of described setting according to the described terminal device of latitude and longitude information calculating of the GPS locating information of described terminal device and the hot spot region of described setting.
As shown in Figure 8, described alarm module 403 can comprise: generation unit 4031, transmitting element 4032, wherein:
Generation unit 4031 is used for producing warning information when described terminal device enters the hot spot region of described setting;
Transmitting element 4032 is used for described warning information is sent to described terminal device and other predefined take over partys.
As shown in Figure 9, second embodiment of the invention proposes a kind of hot spot region alerting service platform based on GPS information, on the basis of above-mentioned the first embodiment, also comprises after above-mentioned alarm module 403:
Cancel module 404, be used for cancelling described warning information when described terminal device leaves the hot spot region of described setting.
The difference of the present embodiment and above-mentioned the second embodiment is, when the judge module 402 described terminal devices of judgement leave the hot spot region of described setting, cancel described warning information, allow terminal device recover normal operating conditions, simultaneously can allow the user understand terminal device and leave the hot spot region, make it to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged, avoid according to demand or enter the hot spot region of described setting.
As shown in figure 10, third embodiment of the invention proposes a kind of hot spot region alerting service platform based on GPS information, on the basis of above-mentioned the second embodiment, also comprises before above-mentioned receiver module 401:
Setting module 400 is used for setting one or several closed regions as the hot spot region on map;
The difference of the present embodiment and above-mentioned the second embodiment is, the present embodiment also is included in sets one or several closed regions as the operation of hot spot region on map.
Can set the hot spot region of needs according to user's demand on map, described hot spot region can for a zone, also can define a plurality of zones; Described hot spot region can be set as border circular areas, also can be set as the polygon closed region, and the user can be according to demand, in the hot spot region that the cofree setting of map need to be avoided or enter, convenient flexibly.
The embodiment of the present invention is based on hot spot region alarm method and the service platform of GPS information, the GPS locating information that terminal device is real-time and the latitude and longitude information of predefined several hot spot regions are by calculating and judging, when described terminal device enters the hot spot region of described setting, produce corresponding the warning, can allow the user to the hot spot region of setting and the real-time orientation of terminal device, clearly understanding be arranged, can select to avoid or enter and set the hot spot region, particularly when strange zone, function of the present invention is very practical and flexible.
The above is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in scope of patent protection of the present invention.