A kind of navigation guide method and apparatus
Technical field
The present invention relates to vehicle mounted guidance field, more particularly to a kind of navigation guide method and apparatus.
Background technology
Navigation guide system is a subsystem in onboard navigation system, by receiving GPS
(GPS) signal, position of the positioning vehicle in electronic map, and the travel direction of vehicle is accurately calculated, by automatic speech,
Accurately guide reaching the destination for vehicle safety.
In the guiding broadcasting module of navigation guide system, guide report species to be divided into direct motion and report, report in advance, at a distance
Report, middle distance report, short distance report, real-time broadcasting, electronic eyes report and the report of road direction title etc..Different guiding
The corresponding distance of reporting of species is reported to differ, and same guiding reports species and reports distance on different road grades
It is also different.In addition, species is reported in different guiding, have different report styles, such as it is " front left-hand rotation " or " next
Turn around at crossing " etc..Moreover, for different road grades, it is also different that species is reported in the guiding of progress.These above-mentioned draw
Instructor in broadcasting's report species, report distance and report style are referred to as report mode.
However, in existing guiding broadcasting system, report mode has just been cured in source when software development
Code is suffered, that is to say, that reported distance, report style and which rank road to be carried out which guiding reports species only for
It can be reported according to the report mode set in exploitation of developer at that time, user can not voluntarily repair according to oneself hobby
Change and change.
But inevitably, user occasionally wants to report species without reporting to some guiding in some cases,
Occasionally want to carry out the report that species is reported in some guiding always.That is, in some cases, species is reported in some guiding is
What user needed, some is that user is unwanted, it is desirable to turned off.In order to meet the diversified demand of user, reach to user
Guide the optimal effectiveness reported, it is necessary to allow user dynamically to adjust the specific report parameter that these guiding are reported, existing skill
In art, multiple versions can only be developed by way of the source code by developer by changing program, this draw could be solved
The problem of report mode of instructor in broadcasting's report is more inflexible, but can so directly result in difficult management after sale, the confusion of multi version, also without
The cost of work is added in shape.
The content of the invention
The embodiments of the invention provide a kind of navigation guide method and apparatus, solving navigation guide system has many versions
This, directly results in difficult management, confusion after sale, also virtually adds the technical problem of the cost of work.
The embodiment of the invention discloses following technical scheme:
A kind of navigation guide method, including step:
Start before navigation, by external file template, obtain user terminal to the guiding report side in guiding broadcasting module
The custom parameter of formula;
When starting navigation, the custom parameter of the guiding report mode in the external file template is called;
Report is guided according to the custom parameter of the guiding report mode.
It is preferred that, the custom parameter of the guiding report mode includes:Species is reported, distance is reported and reports in style
Any one or any number of combinations, wherein:
The species of reporting is used to indicate that species is reported in the guiding for guiding report;
The distance of reporting is used to indicate to report guiding the report distance that species guides report;
The style of reporting is used to indicate to report guiding the diction that species guides report.
It is preferred that, after navigation is started, in addition to:
By set guiding broadcasting module interface parameters to guide report guiding report species enter line activating or
Close, and preserve the custom parameter of the guiding report mode after change to external file template;
The custom parameter according to the guiding report mode guides report and is specially:Use drawing after change
The custom parameter of instructor in broadcasting's report mode guides report.
It is preferred that, it is described by external file template, user terminal is obtained to the guiding report side in guiding broadcasting module
The custom parameter of formula is specifically included:
The guiding in broadcasting module will be guided to report mode according to road grade to be classified;
Sorted guiding report mode is showed into user terminal, will pass through external file template, user is obtained whole
Hold the custom parameter to the guiding report mode in guiding broadcasting module.
It is preferred that, the guiding report species include it is remote report, middle distance is reported, it is most short report, closely report,
Short distance reports, reach reports, real-time broadcasting, it is pre- report, lane line is reported, slow down prompting is reported, dynamic traffic report,
Electronic eyes is reported, direct motion is reported, turn around to report and service area is reported.
A kind of navigation guide device, including parameter acquiring unit and parameter call unit:
The parameter acquiring unit, for starting before navigation, by external file template, obtains user terminal and guiding is broadcast
Report the custom parameter of the guiding report mode in module;
The parameter call unit, for starting during navigation, calls the guiding broadcast mode in the external file template
Custom parameter;
Unit is reported in guiding, for guiding report according to the custom parameter of the guiding report mode.
It is preferred that, the custom parameter of the guiding report mode includes:Species is reported, distance is reported and reports in style
Any one or any number of combinations, wherein:
It is described to report the species that species is used to indicate to guide report;
The distance of reporting is used to indicate to report guiding the report distance that species guides report;
The style of reporting is used to indicate to report guiding the diction that species guides report.
It is preferred that, in addition to interface parameters control unit:
The interface parameters control unit, for guiding the interface parameters of broadcasting module by setting to guiding report
Guiding report species and enter line activating or closing, and preserve the custom parameter of the guiding report mode after change to external file
Template;
Unit is reported in the guiding, is guided and is broadcast for the custom parameter using the guiding report mode after change
Report.
It is preferred that, the parameter acquiring unit specifically includes parametric classification subelement and displaying subelement:
The parameter classifying unit, is divided for the guiding in broadcasting module will to be guided to report mode according to road grade
Class;
The displaying subelement, for sorted guiding report mode to be showed into user terminal, will pass through outside
File template, obtains custom parameter of the user terminal to the guiding report mode in guiding broadcasting module.
It is preferred that, the guiding report species include it is remote report, middle distance is reported, it is most short report, closely report,
Short distance reports, reach reports, real-time broadcasting, it is pre- report, lane line is reported, slow down prompting is reported, dynamic traffic report,
Electronic eyes is reported, direct motion is reported, turn around to report and service area is reported.
As can be seen from the above-described embodiment, the present invention uses external file on the basis of without modification program source code
With the mode of module interface parameter setting, report distance, report content for the guiding broadcasting module in navigation guide system
And report the parameter development of species and go out self-defined template, meet the diversified demand of user, be also convenient for management after sale and
Safeguard.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of navigation guide method of the invention;
Fig. 2 is a kind of another method flow diagram of navigation guide method of the invention;
Fig. 3 is a kind of structure drawing of device of navigation guide device of the invention;
Fig. 4 is a kind of another structure drawing of device of navigation guide device of the invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, below in conjunction with the accompanying drawings to the present invention
Embodiment is described in detail.
Embodiment one
Referring to Fig. 1, it is a kind of method flow diagram of navigation guide method of the invention, this method comprises the following steps:
S101:Start before navigation, by external file template, obtain user terminal and the guiding in guiding broadcasting module is broadcast
The custom parameter of report mode.
It is preferred that, it is described by external file template, user terminal is obtained to the guiding report side in guiding broadcasting module
The custom parameter of formula is specifically included:
The guiding in broadcasting module will be guided to report mode according to road grade to be classified, and show user terminal.
It should be noted that user is before onboard navigation system is started, can be by via set by external file template
Interface, the parameters in the guiding report mode in navigation are carried out it is personalized self-defined, meanwhile, in order to not allow user
To disposably producing the sensation having no way of doing it in face of numerous and diverse parameter setting, or certain customers' and it is bad at the soft of electronic product
Part generic operation, external file template provides the default option setting for different stage section, and so-called default option is set,
It is a kind of preferred setting pattern of the suitable most of users obtained by user investigation many times and user feedback, and
And, all guiding in the guiding broadcasting module of navigation system are reported species and entered according to guiding report mode by external file template
Gone the classification of system so that numerous and diverse data can understand, orderliness is presented to user, and focus on guiding report it is real
Existing mode, so as to reduce the generation of mistake.
It is preferred that, the custom parameter of the guiding report mode includes:Species is reported, distance is reported and reports in style
Any one or any number of combinations, wherein:
The species of reporting is used to indicate that species is reported in the guiding for guiding report;
The distance of reporting is used to indicate to report guiding the report distance that species guides report;
The style of reporting is used to indicate to report guiding the diction that species guides report.
It should be further stated that, report species has only been enumerated to report mode here, distance is reported and has reported wind
Three kinds of parameters of lattice, this is a preferred example, naturally it is also possible to be any one a kind of or any multiple combinations, and
The present invention is not defined to the parameter species for reporting mode, can arbitrarily allow user's progress personalized customized
The parameter of report mode.
Certainly, after each user is modified using external file template to the parameters in guiding report mode, outside
Portion's file template can be stored to the modification, also, when starting navigation system next time, all only read drawing for newest modification
Instructor in broadcasting's report mode, that is, such as, when user is modified by external file template to guiding report mode, navigation is
System just guides report using the amended guiding report mode, starts next time before navigation system, user does not enter
Changed in any guiding report mode of row, then navigation system is just given tacit consent to the last amended guiding report mode of reading and entered
Row guiding report, and afterwards all guide report according to the method described above each time, until user is again by outside
File template is modified to guiding report mode.Certainly, if user always broadcasts not over external file template to guiding
Report mode carried out setting, then navigation system acquiescence reads the default option setting that external file template is provided.
Special instruction, user can also by recover default option setting will guiding report mode revert to it is original
It is preferred that setting pattern, to prevent faulty operation or forget the problem of operating procedure is caused.
Here the guiding report species include it is remote report, middle distance is reported, it is most short report, closely report,
Short distance reports, reach reports, real-time broadcasting, it is pre- report, lane line is reported, slow down prompting is reported, dynamic traffic report,
Electronic eyes is reported, direct motion is reported, turn around to report and service area is reported.
Certainly, this is a preferred report species, and the present invention reports species to guiding and is not defined, Ke Yishi
Species is reported in guiding all in achievable navigation system in theory.
S102:When starting navigation, the custom parameter of the guiding broadcast mode in the external file template is called.
It should be further stated that, to navigating the parameter in report mode is customized using external file masterplate
Mode, it is easy to the content further modification to the guiding broadcasting module of onboard navigation system and extension from now on, for example, increase by one
Function or species etc. are reported in individual new guiding, without changing source code or recompilating software, as long as modification external file mould
Some information in version, when navigation software is run again, the new information in external file template will be read automatically,
So as to substantially increase flexibility and the maintainability of navigation system.
S103:Report is guided according to the custom parameter of the guiding report mode.
Embodiment two
Referring to Fig. 2, it is a kind of another method flow diagram of navigation guide method of the invention, this method includes following
Step:
S201-S202 is referring to the S101-S102 in embodiment one.
S204:After navigation is started, the interface parameters of broadcasting module is guided by setting to guiding the guiding of report
Report species and enter line activating or closing, and preserve the custom parameter of the guiding report mode after change to external file template,
Into step S203,
Then S203 is specially:So that the custom parameter using the guiding report mode after change guides report.
After by step S201-S203, what onboard navigation system was obtained according to being read from external file template broadcasts
Report mode parameter guides report, is had in navigation software interface obtained by the interface parameters as setting guiding broadcasting module
The option button arrived, at this moment, if the user feels that some guiding report species are unsatisfactory or are not desired to use, or wants to use
When species is reported in some guiding, user can be activated by clicking on these option buttons or the corresponding guiding of closing is reported and planted
Class.And above-mentioned change is saved in external file template.
It should be noted that the change for being activated or being closed caused by species is reported in guiding by the above method every time is all considered as
Mode is reported in the guiding of newest modification.
It should be noted that real at once in navigation system to guiding the change of report mode by step S204 here
It is existing, without restarting navigation software or other operations.
Embodiment three
Referring to Fig. 3, it is a kind of structure drawing of device of navigation guide device of the invention, the device includes parameter acquiring list
Unit 33 is reported in member 31, parameter call unit 32 and guiding:
The parameter acquiring unit 31, for starting before navigation, by external file template, obtains user terminal to guiding
The custom parameter of guiding report mode in broadcasting module.
It is preferred that, the guiding report mode includes:Report species, report distance and report style in any one or
Any number of combinations, wherein:
It is described to report the species that species is used to indicate to guide report.
The distance of reporting is used to indicate to report guiding the report distance that species guides report.
The style of reporting is used to indicate to report guiding the diction that species guides report.
It is preferred that, the guiding report species include it is remote report, middle distance is reported, it is most short report, closely report,
Short distance reports, reach reports, real-time broadcasting, it is pre- report, lane line is reported, slow down prompting is reported, dynamic traffic report,
Electronic eyes is reported, direct motion is reported, turn around to report and service area is reported.
Certainly, this is a preferred report species, and the present invention reports species to guiding and is not defined, Ke Yishi
Species is reported in guiding all in achievable navigation system in theory.
The parameter call unit 32, for starting during navigation, calls the guiding broadcasting side in the external file template
The custom parameter of formula.
Unit 33 is reported in guiding, for guiding report according to the custom parameter of the guiding report mode.
Example IV
Referring to Fig. 4, it is a kind of another structure drawing of device of navigation guide device of the invention, the device includes parameter
Unit 33 and interface parameters control unit 42 are reported in acquiring unit 41, parameter call unit 32, guiding:
The parameter acquiring unit 41, for starting before navigation, by external file template, obtains user terminal to guiding
The custom parameter of guiding report mode in broadcasting module.
The parameter acquiring unit 41 specifically includes parametric classification subelement 43 and displaying subelement 44:
The parameter classifying unit 43, is carried out for the guiding in broadcasting module will to be guided to report mode according to road grade
Classification.
The displaying subelement 44, it is outer will pass through for sorted guiding report mode to be showed into user terminal
Portion's file template, obtains custom parameter of the user terminal to the guiding report mode in guiding broadcasting module.
The parameter call unit 32 and guiding are reported unit 33 and are described in detail in embodiment three, this
In repeat no more.
The interface parameters control unit 42, for guiding the interface parameters of broadcasting module to be broadcast to guiding by setting
The guiding of report reports species and enters line activating or closing, and it is literary to outside to preserve the custom parameter of the guiding report mode after change
Part template;
Then unit 33 is reported in the guiding, is guided for the custom parameter using the guiding report mode after change
Report.
As can be seen from the above-described embodiment, the present invention uses external file on the basis of without modification program source code
With the mode of module interface parameter setting, report distance, report content for the guiding broadcasting module in navigation guide system
And report the parameter development of species and go out self-defined template, meet the diversified demand of user, be also convenient for management after sale and
Safeguard.
It should be noted that one of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method or portion
Split flow, can be by computer program to instruct the hardware of correlation to complete, described program can be stored in a computer
In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is described
Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory
(Random Access Memory, RAM) etc..
A kind of navigation guide method and apparatus provided by the present invention are described in detail above, it is used herein
Specific embodiment is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to help and understood
The method and its core concept of the present invention;Simultaneously for those of ordinary skill in the art, according to the thought of the present invention, in tool
It will change in body embodiment and application, in summary, this specification content should not be construed as to the present invention
Limitation.