Summary of the invention
Fundamental purpose of the present invention is the technical matters solving mobile terminal navigation software complicated operation.
For achieving the above object, a kind of method obtaining navigation information provided by the invention, the method comprises the following steps:
A, when receive external device send text message time, semantic analysis is carried out to described text message, judges whether comprise address information in described text message; If then perform step B;
B, output information, with reminding user opening information analytical capabilities;
C, when information analysis function open after, resolve described text message;
When there is address information in the described text message after resolving, judge whether described address information comprises longitude and latitude; If so, then step D is performed; If not, then step e is performed;
D, described longitude and latitude is set as the destination address of navigating;
E, to address server send inquiry request, described inquiry request comprises described address information;
F, receive described address server and respond the Query Result that described inquiry request returns, and described Query Result is set as the destination address of navigating.
Preferably, described Query Result comprises many and is greater than the address name of predetermined threshold value and longitude and latitude corresponding to this address name with described address information matching degree.
Preferably, describedly described Query Result is set as the step of destination address of navigating comprises:
Fuzzy matching is carried out to described Query Result, if the match is successful for the address name in described address information and described Query Result, then longitude and latitude corresponding for the address name that the match is successful is set as the destination address of navigating;
If it fails to match for the address name in described address information and described Query Result, then the address information in described Query Result is out selected for user by voice broadcast and/or screen display, and longitude and latitude corresponding for the address name of user's selection is set as the destination address of navigation.
Preferably, the method for described acquisition navigation information also comprises:
Receive the remote manipulation instruction of user's input, and according to described remote manipulation instruction opening information analytical capabilities and/or selection address information.
Preferably, the described information for reminding user opening information analytical capabilities is voice messaging.
In addition, for achieving the above object, the present invention also provides a kind of device obtaining navigation information, and the device of this acquisition navigation information comprises:
First judge module, for when receiving the text message that external device sends, carrying out semantic analysis to described text message, judging whether comprise address information in described text message;
Exporting prompting module, for when judging that described text message comprises the character of preset key word, exporting information, with reminding user opening information analytical capabilities;
Parsing module, for after information analysis function is opened, resolves described text message;
Second judge module, during for there is address information in described text message after parsing, judges whether described address information comprises longitude and latitude;
Setting module, for when judging that described address information comprises longitude and latitude, is set as the destination address of navigating by this longitude and latitude;
When judging that described address information does not comprise longitude and latitude, receiving described address server and responding the Query Result that described inquiry request returns, and described Query Result is set as the destination address of navigating.
Preferably, described Query Result comprises many and is greater than the address name of predetermined threshold value and longitude and latitude corresponding to this address name with described address information matching degree
Preferably, described setting module comprises:
Fuzzy matching setup unit, for carrying out fuzzy matching to described Query Result, if the match is successful for the address name in described address information and described Query Result, is then set as the destination address of navigating by longitude and latitude corresponding for the address name that the match is successful;
Artificial match settings unit, when for the address name in described address information and described Query Result, it fails to match, address information in described Query Result is out selected for user by voice broadcast and/or screen display, and longitude and latitude corresponding for the address name of user's selection is set as the destination address of navigation
Preferably, the device of described acquisition navigation information also comprises:
Remote control module, for receiving the remote manipulation instruction of user's input, and according to described remote manipulation instruction opening information analytical capabilities and/or selection address information.
Preferably, the described information for reminding user opening information analytical capabilities is voice messaging.
The present invention is by carrying out semantic analysis to the text message receiving external device transmission, judge whether comprise address information in text message, if then export information, with reminding user opening information analytical capabilities, thus achieve a butt joint receive text message real-time judge its whether comprise address information, and real-time reminding user opening information analytical capabilities, thus constantly go viewing textual information to determine whether that opening information analytical capabilities realizes navigation without the need to user, simplify the operating process of user.Moreover, after information analysis function is opened, resolving text message, when there is address information in the text message after resolving, judging whether address information comprises longitude and latitude; If address information comprises longitude and latitude, then longitude and latitude is set as the destination address of navigating; If address information does not comprise longitude and latitude, then send inquiry request to address server, inquiry request comprises address information, the Query Result that receiver address server response inquiry request returns, and Query Result is set as the destination address of navigation; Thus when user does not know the address of text message transmit leg, the address of text message transmit leg is sent by text formatting and identifies, avoids and address word is referred to the problem that cannot determine because being unfamiliar with address; Meanwhile, it also avoid the shortcoming needing text message transmit leg to install specific software, there is more wide applicability.In addition, the present invention, without the need to entering any link without examination, improves the security of device.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of method obtaining navigation information.
Reference Fig. 1, Fig. 1 are the schematic flow sheet that the present invention obtains method one embodiment of navigation information.
In one embodiment, the method for this acquisition navigation information comprises:
Step S101, when receiving the text message that external device sends;
This external device can be mobile terminal, text information can be Word message or the numerical informations such as note, micro-letter or microblogging, this note comprises the Word message describing address information, this note can comprise the GPS or Big Dipper locating information that utilize software to obtain, and this note also can comprise above-mentioned Word message and locating information simultaneously.
Step S102, carries out semantic analysis to text message, judges whether comprise address information in described text message;
Address information can be found from text message by semantic analysis, such as " I am in certain somewhere ", then can find address information after " I "; Also preset key word can be mated with text message, preset key word can be set to the character information of note beginning place, such as, text message beginning has the Word message of " helping me to lead ", then judge that text information comprises the character with preset keyword match, then derive in text information and comprise address information; Preset key word can also be set to keyword conventional in address information, such as, there is the keyword such as " XX district " " XX mansion ", " No. XX, XX road " in text message, then judge that text information comprises the character with preset keyword match, namely comprise address information in text information.
Step S103, if text message comprises address information, then exports information, with reminding user opening information analytical capabilities;
When judging that text message comprises address information, then export information reminding user opening information analytical capabilities, this information can be voice messaging, image information, vibration signal etc., preferred voice messaging, points out user's opening information analytical capabilities by voice TTS (Text To Speech).When judging not comprise address information in text message, then do not produce information, text information is not dealt with.In addition, user can wirelessly (such as bluetooth, telepilot), mobile terminal extension control mode be (such as, the utility appliance of external convenient operation on mobile terminals), voice or gesture identification mode etc. do not contact the mode operating mobile terminal of mobile terminal, like this, the convenience of user operation is further increased.
Step S104, after information analysis function is opened, resolves text message;
When after user's opening information analytical capabilities, resolve the text message received.From this step S101 to step S104, user only need select whether opening information analytical capabilities, and do not need often to go to check whether receive text message, also judge whether text message is the text message comprising address information without the need to going, therefore from receiving text message to log-on message analytical capabilities, for user, its operating process is very simple, substantially can not the notice of dispersion user, if user is in driving, then substantially increase the security that user drives.
Step S105, when there is address information in the text message after resolving, judges whether address information comprises longitude and latitude;
After opening information analytical capabilities, need to judge whether there is address information in text message, if not containing address information, do not process text information, if containing address information, judge whether address information comprises longitude and latitude; So, avoid carrying out execution associative operation when not comprising address information in text message, save valuable system resource.
Step S106, if address information comprises longitude and latitude, is then set as the destination address of navigating by longitude and latitude;
If address information comprises longitude and latitude, then direct this longitude and latitude is set as navigate destination address, by this longitude and latitude as navigation information generate navigation way go forward side by side line correlation navigation.
Step S107, if address information does not comprise longitude and latitude, then send inquiry request to address server, inquiry request comprises address information;
If address information does not comprise longitude and latitude, then must comprise the Word message describing destination address in address information, but user not necessarily knows the position, address that this Word message describes, so send inquiry request to address server, this inquiry request comprises this address information.
Step S108, the Query Result that receiver address server response inquiry request returns;
Address server is inquired about address information, according to matching degree predetermined threshold value, address name matching degree being greater than predetermined threshold value is picked out, and longitude and latitude corresponding for these address names is also picked out jointly form Query Result, this Query Result is returned to mobile terminal by address server.
Step S109, is set as the destination address of navigating by Query Result.
In the present embodiment, by carrying out semantic analysis to the text message receiving external device transmission, judge whether comprise address information in text message, if then export information, with reminding user opening information analytical capabilities, thus achieve a butt joint receive text message real-time judge its whether comprise address information, and real-time reminding user opening information analytical capabilities, thus constantly go viewing textual information to determine whether that opening information analytical capabilities realizes navigation without the need to user, simplify the operating process of user.Moreover, after information analysis function is opened, resolving text message, when there is address information in the text message after resolving, judging whether address information comprises longitude and latitude; If address information comprises longitude and latitude, then longitude and latitude is set as the destination address of navigating; If address information does not comprise longitude and latitude, then send inquiry request to address server, inquiry request comprises address information, the Query Result that receiver address server response inquiry request returns, and Query Result is set as the destination address of navigation; Thus when user does not know the address of text message transmit leg, the address of text message transmit leg is sent by text formatting and identifies, avoids and address word is referred to the problem that cannot determine because being unfamiliar with address; Meanwhile, it also avoid the shortcoming needing text message transmit leg to install specific software, there is more wide applicability.In addition, the present invention, without the need to entering any link without examination, improves the security of device.
Further, reference Fig. 2, Fig. 2 is the refinement schematic flow sheet of the step in Fig. 1, Query Result being set as the destination address of navigating.
In the present embodiment, step S109 comprises:
Step S1091, carries out fuzzy matching to Query Result, if the match is successful for the address name in address information and Query Result, then longitude and latitude corresponding for the address name that the match is successful is set as the destination address of navigating;
Fuzzy matching is carried out to the Query Result received, if the matching degree of a certain address name in address information and Query Result is greater than the second predetermined threshold value, then draw the address name judged result that the match is successful in address information and Query Result, longitude and latitude corresponding for the address name that the match is successful is set as the destination address of navigating, the longitude and latitude corresponding by the address name that the match is successful is set as navigation information, and line correlation of going forward side by side navigates.
Step S1092, if it fails to match for the address name in address information and Query Result, then the address information in Query Result is out selected for user by voice broadcast and/or screen display, and longitude and latitude corresponding for the address name of user's selection is set as the destination address of navigation.
If the matching degree of each address name in address information and Query Result is less than the second predetermined threshold value, then draw the address name judged result that it fails to match in address information and Query Result, address information in Query Result is out selected for user by voice broadcast and/or screen display, preferably by voice broadcast out, and longitude and latitude corresponding for the address name of user's selection being set as the destination address of navigation, the longitude and latitude that the address name by user's selection is corresponding is set as that navigation information carries out correlation navigation.
The present invention further provides a kind of device obtaining navigation information.
Reference Fig. 3, Fig. 3 are the high-level schematic functional block diagram that the present invention obtains device one embodiment of navigation information.
In the present embodiment, the device of this acquisition navigation information comprises:
First judge module 20, for when receiving the text message that external device sends, carrying out semantic analysis to text message, judging whether comprise address information in text message;
This external device can be mobile terminal, text information can be Word message or the numerical informations such as note, micro-letter or microblogging, this note comprises the Word message describing address information, this note can comprise the GPS or Big Dipper locating information that utilize software to obtain, and this note also can comprise above-mentioned Word message and locating information simultaneously.
Address information can be found from text message by semantic analysis, such as " I am in certain somewhere ", then can find address information after " I "; Also preset key word can be mated with text message, preset key word can be set to the character information of note beginning place, such as, text message beginning has the Word message of " helping me to lead ", then judge that text information comprises the character with preset keyword match, then derive in text information and comprise address information; Preset key word can also be set to keyword conventional in address information, such as, there is the keyword such as " XX district " " XX mansion ", " No. XX, XX road " in text message, then judge that text information comprises the character with preset keyword match, namely comprise address information in text information.
Exporting prompting module 30, for when judging that text message comprises address information, exporting information, with reminding user opening information analytical capabilities;
When judging that text message comprises address information, then export information reminding user opening information analytical capabilities, this information can be voice messaging, image information, vibration signal etc., preferred voice messaging, points out user's opening information analytical capabilities by voice TTS (Text To Speech).When judging not comprise address information in text message, then do not produce information, text information is not dealt with.In addition, user can wirelessly (such as bluetooth, telepilot), mobile terminal extension control mode be (such as, the utility appliance of external convenient operation on mobile terminals), voice or gesture identification mode etc. do not contact the mode operating mobile terminal of mobile terminal, like this, the convenience of user operation is further increased.
Parsing module 40, for after information analysis function is opened, resolves text message;
When after user's opening information analytical capabilities, resolve the text message received.From this step S101 to step S104, user only need select whether opening information analytical capabilities, and do not need often to go to check whether receive text message, also judge whether text message is the text message comprising address information without the need to going, therefore from receiving text message to log-on message analytical capabilities, for user, its operating process is very simple, substantially can not the notice of dispersion user, if user is in driving, then substantially increase the security that user drives.
Second judge module 50, during for there is address information in text message after parsing, judges whether address information comprises longitude and latitude;
After opening information analytical capabilities, need to judge whether there is address information in text message, if not containing address information, do not process text information, if containing address information, judge whether address information comprises longitude and latitude; So, avoid carrying out execution associative operation when not comprising address information in text message, save valuable system resource.
Setting module 60, for when judging that address information comprises longitude and latitude, is set as the destination address of navigating by this longitude and latitude; If address information comprises longitude and latitude, then direct this longitude and latitude is set as navigate destination address, by this longitude and latitude as navigation information generate navigation way go forward side by side line correlation navigation.When judging that address information does not comprise longitude and latitude, the Query Result that receiver address server response inquiry request returns, and Query Result is set as the destination address of navigation.
If address information comprises longitude and latitude, then direct this longitude and latitude is set as navigate destination address, by this longitude and latitude as navigation information generate navigation way go forward side by side line correlation navigation; If address information does not comprise longitude and latitude, then must comprise the Word message describing destination address in address information, but user not necessarily knows the position, address that this Word message describes, so send inquiry request to address server, this inquiry request comprises this address information; Address server is inquired about address information, according to matching degree predetermined threshold value, address name matching degree being greater than predetermined threshold value is picked out, and longitude and latitude corresponding for these address names is also picked out jointly form Query Result, this Query Result is returned to mobile terminal by address server.
In addition, the device obtaining navigation information also comprises: remote control module, for receiving the remote manipulation instruction of user's input, and according to remote manipulation instruction opening information analytical capabilities and/or selection address information, this remote manipulation instruction can be phonetic order or gesture instruction.
In the present embodiment, by carrying out semantic analysis to the text message receiving external device transmission, judge whether comprise address information in text message, if then export information, with reminding user opening information analytical capabilities, thus achieve a butt joint receive text message real-time judge its whether comprise address information, and real-time reminding user opening information analytical capabilities, thus constantly go viewing textual information to determine whether that opening information analytical capabilities realizes navigation without the need to user, simplify the operating process of user.Moreover, after information analysis function is opened, resolving text message, when there is address information in the text message after resolving, judging whether address information comprises longitude and latitude; If address information comprises longitude and latitude, then longitude and latitude is set as the destination address of navigating; If address information does not comprise longitude and latitude, then send inquiry request to address server, inquiry request comprises address information, the Query Result that receiver address server response inquiry request returns, and Query Result is set as the destination address of navigation; Thus when user does not know the address of text message transmit leg, the address of text message transmit leg is sent by text formatting and identifies, avoids and address word is referred to the problem that cannot determine because being unfamiliar with address; Meanwhile, it also avoid the shortcoming needing text message transmit leg to install specific software, there is more wide applicability.In addition, the present invention, without the need to entering any link without examination, improves the security of device.
Further, reference Fig. 4, Fig. 4 is the refinement high-level schematic functional block diagram of setting module in Fig. 3.
In the present embodiment, setting module 60 comprises:
Fuzzy matching setup unit 601, for carrying out fuzzy matching to Query Result, if the match is successful for the address name in address information and Query Result, is then set as the destination address of navigating by longitude and latitude corresponding for the address name that the match is successful;
Fuzzy matching is carried out to the Query Result received, if the matching degree of a certain address name in address information and Query Result is greater than the second predetermined threshold value, then draw the address name judged result that the match is successful in address information and Query Result, longitude and latitude corresponding for the address name that the match is successful is set as the destination address of navigating, the longitude and latitude corresponding by the address name that the match is successful is set as navigation target address, and line correlation of going forward side by side navigates.
Artificial match settings unit 602, when for the address name in address information and Query Result, it fails to match, address information in Query Result is out selected for user by voice broadcast and/or screen display, and longitude and latitude corresponding for the address name of user's selection is set as the destination address of navigation.
If the matching degree of each address name in address information and Query Result is less than the second predetermined threshold value, then draw the address name judged result that it fails to match in address information and Query Result, address information in Query Result is out selected for user by voice broadcast and/or screen display, preferably by voice broadcast out, and longitude and latitude corresponding for the address name of user's selection being set as the destination address of navigation, the longitude and latitude that the address name by user's selection is corresponding is set as that navigation information carries out correlation navigation.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.