Background technology
The Vehicular navigation technology is the important branch of GPS (Global Positioning System, GPS) technology.Principle of work based on the onboard navigation system of this technology is, in-vehicle navigation apparatus receives the position coordinates that at least 3 satellites transmitted in earth-circling 24 gps satellites, the position coordinates of putting down in writing in the electronic chart that itself and terminal self are stored mates, and determines the accurate position of vehicle in electronic chart of this equipment of lift-launch with this.
Existing in-vehicle navigation apparatus generally comprises navigation software, operating system and hardware platform three parts.In recent years, develop rapidly along with mobile communication technology, it is more and more to possess the mobile communication terminal that can support navigation software and the required hardware platform of operating system thereof, as various intelligent mobile phones, PDA (Personal Digital Assistant, personal digital assistant) or the like.Simultaneously, operating systems such as Wince rely on its good transplantability, reduction property and downward compatibility, adopted by increasing mobile communication terminal gradually, and itself and mobile communication terminal binding are sold.Therefore, for numerous users, a cover navigation software only need be installed, just existing mobile communication terminal can be converted to a powerful in-vehicle navigation apparatus.
But, present navigation software is often at soft, hardware platform (hereinafter referred support platform, comprise hardware platform and operate in operating system on this hardware platform) develop, not necessarily can operate on other support platforms at the navigation software of a certain support platform exploitation.For addressing this problem, it is identical but be applicable to a plurality of navigation softwares of different support platforms that navigation software provider generally can develop function, can manually select to install according to the type of self support platform for the user.
Yet also there are many defectives in the mode that this manual selection is installed.For example, the version of navigation software may be with the difference of main hardware in the hardware platform (for example processor, display screen etc.) difference, also may be different and different with the type of operating system, this will cause the version of navigation software too much.In this case, the user need extremely understand the support platform of self, could select a correct version to install among the navigation software of numerous versions.Under user's technical merit condition of limited, the use difficulty of the method that this manual selection is installed is bigger, must influence user experience.
Therefore, need a kind of technical scheme, overcome the above-mentioned defective that prior art exists.
Summary of the invention
The technical problem to be solved in the present invention is, thereby manually selecting installation method requirement user that support platform is extremely understood at existing navigation software causes using the defective that difficulty is big, influence user experience, a kind of automatic installation method and navigation software automated installation of system of navigation software is provided.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of automatic installation method of navigation software is used for selecting to be fit to operate in navigation software on the support platform at alternative a plurality of navigation softwares, and it is installed on the support platform; Wherein, support platform has a support platform configuration file, and each alternative navigation software has a running environment configuration file; Described method comprises the steps:
S1, the set of parameter values of searching each parameter in the running environment configuration file in described alternative a plurality of navigation softwares all comprise the navigation software of the parameter value of identical parameters in the support platform configuration file;
S2, the navigation software that finds is installed on the support platform.
In the automatic installation method of navigation software of the present invention, before described step S1, described method also comprises:
S11, reception navigation software installation order;
S12, analysis support platform generate described support platform configuration file.
In the automatic installation method of navigation software of the present invention, described support platform comprises hardware platform and the operating system that operates on this hardware platform.
In the automatic installation method of navigation software of the present invention, described step S2 also comprises, in installation process, uses parameter in the described support platform configuration file to dispose the running environment of the navigation software of installing.
In the automatic installation method of navigation software of the present invention, comprise at least one in the following parameters in the described support platform configuration file:
Device identification;
The storer sign;
Type of memory;
Memory span;
OS Type;
Operating system version;
Display resolution;
Processor type;
The navigation data receive mode.
The present invention also provides a kind of navigation software automated installation of system, comprising:
The navigation software memory module is used to store alternative a plurality of navigation software and running environment configuration file thereof;
Support platform configuration file stores module is used to store the support platform configuration file;
Described system also comprises:
Search module, be used to receive search instruction, the set of parameter values of searching each parameter in the running environment configuration file in described alternative a plurality of navigation softwares all comprises the navigation software of the parameter value of identical parameters in the support platform configuration file, the enabled instruction of sending the sign that comprises the navigation software that finds;
Configuration module is installed, is used to receive enabled instruction, extract the sign of described navigation software, read and install corresponding navigation software.
In navigation software automated installation of system of the present invention, described system also comprises:
Analysis module is used to receive installation order, and described support platform is analyzed, and generates described support platform configuration file, and it is stored among the described support platform configuration file stores module, sends described search instruction.
In navigation software automated installation of system of the present invention, described support platform comprises hardware platform and the operating system that operates on this hardware platform.
In navigation software automated installation of system of the present invention, described installation configuration module is used for, and in installation process, uses parameter in the described support platform configuration file to dispose the running environment of the navigation software of installing.
In navigation software automated installation of system of the present invention, comprise at least one in the following parameters in the described support platform configuration file:
Device identification;
The storer sign;
Type of memory;
Memory span;
OS Type;
Operating system version;
Display resolution;
Processor type;
The navigation data receive mode.
Implement technical scheme of the present invention, have following beneficial effect, search for suitable navigation software automatically by foundation support platform configuration file, can realize the automatic installation of navigation software, and the automatic configuration of navigation software running environment, whole process need not to think intervention, and is easy to use.
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 invention provides a kind of automatic selection installation method of navigation software, can select to install the navigation software of suitable version automatically according to the configuration file of support platform.Wherein, support platform comprises the operating system of moving on hardware platform and this hardware platform.Record the configuring condition of support platform in the above-mentioned support platform configuration file, by support platform analysis is generated.Next, before formally beginning to describe the automatic selection installation method of navigation software of the present invention, earlier support platform configuration file provided by the invention is described.
Record the configuring condition of support platform in the support platform configuration file, this document can adopt following structure:
Parameter name |
Parameter value |
Device identification |
|
The storer sign |
|
Type of memory |
|
Memory span |
|
OS Type |
|
Operating system version |
|
Display resolution |
|
Processor type |
|
The navigation data receive mode |
|
Table 1
As shown in table 1, comprise the parameter name and the parameter value thereof of a plurality of parameters in the support platform configuration file.
Device identification and storer sign are used for identifying the hardware platform of this support platform.Each navigation software is all developed at the software and hardware platform of particular type, therefore can identify by device identification and storer and search corresponding navigation software.In addition, in order to prevent copy right piracy, navigation software provider is about to the device identification and/or the binding of storer sign of the sequence number and the hardware platform of each navigation software with each navigation software and hardware platform binding.Navigation software identifies and finishes above-mentioned binding procedure by reading this device identification and storer.
Type of memory is used to indicate the type of the storer that is used for storing navigation software.Because the type of configurable storer on portable terminal is very many at present, the read or write speed of various types of memory has nothing in common with each other again, and therefore the configurable a plurality of storeies of same hardware platform installing automatically in the process of navigation software, need to select to be fit to the most the storer of storage navigation software.Simultaneously, selected storer also determines the installation site of navigation software.
Memory span is used to indicate the capacity of the memory device that is used for storing navigation software.Navigation software often is divided into standard edition and scaled-down version two classes.The scaled-down version navigation software often only possesses basic navigation feature, and its advantage is that the storage space that takies is little, and travelling speed is fast, and shortcoming is that function is comparatively single.The standard edition navigation software also possesses other additional functions except that possessing basic navigation feature, its advantage is that function is more powerful, and shortcoming is to take up room greatlyyer, and travelling speed is relatively slow.This parameter of memory span can be indicated the capacity of the storer that is used for storing navigation software, so that can judge it is choice criteria version navigation software or scaled-down version navigation software automatically according to the capacity of storer.
OS Type is used to indicate the type of the operating system of carrying navigation software.Except that Wince operating system mentioned above, also can move the operating system of the other types that are applicable to portable terminal on the hardware platform of lift-launch navigation software.Operating system difference, the navigation software of configuration also might be different, therefore need to use this parameter of OS Type to indicate the type of the operating system of carrying navigation software, so that select to install suitable navigation software automatically.
Operating system version is used to indicate the version of the operating system of carrying navigation software.May have a plurality of versions with a operating system, for example Wince operating system has a plurality of versions such as Smartphone, Pocket PC or Windows Mobile.The version of the navigation software that the operating system of different editions can be moved may be different, therefore need to use this parameter of operating system version to indicate the version of the operating system of carrying navigation software.
Display resolution is used to indicate and is used for the resolution of display screen of show navigator map.Therefore the resolution of display screen and inequality need to use this parameter of display resolution to indicate the resolution of the display screen that is used to come the show navigator map, so that select to install suitable navigation software automatically.Because same navigation software can support multiple resolution sometimes, so display resolution can also further dispose the navigation software of selecting, to reach optimal display result.
Processor type is used to indicate the type of the processor that hardware platform disposes.The configurable plural types of processings device of hardware platform of operation navigation software, for example arm processor, MIPS processor etc.The display effect of different navigation map is closely related, and each processor of the display effect that navigation software provided of different editions possibility need move the navigation software of different editions, and these navigation softwares just can move after need compiling separately at processor.Therefore, need to use this parameter of processor type to indicate the type of the processor that hardware platform disposes, so that select to install suitable navigation software automatically.
The navigation data receive mode is used to indicate the navigation data receive mode of hardware platform.Usually, different hardware platforms may use different navigation data receiver modules.Different hardware platforms may be connected with operating system by different navigation data reception serial ports (COM port) and baud rates, the receive mode of navigation data also has much simultaneously, navigation software need be according to different reception serial ports and baud rates, and specific navigation data receive mode is removed to receive navigation data and can be realized the location.Otherwise just can't realize positioning function, the quality of data that perhaps receives is relatively poor and can't realize navigation feature accurately.
Except that above-mentioned parameter, also can comprise other parameters in the support platform configuration file.Table 1 only is used to introduce principle of the present invention, is not to be used to limit scope of the present invention.
Above-mentioned parameter can read in operating system, also can directly read from corresponding hardware equipment.For example, Wince operating system tends to stay corresponding information in registration table when adding the driving of key hardware such as processor.By searching the system registry of Wince operating system, just can find some information of the driving of relevant these hardware, for example the type of processor etc.For example,, find clauses and subclauses Atlas_APM.dll,, therefore can assert the type of processor thus because Atlas is a kind of model of arm processor by searching the system registry of Wince operating system.
Use for ease of user installation, navigation software provider is when the issue navigation software, often that function is identical but be applicable to a series of navigation software packing and issuing of different support platforms, so that the user can select to install suitable navigation software according to the needs of self support platform.Relative with the support platform configuration file, each alternative navigation software all disposes a running environment configuration file, has wherein put down in writing required soft, the hardware condition of this navigation software operation.Comprise whole parameters of putting down in writing in the support platform configuration file in this navigation software configuration file, and these parameter corresponding parameters values.Because a navigation software is sometimes applicable to polytype support platform, so the parameter value of each parameter may more than one in its running environment configuration file, i.e. the corresponding set of parameter values of each parameter.For example the required processor of navigation software operation can be arm processor, MIPS processor or the like.
After the running environment configuration file of the support platform configuration file of describing support platform of the present invention and navigation software, the automatic installation method and the navigation software automated installation of system of navigation software provided by the invention described below in conjunction with Fig. 1 and Fig. 2.
Fig. 1 is a process flow diagram of selecting installation method 100 according to the navigation software of a preferred embodiment of the present invention automatically.As shown in Figure 1, method 100 starts from step 102.
Subsequently,, receive installation order, analyze the support platform configuring condition, generate the support platform configuration file at next step 104.Because the rare variation of support platform, therefore can be in nonvolatile memory with the support platform configuration file stores that generates.The content of relevant support platform configuration file and each Parameter Extraction method that wherein comprises have carried out clearly describing at preamble, therefore repeat no more herein.
Subsequently, at next step 106, read in the support platform configuration file that is generated in the previous step 104.
Subsequently, at next step 108, read the running environment configuration file of support platform configuration file and alternative each navigation software, the set of parameter values of searching each parameter in the running environment configuration file in alternative a plurality of navigation softwares all comprises the navigation software of the parameter value of identical parameters in the support platform configuration file, and begins to install.Carried out clearly describing about the content of the running environment configuration file of support platform configuration file and navigation software, therefore repeated no more herein at preamble.
In addition, in the process that navigation software is installed, read each parameter in the support platform configuration file, and dispose the running environment of navigation software in view of the above.
At last, the installation process of navigation software finishes, and method 100 ends at step 110.
The present invention also provides a kind of navigation software automated installation of system, below just be described in greater detail in conjunction with Fig. 2.
Fig. 2 is the structural representation according to the navigation software automated installation of system 200 of a preferred embodiment of the present invention.As shown in Figure 2, navigation software selects installation system 200 to comprise analysis module 202, support platform configuration file stores module 204, search module 206, configuration module 208 and navigation software memory module 210 are installed automatically.Wherein, store alternative navigation software and running environment configuration file thereof in the navigation software memory module.
Analysis module 202 is used to receive installation order 212, analyzes the configuring condition of support platform, generates the support platform configuration file, mails to 204 storages of support platform configuration file stores module.The content of relevant support platform configuration file and each Parameter Extraction method that wherein comprises have carried out clearly describing at preamble, therefore repeat no more herein.Subsequently, analysis module 202 sends search instruction to search module 206.
The search instruction that search module 206 receiving and analyzing modules 202 are sent reads the support platform configuration file from support platform configuration file stores module 204.Simultaneously, search module 206 reads the running environment configuration file of each navigation software from navigation software memory module 210, records required soft, the hardware requirement of navigation software operation in this running environment configuration file.Subsequently, search module 206 is searched each parameter in the running environment configuration file in alternative navigation software set of parameter values all comprises the navigation software of the parameter value of identical parameters in the support platform configuration file, to the enabled instruction that configuration module 208 sends the sign that comprises the navigation software that finds is installed.
Configuration module 208 is installed is received the enabled instruction that search module 206 sends,, in navigation software memory module 210, read corresponding navigation software and begin and install according to the sign of the navigation software that wherein comprises.In installation process, configuration module 208 is installed from support platform configuration file stores module 204, is read support platform configuration file 210, dispose the running environment of the navigation software of installing according to wherein each parameter, such as but not limited to the resolution of configuration display screen etc.
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.