CN106371878A - Device and method without installing and running applications in case system - Google Patents
Device and method without installing and running applications in case system Download PDFInfo
- Publication number
- CN106371878A CN106371878A CN201610801208.2A CN201610801208A CN106371878A CN 106371878 A CN106371878 A CN 106371878A CN 201610801208 A CN201610801208 A CN 201610801208A CN 106371878 A CN106371878 A CN 106371878A
- Authority
- CN
- China
- Prior art keywords
- application
- associated documents
- data
- instance
- file
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a device and a method without installing and running applications in a case system. The device and the method have the advantages that the operation of not installing and running the applications in a cloud system is realized, and only the vacant case system is required when a user of the cloud system requires to run the application provided by the cloud system, so that the instant installation of the applications in the case system is not needed, the time for package downloading and application installing is effectively reduced, and the user experience is greatly improved.
Description
Technical field
The present invention relates to instance system exempts from the device and method of installation and operation application.
Background technology
Certain operating system (such as Android operation system) adds that the necessary hardware running needed for this operating system (is for example located
Reason device, memorizer etc.), an instance system can be considered as, (application refers in reality can to run various applications in instance system
The software running in the operating system of example system or program).Several instance systems (are for example divided according to certain framework mode
Cloth) centralized management, cloud system can be formed.Generally cloud system, by the daily operation of operator, provides the user service.
The memory space of some instance system memorizeies is very big, and that can install that all users may need in advance should
With.But some instance systems is united the memory space of memorizer less it is impossible to install the application that all users may need, for by
The cloud system of this kind of memory space less instance system composition, often arranges special storage server, in storage server
Storage substantial amounts of application installation procedure and associated documents.Pre-installation algorithm can be designed, pre-installing some on instance system should
With, if user needs to run this application, first find an instance system being mounted with this application, if can not find,
Existing installation on instance system is needed to apply.If sometime the user of cloud system is very many, now installing application is to keep away
Exempt from.But now installing application needs to spend even longer time a few minutes, the waiting time is long may to have a strong impact on Consumer's Experience.
Installation and operation application is exempted from instance system, is the effective ways solving the above problems, but realization is exempted from installation and operation and answered
With highly difficult.For example, for operating system for Android system instance system, docker (the application container engine that is increased income,
Developer can pack and be applied in a transplantable container, be then published on any popular linux machine it is also possible to
Realize virtualization) a seemingly feasible instrument, but actually the file system of docker (aufs, btrfs etc.)
File mount, to after certain catalogue of Android system, is set to the root path of the application process being started by docker, only
This application could access these files, and other system process cannot access.And the startup of Android system application must be via ARIXTRA
The process zygote process of system, zygote process cannot access file and cannot realize it is meant that exempting from installation and operation application at all.
In description " background technology " part disclosure, contribute to the technology skilled artisan understands that the present invention
Scheme, but should not think that these contents necessarily belong to prior art or common knowledge accordingly.
Content of the invention
In order to overcome the defect that reflected of " background technology " part, realize instance system and do not install to run application,
The present invention provides instance system to exempt from the device and method of installation and operation application.
Instance system exempts from the device of installation and operation application, and including file system, described file system is used for carry process
Need the operating system partition accessing, the relief area that the write operation guiding of process is set.
Further, described file system is additionally operable to associated application associated documents.
Further, described file system is additionally operable to releasing closing carry when associating with application associated documents
All file handles being not turned off on operating system partition.
Further, described file system is additionally operable to the related literary composition of application positioned at instance system or storage server
The data of part returns the process needing this data.
Further, described file system is additionally operable to download application associated documents to example system from storage server
System.
Further, described file system arranges the data of the application associated documents that identification record process needs to read
Whether it is modified.
The method that instance system exempts from installation and operation application, comprising:
File system, according to notifying to release and applying associating of associated documents before, associates new application associated documents;
The relief area that the operational guidance that process writes application associated documents is set by file system, file system is according to setting
Mark judges that process needs whether the data reading from application associated documents is modified, and the data not being modified is from application phase
Close file to read, the data being modified reads from the relief area setting.
Further, after process is closed, file system removes the data in the relief area setting.
Further, the operating system of instance system is Android system.
The method exempting from installation and operation application due to instance system, exempts from installation and operation application with the instance system of as described before
Device has clear and definite relatedness, and in order to avoid unnecessary repetition, instance system exempts from device and the example of installation and operation application
Some descriptions that system is exempted from the method for installation and operation application are omitted.Those skilled in the art pass through comparison, can be right
The device and method that instance system exempts from installation and operation application has clear, complete understanding.
In technical solution of the present invention, " inclusion ", " for " etc. word should understand according to open language mode.This area skill
Art personnel pass through the content read this specification and can know with reference to prior art or common knowledge, no longer superfluous in this specification
State.
The instance system that the present invention provides exempts from the device and method of installation and operation application, is capable of the example in cloud system
System exempts from installation and operation application, when the user of cloud system needs the application running cloud system offer, as long as available free example system
Unite, existing on instance system application need not be installed, effectively save and download installation kit and the application shared time is installed,
Greatly improve Consumer's Experience.
Brief description
Fig. 1 is the rough schematic view of specific embodiment medium cloud system architecture.
Fig. 2 is the flow chart of the method that instance system exempts from installation and operation application in specific embodiment.
Specific embodiment
Below embodiments of the present invention are further illustrated.It should be noted that the scope of the present invention is not
It is confined to described concrete technical scheme.Any technology essential factor in described concrete technical scheme carried out identical or waits
Replace together the technical scheme obtaining or those skilled in the art on the basis of described concrete technical scheme without creation
Property the technical scheme that is obtained with of work, all should be contemplated as falling within protection scope of the present invention.
Certain operating system adds the necessary hardware (such as processor, memorizer etc.) running needed for this operating system, can
To constitute an instance system.Several instance systems are managed concentratedly according to certain framework mode, cloud system can be formed.
The operating system of instance system can be chosen for ARIXTRA (android) system.
In order to realize technical solution of the present invention, in cloud system, it is provided with control node, instance system and storage server three
Individual part, Fig. 1 is the rough schematic view of cloud system framework.Instance system and storage server are independent of one another, all by control node
Control and manage, the solid two-way arrow in Fig. 1 represents control and administrative relationships, dotted line four-headed arrow represents correspondence.Control
Node processed can be from the control server with x86 framework, and storage server is independent high-performance storage server, tool
There is higher configuration (such as 8 core processors, the big internal memory of 64g etc.).Control node, instance system and storage in actual cloud system
The quantity of server is far above one, for simple displaying, control node, instance system and each picture of storage server in Fig. 1
One.
Because storage server has very big memory space and the memory space of instance system is less, the use of cloud system
The application that family may need is stored in storage server.Storage server had both stored the installation kit of application, and also storing should
The all files that installation kit generates after installing.The quantity of documents that the installation kit of application generates after installing is often relatively more, and
And be frequently located in and under different file directorys, form certain TOC level relation, in technical solution of the present invention, these files are referred to as
For applying associated documents.Application associated documents pass through the operations such as duplication, packing, can form mirror image.The one of application associated documents
Individual complete mirror image not only includes all of application associated documents, and remains the TOC level relation of file.
Instance system exempts from the device of installation and operation application, and its core is provided in one of operating system of instance system
(this document system is hereinafter also referred to as hmfs to file system, and fs represents file system file system, and hm is a generation
Number there is no technical meaning), hmfs has the work(similar with common nfs (network file system, NFS)
Can, data can be obtained from network and return to vfs (virtual file system, the virtual file of native operating sys-tern
System), teledata is invented a catalogue on native operating sys-tern.But compare with nfs, hmfs also has many different
Function:
First, carry process needs the operating system partition accessing, the relief area that the write operation guiding of process is set.
Hmfs is capable of one or more subregions of carry operating system, and any process of carry back operation system is to these points
In area, the read-write of file is all controlled by hmfs.Hmfs sets a relief area on the correct position of instance system memorizer,
Process can be by the relief area of hmfs guiding setting to the write operation of file in the subregion of hmfs carry, and that is, write operation can not be repaiied
Change file itself, the data that write operation is simply changed by hmfs has been stored temporarily in the relief area setting.Angle from process
See, the subregion of hmfs carry is readable writeable, but the file actually in subregion is read-only file, after usual process is closed
Data in relief area can all be removed by hmfs.
Secondly, associated application associated documents.
As it was previously stated, what the write operation guiding of file in the operating system partition to its carry for the process can be set by hmfs
Relief area, but many times the subregion of hmfs carry is also the subregion that operating system runtime system process itself needs to access
(such as Android system /subregion such as data ,/cache), if hmfs is not added with the appointing any process in subregion of differentiation
The write operation of what file all guides the relief area of setting it is likely that causing operating system mistake even to collapse.Therefore, hmfs needs
Associated application associated documents, only process just guide, to the write operation of application associated documents, the relief area setting.If user needs
Run new application, hmfs can release and apply associating of associated documents before, associate new application associated documents.In order to keep away
Exempt from during disassociation produce mistake, hmfs release with apply associated documents can close its carry when associating by force
On operating system partition, all file handles being not turned off (will read data from a file, application first has to call operation system
System function simultaneously transmits filename, selects a path to this document to open file.This function fetches a serial number, i.e. file
Handle, file handle is unique basis of characterization for the file opened.).Now access these subregions, process if there are process
See is all empty list.
Process access during the subregion of hmfs carry it is seen that application associated documents be the virtual catalogue of hmfs, and apply phase
Pass file (hmfs searches and during the data in application associated documents, one complete mirror image of application associated documents is operated, this
In described application associated documents be actually a complete mirror image applying associated documents) be likely located at instance system locally,
It is likely to positioned at storage server.If it is only to read application associated documents that process does not carry out write operation to application associated documents
In data, when applying associated documents to be located at instance system local (certain position on instance system memorizer), hmfs is direct
In these files of local IP access, the data that process is needed returns to process by vfs;When application associated documents are located at storage clothes
During business device, hmfs passes through application associated documents from storage server for the network and reads data, then returns to process by vfs.
Hmfs can open a background thread, from storage server download application associated documents to instance system (if
If the memorizer of instance system has sufficient space), the data that such subsequent processes read in application associated documents can be at this
Ground solves, and no longer takies the Internet resources of cloud system.When searching the data in application associated documents, in order to be accurately positioned application phase
Close file, hmfs actually operates to a complete mirror image of application associated documents, therefore download application associated documents
To instance system, one that actually downloads application associated documents is completely mirrored to instance system.
Again, setting identification record process needs whether the data of the application associated documents reading is modified.
It may be necessary to constantly read data from application associated documents, these data have plenty of during process is run
Initial data in application associated documents, have is then the data that process was changed by write operation.Because hmfs is by process pair
The write operation of application associated documents has guided the relief area setting, and the data that process was changed has been actually stored in the slow of setting
Rush in area rather than application associated documents.This is accomplished by hmfs setting mark, and record the process needs the application associated documents reading
Data whether be modified so that hmfs can to process return correct data.Mark can (hmfs creates using bitmap
Build bitmap file, be modified with which data block in graphic recording application associated documents, data block is by reading and writing data
The least unit of operation) or other forms.
Because Android system is open source system, modification Android system source code can realize above-described
hmfs.
Exempt from the device of installation and operation application based on example discussed above system, it is possible to achieve instance system exempts from installation and operation
The method of application.The flow process that instance system exempts from the method for installation and operation application is as shown in Figure 2, comprising:
S201: file system, according to notifying to release and applying associating of associated documents before, associates the related literary composition of new application
Part.
Specifically, in this step, if the user of cloud system wishes to run new application, it is possible to use the mode such as client
Notify the control node of cloud system.After control node receives the notice of user, whether have time in the instance system checking its management
Not busy instance system, if it has, then transmitting control commands give idle instance system.The operating system of this instance system
(agent is a software for root (root) authority with operating system or program to agent, is responsible for the day of operating system
Ordinary affair are engaged in) according to control command, the application process run before closing simultaneously notifies hmfs.Hmfs releases with before according to this notice
The association of application associated documents, closes all file handles being not turned off on the operating system partition of its carry simultaneously by force.With
Afterwards, hmfs is according to the new application associated documents of this notice association.
S202: file system by process write application associated documents operational guidance set relief area, file system according to
Setting mark judge process need from application associated documents reading data whether be modified, the data not being modified from
Application associated documents read, and the data being modified reads from the relief area setting.
Specifically, in this step, after the new application associated documents of hmfs association, agent passes through ARIXTRA sdk (software
Development kit, SDK) notify zygote process to read application associated documents and open from/data subregion
Open art virtual machine process and run application.Each process is it is seen that hmfs is in/virtual application associated documents the mesh of data subregion
Record, process is taken over by hmfs to the read-write operation of application associated documents.If process carries out write operation to application associated documents,
The relief area that write operation guiding is set by hmfs, the data storage of write operation modification is in the relief area setting, and applies phase
Close file and do not have any change.If process carries out read operation to application associated documents, the mark first according to setting for the hmfs
Judge that process needs whether the data reading is modified before this, if process needs the data reading not to be modified, from
Read in application associated documents (i.e. file in a complete mirror image of application associated documents) and return to process;If process
Need the data reading to be modified, then read and return to process from the relief area setting, so can ensure that process obtains
Get correct data.
After s203: process is closed, file system removes the data in the relief area setting.
It appears that the process running application is readable writeable to application associated documents in step s202, but this is illusion, application
Associated documents will not have any change because process runs.In this step, if the process running application is closed, hmfs will be clear
Except all data in the relief area setting, so next application cannot obtain the operation information of an application when running.
Application operation information in may the private data containing user, be so provided with beneficial to protection user privacy, prevent reveal.
In technical solution of the present invention, due to hmfs the speed of service quickly, hmfs is between different application associated documents
Association switches in user it appear that what moment completed.In cloud system, network is typically all the LAN (such as 10,000,000,000 of function admirable
LAN), along with the cooperation of high performance storage server, even if application associated documents are located at storage server, if net
Within the specific limits, the speed that hmfs obtains data application associated documents from storage server even can surpass for network flow-control
Cross the speed reading data from local storage.Technical solution of the present invention is exempted from installation and operation application and is installed in instance system with applying
After rerun and compare, user application the aspect such as the speed of service all without experiencing difference, and exempt from installation and operation application effectively
Save and download installation kit and the application shared time is installed, greatly improve Consumer's Experience.If additionally, instance system
Memory space allows, and hmfs can will apply associated documents to download to instance system from storage server by background thread, after
The application of reforwarding row no longer takies the network traffics of cloud system.
Those skilled in the art, on the basis of concrete technical scheme described above, can construct its other party completely
Case.The operating system of such as instance system adopts other operating systems outside Android system, and the code of hmfs is carried out accordingly
Adjustment.Numerous to list herein.
Claims (9)
1. instance system exempts from the device of installation and operation application it is characterised in that described device includes file system, described literary composition
Part system is used for the operating system partition that carry process needs to access, the relief area that the write operation guiding of process is set.
2. device according to claim 1 is it is characterised in that described file system is additionally operable to the related literary composition of associated application
Part.
3. device according to claim 2 it is characterised in that described file system be additionally operable to release with application related
All file handles being not turned off on the operating system partition of carry are closed during the association of file.
4. device according to claim 2 it is characterised in that described file system be additionally operable to positioned at instance system or
The data of the application associated documents of storage server returns the process needing this data.
5. device according to claim 2 is it is characterised in that described file system is additionally operable to download from storage server
Application associated documents are to instance system.
6. device according to claim 2 is it is characterised in that described file system setting identification record process needs to read
Whether the data of the application associated documents taking is modified.
7. instance system exempts from the method for installation and operation application it is characterised in that described method includes:
File system, according to notifying to release and applying associating of associated documents before, associates new application associated documents;
The relief area that the operational guidance that process writes application associated documents is set by file system, file system is according to the mark of setting
Judge that process needs whether the data reading from application associated documents is modified, the data not being modified is from the related literary composition of application
Part reads, and the data being modified reads from the relief area setting.
8. method according to claim 8 is it is characterised in that described method also includes, process close after file system
Remove the data in the relief area setting.
9. the method according to claim 7 or 8 is it is characterised in that the operating system of described instance system is ARIXTRA system
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801208.2A CN106371878A (en) | 2016-09-05 | 2016-09-05 | Device and method without installing and running applications in case system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610801208.2A CN106371878A (en) | 2016-09-05 | 2016-09-05 | Device and method without installing and running applications in case system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371878A true CN106371878A (en) | 2017-02-01 |
Family
ID=57898968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610801208.2A Pending CN106371878A (en) | 2016-09-05 | 2016-09-05 | Device and method without installing and running applications in case system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371878A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423619A (en) * | 2016-05-23 | 2017-12-01 | 中国科学院声学研究所 | A kind of method during the structure intelligent terminal WEB operations based on virtualization technology |
CN108170514A (en) * | 2017-12-19 | 2018-06-15 | 中国科学院声学研究所 | A kind of container operation method and device |
CN108574659A (en) * | 2017-03-08 | 2018-09-25 | 海马云(天津)信息技术有限公司 | Cloud system applies newer method and apparatus |
CN108762821A (en) * | 2017-04-18 | 2018-11-06 | 海马云(天津)信息技术有限公司 | Device and method, the electronic equipment of electronic equipment operation application |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080059694A1 (en) * | 2006-08-30 | 2008-03-06 | Samsung Electronics Co., Ltd. | Hybrid hard disk drive and data storage method thereof |
CN102662870A (en) * | 2012-03-20 | 2012-09-12 | 武汉噢易科技有限公司 | Android operation system protection method based on input/output request intercepted by VFS (virtual file system) layer |
CN104375861A (en) * | 2014-11-04 | 2015-02-25 | 北京奇虎科技有限公司 | Installation-free operation method and device for application programs based on Android platform and terminal |
CN105094922A (en) * | 2015-08-17 | 2015-11-25 | 北京奇虎科技有限公司 | Application installation-free operation control method and device |
-
2016
- 2016-09-05 CN CN201610801208.2A patent/CN106371878A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080059694A1 (en) * | 2006-08-30 | 2008-03-06 | Samsung Electronics Co., Ltd. | Hybrid hard disk drive and data storage method thereof |
CN102662870A (en) * | 2012-03-20 | 2012-09-12 | 武汉噢易科技有限公司 | Android operation system protection method based on input/output request intercepted by VFS (virtual file system) layer |
CN104375861A (en) * | 2014-11-04 | 2015-02-25 | 北京奇虎科技有限公司 | Installation-free operation method and device for application programs based on Android platform and terminal |
CN105094922A (en) * | 2015-08-17 | 2015-11-25 | 北京奇虎科技有限公司 | Application installation-free operation control method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423619A (en) * | 2016-05-23 | 2017-12-01 | 中国科学院声学研究所 | A kind of method during the structure intelligent terminal WEB operations based on virtualization technology |
CN107423619B (en) * | 2016-05-23 | 2020-06-16 | 中国科学院声学研究所 | Method for constructing WEB operation of intelligent terminal based on virtualization technology |
CN108574659A (en) * | 2017-03-08 | 2018-09-25 | 海马云(天津)信息技术有限公司 | Cloud system applies newer method and apparatus |
CN108574659B (en) * | 2017-03-08 | 2021-01-26 | 海马云(天津)信息技术有限公司 | Method and device for updating cloud system application |
CN108762821A (en) * | 2017-04-18 | 2018-11-06 | 海马云(天津)信息技术有限公司 | Device and method, the electronic equipment of electronic equipment operation application |
CN108170514A (en) * | 2017-12-19 | 2018-06-15 | 中国科学院声学研究所 | A kind of container operation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11321130B2 (en) | Container orchestration in decentralized network computing environments | |
EP3355193B1 (en) | Security-based container scheduling | |
CN101326489B (en) | OS mini-boot for running multiple environments | |
US8726273B2 (en) | Space efficient virtual machines | |
CN106648741A (en) | Application system deployment method and device | |
CN106371878A (en) | Device and method without installing and running applications in case system | |
JP2011076605A (en) | Method and system for running virtual machine image | |
JP2014142957A5 (en) | ||
KR20170133120A (en) | System and mehtod for managing container image | |
CN109643302A (en) | For the Storage Virtualization of file | |
CN113626286B (en) | Multi-cluster instance processing method and device, electronic equipment and storage medium | |
US8707005B2 (en) | Data control systems for virtual environments | |
CN107483631B (en) | Method for controlling cache to realize mobile internet service access | |
CN111190687B (en) | Method, device, equipment and storage medium for constructing container mirror image | |
US11150981B2 (en) | Fast recovery from failures in a chronologically ordered log-structured key-value storage system | |
CN109923547B (en) | Program behavior monitoring device, distributed object generation management device, storage medium, and program behavior monitoring system | |
CN108304269A (en) | A kind of sending, receiving method of data, device and communications framework | |
CN104182257A (en) | Application software installation method and device | |
CN108475201A (en) | A kind of data capture method in virtual machine start-up course and cloud computing system | |
CN113296805A (en) | Method and device for realizing hot upgrade of auxiliary container | |
TW201331764A (en) | Network port profile representation in open virtualization format package | |
CN111459619A (en) | Method and device for realizing service based on cloud platform | |
CN103984621B (en) | log separation method and system | |
US11405381B2 (en) | Tag-based access permissions for cloud computing resources | |
US20240080342A1 (en) | Generation of security policies for container execution |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |