Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of out-of-range monitoring method, be intended to solve exist in the prior art when carrying out monitoring position, can easily not understand the whether problem within guarded region of institute's monitoring objective.
The embodiment of the invention is achieved in that a kind of out-of-range monitoring method, said method comprising the steps of:
Main control end sends location request message by mobile wireless network to controlled terminal, includes the position in the described location request message and obtains instruction;
Controlled terminal receive described comprise the location request message that the position obtains instruction after, calculate the latitude and longitude information at current place according to the gps signal that receives, and return the position message message of the latitude and longitude information that comprises current place by mobile wireless network to main control end;
Main control end is according to the latitude and longitude information at the current place of controlled terminal, search point of interest nearest in the electronic chart with controlled terminal, judge whether described point of interest exceeds the guarded region of having stored by user's setting, when described point of interest exceeds the guarded region of having stored that is provided with by the user, to user's display alarm information.
Another purpose of the embodiment of the invention is to provide the alarm method that crosses the border in a kind of out-of-range monitoring, said method comprising the steps of:
Send location request message by mobile wireless network to controlled terminal, include the position in the described location request message and obtain instruction;
Receive the position message message of the latitude and longitude information that comprises the current place of controlled terminal that controlled terminal returns by mobile wireless network;
According to the latitude and longitude information at the current place of controlled terminal, search point of interest nearest in the electronic chart with controlled terminal, judge whether described point of interest exceeds the guarded region of having stored by user's setting;
When described point of interest exceeds the guarded region of user's setting, to user's display alarm information.
Another purpose of the embodiment of the invention is to provide the main control device in a kind of out-of-range monitoring, and described equipment comprises:
Electronic map database, the identification information and the latitude and longitude information that are used to store point of interest, and the coverage information of guarded region;
The monitored instruction transceiver module, be used for sending location request message to controlled terminal by mobile wireless network, include the position in the described location request message and obtain instruction, receive the position message message of the latitude and longitude information that comprises the current place of controlled terminal that controlled terminal returns by mobile wireless network;
The judge module that crosses the border is used for the latitude and longitude information according to the current place of controlled terminal, searches point of interest nearest with controlled terminal in the electronic map database, judges whether described point of interest exceeds the guarded region of having stored that is provided with by the user; And
The alarm module that crosses the border is used for when described point of interest exceeds the guarded region of having stored that is provided with by the user, to user's display alarm information.
Another purpose of the embodiment of the invention is to provide the method for reporting location in a kind of out-of-range monitoring, said method comprising the steps of:
Receive comprise the location request message that position obtain instruction of main control end by the mobile wireless network transmission;
Calculate the latitude and longitude information at current place according to the gps signal that receives;
Return the position message message of the latitude and longitude information that comprises current place to main control end by mobile wireless network.
Another purpose of the embodiment of the invention is to provide the controlled device in a kind of out-of-range monitoring, and described controlled device comprises:
The monitored instruction receiver module is used to receive comprise the location request message that position obtain instruction of main control end by the mobile wireless network transmission;
The current location computing module is used for calculating the latitude and longitude information at current place according to the gps signal that receives; And
The position message message transmission module is used for returning to main control end by mobile wireless network the position message message of the latitude and longitude information that comprises current place.
The present invention searches the point of interest nearest with this controlled terminal according to the latitude and longitude information at the current place of controlled terminal that obtains in electronic chart, judge that this point of interest is whether within the guarded region of having stored that is provided with by the user, thereby judge whether to initiate warning information, make the main control end user understand institute's monitoring objective easily whether within the guarded region of oneself expectation.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention searches the point of interest nearest with this controlled terminal (Point of Interest according to the latitude and longitude information at the current place of controlled terminal that obtains in electronic chart, POI), judge this point of interest whether within the guarded region of having stored that is provided with by the user, thereby judge whether to initiate warning information.
Fig. 1 shows the realization flow of the out-of-range monitoring method that the embodiment of the invention provides, and details are as follows.
1, main control end sends location request message by mobile wireless network to controlled terminal, includes the position in this location request message and obtains instruction.
As embodiments of the invention, main control end is that the short message or the network insertion service that provide by mobile wireless network can be Short Message Service (Short MessageService to the location request message that controlled terminal sends, SMS) information, Multimedia Message service (Multimedia Messaging Service, MMS) information, WAP (wireless application protocol) (Wireless Application Protocol, WAP) information or can expand Hypertext Markup Language (Extensible HyperText Markup Language, XHTML) information.
Further can carry the control information of position message frequency in the location request message, by this position message frequency control information, main control end can require the controlled terminal single to postback position message message, also can specify certain hour space requirement controlled terminal to postback position message message continuously.
2, controlled terminal calculates the latitude and longitude information at current place according to the gps signal that receives.
3, controlled terminal returns the position message message of the latitude and longitude information that comprises its current place to main control end by mobile wireless network.
4, main control end is according to the latitude and longitude information at the current place of controlled terminal, search point of interest nearest in the electronic chart with controlled terminal, judge whether this point of interest exceeds the guarded region of having stored by user's setting, when this point of interest exceeds the guarded region of having stored that is provided with by the user, to user's display alarm information.
Guarded region can be circular, fan-shaped, polygon or linear etc.When guarded region when being circular or fan-shaped, guarded region is determined by the latitude and longitude information of user configured point of interest and the monitoring radius of setting, when guarded region is polygon, guarded region is that the latitude and longitude information in the polygon sideline on summit is determined by the latitude and longitude information of user configured a plurality of points of interest and with these points of interest, when guarded region when being linear, the latitude and longitude information of user configured two points of interest of guarded region and the latitude and longitude information of passing the monitoring cable of these two points of interest are determined.
In embodiments of the present invention, main control end is determined controlled terminal residing Minimum Area in electronic chart according to the latitude and longitude information at the current place of controlled terminal.
There are a plurality of levels in the electronic chart of GPS navigation system, and the big regional electronic chart of a certain level is spliced by the plurality of sub-regions electronic chart of next level, and so circulation is up to the Minimum Area electronic chart of bottom level.After main control end gets access to the latitude and longitude value of controlled terminal current location, can determine that fast the controlled terminal current location is in that Minimum Area electronic chart of bottom level by the algorithm of searching commonly used such as dichotomy, bubbling method, the quantity of the point of interest that need search just reduces greatly like this, the inquiry of convenient main control end.
Main control end is calculated the air line distance of this controlled terminal current location each point of interest in this Minimum Area according to the latitude and longitude information at the current place of controlled terminal that obtains, then by all air line distances that calculate relatively, select the shortest corresponding point of interest of distance, this place's main control end can be calculated fast by sort algorithm commonly used and find out beeline, thereby determines the point of interest of this beeline correspondence.
After determining point of interest, judge whether this point of interest exceeds the guarded region of having stored by user's setting, when this point of interest exceeds the guarded region of having stored that is provided with by the user, the warning information that shows the identification information that comprises this point of interest to the user, as one embodiment of the present of invention, also can be with this warning information storage.
Fig. 2 shows the structure of the main control end that the embodiment of the invention provides, and comprises electronic map database 11, the identification information and the latitude and longitude information of these electronic map database 11 storage points of interest, and the coverage information of the guarded region that is provided with by the user.
Monitored instruction transceiver module 12 sends location request message by mobile wireless network to controlled terminal, include the position in this location request message and obtain instruction, and the position message message that receives the latitude and longitude information that comprises the current place of controlled terminal that controlled terminal returns by mobile wireless network.
After receiving the current location latitude and longitude information of monitored end, the latitude and longitude information of judge module 13 of crossing the border according to the current place of controlled terminal, search point of interest nearest in the electronic map database 11 with controlled terminal, judge whether this point of interest exceeds the guarded region of having stored by user's setting, the concrete search procedure of point of interest is stated at preamble, repeats no more herein.
Wherein, the identification information and the latitude and longitude information of guarded region configuration module 131 configuration points of interest, and the coverage information of guarded region.The latitude and longitude information at the current place of controlled terminal in the position message message of the latitude and longitude information that comprises the current place of controlled terminal that latitude and longitude information extraction module 132 extraction controlled terminals return, guarded region matching module 133 is according to the latitude and longitude information at the current place of controlled terminal, search point of interest nearest in the electronic map database, judge whether this point of interest exceeds the guarded region of having stored by user's setting with controlled terminal.
When the judge module 13 of crossing the border judged that these points of interest exceed the guarded region of having stored that is provided with by the user, the alarm module 14 that crosses the border showed the warning information of the identification information that comprises this point of interest to the user.As one embodiment of the present of invention, also can be by warning information memory module 15 these warning information of storage.
Fig. 3 shows the structure of the controlled terminal in the out-of-range monitoring that the embodiment of the invention provides, monitored instruction receiver module 21 receives main control end and sends out by what mobile wireless network sent and comprise the location request message that the position obtains instruction, current location computing module 22 calculates the latitude and longitude information at current place according to the gps signal that receives, and position message message transmission module 23 is returned the position message message of the latitude and longitude information that comprises current place to main control end by mobile wireless network.
In embodiments of the present invention, above-mentioned is Short Message Service SMS information, Multimedia Message service MMS information, WAP (wireless application protocol) WAP information, perhaps extensible HyperText Markup Language XHTML information by the mobile wireless network message that the position obtains instruction comprising of sending, the position message message of latitude and longitude information that comprises current place.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.