CN101510157B - Input method installation method and device - Google Patents

Input method installation method and device Download PDF

Info

Publication number
CN101510157B
CN101510157B CN2008101195957A CN200810119595A CN101510157B CN 101510157 B CN101510157 B CN 101510157B CN 2008101195957 A CN2008101195957 A CN 2008101195957A CN 200810119595 A CN200810119595 A CN 200810119595A CN 101510157 B CN101510157 B CN 101510157B
Authority
CN
China
Prior art keywords
input method
title
version information
catalogue
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101195957A
Other languages
Chinese (zh)
Other versions
CN101510157A (en
Inventor
杨磊
李贝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN2008101195957A priority Critical patent/CN101510157B/en
Publication of CN101510157A publication Critical patent/CN101510157A/en
Application granted granted Critical
Publication of CN101510157B publication Critical patent/CN101510157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an input method installation method and device, aiming at solving the problem of the existing installation method that the newly installed input method can be used after being restarted in most cases. The method comprises the steps of extracting version information of the input method to be installed; creating a catalog with the name containing the version information and copying the system file of the input method to be installed to the catalog; checking whether the main file of the input method of the old version exists in the system catalog or not, if so, amending the file name and copying the main file of the input method to be installed to the system catalog; and if not, directly copying the main file of the input method to be installed to the system catalog. The method leads the newly installed input method to be capable of being used immediately without restart; moreover, when the input methods of new version and old version run at the same time, the new and old input methods cannot generate interference.

Description

A kind of input method installation method and device
Technical field
The present invention relates to the program installing area, particularly relate to a kind of input method installation method and device.
Background technology
Under present computer operating system environment, as under the Windows environment, the principle that the input method upgrading is installed is:
Input method inlet file ime (is also referred to as the input method master file, as SogouPY.ime) essence is a dll file (dynamic link library, dynamic link library), it externally provides the derivative function of various standards, for operating system and application call.The Windows requirement, being loaded into the pairing disk file of (promptly being carried out by other application calls) in the internal memory of dll can not be capped.This directly causes: if input method ime file is loaded (promptly being carried out by other application calls), this ime file can not be capped, and make other versions (for example upgrading version) of this input method not to be mounted.And the characteristic of input method has determined that the ime file can be not unloaded before application program withdraws from.Therefore, as long as just loaded input method in operating application program, the later release of this input method just can't be installed.
Therefore, in input method upgrading installation process, when promptly under the not unloaded situation of old edition input method the new edition input method being installed, how the new edition input method gets rid of the influence of old edition input method, is a problem that must solve.
More common a kind of solution is at present:
Whether have old edition input method in operation, check promptly whether the application program of moving has loaded the old edition input method if detecting when the new edition input method is installed.If no, then directly install normally, and can be employed the routine call execution after installing immediately; Otherwise the prompting user will load all application program Close Alls of old edition input method.If the user does not have Close All, then stop installation process; Perhaps, can continue to install the new edition input method, but could use after need restarting computing machine, new edition is installed need the file of copy to be placed in the temp directory because when installing be, the function of back copied files is restarted in the support that these files utilize operating system to provide in the time of need restarting in system, copy under the installation directory of system, thereby finish installation.
Use this installation method,, just can continue to install if the user did not load input method or can close the application program that all loaded input method, and the use that can come into force after installing.But, because input method is to embed in other application programs to move, therefore usually there is following situation:
1) has a lot of application programs and all loaded (old edition) input method, and these programs are closed the very trouble of closing one by one;
2) if the user just works in certain application program, for example write document, send out mail, chat or the like, close this application program (promptly close operation all windows of this application program) and may interrupt his operate as normal, so the user may be unwilling to withdraw from this program;
3) some application program withdraw from very difficult, windows desktop for example;
4) if the user is provided with the acquiescence input method, the startup of any process all can load this input method; Therefore do not have input method after operation when the new edition installation procedure is checked through, (even in installation process) can not cause the old edition input method to be reloaded because of the startup of other processes before can not guaranteeing to install.In case this situation occurs, will cause installing imperfect.
For above-mentioned reasons, the user was not seldom loading input method or can close under the situation of all application programs that loaded input method and finish installation.As a rule, the user has installed the new edition input method when not having the Close All application program, and therefore this installation could be used after need waiting for and restarting.
Summary of the invention
Technical matters to be solved by this invention provides a kind of input method installation method and device, to solve the problem that could use new installed input method after existing installation method needs to restart as a rule.
For solving the problems of the technologies described above,, the invention discloses following technical scheme according to specific embodiment provided by the invention:
A kind of input method installation method comprises:
Extract input method version information to be installed;
Create the catalogue that title comprises described version information, and input method system document copying to be installed is arrived under this catalogue;
The input method master file that whether has old edition in the check system catalogue if exist, is then revised this document name, and input method master file to be installed is copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
Preferably,, then revise after this document name, also comprise: the old edition input method master file that the deleted file name has been modified when system restart if there is the input method master file of old edition.
Wherein, the described establishment title catalogue that comprises described version information specifically comprises: receive that the user specifies or the installation directory title of system default; Described version information is appended in the described installation directory title, obtain carrying the sectional lists title of version information; Under described installation directory, create catalogue with described sectional lists name nominating.
Preferably, described establishment title comprises before the catalogue of described version information, also comprises: whether the catalogue that certificate name comprises described version information exists, if exist, then the input method of this version is installed; If there is no, then create the catalogue that title comprises described version information.
Wherein, described copy to input method master file to be installed under the described system directory after, also comprise: data file that each version input method is public and copies of executable code are under the described catalogue that comprises version information.
Described method also comprises: when the mounted input method of application call is created shared drive, use this shared drive of name nominating that comprises this input method version information.
Preferably, the described title that comprises version information is the title that obtains through Hash calculation; Wherein, described name is called the title of catalogue or the title of shared drive.
The present invention also provides a kind of input method erecting device, comprising:
Extraction unit is used to extract input method version information to be installed;
The directory creating unit is used to create the catalogue that title comprises described version information;
First installation unit is used for input method system document copying to be installed under this catalogue;
Second installation unit is used for the input method master file whether the check system catalogue exists old edition, if exist, then revises this document name, and input method master file to be installed is copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
Preferably, described device also comprises: delete cells is used for the old edition input method master file that the deleted file name has been modified when system restart.
Wherein, described directory creating unit specifically comprises: receive subelement, be used to receive the installation directory title of user's appointment or system default; The name subelement is used for described version information is appended to described installation directory title, obtains carrying the sectional lists title of version information; Create subelement, be used under described installation directory, creating catalogue with described sectional lists name nominating.
Preferably, described device also comprises: authentication unit, and be used for the catalogue that certificate name comprises described version information and whether exist, if exist, then the input method of this version is installed; If there is no, then trigger described directory creating unit.
Described device also comprises: the 3rd installation unit is used for data file that each version input method is public and copies of executable code under the described catalogue that comprises version information.
Described device also comprises: the shared drive creating unit is used for using this shared drive of name nominating that comprises this input method version information when the mounted input method of application call is created shared drive.
Preferably, described device also comprises: the Hash calculation unit is used for the described title that comprises version information is carried out Hash calculation; Wherein, described name is called the title of catalogue or the title of shared drive.
According to specific embodiment provided by the invention, the present invention has following technique effect:
At first, installation method provided by the invention is that the input method system file with different editions is installed in the different catalogues, and each catalogue is distinguished with version number; Simultaneously, because the input method master file ime of different editions can only be installed to the same position of appointment, and the ime file that has been installed to this position can not be capped, so by revising the title of old edition input method master file, can copy new edition input method master file to this assigned address, thereby finish installation.Like this,, can get at different directories and find the system file of version correspondence separately, so new installed input method does not need just to restart and can use immediately because the ime file possesses the version recognition capability; And when the new and old edition input method was moved simultaneously, new and old input method can not interfere with each other.
Secondly, described installation method does not require that the user closes the application program that other loaded input method, thereby avoids interference user's operate as normal, greatly facilitates the user; The difficulty of also having avoided the user in the time can't closing some program, must restart.And, do not need in the installation process whether the old edition input method be loaded and detect, thus thoroughly avoided because of error-detecting cause unreliable.For the application program that loaded the old edition input method, the user can freely select to continue to use the old edition input method, load the new edition input method thereby also can restart this program, this point is for some less use input method and close very that the application program (for example windows desktop) of difficulty provides great convenience.
Once more, input method relates to data sharing between a large amount of processes, need use shared drive.When the present invention creates shared drive when the mounted input method of application call, use this shared drive of name nominating that comprises this input method version information.Like this, when the input method of new and old edition is moved simultaneously, will find separately that the internal memory of version correspondence conducts interviews, thereby make the input method between different editions can not interfere with each other, and the input method between identical version can free communication by same shared drive.
Description of drawings
Fig. 1 is the embodiment of the invention one described a kind of input method installation procedure figure;
Fig. 2 is the embodiment of the invention two described a kind of complete input method installation procedure figure;
Fig. 3 is the process flow diagram of the described name shared drive of the embodiment of the invention;
Fig. 4 is the described a kind of input method erecting device structural drawing of the embodiment of the invention;
Fig. 5 is the described a kind of input method erecting device structural drawing of another embodiment of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
At the problem that ime file in the input method upgrading installation process can not be capped, the solution thinking of prior art is to create an environment that does not have the operation of old edition input method, and for example, unloading old edition input method is perhaps restarted and got the jump on the old edition input method before loading or the like.And the present invention changes this solution thinking, has proposed a kind of innovative ideas, if promptly the new and old edition input method can be moved simultaneously, just can allow the new edition input method install at any time and come into force.Therefore, the problem that the present invention need solve is, how to accomplish can not interfere with each other between the input method of different editions.Be elaborated below by embodiment.
Embodiment one:
With reference to Fig. 1, be embodiment one described a kind of input method installation procedure figure.The key step of installing comprises:
S101 extracts input method version information to be installed;
From the input method installation procedure, extract the current installed input method version information of wanting, as version number.
S102 creates the catalogue that title comprises described version information;
Create a catalogue of distinguishing with version information, installation procedure all allows user's designated mounting catalogue usually, if the user does not specify, then is installed under the catalogue of system default.The creation method that present embodiment adopts is as follows:
1) receive that the user specifies or the installation directory title of system default, for example, C: program files SogouInput, this catalogue is called master catalogue;
2) described version information is appended in the described installation directory title, obtain carrying the sectional lists title of version information; For example, for version 1.0, the sectional lists name is called C: program files SogouInput v1.0;
3) under described installation directory, create catalogue with described sectional lists name nominating, promptly create sectional lists C: program files SogouInput v1.0.
S103 arrives input method system document copying to be installed under this sectional lists;
According to the listed files that presets, with the input method system document copying in the catalogue of being created.If desired, under this sectional lists, can also comprise sub-directory, for example catalogue of input method skin file etc.
S104, the check system catalogue (for example, C: Windows System32) in whether have the input method master file ime of old edition, if exist, then revise this document name, and input method master file to be installed copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
The installation of input method master file ime is different from the installation of said system file, because the restriction of operating system, the ime file can only be placed on system's appointed positions (being above-mentioned system directory), so the ime file of different editions must be placed on identical position.But the old edition ime file that has been installed to this position can not be capped, and so just causes new edition ime file to install.At described problem, operating system provides the mechanism of " covering renames ", can new edition ime document copying be arrived this assigned address by the mode that renames, and old edition ime file is made into a title at random, to guarantee that not having alternative document attempts to cover it.
Preferably, the described old edition ime file that has renamed can not be deleted at once owing to being operated system protection, and present embodiment can be set to restart back deletion (this function is provided by operating system).After the deletion, just do not have the operation of old edition input method in the system.
Above-mentioned processing is the processing that the new edition input method is installed when having the old edition input method in the system, if the old edition input method is not installed in the system, then current installed input method master file ime can directly be installed to system's appointed positions.Certainly, the present invention does not limit when for the first time input method being installed and must install according to mode of the present invention (with reference to Fig. 1 flow process), and the present invention is applicable to that mainly system installed the situation of upgrading and installing after the old edition input method.
After above-mentioned flow process installation new edition input method, because the ime file possesses the version recognition capability, can get at different directories and find the system file of version correspondence separately, so new installed input method does not need just to restart and can use immediately.Therefore, before computing machine is restarted, new application program started will load the new edition input method; And the application program that has loaded the old edition input method before installation still can continue to use the old edition input method, up to this closing application program.Like this, before computing machine is restarted, the situation that exists new and old input method to move simultaneously, but owing to the input method of different editions is installed in the different catalogues, the ime file can get in the catalogue of different editions and search the system file of version correspondence separately, so new and old input method can not interfere with each other.
And described installation method does not require that the user closes the application program that other loaded input method, thereby avoids interference user's operate as normal, greatly facilitates the user; The difficulty of also having avoided the user in the time can't closing some program, must restart.For the application program that loaded the old edition input method, the user can freely select to continue to use the old edition input method, load the new edition input method thereby also can restart this program, this point is for some less use input method and close very that the application program (for example windows desktop) of difficulty provides great convenience.
And, do not need in the installation process whether the old edition input method be loaded and detect, thus thoroughly avoided because of error-detecting cause unreliable.And detect in the prior art whether very difficulty of old edition input method operation is arranged: on the one hand, though operating system provides the method that some dll file by which application program is loaded of discerning, but this identification still may be because problems such as authority make a mistake, and need be identified except dll, other executable codes dll, exe and data file also need to discern it and by which application program are loaded; On the other hand, even there is the method for identification in theory, because any file all may influence the installation of input method, therefore installation procedure need safeguard a recognized list is need to determine which file of identification, and safeguard that this tabulation not only needs the extra work amount, and increase potential instability because of its contingent mistake.But the present invention is owing to having avoided such testing process, so more reliable than existing installation method.
Embodiment two:
Present embodiment provides a kind of complete input method installation procedure.
With reference to Fig. 2, be embodiment two described a kind of complete input method installation procedure figure.
S201 extracts input method version information to be installed;
S202, whether the catalogue that certificate name comprises described version information exists, if exist, then the input method of this version is installed; If there is no, then continue S203;
For the reliability that guarantees to install and the stability of system, increase this step and verify.If old edition input method in the system and current input method to be installed are same versions, then can stop installation process, perhaps be set to other processing (as skip the directory creating step, directly forward S204 to).If the input method of different editions then continues installation process.
S203 creates the catalogue that title comprises described version information;
S204 arrives input method system document copying to be installed under this catalogue;
Equally, can before copy, increase a checking link, verify under this catalogue whether had identical system file, if setup error is then reported in existence owing to make mistakes for the reliability that guarantees to install and the stability of system.
S205, the check system catalogue (for example, C: Windows System32) in whether have the input method master file ime of old edition, if exist, then revise this document name, and input method master file to be installed copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory;
Preferably, the described old edition input method master file that renames of deletion when system restart.
S206 comprises under the catalogue of version information as described in data file that each version input method is public and executable code (as Uninstaller) copy to.Certainly, also can copy other memory locations to.
After the new edition input method successful installation, the operation of input method can relate to data sharing between a large amount of processes, at this moment needs to use kernel objects, for example shared drive.At first introduce the use of shared drive below:
It is only inner effectively in process that the protection mechanism of operating system has limited the normally used internal memory of process, but in order to realize data sharing, and operating system provides shared drive mechanism to help data sharing between the application program implementation process.In order to discern different shared drives, when the shared drive piece is created in application, need import the title that an application program is appointed into.If two processes have been created a shared drive separately with identical title, then these two internal memories are actual is same internal memory; The data that process writes to this memory block, another process can directly be read.
Based on above introduction, when the input method of new and old edition is moved simultaneously,, can cause same internal memory of different editions input method visit if used identical title to create shared drive.Because the different editions input method may change to the call format of this memory block, so the stability of input method can be had a strong impact on.
Can move simultaneously if wish the new and old edition input method, need be that different versions is specified different titles when creating shared drive.According to above-mentioned installation thinking, a title that only needs version number information to be added shared drive just can realize, thereby makes that same version inside still can free swap data by same shared drive, but the phase mutual interference can not occur between the different editions.
With reference to Fig. 3, be the process flow diagram of the described name shared drive of embodiment, be 1.0 to be example with the version number of installing.
S301 is for the shared drive for realizing that specific function is created, for this shared drive presets a title, for example " ShareMem_SogouPY ";
S302 is with this shared drive title back additional version information, for example " ShareMem_SogouPY_1.0 ";
S303 uses the shared drive title (" ShareMem_SogouPY_1.0 ") of additional version information to create the name shared drive;
S304 if shared drive is created successfully, then uses this shared drive.
Like this, when the mounted input method of application call is created shared drive, use this shared drive of name nominating that comprises this input method version information.When the input method of new and old edition is moved simultaneously, will find separately that the internal memory of version correspondence conducts interviews, thereby make the input method between different editions can not interfere with each other, and the input method between identical version can free communication by same shared drive.
In addition, other kernel objects, for example pipeline (Pipe is used for the data transmission between process), mutex (Mutex is used to into/thread synchronization) or the like can realize that different editions does not disturb mutually by this mode that adds version information in title.
Some numeric obj ects, tcp port for example also can add version information by mode indirectly.Application program may be used to the mode of specifying the tcp port write data and communicate, and this port numbers can comprise version information.For example, use an internal release serial number, the actual port numbers of using is for adding this version serial number on the basis of a radix.Wherein, described indirect mode is meant: version information can be converted to character string and append to important name and claim the back, for example version number 1.0 be become character string " 1.0 "; Also can convert operation result to character string, for example version number 1.0 be amplified 10 times and become " 10 ", also scalable certainly 20 times obtain 20; Can also be other processing, no longer enumerate at this.
The present invention is preferred, various titles for above-mentioned additional version information, for example directory name, kernel objects title etc., oversize for fear of title, can carry out hash to title with Hash (hash) calculation mode, thereby obtain short title, perhaps the title hash with character style is a numeral interior between a designation area.If hash function is selected appropriate, can guarantee that the name character string that comprises different editions information obtains different hash results.
At the explanation of said method embodiment, the present invention also provides corresponding installation system embodiment.With reference to Fig. 4, be the described a kind of input method erecting device structural drawing of embodiment.Described device mainly comprises:
Extraction unit U41 is used to extract input method version information to be installed;
Directory creating unit U42 is used to create the catalogue that title comprises described version information;
The first installation unit U43 is used for input method system document copying to be installed under this catalogue;
The second installation unit U44 is used for the input method master file ime whether the check system catalogue exists old edition, if exist, then revises this document name, and input method master file to be installed is copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
Wherein, described directory creating unit U42 specifically comprises:
Receive subelement, be used to receive the installation directory title of user's appointment or system default;
The name subelement is used for described version information is appended to described installation directory title, obtains carrying the sectional lists title of version information;
Create subelement, be used under described installation directory, creating catalogue with described sectional lists name nominating.
Described device can be installed to the input method system file of different editions in the different catalogues, and each catalogue is distinguished with version number; Simultaneously, by revising the title of old edition input method master file, can copy new edition input method master file to appointed positions, thereby finish installation.Like this,, can get at different directories and find the system file of version correspondence separately, so new installed input method does not need just to restart and can use immediately because the ime file possesses the version recognition capability; And when the new and old edition input method was moved simultaneously, new and old input method can not interfere with each other.
Based on said apparatus embodiment, the present invention also provides another device embodiment.With reference to Fig. 5, be the structural drawing of described device.Described device removes and comprises extraction unit U51, directory creating unit U52, the first installation unit U53, the second installation unit U54, also comprises with lower unit:
Delete cells U55 is used for the described old edition input method master file that renames of deletion when system restart.
Whether authentication unit U56 is used for the catalogue that certificate name comprises described version information and exists, if exist, then the input method of this version is installed; If there is no, then trigger described directory creating unit U52, thereby guarantee the reliability of installation and the stability of system.
The 3rd installation unit U57 is used for data file that each version input method is public and copies of executable code under the described catalogue that comprises version information.Certainly, also can copy other memory locations to.
Shared drive creating unit U58 is used for using this shared drive of name nominating that comprises this input method version information when the mounted input method of application call is created shared drive.In addition, this unit further is carried out the name of additional version information to other kernel objects or numeric obj ects.
Hash calculation unit U59 is used for the various titles of additional version information are carried out Hash calculation, and for example directory name or shared drive title etc. avoid naming title oversize.
Need to prove that in full described " new edition input method " and " old edition input method " is not to divide by the high low level of version, but the division of being undertaken by the sequencing of installation.So " new edition input method " may be lower than the release level of " old edition input method ", this situation does not influence the establishment of the various embodiments described above of the present invention.
The part that does not describe in detail in Fig. 4, the device shown in Figure 5 can be considered for length referring to the relevant portion of Fig. 1, Fig. 2, method shown in Figure 3, is not described in detail in this.
More than to a kind of input method installation method provided by the present invention and system, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. an input method installation method is characterized in that, comprising:
Extract input method version information to be installed;
Create the catalogue that title comprises described version information, and input method system document copying to be installed is arrived under this catalogue;
The input method master file that whether has old edition in the check system catalogue if exist, is then revised this document name, and input method master file to be installed is copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
2. method according to claim 1 is characterized in that, if there is the input method master file of old edition, then revises after this document name, also comprises:
The old edition input method master file that the deleted file name has been modified when system restart.
3. method according to claim 1 is characterized in that, the catalogue that described establishment title comprises described version information specifically comprises:
Receive the installation directory title of user's appointment or system default;
Described version information is appended in the described installation directory title, obtain carrying the sectional lists title of version information;
Under described installation directory, create catalogue with described sectional lists name nominating.
4. method according to claim 1 is characterized in that, described establishment title comprises before the catalogue of described version information, also comprises:
Whether the catalogue that certificate name comprises described version information exists, if exist, then the input method of this version is installed; If there is no, then create the catalogue that title comprises described version information.
5. method according to claim 1 is characterized in that, described copy to input method master file to be installed under the described system directory after, also comprise:
Data file that each version input method is public and copies of executable code are under the described catalogue that comprises version information.
6. method according to claim 1 is characterized in that, also comprises:
When the mounted input method of application call is created shared drive, use this shared drive of name nominating that comprises this input method version information.
7. according to claim 1 or 6 described methods, it is characterized in that: the described title that comprises version information is the title that obtains through Hash calculation; Wherein, described name is called the title of catalogue or the title of shared drive.
8. an input method erecting device is characterized in that, comprising:
Extraction unit is used to extract input method version information to be installed;
The directory creating unit is used to create the catalogue that title comprises described version information;
First installation unit is used for input method system document copying to be installed under this catalogue;
Second installation unit is used for the input method master file whether the check system catalogue exists old edition, if exist, then revises this document name, and input method master file to be installed is copied under the described system directory; If there is no, then directly input method master file to be installed is copied under the described system directory.
9. device according to claim 8 is characterized in that, described device also comprises:
Delete cells is used for the old edition input method master file that the deleted file name has been modified when system restart.
10. device according to claim 8 is characterized in that, described directory creating unit specifically comprises:
Receive subelement, be used to receive the installation directory title of user's appointment or system default;
The name subelement is used for described version information is appended to described installation directory title, obtains carrying the sectional lists title of version information;
Create subelement, be used under described installation directory, creating catalogue with described sectional lists name nominating.
11. device according to claim 8 is characterized in that, described device also comprises:
Whether authentication unit is used for the catalogue that certificate name comprises described version information and exists, if exist, then the input method of this version is installed; If there is no, then trigger described directory creating unit.
12. device according to claim 8 is characterized in that, described device also comprises:
The 3rd installation unit is used for data file that each version input method is public and copies of executable code under the described catalogue that comprises version information.
13. device according to claim 8 is characterized in that, described device also comprises:
The shared drive creating unit is used for using this shared drive of name nominating that comprises this input method version information when the mounted input method of application call is created shared drive.
14. according to Claim 8 or 13 described devices, it is characterized in that described device also comprises:
The Hash calculation unit is used for the described title that comprises version information is carried out Hash calculation; Wherein, described name is called the title of catalogue or the title of shared drive.
CN2008101195957A 2008-09-03 2008-09-03 Input method installation method and device Active CN101510157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101195957A CN101510157B (en) 2008-09-03 2008-09-03 Input method installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101195957A CN101510157B (en) 2008-09-03 2008-09-03 Input method installation method and device

Publications (2)

Publication Number Publication Date
CN101510157A CN101510157A (en) 2009-08-19
CN101510157B true CN101510157B (en) 2011-11-30

Family

ID=41002562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101195957A Active CN101510157B (en) 2008-09-03 2008-09-03 Input method installation method and device

Country Status (1)

Country Link
CN (1) CN101510157B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102142069B (en) * 2011-05-05 2012-09-12 北京思创银联科技股份有限公司 Method for hiding folders
CN102855144B (en) * 2011-06-27 2016-04-20 北大方正集团有限公司 For version disposal route and the device of single version software
CN106775794B (en) * 2015-11-24 2021-02-12 北京搜狗科技发展有限公司 Input method client installation method and device
CN108021371A (en) * 2016-10-31 2018-05-11 中标软件有限公司 Search dog input method and the integrated approach of IBUS frames under Domestic Platform
CN108512747A (en) * 2017-02-23 2018-09-07 中兴通讯股份有限公司 The plug-in management method and home gateway of home gateway, communication system
CN107436781B (en) * 2017-06-28 2021-06-01 北京五八信息技术有限公司 APK file processing method and device
TWI658401B (en) * 2017-11-14 2019-05-01 財團法人工業技術研究院 Mobile communication device based on virtual mobile infrastructure and related input method switching methods thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326155A (en) * 2000-05-25 2001-12-12 英业达股份有限公司 Method for instantaneous generation of file version
EP0972238B1 (en) * 1997-04-02 2001-12-12 Microsoft Corporation Method for integrating a virtual machine with input method editors

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0972238B1 (en) * 1997-04-02 2001-12-12 Microsoft Corporation Method for integrating a virtual machine with input method editors
CN1326155A (en) * 2000-05-25 2001-12-12 英业达股份有限公司 Method for instantaneous generation of file version

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆莲芳,巴力登.《W INDOWS 环境下输入法编程技术》.《新疆大学学报(自然科学版)》.2005,第22卷(第2期),214-218. *

Also Published As

Publication number Publication date
CN101510157A (en) 2009-08-19

Similar Documents

Publication Publication Date Title
CN101510157B (en) Input method installation method and device
US9696989B1 (en) Systems and methods for generating and applying operating system live updates
JP5900911B2 (en) File system access for one or more sandboxed applications
RU2409838C2 (en) Archiving data in virtual application enviroinment
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN102662741B (en) Method, device and system for realizing virtual desktop
EP2297632B1 (en) Dynamic file system restriction for portable storage devices
CN101699400B (en) Method and system for generating and running installation program of client
Bojinov et al. Address space randomization for mobile devices
US8132187B2 (en) Driver installer usable in plural environments
US10162965B2 (en) Portable media system with virus blocker and method of operation thereof
TWI420879B (en) Anti-hack protection to restrict installation of operating systems and other software
US20140115316A1 (en) Boot loading of secure operating system from external device
US20150294114A1 (en) Application randomization
CN104008340A (en) Virus scanning and killing method and device
CN110088736B (en) Self-tuning method and system
JP2009238153A (en) Malware handling system, method, and program
US9916149B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium of program for executing control method
US20110265072A1 (en) Dynamic Installation of Files for Running Programs
US20170242687A1 (en) Dynamically applying a patch to a shared library
Huber et al. A flexible framework for mobile device forensics based on cold boot attacks
US9053108B2 (en) File system extended attribute support in an operating system with restricted extended attributes
US20160239364A1 (en) Method of verifying integrity of program using hash
US20080256514A1 (en) Side-by-side application manifests for single-purpose applications
CN114816447B (en) White list-based dynamic deployment software installation method and device, electronic equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant