CN108089890B - It is a kind of that operation method and system are applied based on disk - Google Patents

It is a kind of that operation method and system are applied based on disk Download PDF

Info

Publication number
CN108089890B
CN108089890B CN201611048255.0A CN201611048255A CN108089890B CN 108089890 B CN108089890 B CN 108089890B CN 201611048255 A CN201611048255 A CN 201611048255A CN 108089890 B CN108089890 B CN 108089890B
Authority
CN
China
Prior art keywords
data
packet
mirror image
starting
image packet
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
CN201611048255.0A
Other languages
Chinese (zh)
Other versions
CN108089890A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201611048255.0A priority Critical patent/CN108089890B/en
Priority to PCT/CN2017/078722 priority patent/WO2018090528A1/en
Publication of CN108089890A publication Critical patent/CN108089890A/en
Application granted granted Critical
Publication of CN108089890B publication Critical patent/CN108089890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Abstract

The embodiment of the invention provides a kind of to apply operation method and system based on disk, comprising: in advance in non-installation targets in application, obtaining the starting operation packet and starting mirror image packet of target application;When starting the target application, local cache manager is established, and establishes the local cache manager and starts the first access of mirror image packet, and, establish the alternate path of local cache manager and server;The first virtual disk is being locallyd create, the third path of local cache manager and the first virtual disk is established;Local cache manager is received by third path and is requested;When request is read request, local cache manager obtains the first data of read request from starting mirror image packet by the first access;And/or by alternate path, the first data of read request are obtained from the original image packet of server.The embodiment of the present invention can save the time of target application initial start-up, and can reduce the memory space that the target application occupies in the terminal.

Description

It is a kind of that operation method and system are applied based on disk
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of application operation method based on disk and are System.
Background technique
With the continuous development of computer technology, the function of various application programs constantly improves such as picture editor by abundant The various functions that the toolbar of software (Photoshop, PS) is showed, the increase at outpost etc. of various Games Softwares;And All pictures in application program are rendered to the effect of 3D, such as 3D game to enhance visual effect by certain applications program, Virtual reality etc. application the occupancy of various computing resources is required it is higher and higher, such as artificial intelligence, mathematical computations etc. to CPU at The requirement of reason ability, requirement of the graphic operation to the processing capacity of graphics processor, picture, person model, cartographic model, big rule Requirement of the mould database to memory space, this all makes the function of application program increasingly complicated, and data packet is increasing.
Since user when using application program for the first time, need to download the complete software installation of application program from server Packet and data packet, and the software installation packet for needing to install application at the terminal could start application program, and this causes to download number Long time is often expended according to the process for wrapping and installing software installation packet.In order to solve this problem, part company needle at present The characteristics of to itself application program by executable program and resource data separate management, and such as by resource data: picture, mould Type, built in video etc. are split generally according to the most quotas for accounting for program data packet size, and modularized processing must The executable program and resource module data wanted are packaged, to make miniature client.
And during being split to application program, generally require (1) analysis program tentatively run need it is to be loaded The resource file that executable file and executable file rely on.(2) dependence between multiple executable files is analyzed, And the resource that each executable file relies on simultaneously, such as: some functional interface can trigger which resource or program tune With.(3) since the large program having can rely on many third-party program libraries or system function component, such as 3D figure draws It holds up, data Transmission Library, image/video compression/decompression library, native operating sys-tern hardware -- CPU, video card, disk, network management connects Mouthful etc., the general internal structure of these components is sufficiently complex, and understands correlative detail and need a large amount of background knowledge;To third party The resolving in library needs to carry out a large amount of study and work, understands mode and feature that they access resource at runtime.But Usually due to understanding not exclusively related mechanism, it will lead to a large amount of compatibility and performance issue, deal with time-consuming and laborious;It can See, it is above-mentioned complex to application program progress fractured operation, a large amount of additional human cost and time cost can be introduced.
Summary of the invention
The technical problem to be solved is that provide a kind of application operation method based on disk, Yi Zhongji for the embodiment of the present invention It is existing to solve in disk using original image packet production method and a kind of application starting mirror image packet production method based on disk Have in technology and application program split to make miniature client, caused by low efficiency and problem at high cost.
Correspondingly, the embodiment of the present invention additionally provides corresponding system for the above method, it is respectively as follows: a kind of based on disk Application operating system, it is a kind of based on disk using original image packet manufacturing system and it is a kind of based on disk application starting mirror As packet manufacturing system, to guarantee the implementation and application of the above method.
The method for the application operation based on disk that the invention discloses a kind of, specifically includes: answering in advance in non-installation targets Used time obtains the starting operation packet and starting mirror image packet of the target application, wherein the starting operation packet is described for starting Target application, the starting mirror image packet include the log-on data of the target application;It is run described in packet starting by the starting When target application, local cache manager is established, and establishes the local cache manager and starts the first of mirror image packet and lead to Road, and, establish the alternate path of local cache manager and server;The first virtual disk is being locallyd create, is establishing described The third path of ground cache manager and first virtual disk;The local cache manager is connect by the third path Request is received, the request is that first virtual disk is received from the target application;When the request is read request, institute Local cache manager is stated by first access, the first data of the read request are obtained from the starting mirror image packet;With/ Or, the local cache manager is obtained the reading from the original image packet of the server and is asked by the alternate path The first data asked;Wherein, the original image packet includes the log-on data and operation data of the target application;By described Third path gives first data feedback to the target application, so that the target application is run.
Corresponding, the application operating system based on disk that the embodiment of the invention also discloses a kind of specifically includes: data packet Obtain module, in advance in non-installation targets in application, obtain the target application starting operation packet and starting mirror image packet, Wherein, the starting operation packet includes the starting of the target application for starting the target application, the starting mirror image packet Data;Local cache manager establishes module, when starting the target application for running packet by the starting, establishes local Cache manager establishes the local cache manager and starts the first access of mirror image packet, and, establish local cache manager With the alternate path of server;First virtual disk establishes module, is localling create the first virtual disk, and it is slow to establish the local Deposit the third path of manager Yu first virtual disk;First request of data receiving module, for calling the local slow Manager is deposited, request of data is received by the third path, the request of data is first virtual disk from the mesh Mark application is received;Data acquisition module, for calling the local cache management when the request of data is read request Device obtains the first data of the read request from the starting mirror image packet by first access;And/or call described Ground cache manager obtains the first of the read request from the original image packet of the server by the alternate path Data;Wherein, the original image packet includes the log-on data and operation data of the target application;Data feedback module is used In giving first data feedback to the target application by the third path, so that the target application is run.
The invention discloses a kind of to apply original image packet production method based on disk, specifically includes: establishing data packet The original image packet of production manager and creation sky, and establish the data packet production manager and the original image packet 8th access;The second virtual disk is being locallyd create, second virtual disk is being established and the data packet makes manager 9th access;The data packet production manager receives data write request by the 9th access, wherein the data, which are write, asks Second virtual disk described in Seeking Truth is obtained from process;The data packet production manager is write the data by the 8th access Corresponding third data are requested to be written in the original image packet, wherein the third data are the initial data of target application The data for including.
Corresponding, the invention also discloses a kind of to apply original image packet manufacturing system based on disk, specifically includes: number Module is established as manager according to packing, for establishing the original image packet of data packet production manager and creation sky, and foundation 8th access of data packet the production manager and the original image packet;Second virtual disk establishes module, at this Ground creates the second virtual disk, establishes the 9th access of second virtual disk and data packet production manager;Second Request of data receiving module receives data write request by the 9th access for calling the data packet to make manager, Wherein, the data write request is that second virtual disk is obtained from process;Original image bag data writing module, is used for The data packet production manager is called, the corresponding third data of the data write request are written by the original by the 8th access In beginning mirror image packet, wherein the third data are the data that the initial data of target application includes.
The application starting mirror image packet production method based on disk that the invention discloses a kind of, specifically includes: in starting target In application, establishing local manager, and establish the tenth access of local manager Yu original image packet;Establish empty starting mirror As packet, and establishes the local manager and start the 11st access of mirror image packet;Third virtual disk is being locallyd create, is being built Found the 12nd access of the local manager Yu the third virtual disk;The local manager passes through the tenth two-way Road receives request of data, and the request of data is that the third virtual disk is received from the target application;When the request When for read request, it is corresponding that the local manager by the tenth access obtains the read request from the original image packet The 4th data;And the 4th data are written in the starting mirror image packet by the 11st access;In the mesh When mark application is out of service, stop the 4th data starting mirror image packet is written.
Corresponding, the application starting mirror image packet manufacturing system based on disk that the invention also discloses a kind of specifically includes: this Ground manager establishes module, for when starting target application, establishes local manager, and establish local manager with it is original Tenth access of mirror image packet;Starting mirror image packet establishes module, establishes the empty starting mirror image packet, and establishes the local pipe It manages device and starts the 11st access of mirror image packet;Third virtual disk establishes module, for localling create third virtual disk, Establish the 12nd access of the local manager Yu the third virtual disk;Third request of data receiving module, for adjusting With the local manager, request of data is received by the 12nd access, the request of data is the third virtual magnetic Disk is received from the target application;Start mirror image bag data writing module, for calling institute when the request is read request Local manager is stated, corresponding 4th data of the read request are obtained from the original image packet by the tenth access; And the 4th data are written in the starting mirror image packet by the 11st access;Stop transporting in the target application When row, stop the 4th data starting mirror image packet is written.
Compared with prior art, the embodiment of the present invention includes following advantages:
The embodiment of the present invention need to only establish data packet production manager, the second virtual disk when making original image packet, With the access established between empty original image packet and three;Can when obtaining write request, through corresponding access, All data in the raw data packets of target application are copied in original image packet;Equally, start mirror image packet in production When, it also need to only establish empty starting mirror image packet, local manager and third virtual disk;And establish starting mirror image packet, original Access between mirror image packet, third virtual disk and local manager, may then pass through corresponding access, from original image packet The middle log-on data by target application is copied in starting mirror image packet, thus when making original image packet and starting mirror image packet, The parsing and modularization for removing runtime environment relied on to application program from split work, greatly reduce cost of labor And time cost.
Further, the embodiment of the present invention the original image packet that completes, starting mirror image packet and starting operation packet after, When user makes target application for the first time, the starting operation packet and starting mirror image packet of target application are obtained;It is run and is wrapped by the starting When starting application program, local cache manager is established, and establishes local cache manager, starting mirror image packet and original image Access between packet;Establish the first virtual disk and its access between local cache manager;In local cache management When device receives read request, can by corresponding access from starting mirror image packet, and/or, obtained in the original image packet of server The corresponding data of the read request are taken, and feed back to the target application, so that the target application is run;To realize only In the case where obtaining starting operation packet and starting mirror image packet, by during target application is run, from starting mirror image packet and/ Or the data of demand described in target application are obtained in the original image packet of server, guarantee the normal operation of target application.In addition, Due to the log-on data amount for the target application for including in starting mirror image packet, much smaller than the original data volume of target application, thus greatly The time for having saved user's initial start-up target application greatly, enhance the experience of user;In addition, in target application long-play During, it will not be used to repertoire under normal circumstances, and then only understand download part program data, such user is local The space holds of device memory systems will be greatly reduced.
Detailed description of the invention
Fig. 1 is of the invention a kind of the structural block diagram for making system embodiment to be packed using original image based on disk;
Fig. 2A is the step process that another packing using original image based on disk of the invention makees system embodiment Figure;
Fig. 2 B is of the invention a kind of the structural block diagram for making system embodiment to be packed using original image based on disk;
Fig. 3 is that a kind of application starting mirror image based on disk of the invention packs the structural block diagram for making system embodiment;
Fig. 4 A is that another application starting mirror image based on disk of the invention packs the step process for making embodiment of the method Figure;
Fig. 4 B is that a kind of application starting mirror image based on disk of the invention packs the step structural block diagram for making system embodiment;
Fig. 5 is a kind of structural block diagram using operating system embodiment based on disk of the invention;
Fig. 6 A is another step flow chart using operation method embodiment based on disk of the invention;
Fig. 6 B is a kind of structural block diagram using operating system embodiment based on disk of the invention;
Fig. 7 is another step flow chart using operation method embodiment based on disk of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
The embodiment of the present invention can be applied in the various operating systems of terminal, and the terminal includes that the end PC and movement are whole End, operating system includes that the operating system such as Windows, Linux, Unix and virtual machine analogue system etc. at the end PC further include Operating system of mobile terminal such as Android, IOS etc..
Target application in the embodiment of the present invention refers to software installation packet and the biggish application program of data packet, as 3D is swum The application programs such as play, PS;Wherein, target application can be the application program at the end PC, be also possible to the application program of mobile terminal (Application, APP);Below by taking mobile terminal as an example, the method and system of the embodiment of the present invention is illustrated.
The application operating system based on disk that the embodiment of the invention provides a kind of, for corresponding in acquisition target application Original mirror after starting operation packet and starting mirror image packet, in target application operation, from starting mirror image packet and/or server As obtaining the required data of target application in packet, so that target application operates normally;Therefore, it is necessary to pre-production targets to answer Starting mirror image packet and original image packet, to guarantee the normal operation of target application;To, the embodiment of the invention also provides A kind of packing using original image and make method and system based on disk, for making the original image packet and one of target application Application starting mirror image of the kind based on disk, which packing, makees method and system, for making the starting mirror image packet of target application.Below will Above-mentioned three kinds of systems and corresponding method are described in detail.
Embodiment one
Referring to Fig.1, it shows and of the invention a kind of the knot for making system embodiment is packed using original image based on disk Structure block diagram, can specifically include: data packet production manager establishes module 101, and the second virtual disk establishes module 102, and second Request of data receiving module 103 and original image bag data writing module 104, wherein
Data packet production manager establishes module 101, for establishing the original mirror of data packet production manager and creation sky As packet, and establish the 8th access of data packet the production manager and the original image packet.
Second virtual disk establishes module 102, for localling create the second virtual disk, establishes second virtual magnetic 9th access of disk and data packet production manager.
Second request of data receiving module 103 passes through the 9th access for calling the data packet production manager Receive data write request, wherein the data write request is that second virtual disk is obtained from process.
Original image bag data writing module 104 will by the 8th access for calling the data packet production manager In the data write request corresponding third data write-in original image packet, wherein the third data are target applications The initial data data that include.
In the embodiment of the present invention, the second virtual disk establishes the deployment of module 102 in the terminal, data packet production management Device is established module 101, the second request of data receiving module 103 and original image bag data writing module 104 and can be deployed in It in mobile terminal, can also dispose on the server, wherein installation targets application and target application in the mobile terminal Raw data packets, and target application can operate normally in the mobile terminal, as mobile terminal is mounted with game A APP;In addition, a kind of application original image packet manufacturing system based on disk provided in an embodiment of the present invention, described mobile whole There is corresponding control panel in end, after control panel starting, corresponding process can be started by controlling corresponding control module, To control aforementioned four module.When receiving user in operation of the mobile terminal to the control panel, control module, which obtains, is moved The configuration information of target application in dynamic terminal, wherein the configuration information includes: target application title, raw data packets size Equal content description informations;And start and pack the process of work using original image, after the process initiation, data packet makes manager and establishes Module 101 establishes data packet production manager;The configuration information that control module will acquire is sent to the data packet production Manager, data packet make manager according to the configuration information, create an empty original image packet, the appearance of the original image packet Amount is greater than the capacity of the raw data packets of target application, and if the capacity of the raw data packets of game A is 4GB, then game A's is original The capacity of mirror image packet can be 4.2GB;Include: empty mirror image data area in the empty original image packet of creation, empty verification and Database data area, and set the configuration data area of format;Configuration information is added to by data packet production manager again In the configuration data area;Then the 8th access between original image packet and data packet production manager is established.
Then, control module starting disk creates process, establishes module 102 in the mobile terminal by the second virtual disk The second virtual disk of middle creation, the second virtual disk establish module 102 and create the second virtual disk and data packet production management again The 9th access between device, and by systematic difference routine interface (Application Programming Interface, API) notice operating system identifies the virtual disk of creation, specifically, the various file system of system enumeration -- ext2,3, 4 yaffs jffs fat ntfs ..., verify disk unit one by one, and attempt to take over;It is second after identifying virtual disk equipment Virtual disk creates a mount point such as/apps/app_id, at this point, second virtual disk can be accessed.
After the completion of 8th access and the 9th path setting, control module log-on data copies process, by target application Data in raw data packets, including resource file and execution file, are copied in the empty mirror image data area of original image packet; Specifically, the second virtual disk of Xiang Suoshu sends data write request after copy process initiation, the second virtual disk is logical by the 9th The data write request is sent to the data packet and makes manager by road, and the second request of data receiving module 103 then calls The data packet makes manager, receives the data write request;Original image bag data writing module 104 is according to the number of acquisition According to write request, calls the data packet production manager by the corresponding third data of the data write request, the original mirror is written In the empty mirror image data area of picture packet;Mirror image until the initial data of target application to be all copied to the original image packet In data field.
The production of original image packet is completed above, if data packet production manager establishes module 101, the second request of data Receiving module 103 and original image bag data writing module 104 are disposed on the server, then target application in mobile terminal Raw data packets are copied into the original image packet of server;If data packet production manager establishes the number of module 101, second It is disposed on mobile terminals according to request receiving module 103 and original image bag data writing module 104, then it can be again by production The original image of completion, which is wrapped, to be reached in server, to facilitate different users use in operational objective application.
Embodiment two
Referring to Fig. 2A and 2B, on the basis of the above embodiment 1, to a kind of packing using original image based on disk Make the corresponding method of system to be illustrated.
Data packet production manager M2 in the embodiment of the present invention may include: that the second application manager M2A and second are deposited Store up stack M2B, wherein the second application manager M2A may include the second configuration manager M20;Second stack M2B can wrap It includes: second disk simulator M21, the second incremental data manager M22 and the second mirror cache manager M23, below with above-mentioned For manager and stack that data packet production manager M2 includes, the method for production original image packet is carried out specifically It is bright.
In the embodiment of the present invention, original image packet includes mirror image data area, configuration data area and verification and database data Area;Wherein, there are many implementations of data field, one kind, which is achieved in that, creates a big file for original image packet, alternatively, One piece of independent disk subregion is divided for original image packet, by the file, alternatively, independent disk subregion divides three regions point Not Shi Xian mirror image data area, configuration data area and verification and database data field, with realize related data storage function;It is another Kind is achieved in that mirror image data area, configuration data area and verification and database data field respectively in original image packet are drawn Divide a corresponding independent ordinary file, then corresponding original image packet includes: image file, configuration file and verification and data Library file.
Step 201, the original image packet for establishing data packet production manager and creation sky, and establish the data and pack Make the 8th access of manager Yu the original image packet.
It due to the capacity of original image packet and the configuration information of data, is determined according to the raw data packets of target application 's;Therefore, in the mobile terminal of the application of installation targets, depending on the user's operation, starting the second control panel M24, second Control module M25 obtains process by starting configuration information, sweeps to the raw data packets M26 of the target application of mobile terminal It retouches, obtains the configuration information of the raw data packets M26 of target application, the configuration information includes: the title, original of target application The content description informations such as data package size.Meanwhile second control module M25 can also start packed using original image make into Journey calls data packet production manager to establish module 101 and establishes data packet production manager M2;Specifically, data packet production pipe Reason device establishes module 101 and starts the second application manager M2A, and establishes second disk simulator M21, the second incremental data pipe Manage device M22 and the second mirror cache manager M23;At this point, the second configuration manager M20 in the second application manager M2A It is activated.After the completion of data packet makes manager M2 foundation, it is corresponding with confidence that the second application manager M2A obtains target application Breath, and the configuration information that will acquire is stored in the second configuration manager M20;Then according to the configuration information, then one is created The capacity of empty original image packet M27, original image packet M27 are greater than the capacity of raw data packets M26;Wherein, empty original Include: empty mirror image data area, empty verification and database data field in mirror image packet M27, and has set the empty of format Configuration data area;The second configuration manager M20 is recalled, by the corresponding configuration information of target application, is added to and has set lattice In the empty configuration data area of formula.Then, the 8th access between data packet production manager M2 and original image packet M27 is established S8。
The process for specifically establishing the 8th access S8 is as follows: (1) the second mirror cache manager M23 opens original image packet Mirror image data area in M27, and relevant content description information in initial configuration data field, wherein the second mirror cache pipe Managing device M23 is for managing original image packet M27;(2) second incremental data manager M22 create a file stream example, build The vertical data path between the second mirror cache manager M23, it is former can be opened by the second mirror cache manager M23 Mirror image data area in beginning mirror image packet M27;(3) second disk simulator M21 opens the second incremental data manager M22 creation File stream example establishes the data path between the second incremental data manager M22, wherein the second incremental data manager The request of second disk simulator M21 is forwarded directly to the second mirror cache manager M23 by M22.
Step 202 is localling create the second virtual disk, establishes second virtual disk and data packet production is managed Manage the 9th access of device.
After the 8th access S8 for having established the data packet production manager M2 and original image packet M27, second Control module M25 starts disk and creates process, establishes module 102 in the mobile terminal by the second virtual disk and creates second Virtual disk M28, and the 9th access S9 of creation the second virtual disk M28 and above-mentioned second disk simulator M21;So The operating system of mobile terminal is that the second virtual disk creates mount point afterwards, and the process in operating system can pass through the carry Point accesses to the second virtual disk M28.In addition, existing and second virtual disk corresponding second in operating system Virtual disk IO simulator M29 is directed to the read-write operation of the second virtual disk M28 for identification.
Step 203, data packet production manager receive data write request by the 9th access, wherein described Data write request is that second virtual disk is obtained from process.
After the completion of the 8th access S8 and the 9th access S9 is established, the second control module M25 log-on data copies process, with The data in the raw data packets M26 of target application are copied in the empty mirror image data area of original image packet M27;Specifically , after copying process initiation, which sends data write request, the second virtual disk to the second virtual disk M28 After IO simulator M29 receives the data write request, by the 9th access S9, the data write request is forwarded to described Two disk simulator M21, the second request of data receiving module 103 call the second disk simulator M21 to pass through the 9th access S9 obtains the write request.
Step 204, data packet production manager pass through the 8th access for the corresponding third number of the data write request According in the write-in original image packet.
The write request is transmitted to the second incremental data manager M22 by the second disk simulator M21;Original image Bag data writing module 104 calls the second incremental data manager M22 to pass through the second mirror image according to the file stream example of creation Cache manager M23 opens the mirror image data area in original image packet M27, and the corresponding third data of the write request are written In the mirror image data area, until the initial data of target application being all copied in the original image packet M27, wherein institute State the data that the initial data that third data are target applications includes.
In addition, the second virtual disk is established after the initial data of target application is all copied to the original image packet 102 call operation system API of module closes the second virtual disk M28, and unloads mount point, disconnect the second virtual disk M28 with Data packet makes the 9th access S9 between manager M2;Data packet production manager establishes 101 turn-off data of module and packs work The 8th access S8 of manager M2 and the original image packet M27;And it generates the corresponding starting operation packet of target application and starts Performer;Wherein, the most basic file comprising starting target application in the starting operation packet, utilizes the starting in terminal Operation, which is wrapped, to be run corresponding in application, the starting operation packet completes target application during the installation process, and basic component is installed With the interactive action of configuration and target application and terminal.Meanwhile second control module M25 start configuration process so that data packet Production manager establishes module 101 and calls the second application manager M2A, and block-by-block scans the mirror image data area in original image packet, For data block each in mirror image data area generate it is corresponding verification and, wherein the size of data block can be continuous 8KB, 16KB, 64KB, and by the verification of each data block and save into verification and database data field;Then, scanned for checkout and database data Area generates the MD5 of database, by MD5, and makes the characteristic information such as download priority of each data block when original image packet, It is updated in configuration data area.
A kind of packing using original image based on disk of above-mentioned offer makees system and method, can be used for making various The original image packet of large-scale application program, to reduce the development cost of application program, such as such as 3D game, PS etc.;With 3D For game, illustrates to apply original image packet manufacturing system based on disk using above-mentioned, make the original image of the 3D game The method of packet, it is specific: to be mounted with the 3D game on mobile terminal, and stored in the mobile terminal and supported 3D trip The raw data packets of play operation, can create the original image packet of 3D game, and establish the above-mentioned 8th on the mobile terminal Access S8 and the 9th access S9;Then by the 8th access S8, by all data in the raw data packets of 3D game, including Resource file and execution file, are copied in the mirror image data area of the original image packet of 3D game;Original image Bao Zhongjing As the data of data field include the data supporting the starting of 3D game with operating normally;It is completed in data copy and then to be somebody's turn to do 3D game generates corresponding APP Launcher;User can start the 3D game by APP Launcher.
The embodiment of the present invention need to only establish data packet production manager and the second virtual magnetic when making original image packet Disk, and establish empty original image packet;And the access between three;It can be when getting write request, by corresponding All data in the raw data packets of target application are copied in original image packet by access;Without to target application Original binary code and data are analyzed, and can be completed the initial data of target application, are copied to original image packet In;Greatly reduce development time and cost of labor that target application needs modularization to split work.
Embodiment three
After the starting operation packet of target application and the creation of original image packet, if not stored target application opens in mobile terminal Dynamic operation packet, then can download from server;It, can be straight if storing the starting operation packet of target application in mobile terminal It connects and is locally obtaining the starting operation packet, then pass through starting operation packet starting target application;In the starting of target application During, data required for target application can be obtained from original image packet, due to what is needed when target application starting Data are more, and the storage of original image packet is in the server, needs to will lead to user in initial start-up target application It, can be with pre-production target application pair in order to reduce the time waited when user's initial start-up target application to longer time The starting mirror image packet answered, the starting mirror image packet include the log-on data of target application;Mobile terminal is obtaining starting operation packet Meanwhile obtaining the starting mirror image packet, then when target application starts, the corresponding data of starting locally directly can be being obtained, this Greatly reduce the time of target application starting.
Referring to Fig. 3, shows a kind of application starting mirror image based on disk of the invention and pack the knot for making system embodiment Structure block diagram, can specifically include: local manager establishes module 301, starting mirror image packet establishes module 302, third virtual disk Establish module 303, third request of data receiving module 304 and starting mirror image bag data writing module 305;Wherein,
Local manager establishes module 301, is used for when starting target application, establishes local manager, and establish this Tenth access of ground manager and original image packet.
Starting mirror image packet establishes module 302, for establishing the empty starting mirror image packet, and establishes the local management 11st access of device and starting mirror image packet.
Third virtual disk establishes module 303, for localling create third virtual disk, establishes the local manager With the 12nd access of the third virtual disk.
Third request of data receiving module 304 is received for calling the local manager by the 12nd access Request of data, the request of data are that the third virtual disk is received from the target application.
Start mirror image bag data writing module 305, for calling the local management when the request is read request Device obtains corresponding 4th data of the read request by the tenth access from the original image packet;And pass through institute It states the 11st access the 4th data are written in the starting mirror image packet;When the target application is out of service, stop The starting mirror image packet is written into 4th data.
In the embodiment of the present invention, local manager establishes module 301, starting mirror image packet establishes module 302, third virtual magnetic Disk establishes module 303, third request of data receiving module 304 and starting mirror image bag data writing module 305 and is deployed in movement In terminal.
The embodiment of the present invention can run packet starting target application by starting, can also start target by control panel Using wherein control panel and starting operation packet correspond to different control modules;Target application starting when, control module from Target application corresponding mark such as APP ID are obtained in starting operation packet;And log-on data packs the process of work, so that local management Device establishes module 301 and establishes local manager, and then the mark of target application is sent to local manager by control module;If mesh The original image packet of mark application is stored in local cache, then local manager is searched corresponding with the mark of target application original Mirror image packet resettles the tenth access between local manager and original image packet;If the original image packet of target application stores In the server, then local manager according to the mark of target application, and original corresponding with the mark of target application in server Beginning mirror image packet establishes the tenth access;Then starting mirror image packet establishes the starting empty according to the creation of the configuration information of acquisition of module 302 Mirror image packet;The capacity of the starting mirror image packet, equal to the capacity of original image packet;Then by school corresponding with the mark of target application It tests and is copied in starting mirror image packet with database data field and configuration information;It further include mirror image in the empty starting mirror image packet of creation Data field and incremental data area.Starting mirror image packet establish module 302 resettle local manager and start between mirror image packet the 11 accesses.Third virtual disk establishes module 303 and is localling create third virtual disk, establishes the local manager and institute State the 12nd access of third virtual disk;Third request of data receiving module 304 calls the local manager, by described 12nd access receives request of data;Since third virtual disk establishes module 303 and third request of data receiving module 304 Effect it is identical with the effect of the second request of data receiving module 103 to establish module 102 with, above-mentioned second virtual disk, herein not It repeats again.After local manager obtains the request of data, when the request of data is read request, starting mirror image bag data is write Enter module and call the local manager, it is corresponding to obtain the read request from the original image packet by the tenth access The 4th data;And the 4th data are written in the starting mirror image packet by the 11st access;Meanwhile it is local The 4th data that manager will acquire return to target application by the 12nd access.
When the target application is out of service, stop the 4th data being written in the starting mirror image packet.This hair When target application is out of service in bright embodiment, when can be target application and just starting, after being also possible to target application starting Short period in, to guarantee that the data in starting mirror image packet only account for the fraction of original image packet.Preferably, the starting mirror The data of picture packet are less than the 5% of the data of original image packet, as 30 minutes after target application starting;To guarantee that mobile terminal exists Time when obtaining starting mirror image packet is shorter.For example, play 20 minutes game A in mobile terminal examination, the of game A can be played 6 close, then in the starting mirror image packet of game A comprising game A from start to the 6th close data.For example, if what starting mirror image packet stored Data account for the 3% of original image packet;If the original image packet of game A is 4.3GB, then the capacity of the starting mirror image packet of game A is The data of 4.3GB, starting mirror image packet storage account for the 3% of 4.3GB;The memory space that i.e. starting mirror image packet really occupies only has 4.3GB*3%=0.129GB, it is preferred that starting mirror image packet can also be further processed by compression algorithm, so that starting mirror As Bao Geng little.
Example IV
Referring to Fig. 4 A and 4B, on the basis of above-described embodiment three, start mirror image packet to a kind of application based on disk A kind of corresponding being illustrated using starting mirror image packet production method based on disk of manufacturing system.
Local manager M4 in the embodiment of the present invention may include: third application manager M4A and third stack M4B, wherein third application manager may include third configuration manager M40;Third stack M4B may include: third magnetic Disk simulator M41, third incremental data manager M42, third mirror cache manager M43 and third current divider M44;Below with For manager and stack that above-mentioned local manager M4 includes, the method for production starting mirror image packet is carried out specifically It is bright.
In the embodiment of the present invention, starting mirror image packet include mirror image data area, configuration data area, incremental data area and verification and Database data area;Wherein, there are many implementations of data field, one kind, which is achieved in that, creates one greatly for starting mirror image packet File, alternatively, dividing one piece of independent disk subregion;Four regions are divided in this document or disk partition, realize mirror image data Area, configuration data area, incremental data area and verification and database data field, to realize the function of related data storage;It is another It is achieved in that, respectively mirror image data area, incremental data area, configuration data area and the verification in starting mirror image packet and database Data field divides a corresponding independent ordinary file, then corresponding starting mirror image packet includes: image file, delta file, matches Set file and verification and database file.
Step 401, when starting target application, establish local manager, and establish local manager and original image Tenth access of packet.
Step 402 establishes empty starting mirror image packet, and establishes the 11st of the local manager and starting mirror image packet the Access.
The embodiment of the present invention runs packet by the starting of target application, or, third control panel M45 starts target application pair When the startup program P1 answered, local manager establishes module 301 and establishes local manager M4, specifically, third control module M46 Start third application manager M4A, and establishes third disk simulator M41, third incremental data manager M42, third mirror As cache manager M43 and third current divider M44;Wherein, the third configuration manager M40 in third application manager M4A It is activated.If the original image packet M47 of target application is stored in local, local manager M4 and local original image are established Wrap the tenth access of M47.If target application original image packet M47 storage in the server, establish local manager M4 with The tenth access of original image packet M47 on server;Preferably, server S E includes configuration server SE1 and data server SE2, the tenth access for establishing original image packet M47 on local manager M4 and server includes: to establish third application manager The access S101 of M4A and configuration server SE1, to obtain configuration information and verification and database data field;And establish third The access S102 of current divider M44 and data server SE2, to obtain the data in original image Bao Zhong mirror image data area.Third is answered Call third configuration manager M40 by the configuration information and verification and database data in raw data packets M47 with manager M4A Area is added in empty starting mirror image packet, in addition, starting mirror image packet further includes empty incremental data area and empty mirror image data Area.
Then starting mirror image packet establishes the 11st that module 302 is established between local manager M4 and starting mirror image packet M48 Access establishes local manager M4 and starts the access S111 in mirror image Bao Zhong mirror image data area, specifically, (1) third mirror image Cache manager M43 is on mirror image data area and initialization content description information in mirror image packet M48.(2) third shunts Device M44 will initialize a file stream example, establish the logical of mirror image data area in third current divider M44 and original image packet M47 Road, to obtain the data in mirror image data area in original image packet M47, and the starting opened with third mirror cache manager M43 The mirror image data area example of mirror image packet M48 establishes data path.(3) third incremental data manager M42 will create a file Example is flowed, establishes the access with file stream example in third current divider M44, and be on incremental data in mirror image packet M48 Area checks initialization dirty data distribution, establishes description information in memory.(4) third disk simulator M41 opens third increment The file stream example of data management system M42 creation.
Step 403 is localling create third virtual disk, establishes the local manager and the third virtual disk 12nd access.
After having established the 11st access and the tenth access, third control module M46 starts disk and creates process, by the Three virtual disks establish module 303 and create third virtual disk M49, and the creation third virtual magnetic in the mobile terminal The 12nd access S12 of disk M49 and third disk simulator M41;Then the operating system of mobile terminal is third virtual disk M49 creates mount point, and the process in operating system can access to third virtual disk by the mount point.In addition, behaviour Make in system, there is third virtual disk IO simulator M410 corresponding with the third virtual disk M49, be directed to for identification The read-write operation of third virtual disk M49.
Step 404, the local manager receive request of data by the 12nd access, and the request of data is institute It is received from the target application to state third virtual disk.
During target application is run, accessible third virtual disk M49, to be obtained by third virtual disk M49 Take the data of the needs;After third virtual disk IO simulator M410 gets the request of target application, pass through the tenth two-way Road S12 forwards the request to third disk simulator M41;Third request of data receiving module 304 calls the third magnetic Disk simulator M41 obtains the request by the 12nd access S12.
Step 405, when the request is read request, the local manager is by the tenth access from described original Corresponding 4th data of the read request are obtained in mirror image packet;And the 4th data are written by the 11st access In the starting mirror image packet;When the target application is out of service, stop the 4th data starting mirror image is written Packet.
The third disk simulator M41 forwards the request to third incremental data manager M42;When the third When incremental data manager M42 determines that the request is read request, starting mirror image bag data writing module 305 calls third increment The read request is transmitted to the third current divider M44 according to the file stream example of creation by data management system M42, and described Three current divider M44 obtain corresponding 4th data of the read request from the mirror image data area of original image packet M47;Obtain institute After stating the 4th data, be the 4th data data block generate it is corresponding verification and;And by the school of the corresponding data block of the 4th data Test and, with the 4th data verification and database data field in corresponding data block verification and compare;When such a match occurs, 4th data are stored in starting mirror image packet, and the second bit identification of the 4th data corresponding data block is set as third shape State;When the two mismatches, the 4th data are obtained from original image packet M47 again, and repeat above-mentioned verification and matching operation;If The verification of 4th data and repeatedly match it is unsuccessful, can first by the 4th data be stored in starting mirror image packet in, and by the 4th number The 4th state is set as according to the second bit identification of corresponding data block;It can be when next target application starts, again from original image packet It is middle to obtain the 4th data.Wherein, second bit identification is the mark of data block in mirror image data area;The third shape State is the effective status of data block in the mirror image data area;4th state is data block in the mirror image data area Invalid state.
In addition, the corresponding second of data block is identified as the third state by file stream example by third current divider M44 4th data, are back to third incremental data manager M42, and third incremental data manager M42 returns to the 4th data The 4th data are returned by the 12nd access S12 to third disk simulator M41, third disk simulator M41 To target application.
In addition, further including establishing third increment when establishing local manager M4 and starting the access between mirror image packet M48 Access S112 in data management system M42 and starting mirror image packet M48 between incremental data area, when the third incremental data management When device M42 determines that received request is write request, directly by the increment of the corresponding data write-in starting mirror image packet M48 of institute's write request In data field.
After the target application runs a period of time, when out of service, stop to open described in the 4th data write-in Index glass picture packet M48;At this point, completing the production of starting mirror image packet M48;In order to make more acquisition for mobile terminal target applications Starting mirror image packet M48, the starting mirror image to complete can be wrapped and be reached in data server.
A kind of application starting mirror image based on disk of above-mentioned offer, which packs, makees system and method, can be used for for 3D trip Play, the application programs such as PS production starting mirror image packet;Since starting mirror image packet is much smaller than original image packet, it is possible to reduce it uses Family waiting time when using 3D game, PS for the first time;By taking 3D game as an example, illustrate the application starting mirror using above-mentioned based on disk As packet manufacturing system, the method for making the starting mirror image packet of the 3D game is specific: can be in the APP for having obtained the 3D game On the mobile terminal of Launcher, which is played by starting APP Launcher examination;After 3D game starting;System will create The starting mirror image packet of 3D game, then establishes above-mentioned tenth access, the 11st access and the 12nd access;System will pass through the tenth Access is from obtaining data required for the 3D game in original image packet;The 3D game is returned to by the 12nd access, to guarantee 3D game is normally run;Then by the 11st access, the data that will be obtained from original image packet, write-in starting mirror image packet In;Object for appreciation to be tried 20~30 minutes or so, at this point, 3D game has been activated, and run to preceding several outposts;It is then shut off 3D trip Play, at this point, containing the log-on data of 3D game and the data at preceding several outposts in starting mirror image packet;In this way, APP is opened next time When dynamic, the resource data at log-on data and preceding several outposts can be directly obtained from local boot mirror image packet, tries the time played And content can be determined according to the size of 3D game or game mode, in addition, trying object for appreciation for the game for not having to type Time can also be different, such as strategic type game, character play the part of type game immediately.
In the embodiment of the present invention when production starts mirror image packet, empty starting mirror image packet, local manager also need to be only established; And the access started between mirror image packet, original image packet and local manager is established, it may then pass through corresponding access, from In original image packet by data copy into starting mirror image packet;Since the time of target application operation is shorter, start mirror image The data volume of packet is much smaller than the data volume of original image packet, thus, mobile terminal it is first obtain starting mirror image packet when, when waiting Between it is short.And when production starts mirror image packet, the parsing and module of runtime environment relied on to application program can also be removed from Change and split work, greatly reduces cost of labor and time cost.
If making the original image packet and starting mirror image packet of target application, above-mentioned second control by the same mobile terminal Panel processed and third control panel are same control panel;If not made on same mobile terminal, the second control panel with Third control panel is different.
Original image packet manufacturing system is applied based on disk by above-mentioned, the original mirror of production target application may be implemented As packet and starting operation packet may be implemented production target and answered by the above-mentioned application starting mirror image packet manufacturing system based on disk Starting mirror image packet.Therefore, before starting target application by starting operation packet in the terminal, the embodiment of the present invention is mentioned A kind of application operating system based on disk supplied obtains starting operation packet and starting mirror image packet in advance;It is run in target application When, by the access of foundation, the data needed for obtaining target application operation in starting mirror image packet and/or original image packet;With Under a kind of application operating system based on disk is illustrated.
Embodiment five
Referring to Fig. 5, a kind of structural block diagram using operating system embodiment based on disk of the invention is shown, it is described System specifically includes: data packet acquisition module 501, local cache manager establishes module 502, the first virtual disk establishes module 503, the first request of data receiving module 504, data acquisition module 505 and data feedback module 506, wherein
Data packet obtains module 501, in advance in non-installation targets in application, obtaining the starting fortune of the target application Row packet and starting mirror image packet, wherein for the starting operation packet for starting the target application, the starting mirror image packet includes institute State the log-on data of target application.
Local cache manager establishes module 502, when starting the target application for running packet by the starting, builds Vertical local cache manager establishes the local cache manager and starts the first access of mirror image packet, and, establish local cache The alternate path of manager and server.
First virtual disk establishes module 503, for localling create the first virtual disk, establishes the local cache pipe Manage the third path of device and first virtual disk.
First request of data receiving module 504 is connect for calling the local cache manager by the third path Request of data is received, the request of data is that first virtual disk is received from the target application.
Data acquisition module 505, for calling the local cache manager when the request of data is read request, By first access, the first data of the read request are obtained from the starting mirror image packet;And/or call the local Cache manager obtains the first number of the read request by the alternate path from the original image packet of the server According to;Wherein, the original image packet includes the log-on data and operation data of the target application.
Data feedback module 506, for giving first data feedback to the target application by the third path, So that the target application operation.
In the embodiment of the present invention, data packet obtains module 501, local cache manager establishes module 502, the first virtual magnetic Disk establishes module 503, the first request of data receiving module 504, data acquisition module 505 and data feedback module 506, disposes On mobile terminals, and the application operating system based on disk can be disposed on each different mobile terminal, it can Operational objective application on each mobile terminal.If the mobile terminal of operational objective application, in above-described embodiment three or example IV When the mobile terminal of the starting mirror image packet of production target application is same, then the first access, second are led in the embodiment of the present invention Road and third path are respectively same with the 11st access, the tenth access and the 12nd access of embodiment three or example IV Access, the first virtual disk and third virtual disk are same virtual disk;If the mobile terminal of embodiment five and embodiment three Difference, then the first access, alternate path and third path in the embodiment of the present invention, respectively with the of embodiment three or example IV 11 accesses, the tenth access and the 12nd access are not same accesses, and the first virtual disk and third virtual disk are not same One virtual disk.
Data packet obtains module 501 in advance in non-installation targets in application, can obtain the target application from local Starting operation packet and starting mirror image packet;Starting operation packet and starting mirror image packet can also be obtained from server, due to target The starting operation packet and starting mirror image packet of application are smaller, therefore, the waiting time of user are greatly saved.User is installing After the starting operation packet of target application, destination application can be started by starting operation packet;Local cache manager is built Formwork erection block 502 establishes local cache manager after destination application starting;Then call local cache manager search with Corresponding starting mirror image packet is wrapped in the starting operation;It resettles the local cache manager and starts the first of mirror image packet and lead to Road, and, establish the alternate path of local cache manager and server;After the completion of the first access and alternate path are established, the One virtual disk establishes module 503 and is localling create the first virtual disk, establishes the local cache manager and described first The third path of virtual disk;First request of data receiving module 504 passes through institute for calling the local cache manager It states third path and receives request of data, the request of data is that first virtual disk is received from the target application;This In local cache manager establishes module 502, the first virtual disk establishes module 503 and the first request of data receiving module 504, Module 301 is established with local manager in embodiment three respectively, third virtual disk establishes module 303 and third request of data connects The effect for receiving module 304 is identical, and details are not described herein.Data acquisition module 505 is called when the request of data is read request The local cache manager obtains the first data of the read request from the starting mirror image packet by first access; Alternatively, calling the local cache manager, by the alternate path, institute is obtained from the original image packet of the server State the first data of read request;Alternatively, obtaining first data from starting mirror image packet and original image packet;Data feedback mould Block 506 gives first data feedback to the target application by the third path, so that the target application is run.
Furthermore, it is possible to be also possible to when target application starts every time, local cache in target application initial start-up Manager establishes module 502 and establishes local cache manager, establishes the first of the local cache manager and starting mirror image packet Access, and, establish the alternate path of local cache manager and server;And first virtual disk establish module 503 this Ground creates the first virtual disk, establishes the third path of the local cache manager Yu first virtual disk.
Embodiment six
Referring to Fig. 6 A and 6B, on the basis of above-described embodiment five, run below for a kind of application based on disk The corresponding method of system is illustrated.
Local cache manager M6 in the embodiment of the present invention may include: the storage of the first application manager M6A and first Stack M6B, wherein the first application manager M6A may include the first configuration manager M60;First stack M6B may include: First disk simulator M61, the first incremental data manager M62, the first mirror cache manager M63 and the first current divider M64.
Step 601, in advance in non-installation targets in application, obtain the target application starting operation packet and starting mirror image Packet, wherein for the starting operation packet for starting the target application, the starting mirror image packet includes opening for the target application Dynamic data.
The operational objective application in the mobile terminal of any non-installation targets application needs to obtain the mesh from local in advance The starting operation packet M65 and starting mirror image packet M68 of mark application;If local, there is no the starting of target application operation packet M65 With starting mirror image packet M68, then starting operation packet M65 and starting mirror image packet M68 are obtained from server, and be stored in local.It obtains After taking starting operation packet M65 and starting mirror image packet M68 success, when the user clicks when starting operation packet M65, mobile terminal is directly beaten It is started operation packet M65, completes the installation of basic module required for starting target application, and the corresponding startup program of operation P2, to start corresponding target application.The log-on data that the starting mirror image packet M68 of the acquisition includes, can be target application During complete starting state, the data of target application needs;It is also possible to from off state to complete During running a period of time after starting state, the data of target application needs;This depends on target in above-described embodiment and answers Starting mirror image packet is in production, the time of target application operation.
Step 602, by the starting run packet start the target application when, establish local cache manager, and It establishes the local cache manager and starts the first access of mirror image packet, and, establish local cache manager and server Alternate path.
Local cache manager establishes module 502, in target application starting, establishes local cache manager M6, specifically , the first control module M66 call establishment local cache process starts the first application manager M6A, and the first application of control Manager M6A establish the first disk simulator M61, the first incremental data manager M62, the first mirror cache manager M63 and First current divider M64;Wherein, the first configuration manager M60 in the first application manager M6A is also started up.Then it resettles The first access of local cache manager M6 and starting mirror image packet M68, and establish the of local cache manager M6 and server Two accesses.
Step 603 is localling create the first virtual disk, establishes the local cache manager and first virtual magnetic The third path of disk.
Step 604, the local cache manager receive request of data by the third path, and the request of data is First virtual disk is received from the target application.
Step 603 and step 604, identical as above-mentioned steps 403 and 404 respectively, which is not described herein again.
Step 605, when the request of data is read request, the local cache manager by first access, The first data of the read request are obtained from the starting mirror image packet;And/or the local cache manager passes through described second Access obtains the first data of the read request from the original image packet of the server;Wherein, the original image packet Include the log-on data and operation data of the target application.
After having established the first access and alternate path, the first control module M66 starts disk and creates process, passes through first Virtual disk establishes module 503 and creates the first virtual disk M69, and creation first virtual disk in the mobile terminal The third path S3 of M69 and the first disk simulator M61;Then the operating system of mobile terminal is the first virtual disk M69 wound Mount point is built, the process in operating system can access to the first virtual disk by the mount point.In addition, operation system In system, there is first virtual disk IO simulator M610 corresponding with the first virtual disk M69, is directed to first for identification The read-write operation of virtual disk M69.
The first disk simulator M61 forwards the request to the first incremental data manager M62;By the first increment Data management system M62 judges that the request is read request or write request;Described in being determined as the first incremental data manager M62 When request is read request, then the read request is sent to the first current divider M64;After first current divider M64 receives the read request, In the mirror image data area for the starting mirror image packet being locally stored first by the judgement of the first access, if there are the read request is corresponding First data;If it exists, then judge whether the first data are effective;If first data be it is effective, can be by the One access obtains first data from local boot mirror image packet M68.If being not present in the starting mirror image packet M68 being locally stored First data, alternatively, state of first data in local boot mirror image packet is invalid state, then the first current divider can To obtain first data from the original image packet M67 of server by alternate path.If the starting mirror image being locally stored In packet there are partial data in first data be it is effective, then the portion in first data is obtained from starting mirror image packet Divided data, then obtain from the original image packet M67 of server the data of other parts in the first data.
Step 606 gives first data feedback to the target application by the third path, so that the target Using operation.
The first data that first current divider M64 will acquire are back to the first incremental data manager M62, the first incremental data First data are relayed to the first disk simulator by manager M62;First disk simulator M61 passes through third path S3 is back to the first virtual disk M69, the first virtual disk M69 and first data is passed through the first virtual disk IO simulator M610 feeds back to target application.
The embodiment of the present invention is after the original image packet that completes, starting mirror image packet and starting operation packet, at the beginning of user It is secondary when making target application, obtain the starting operation packet and starting mirror image packet of target application;Packet starting application is run by the starting When program, local cache manager is established, and is established between local cache manager, starting mirror image packet and original image packet Access;When local cache manager receives read request, can by corresponding access from the starting mirror image packet being locally stored, And/or obtain the corresponding data of the read request in the original image packet of server and feed back to the target application, so that institute State target application operation;To realize in the case where only obtaining starting operation packet and starting mirror image packet, by target application During operation, the required data of target application are obtained from the original image packet for starting mirror image packet and/or server, with Guarantee the normal operation of target application.Further, since include in starting mirror image packet is the log-on data of target application, it is much smaller than The raw data packets size of target application enhances user so that the time of user's initial start-up target application be greatly saved Experience;In addition, during target application long-play repertoire will not be used under normal circumstances, in turn Only meeting download part program data, the space hold of the device memory systems of such user local will be greatly reduced.
Embodiment seven
Referring to Fig. 7 and 6B, on the basis of above-described embodiment six, described ask is got for the first incremental data manager Treatment process after asking is described in detail.
In the embodiment of the present invention, establishing above-mentioned first access may include establishing the first incremental data manager M62 and opening Data path S1A between the incremental data area of index glass picture packet M68, so that the first incremental data manager M62 writes data into Start mirror image packet M68 incremental data area in and the first mirror cache manager M63 and starting mirror image packet M68 in mirror image data The data path S1B in area.
Step 701 judges whether the request is read request, if it is not, thening follow the steps 702;If so, thening follow the steps 703。
During target application is run, request of data can be sent to the first virtual disk M69, the request of data of transmission can To be write request, it is also possible to read request;When the request of data is write request, in order not to destroy starting mirror image packet M68's In mirror image data area, the first incremental data manager M62 can be by write request corresponding second data write-in starting mirror image packet In the incremental data area of M68, that is, execute step 702;When the request of data is read request, the first incremental data manager The read request can be sent to the first current divider M64, the first current divider M64 and execute step 703 by M62.
The second data of the write request are written in the incremental data area by first access for step 702;If The first bit identification for setting the second data corresponding data block is first state, then executes the step of terminating.
When first incremental data manager M62 determines that the request of data is write request, by the corresponding number of the write request According to being determined as the second data;First incremental data manager M62 is by the first access, from the mirror image data of starting mirror image packet M68 Qu Zhong, and/or, by alternate path, the corresponding data block of the second data is read from the original image packet of server, by second The corresponding data block of data is put in memory, and the first incremental data manager M62 updates second number according to the write request According to corresponding data in corresponding data block, such as change data or increase data;And when data block is updated successfully, then update First bit identification of the data block is first state such as 1;When data block updates failure, then the first of the data block is updated Bit identification is the second state such as 0.Then by access S1A, the corresponding data block of the second data and each data block is corresponding First bit identification, write-in start in the incremental data area of mirror image packet M68, then execute the step of terminating;Wherein, the first bit identification For the mark of data block in incremental data area, first state is the success status of the first bit identification, and the second state is first mark The status of fail of knowledge.
When the first incremental data manager M62 determines that the request is read request, which is sent to described the One current divider M64;First current divider M64 can be from local boot mirror image packet M68 and/or the original image packet of data server It is obtained in M67;Wherein, the first incremental data manager M62 obtains the first data, Ke Yicong from local boot mirror image packet M68 Start in the incremental data area of mirror image packet M68 and/or obtained in the mirror image data area of starting mirror image packet M68, wherein starting mirror image Packet includes: incremental data area, mirror image data area, configuration data area and verification and database data field, specific steps are as follows:
Step 703 judges in the incremental data area with the presence or absence of first data;If it exists, it thens follow the steps 704;If it does not exist, 706 are thened follow the steps.
When first incremental data manager M62 obtains the first data from starting mirror image packet M68, first judgement starting mirror image packet It whether there is the corresponding data block of first data in the incremental data area of M68, when there are the first data in incremental data area When corresponding data block, 704 are thened follow the steps;When data block corresponding there is no the first data in incremental data area, then hold Row step 706.
Step 704, judge the first bit identification of the first data corresponding data block in the incremental data area state whether For first state, if so, thening follow the steps 705;If it is not, thening follow the steps 706.
When data block corresponding there are the first data in incremental data area, according to data block in incremental data area corresponding the One bit identification, determines whether the corresponding data block of the first data is successfully updated.When the state of the first bit identification of data block is It when first state, determines that the data in the data block are successfully updated, executes step 705;When first bit identification of data block It when state is the second state, determines that the data in the data block are not successfully updated, executes step 706.Wherein, the first data pair The data block answered may be one, it is also possible to multiple;First data may include the total data of each data block, it is also possible to It is the partial data of each data block.
Step 705 obtains first data from the incremental data area, then executes step 714.
When the state of the first bit identification is first state, first data are obtained from the incremental data area.By It may include multiple data blocks in the first data, several data blocks in multiple data blocks that the first data include, in incremental number It is first state according to the first bit identification in area, then obtains the data of these data blocks from incremental data area, executes step 714;State for the first bit identification is other several data blocks of the second state, executes step 706.
When the state of the first bit identification is the second state, first data are read from the mirror image data area, are had Have that steps are as follows:
Step 706 judges to then follow the steps when it is present in the mirror image data area with the presence or absence of first data 707, when it be not present, then follow the steps 709.
First current divider M64 from mirror image data area read the first data before, need first to judge be in mirror image data area No there are first data, when it is present, then follow the steps 707, when it be not present, then follow the steps 709.
Whether step 707, the state for judging the second bit identification of the corresponding data block of first data are the third state, If so, thening follow the steps 708;If it is not, thening follow the steps 709.
When data block corresponding there are the first data in mirror image data area, need to judge in the first data corresponding data block Data it is whether effective, to guarantee to feed back to the first data of target application, can support the normal operation of target application.Specifically , it can judge that the first data are corresponding in mirror image data area according to the state of the second bit identification of data block in mirror image data area Data block it is whether effective;When the state of the second bit identification is the third state, it is determined that data are effective in corresponding data block;When When the state of second bit identification is four state, it is determined that data invalid in corresponding data block;Wherein, the third state is second The effective status of mark, the 4th state are the invalid state of the second bit identification.
Step 708 obtains first data from the mirror image data area, then executes step 714.
When the state of corresponding second bit identification of data block is the third state, from the mirror image data area described in acquisition First data.Due to several data in multiple data blocks that the first data may include multiple data blocks, and the first data include Block, the second in mirror image data area are identified as the third state, then the number of these data blocks is obtained from mirror image data area According to execution step 714;State for the second bit identification is other several data blocks of the 4th state, executes step 709.
Step 709 obtains first data from the original image packet of the server.
In the local cache that first current divider M64 determines mobile terminal, start incremental data area and the mirror of mirror image packet M68 As first data are not present in data field, or, there are part first data, or, when first data invalid, Then first data can be obtained from the original image packet M67 of data server.
Step 710, the first verification for calculating the first data corresponding data block and, and in the verification and database number According to inquired in area the first data corresponding data block second verification and.
Step 711 verifies described first and verifies and match with second.
Due to the unstability or other factors of network, may cause the first data obtained from server may It is wrong or incomplete;After getting first data in the original image packet M67 from data server, First current divider M64 needs verify the first data of acquisition, to judge the first data obtained from data server It is whether correct;Therefore, calculate the corresponding data block of the first data of acquisition first verification and;And in starting mirror image packet M68 Verification and database data field in search, data block corresponding with first data second verification and.By the first verification It verifies and is matched with second, according to matched as a result, whether judging the first data obtained from original image packet M67 Correctly.
Step 712, judge first verification and with second verification and whether successful match, if success, then follow the steps 713; If unsuccessful, 709 are thened follow the steps.
Judge the first verification and with the second verification and whether successful match if successful match can execute step 713, If matching is unsuccessful, step 709 is needed to be implemented, i.e., obtains first data from server again, if repeatedly from service First verification of the first data that device obtains and, with the second verification and when matching unsuccessful, then return to the information of failure to target Using, execute terminate the step of.
Step 713 saves first data into the mirror image data area, and first data are arranged and correspond to number The third state is identified as according to the second of block.
The first data that first current divider M64 will acquire are back to before the first incremental data manager M62, by the first number According to preservation into the mirror image data area of starting mirror image packet M68;And the second bit identification of the first data corresponding data block is set For effective state, the i.e. third state.
Step 714 gives first data feedback to the target application.
If the data that the first current divider M64 is obtained include the data obtained from starting mirror image packet M68, and, from original mirror As the data obtained in packet M67, then this two parts data is merged, be back to the first incremental data manager M62;If first point The data that stream device M64 is obtained only include the data obtained from starting mirror image packet M68, then will obtain from starting mirror image packet M68 Data be back to the first incremental data manager M62;If the data that the first current divider M64 is obtained are only included from original image packet The data obtained from original image packet M67 are then back to the first incremental data manager M62 by the data obtained in M67.If First incremental data manager M62 obtains data from the incremental data area of starting mirror image packet M68, then this is received first point The stream device M64 data sent and two parts data obtained from incremental data area merge, and are back to the first disk simulator M61;If the first incremental data manager M62 only obtains data from the first current divider M64, the data that directly will acquire are sent out It send to the first disk simulator M61;If the first incremental data manager M62 only obtains data from incremental data area, directly The data that connecing will acquire are sent to the first disk simulator M61, the first disk simulator M61 and pass through third path S3, will be described Corresponding first data feedback of read request is to target application.
Preferably, the server S E of the embodiment of the present invention may include configuration server SE1 and data server SE2, wherein configuration server SE1 is used to store the configuration information of a variety of different target applications, and data server SE2 is used for Store the original image packet M67 and starting mirror image packet M68 and starting operation packet M65 of different target application;Establish local cache The alternate path of manager M6 and server S E includes: the four-way for establishing the first application manager M6A and configuration server SE1 Road S21, then, the first application manager M6A are obtained and the mesh from configuration server SE1 according to the mark of target application It marks corresponding first configuration information of mark of application and verifies and database data field.Establish local cache manager M6 and service The alternate path of device SE further include: establish the fifth passage S22 between the first current divider M64 and data server SE2;Specifically , the first current divider M64 is searched corresponding with configuration information according to the first configuration information of acquisition in data server SE2 Then original image packet M67 is attached with the original image packet M67.The embodiment of the present invention is establishing local cache management Before the access of device M6 and starting mirror image packet M68, need to search starting mirror corresponding with starting operation packet M65 in local cache As wrapping, specifically, the first application manager M6A runs the mark of target application in packet M65 according to starting, in locally lookup and mesh The corresponding starting mirror image packet of mark for marking application, then obtains the second configuration information from the starting mirror image packet, second is matched The first configuration information that confidence is ceased and obtained from configuration server SE1 compares, when such a match occurs, then by the starting Mirror image packet is determined as the starting mirror image packet M68 of target application.It, then can be in local lookup and target again when matching unsuccessful The corresponding starting mirror image packet of the mark of application.
The related datas such as the first data, the second data described in the embodiment of the present invention, can be with, with fixed size (8KB, 16KB, 64KB etc.) form of data block set realizes, can also be with, it is realized in the form of data area, for example establish data descriptor note It records data start offset (Start Offset), size of data (Size) describes the corresponding range of the data.
It, only need to be according to making original image in above-described embodiment if target application needs to upgrade in the embodiment of the present invention Target application is needed all data upgraded by the process for wrapping M27, is copied in upgrading original image packet;Then according to upper State the manufacturing process of target application starting mirror image packet M48, the starting and upgrading mirror image packet of production upgrading data;When user is mobile whole When selecting upgrading in end, mobile terminal need to only directly download starting and upgrading mirror image packet from server;In target application starting, Other than establishing above-mentioned data path, the 6th access of local cache manager Yu starting and upgrading mirror image packet is resettled;And it builds Upgrade the 7th access of original image packet in vertical local cache manager and server;During target application operation, if When request is read request, it is corresponding that read request first is obtained from local starting and upgrading mirror image packet and/or upgrading original image packet Data;When local cache manager starting and upgrading mirror image packet and/or upgrading original image packet in, do not get corresponding number According to, or can only fetching portion data when;Then corresponding data are obtained from local boot mirror image packet and/or original image packet;Tool Body, from local starting and upgrading mirror image packet and/or upgrading original image packet, the step of obtaining corresponding data and above-mentioned step Suddenly
703-712 is identical, and details are not described herein again.
If the number of succeeding target application upgrade is more, the data of all upgradings can be generated to the original mirror of upgrading As packet, the data of all upgradings and initial data can also be merged, using combined data packet as raw data packets, then be weighed New production original image packet and starting mirror image packet.
The application program such as network game of various large sizes, PS etc. can use a kind of answering based on disk of the embodiment of the present invention With operating system and method, it can start and run on the mobile terminal for not installing the application program, by taking network game A as an example, tool Body, on the mobile terminal for not installing network game A, the starting mirror image packet of the APP Launcher and network game A of network game A are obtained, In starting mirror image packet only comprising network game A starting when data when running to the 5th outpost of data and network game A;User can lead to Click APP Launcher starting network game A is crossed, when starting network game A, establishes the first virtual magnetic of local cache manager and creation Disk;And establish above-mentioned first access, alternate path and third path, when user registers in network game A, network game A to First virtual disk sends write request;After local cache manager obtains the write request by third path, register customers as Information write-in starting mirror image packet incremental data area in;When network game A starts and closes to operation to the 5th, local cache manager By the first access, all data required for network game A, and the number that will acquire by third path are obtained from starting mirror image packet According to feeding back to network game A;When network game A, which is run to the 6th, to close, then local cache manager is by alternate path, from the original of server The 6th data closed are obtained in beginning mirror image packet, and give network game A by the data feedback that third path will acquire;And the number closed the 6th Start in mirror image packet according to being stored in;To realize while network game A operation, the starting mirror image packet of network game A is made.When another After secondary starting network game A, network game A run to the 6th close when, local cache manager can obtain net from local starting mirror image packet It swims the 6th of A and closes required data.Upgrading has been gone if putting into the 1st, 5, the 10 of network game A;Then can by the 1st of network game A the, 5, 10 close the data after corresponding upgrading, are fabricated to upgrading original image packet and corresponding starting and upgrading mirror image packet;It will upgrading original Beginning mirror image packet stores on the server, and starting and upgrading mirror image packet is stored in, the mobile terminal of the starting mirror image packet with network game A On;At this point, the network game A after upgrading can be run on the mobile terminal.
The embodiment of the present invention can be during object run, on the one hand can be by from starting mirror image packet and/or original Data are obtained in beginning mirror image packet, to guarantee the normal operation of target application;On the other hand it can will be obtained from original image packet Data be stored in starting mirror image packet in, thus target application next time operation need the data when, can be from local cache Starting mirror image packet in directly acquire data, ensure that target application operation fluency.In addition, in target application upgrading, Upgrading original image packet and starting and upgrading mirror image packet need to be only obtained, in operational objective in application, the liter of target application can be completed Grade substantially increases the efficiency of target application upgrading, has saved cost.
The embodiment of the present application also provides a kind of non-volatile readable storage medium, be stored in the storage medium one or Multiple modules (programs) when the one or more module is used in terminal device, can make the terminal device execute The instruction (instructions) of various method steps in the embodiment of the present application.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of transporting using operation method and a kind of application based on disk based on disk provided by the present invention Row system, is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for the one of this field As technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.

Claims (21)

1. a kind of apply operation method based on disk characterized by comprising
In advance in non-installation targets in application, obtaining the starting operation packet and starting mirror image packet of the target application, wherein described Starting operation packet includes the log-on data of the target application for starting the target application, the starting mirror image packet;
When running the packet starting target application by the starting, local cache manager is established, and establish the local First access of cache manager and starting mirror image packet, and establish the alternate path of local cache manager and server;
The first virtual disk is being locallyd create, the third for establishing the local cache manager and first virtual disk is logical Road;
The local cache manager is received by the third path and is requested, and the request is first virtual disk from institute It is received to state target application;
When the request is read request, the local cache manager is by first access, from the starting mirror image packet Obtain the first data of the read request;And/or the local cache manager passes through the alternate path, from the server Original image packet in obtain the first data of the read request;Wherein, the original image packet includes the target application Log-on data and operation data;
First data feedback is given to the target application by the third path, so that the target application is run.
2. the method according to claim 1, wherein the starting mirror image packet includes incremental data area, the side Method further include:
When the request is write request, the local cache manager is by first access by the second of the write request Data are written in the incremental data area;
The first bit identification that the second data corresponding data block is arranged is first state, wherein the first state is the increment The effective status of data block in data field.
3. the method according to claim 1, wherein the starting mirror image packet includes incremental data area and mirror image number According to area, the local cache manager obtains the first of the read request from the starting mirror image packet by first access The step of data, comprising:
The local cache manager obtains first data by first access from the incremental data area, and/ Or first data are obtained from the mirror image data area.
4. according to the method described in claim 3, it is characterized in that, obtaining described first from the incremental data area described Before the step of data, further includes:
Judge in the incremental data area with the presence or absence of first data;
When it is present, judge the state of the first bit identification of the corresponding data block of first data;
When it be not present, the step of obtaining first data from the mirror image data area is executed.
5. according to the method described in claim 4, it is characterized in that, judging the first of the corresponding data block of first data After the step of state of bit identification, further includes:
When the state of the first bit identification is first state, the step that first data are obtained from the incremental data area is executed Suddenly, wherein the first state is the effective status of data block in the incremental data area;
When the state of the first bit identification is the second state, the step that first data are obtained from the mirror image data area is executed Suddenly, wherein second state is the invalid state of data block in the incremental data area.
6. according to the method described in claim 3, it is characterized in that, obtaining described first from the mirror image data area described Before the step of data, further includes:
Judge in the mirror image data area with the presence or absence of first data;
When it is present, judge the state of the second bit identification of the corresponding data block of first data;
When it be not present, the step of obtaining first data from the original image packet of the server is executed.
7. according to the method described in claim 6, it is characterized in that, judging the second of the corresponding data block of first data After the step of state of bit identification, comprising:
When the state of the second bit identification is the third state, the step that first data are obtained from the mirror image data area is executed Suddenly, wherein the third state is the effective status of data block in the mirror image data area;
When the state of the second bit identification is four state, execution obtains described first from the original image packet of the server The step of data, wherein the 4th state is the invalid state of data block in the mirror image data area.
8. the method according to claim 1, wherein the starting mirror image packet includes verification and database data Area,
After the step of obtaining the first data of the read request in the original image packet from the server, also wrap It includes:
Calculate the first data corresponding data block first verification and, and it is described verification and database data field in inquire institute State the first data corresponding data block second verification and;
Described first is verified and verifies and matches with second;
When first verification and with the second verification and when successful match, execute it is described by first data feedback to the mesh The step of mark application;
When described first verifies and verify with second and match unsuccessful, execution is obtained from the original image packet of the server The step of taking first data.
9. according to the method described in claim 8, it is characterized in that, the starting mirror image packet includes mirror image data area, when described First verification and with the second verification and when successful match, the method also includes:
First data are saved into the mirror image data area, and the second of the first data corresponding data block is set It is identified as the third state, wherein the third state is the effective status of data block in the mirror image data area.
10. being established local slow the method according to claim 1, wherein the server includes configuration server Deposit the fourth passage of manager and configuration server, comprising:
Obtain the mark of the target application;
According to the mark, the fourth passage of the local cache manager and the configuration server is established, and described in acquisition Identify corresponding first configuration information, wherein first configuration information includes content description information.
11. according to the method described in claim 10, foundation is local it is characterized in that, the server includes data server The fifth passage of cache manager and data server, further includes:
According to first configuration information, the fifth passage of the local cache manager and the data server is established.
12. described according to the method described in claim 10, it is characterized in that, the starting mirror image packet includes configuration data area Configuration data area includes configuration information;
Before the step of first access established the local cache manager and start mirror image packet, further includes:
According to the mark, the corresponding starting mirror image packet of the mark is searched in local cache, and from the starting mirror image The second configuration information is searched in the configuration data area of packet, wherein second configuration information includes content description information;
First configuration information is matched with second configuration information;
When first configuration information and the second configuration information successful match, the starting mirror image packet is determined as described The starting mirror image packet of target application.
13. the method according to claim 1, wherein the starting mirror image packet includes mirror image data area, described Ground cache manager includes mirror cache manager;
The step of first access established the local cache manager and start mirror image packet, comprising:
The mirror cache manager opens the mirror image data area, establishes the mirror cache manager and the mirror image data First access in area.
14. the method according to claim 1, wherein the alternate path is for obtaining original mirror in server As the data of packet;
When target application needs to upgrade, the method also includes:
Obtain target application starting and upgrading mirror image packet, wherein the starting and upgrading mirror image packet include the part of target application more New data;
After establishing local cache manager, the 6th access of local cache manager Yu the starting and upgrading mirror image packet is established, And establish the 7th access of local cache manager and server, the 7th access for obtain upgrade in server it is original The data of mirror image packet;
Before obtaining first data from the starting mirror image packet and/or original image packet, the local cache manager By the 6th access, the first data of the read request are obtained from the starting and upgrading mirror image packet;And/or the local is slow Manager is deposited by the 7th access, the first number of the read request is obtained from the upgrading original image packet of the server According to;Wherein, the upgrading original image packet includes the whole more new data of the target application.
15. a kind of apply original image packet production method based on disk characterized by comprising
The original image packet of data packet production manager and creation sky is established, and establishes the data packet production manager and institute State the 8th access of original image packet;
The second virtual disk is being locallyd create, establish second virtual disk and data packet production manager the 9th is logical Road;
Data packet production manager passes through the 9th access reception data write request, wherein the data write request is Second virtual disk is obtained from copy process;
By the 8th access the original is written in the corresponding third data of the data write request by the data packet production manager In beginning mirror image packet, wherein the third data are the data that the initial data of target application includes.
16. according to the method for claim 15, which is characterized in that when by third data all in the raw data packets After the original image packet is written, the method also includes:
The data packet production manager generates the corresponding starting operation packet of the target application, and the starting operation packet is for opening Move the target application.
17. a kind of application starting mirror image packet production method based on disk characterized by comprising
When starting target application, local manager is established, and establishes the tenth access of local manager Yu original image packet, Wherein, the original image packet includes the log-on data of the target application;
Empty starting mirror image packet is established, and establishes the local manager and starts the 11st access of mirror image packet;
Third virtual disk is being locallyd create, the 12nd access of the local manager Yu the third virtual disk is established;
The local manager receives request of data by the 12nd access, and the request of data is the third virtual magnetic Disk is received from the target application;
When the request is read request, the local manager is obtained from the original image packet by the tenth access Corresponding 4th data of the read request;And the 4th data are written by the starting mirror image by the 11st access Bao Zhong;When the target application is out of service, stop that the starting mirror image packet is written the 4th data into, the 4th number According to the log-on data for including for the target application.
18. according to the method for claim 17, which is characterized in that the data volume of the starting mirror image packet is less than described original The 5% of the data volume of mirror image packet.
19. a kind of application operating system based on disk characterized by comprising
Data packet obtain module, in advance in non-installation targets in application, obtain the target application starting operation packet and Start mirror image packet, wherein for the starting operation packet for starting the target application, the starting mirror image packet includes the target The log-on data of application;
Local cache manager establishes module, when starting the target application for running packet by the starting, establishes local Cache manager establishes the local cache manager and starts the first access of mirror image packet, and establishes local cache manager With the alternate path of server;
First virtual disk establishes module, is localling create the first virtual disk, establish the local cache manager with it is described The third path of first virtual disk;
First request of data receiving module receives data by the third path for calling the local cache manager Request, the request of data is that first virtual disk is received from the target application;
Data acquisition module, for the local cache manager being called, by described when the request of data is read request First access obtains the first data of the read request from the starting mirror image packet;And/or call the local cache management Device obtains the first data of the read request by the alternate path from the original image packet of the server;Wherein, The original image packet includes the log-on data and operation data of the target application;
Data feedback module, for giving first data feedback to the target application by the third path, so that institute State target application operation.
20. a kind of apply original image packet manufacturing system based on disk characterized by comprising
Data packet production manager establishes module, for establishing the original image packet of data packet production manager and creation sky, with And establish the 8th access of data packet the production manager and the original image packet;
Second virtual disk establishes module, for localling create the second virtual disk, establishes second virtual disk and institute State the 9th access of data packet production manager;
Second request of data receiving module receives number by the 9th access for calling the data packet production manager According to write request, wherein the data write request is that second virtual disk is obtained from copy process;
Original image bag data writing module, for calling data packet production manager, by the 8th access by the number It is written in the original image packet according to the corresponding third data of write request, wherein described
Third data are the data that the initial data of target application includes.
21. a kind of application starting mirror image packet manufacturing system based on disk characterized by comprising
Local manager establishes module, for establishing local manager, and establish local manager when starting target application With the tenth access of original image packet, wherein the original image packet includes the log-on data of the target application;
Starting mirror image packet establishes module, establishes the empty starting mirror image packet, and establishes the local manager and starting mirror As the 11st access of packet;
Third virtual disk establishes module, for localling create third virtual disk, establish the local manager with it is described 12nd access of third virtual disk;
Third request of data receiving module receives data by the 12nd access and asks for calling the local manager It asks, the request of data is that the third virtual disk is received from the target application;
Start mirror image bag data writing module, for the local manager being called, passing through institute when the request is read request It states the tenth access and obtains corresponding 4th data of the read request from the original image packet;And it is logical by the described 11st 4th data are written in the starting mirror image packet on road;When the target application is out of service, stop the described 4th The starting mirror image packet is written in data, and the 4th data are the log-on data that the target application includes.
CN201611048255.0A 2016-11-21 2016-11-21 It is a kind of that operation method and system are applied based on disk Active CN108089890B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611048255.0A CN108089890B (en) 2016-11-21 2016-11-21 It is a kind of that operation method and system are applied based on disk
PCT/CN2017/078722 WO2018090528A1 (en) 2016-11-21 2017-03-30 Method and system for mirror image package preparation and application operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611048255.0A CN108089890B (en) 2016-11-21 2016-11-21 It is a kind of that operation method and system are applied based on disk

Publications (2)

Publication Number Publication Date
CN108089890A CN108089890A (en) 2018-05-29
CN108089890B true CN108089890B (en) 2019-09-20

Family

ID=62145214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611048255.0A Active CN108089890B (en) 2016-11-21 2016-11-21 It is a kind of that operation method and system are applied based on disk

Country Status (2)

Country Link
CN (1) CN108089890B (en)
WO (1) WO2018090528A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113972989B (en) * 2020-07-06 2023-09-15 宇龙计算机通信科技(深圳)有限公司 Data verification method, storage medium and electronic equipment
CN112347167A (en) * 2020-09-30 2021-02-09 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112667361B (en) * 2020-12-31 2023-10-17 北京北信源软件股份有限公司 Management method and device based on system virtual machine, electronic equipment and storage medium
CN112764814B (en) * 2021-01-13 2023-11-10 西藏子墨网络科技有限公司 Method, device, terminal and medium for setting starting memory of mobile terminal
CN115048149A (en) * 2022-05-23 2022-09-13 杨正 Application cache scalable processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452402A (en) * 2008-11-28 2009-06-10 珠海金山软件股份有限公司 Software operation system and software operation method
CN101916172A (en) * 2010-08-17 2010-12-15 中国人民解放军国防科学技术大学 Virtual disk image logic partitioning-based on-demand software distribution method
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4833541B2 (en) * 2004-12-08 2011-12-07 株式会社日立製作所 Deployment method, program, and server system
CN102135892B (en) * 2010-01-22 2015-03-04 广州华多网络科技有限公司 Application program running method, device and system
WO2012146985A2 (en) * 2011-04-28 2012-11-01 Approxy Inc. Ltd. Adaptive cloud-based application streaming
CN104391719A (en) * 2014-11-24 2015-03-04 上海盈方微电子有限公司 Compiling-free fast mirror image customizing method based on Android platform
CN105988809B (en) * 2015-02-13 2019-03-22 广州四三九九信息科技有限公司 A kind of on-line loaded method of game resource and micro- end engine
CN105320578A (en) * 2015-11-09 2016-02-10 青岛海信移动通信技术股份有限公司 Method and apparatus for backing up and recovering APP

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452402A (en) * 2008-11-28 2009-06-10 珠海金山软件股份有限公司 Software operation system and software operation method
CN101916172A (en) * 2010-08-17 2010-12-15 中国人民解放军国防科学技术大学 Virtual disk image logic partitioning-based on-demand software distribution method
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software

Also Published As

Publication number Publication date
CN108089890A (en) 2018-05-29
WO2018090528A1 (en) 2018-05-24

Similar Documents

Publication Publication Date Title
CN108089888B (en) It is a kind of that operation method and system are applied based on file system
CN108089890B (en) It is a kind of that operation method and system are applied based on disk
CN107766126B (en) Container mirror image construction method, system and device and storage medium
CN102200921B (en) Intelligent boot device is selected and recovered
US5490266A (en) Process oriented logic simulation having stability checking
US20070273700A1 (en) Method, system and computer program product for efficiently utilizing limited resources in a graphics device
CN111901294A (en) Method for constructing online machine learning project and machine learning system
US8296119B2 (en) Saving and restarting discrete event simulations
US11762651B2 (en) Software and firmware updates in a combined single pane of glass interface
CN114881233B (en) Distributed model reasoning service method based on container
CN110908707A (en) Resource packaging method, device, server and storage medium
US9372731B1 (en) Automated firmware settings framework
Nüst et al. The rockerverse: packages and applications for containerization with r
US10423398B1 (en) Automated firmware settings management
US11593098B2 (en) Synchronization of source code under development in multiple concurrent instances of an integrated development environment
CN115794400A (en) Memory management method, device and equipment of deep learning model and storage medium
CN115061813A (en) Cluster resource management method, device, equipment and medium
US11720386B2 (en) Validation and pre-check of combined software/firmware updates
CN116157774A (en) Method and system for providing engineering of industrial equipment in cloud computing environment
CN107667343A (en) On-demand loading resource
CN110327626A (en) Virtual server creation method and device
US11182147B2 (en) Deploying virtualization software in a remote cluster
US11435997B2 (en) Desired state model for managing lifecycle of virtualization software installed in heterogeneous cluster of hosts
CN111176648B (en) Method and device for processing conversion of installation-free program, electronic equipment and storage medium
KR20230048666A (en) Workload pipeline specification method for machine learning model development and cloud applying the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 435005 Room 202, Unit 22, 28 Xinxia Landscape Avenue, Xiashan District, Huangshi City, Hubei Province

Applicant after: Yang Zheng

Applicant after: Lu Cong

Address before: 100080 Building 207, No. 16, Qingyunbei District, Zhongguancun Street, Haidian District, Beijing

Applicant before: Yang Zheng

Applicant before: Lu Cong

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant