CN102222007A - Method for installing application software - Google Patents
Method for installing application software Download PDFInfo
- Publication number
- CN102222007A CN102222007A CN2010101631722A CN201010163172A CN102222007A CN 102222007 A CN102222007 A CN 102222007A CN 2010101631722 A CN2010101631722 A CN 2010101631722A CN 201010163172 A CN201010163172 A CN 201010163172A CN 102222007 A CN102222007 A CN 102222007A
- Authority
- CN
- China
- Prior art keywords
- file system
- read
- application software
- external connection
- write
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for installing application software, and the method provided by the invention is applicable to a host computer. The host computer comprises an internal storage device provided with a read-only file system. The method for installing the application software provided by the invention comprises the following steps: firstly, connecting the host computer with an external storage device which is provided with a read-write file system; secondly, judging whether the external storage device has identification data; if the external storage device has identification data, combining the read-only file system and the read-write file system into a virtue file system; and finally, installing the application software into the virtue file system according to an installation instruction.
Description
Technical field
The present invention relates to a kind of disposal route of application software, and be particularly related to a kind of installation method of application software.
Background technology
Well known ground, operating system is the program of supervisory computer hardware and software resource, also is the core of computer installation simultaneously.Operating system is born such as atomic transactions such as management and configuration network and managing file systems, and an operation interface that allows user and system mutual also is provided.In order to meet the needs of routine work or amusement, the user tends to install application software miscellaneous in operating system, as document process software, recreation or the like.In addition, when system or application software is leaky or bedbug when being found, the user also need be by repairing (patch) file or the installation of redaction improves.
Yet,, have the operating system of part can adopt read-only (read-only) file system (file system), and do not allow the user that system is installed extra application software or carries out the renewal of system for security or other consideration.In such operating system, when the user wishes update system, often can only override original operating system by reflection (image) file of downloading whole part, quite inconvenient.In addition, using in carry-on dish though the user can download the application software of some Portable versions (portable version), is not that all application software all provide portable version, so also can't satisfy user's demand fully.
Summary of the invention
The invention provides a kind of installation method of application software, can application software be installed in the operating system of read-only file system framework with general installation method.
The present invention proposes a kind of installation method of application software, is applicable to a main frame.Main frame comprise have a read-only file system one in connect memory storage.The installation method of application software comprises the following steps.At first, connect main frame to an external connection storage apparatus.External connection storage apparatus has a read-write file system.Then, judge whether external connection storage apparatus has a recognition data.When external connection storage apparatus had recognition data, merging read-only file system and read-write file system was a Virtual File System.Afterwards, according to an installation instruction, an application software is installed to Virtual File System.
In one embodiment of this invention, merging before read-only file system and read-write file system be the step of Virtual File System, the application software installation method also comprises the following steps.According to a consolidation strategy, connect in the decision that memory storage preferentially reads or external connection storage apparatus preferentially reads.
In one embodiment of this invention, according to connect in the consolidation strategy decision that memory storage preferentially reads or the step that external connection storage apparatus preferentially reads before, the application software installation method also comprises the following steps.Accept user instruction, to specify consolidation strategy.
In one embodiment of this invention, merging read-only file system and read-write file system is the step of Virtual File System, comprises the following steps.Preferentially reading if connect memory storage in the decision, then is the main merging of catalogue of carrying out with the read-only file system.If the decision external connection storage apparatus preferentially reads, serve as the main merging of catalogue of carrying out then with read-write file system.Afterwards, the catalogue of carry merging is to the root directory of read-only file system.
In one embodiment of this invention, the installation method of application software also comprises the following steps.At first, receive a reading command, to read a file of an assigned catalogue.Then, judge whether assigned catalogue and file are present in read-only file system and read-write file system simultaneously.When assigned catalogue and file were present in read-only file system and read-write file system simultaneously, decision was read file from read-only file system or read-write file system according to consolidation strategy.
In one embodiment of this invention, merging before read-only file system and read-write file system be the step of Virtual File System, the installation method of application software also comprises the following steps.Root directory to one original root of carry read-only file system and read-write file system and one is extended root directory respectively, merges to utilize original root and extension root directory.
In one embodiment of this invention, recognition data is a specific file or a specific label title.
Based on above-mentioned, the present invention by will in connect the read-only file system of memory storage and the read-write file system of external connection storage apparatus is merged into a Virtual File System, and can carry out the installation of application software to limited systems, quite convenient.
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and conjunction with figs. is described in detail below.
Description of drawings
Fig. 1 is connected to the synoptic diagram of external connection storage apparatus for the main frame of one embodiment of the invention.
Fig. 2 is the process flow diagram of installation method of application software that is applied to the main frame of Fig. 1.
Fig. 3 is the process flow diagram of installation method of the application software of another embodiment of the present invention.
Fig. 4 is the process flow diagram from the extended read-write Virtual File System of installation method of the application software of Fig. 2.
[main element symbol description]
50: external connection storage apparatus
100: main frame
110: in connect memory storage
S110~S140, S210~S280, S310~S400: step
Embodiment
Fig. 1 is connected to the synoptic diagram of external connection storage apparatus for the main frame of one embodiment of the invention.Please refer to Fig. 1, main frame 100 comprises and connects memory storage 110 in one, and is suitable for being connected to an external connection storage apparatus 50.In connect memory storage 110 and have a read-only file system.50 of external connection storage apparatus have a read-write file system.In the present embodiment, in to connect memory storage 110 for example be a hard disk, and can deposit an operating system, external connection storage apparatus 50 then can be the carry-on dish at USB (universal serial bus) (USB) interface, but neither as limit.
Fig. 2 is the process flow diagram of installation method of application software that is applied to the main frame of Fig. 1.Please refer to Fig. 1 and Fig. 2, at first carry out step S 110, connect main frame 100 to external connection storage apparatus 50.At this moment, main frame 100 receives a hot plug (hotplug) signal, and finishes the installation of external connection storage apparatus 50.Then carry out step S120, judge whether external connection storage apparatus 50 has a recognition data.Main frame 100 can according to recognition data determine whether will to external connection storage apparatus 50 with in connect memory storage 110 and merge.In the present embodiment, recognition data is a specific file or a specific label title (labelname).With specific file is example, and specific file can leave under the predetermined directory, has specific file to exist under the predetermined directory if main frame 100 is read, and judges that promptly external connection storage apparatus 50 has recognition data.
When external connection storage apparatus 50 has recognition data, carry out step S130, merging read-only file system and read-write file system is a Virtual File System.At this moment, concerning the user, can only see the file structure of Virtual File System.Carry out step S140 afterwards, install according to one and instruct, an application software is installed to Virtual File System.That is to say that the user can carry out and instruction is installed the application software downloaded is installed in Virtual File System, and be as good as with the mode of general installation application software.
What deserves to be mentioned is, though in connect memory storage 110 file system be read-only, the user also can install by general software installation method, does not also need to go for troublesomely to take version, and is quite convenient.In addition, when not wanting with new application software of installing, as long as remove external storage device 50, system promptly reverts to original state, connects external storage device 50 again when wanting with new application software of installing by the time and gets final product.
Fig. 3 is the process flow diagram of installation method of the application software of another embodiment of the present invention.For convenience of description, below will cooperate Fig. 1 that the process flow diagram of Fig. 3 is described.At first carry out step S210, connect main frame 100 to external connection storage apparatus 50.Then carry out step S220, judge whether external connection storage apparatus 50 has recognition data.When external connection storage apparatus 50 does not have recognition data, carry out step S230, the read-write file system of carry is the file system of a standard (normal).When external connection storage apparatus 50 has recognition data, carry out step S240, root directory to an original root of carry read-only file system and read-write file system and is extended root directory respectively.
Then carry out step S250, accept user instruction, to specify a consolidation strategy.Carry out step S260 then,, connect in the decision that memory storage 110 preferentially reads or external connection storage apparatus 50 preferentially reads according to consolidation strategy.Though the consolidation strategy of present embodiment is specified by the user, in the embodiment that another does not illustrate, in also can being redefined for, consolidation strategy connects that memory storage 110 preferentially reads or external connection storage apparatus 50 preferentially reads, not as limit.
Carry out step S270 afterwards, merging read-only file system and read-write file system is a Virtual File System.In the present embodiment, step S270 can comprise substep S272~S278.At first carry out step S272, connect memory storage 110 in the judgement and whether preferentially read.If judge that external connection storage apparatus 50 preferentially reads, carry out step S274, serve as the main merging of catalogue of carrying out with read-write file system.But preferentially reading if connect memory storage 110 in judging, carry out step S276, is the main merging of catalogue of carrying out with the read-only file system.Carry out step S278 afterwards, the catalogue that carry merges is to the root directory of read-only file system.After completing steps 270, can carry out step S280, install according to one and instruct, an application software is installed to Virtual File System.
Fig. 4 is the process flow diagram from the extended read-write Virtual File System of installation method of the application software of Fig. 2.Please refer to Fig. 4, at first carry out step S310, read/write Virtual File System.Then carry out step S320, judge whether to read a file.If not, carry out step S330, receive one and write instruction, to write file to read-write file system.If, carry out step S340, receive a reading command, to read a file of an assigned catalogue.Carry out step S350 then, judge whether assigned catalogue and file are present in read-only file system and read-write file system simultaneously.If not, carry out step S360,, carry out file from read-only file system or read-write file system and read according to the location of file.If, carry out step S370, decision is read file from read-only file system or read-write file system according to consolidation strategy.Then carry out step S380,, connect memory storage 110 in judging whether preferentially to read according to consolidation strategy.If not, carry out step S390, read file from read-write file system.If, carry out step S400, read file from read-only file system.
Furthermore, by the selection of consolidation strategy, connect the order that reads of memory storage 110 and external connection storage apparatus 50 in can changing, and can produce different effects.Preferentially read if connect memory storage 110 in setting, system originally can be not influential, and the system that makes comparatively stablizes and safety.Relative, in connect the file that exists in the memory storage 110 then can't upgrade (upgrade); If preferentially read but set external connection storage apparatus 50, can allow system more flexible, make the user connect the file of memory storage 110 in can overriding.For example, the software that can internally connect in the system of memory storage 110 carries out edition upgrading.Relative, the file that connects memory storage 110 in overriding also may cause system unstable.
By this, the user can decide consolidation strategy according to the situation of using, and can allow system have the installation elasticity and the stiffness of system of program concurrently.
In sum, the present invention by will in connect the read-only file system of memory storage and the read-write file system of external connection storage apparatus is merged into a Virtual File System, and can carry out the installation of application software to limited systems.Thus, the user not only must not download the application software of special version, also need not come upgrade-system by the reflection shelves system of overriding, and is quite convenient.
Though the present invention with embodiment openly as above; right its is not in order to qualification the present invention, those skilled in the art, without departing from the spirit and scope of the present invention; when doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the appended claims person of defining.
Claims (7)
1. the installation method of an application software is applicable to a main frame, this main frame comprise have a read-only file system one in connect memory storage, and the installation method of this application software comprises:
Connect this main frame to one external connection storage apparatus, wherein this external connection storage apparatus has a read-write file system;
Judge whether this external connection storage apparatus has a recognition data;
When this external connection storage apparatus had this recognition data, merging this read-only file system was a Virtual File System with this read-write file system; And
According to an installation instruction, an application software is installed to this Virtual File System.
2. the installation method of application software as claimed in claim 1 is wherein merging before this read-only file system is the step of this Virtual File System with this read-write file system, also comprises:
According to a consolidation strategy, decision should in connect that memory storage preferentially reads or this external connection storage apparatus preferentially reads.
3. the installation method of application software as claimed in claim 2, wherein determine to connect in this according to this consolidation strategy memory storage preferentially reads or the step that this external connection storage apparatus preferentially reads before, also comprise:
Accept user instruction, to specify this consolidation strategy.
4. the installation method of application software as claimed in claim 2 wherein merges this read-only file system and the step of this read-write file system for this Virtual File System, comprising:
Preferentially reading if connect memory storage in decision is somebody's turn to do, serves as the main merging of catalogue of carrying out with this read-only file system then;
If determine this external connection storage apparatus preferentially to read, serve as the main merging of catalogue of carrying out then with this read-write file system; And
The catalogue that carry merges is to the root directory of this read-only file system.
5. the installation method of application software as claimed in claim 2 also comprises:
Receive a reading command, to read a file of an assigned catalogue;
Judge whether this assigned catalogue and this document are present in this read-only file system and this read-write file system simultaneously; And
When this assigned catalogue and this document are present in this read-only file system simultaneously with this read-write file system, determine to read this document from this read-only file system or this read-write file system according to this consolidation strategy.
6. the installation method of application software as claimed in claim 1 is wherein merging before this read-only file system is the step of this Virtual File System with this read-write file system, also comprises:
This read-only file system of carry extends root directory with root directory to an original root and of this read-write file system respectively, merges to utilize this original root and this extension root directory.
7. the installation method of application software as claimed in claim 1, wherein this recognition data is a specific file or a specific label title.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101631722A CN102222007A (en) | 2010-04-14 | 2010-04-14 | Method for installing application software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101631722A CN102222007A (en) | 2010-04-14 | 2010-04-14 | Method for installing application software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102222007A true CN102222007A (en) | 2011-10-19 |
Family
ID=44778568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101631722A Pending CN102222007A (en) | 2010-04-14 | 2010-04-14 | Method for installing application software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102222007A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107526835A (en) * | 2017-09-06 | 2017-12-29 | 广东欧珀移动通信有限公司 | Data connection processing method, data connection processing unit and intelligent terminal |
CN117081854A (en) * | 2023-10-13 | 2023-11-17 | 北京安博通科技股份有限公司 | Method and device for fusing local blacklist and cloud platform blacklist |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071378A1 (en) * | 2003-09-30 | 2005-03-31 | Smith Alan G. | Method of storing applications on removable storage |
CN101071622A (en) * | 2006-03-20 | 2007-11-14 | 索尼株式会社 | Information processing apparatus, information processing method, program recording medium, computer program, data structure, and manufacturing method of recording medium |
CN101479721A (en) * | 2006-06-30 | 2009-07-08 | 微软公司 | Running applications from removable media |
-
2010
- 2010-04-14 CN CN2010101631722A patent/CN102222007A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050071378A1 (en) * | 2003-09-30 | 2005-03-31 | Smith Alan G. | Method of storing applications on removable storage |
CN101071622A (en) * | 2006-03-20 | 2007-11-14 | 索尼株式会社 | Information processing apparatus, information processing method, program recording medium, computer program, data structure, and manufacturing method of recording medium |
CN101479721A (en) * | 2006-06-30 | 2009-07-08 | 微软公司 | Running applications from removable media |
Non-Patent Citations (2)
Title |
---|
《空军工程大学学报(自然科学版)》 20081231 刘金刚 等 Space文件系统安全可靠机制的研究与实现 80-84 1-7 第9卷, 第6期 * |
刘金刚 等: "Space文件系统安全可靠机制的研究与实现", 《空军工程大学学报(自然科学版)》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107526835A (en) * | 2017-09-06 | 2017-12-29 | 广东欧珀移动通信有限公司 | Data connection processing method, data connection processing unit and intelligent terminal |
CN107526835B (en) * | 2017-09-06 | 2019-05-24 | Oppo广东移动通信有限公司 | Data connection processing method, data connection processing unit and intelligent terminal |
CN117081854A (en) * | 2023-10-13 | 2023-11-17 | 北京安博通科技股份有限公司 | Method and device for fusing local blacklist and cloud platform blacklist |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6754725B1 (en) | USB peripheral containing its own device driver | |
CN103365696B (en) | BIOS image file acquisition methods and device | |
TWI505087B (en) | System reset | |
CN101488114B (en) | USB equipment processing method in Linux system | |
CN109284117A (en) | Firmware upgrade method and system and flash memory microcontroller based on flash memory microcontroller | |
CN103430147B (en) | The control method of signal conditioning package and signal conditioning package | |
US20090319740A1 (en) | Virtual computer system, information processing device providing virtual computer system, and program thereof | |
US20040049617A1 (en) | Method of firmware update by USB interface | |
CN102331937A (en) | Cloud platform installing system | |
WO2019144621A1 (en) | Method, apparatus, and server for acquiring uefi os startup item | |
CN115357262A (en) | Method for upgrading driver firmware in batch | |
CN109086081B (en) | Method, system and medium for instantly prompting in-place change of SATA (Serial advanced technology attachment) and NVMe (network video recorder) equipment | |
CN102222007A (en) | Method for installing application software | |
CN110399168A (en) | Majority according to disk storage server system start method, device and equipment | |
US10007529B2 (en) | Data terminal running mode switching method, device, and data terminal | |
CN106250188B (en) | A kind of generation method and system of system firmware image file | |
CN113272785B (en) | Method for mounting file system, terminal equipment and storage medium | |
CN109522174B (en) | Method, device, terminal and storage medium for controlling adb enabling | |
KR20150072963A (en) | Multisystem, and method of booting the same | |
CN100533418C (en) | Method and apparatus for modifying the contents of a revision identification register | |
CN102023906B (en) | Microprocessor of portable terminal as well as portable terminal and repair method thereof | |
CN112463228A (en) | Storage pool hybrid deployment method and device | |
TWI410867B (en) | Method for installing application software | |
CN102023873A (en) | Application program execution method and system, storage media controller and storage device | |
JP2008009659A (en) | Device connecting method, host equipment, and program for connecting device equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111019 |