CN108958888A - The data processing method and processing system of electronic equipment - Google Patents

The data processing method and processing system of electronic equipment Download PDF

Info

Publication number
CN108958888A
CN108958888A CN201810727606.3A CN201810727606A CN108958888A CN 108958888 A CN108958888 A CN 108958888A CN 201810727606 A CN201810727606 A CN 201810727606A CN 108958888 A CN108958888 A CN 108958888A
Authority
CN
China
Prior art keywords
virtual machine
snapshot document
machine system
operation data
snapshot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810727606.3A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810727606.3A priority Critical patent/CN108958888A/en
Publication of CN108958888A publication Critical patent/CN108958888A/en
Pending legal-status Critical Current

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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

Present disclose provides a kind of data processing method for electronic equipment, the electronic equipment can run virtual machine system, which comprises create snapshot document for the virtual machine system;Obtain the operation data about the virtual machine system;And corresponding relationship between the operation data and the snapshot document is established, so that can determine corresponding snapshot document by the operation data.The disclosure additionally provides a kind of data processing system for electronic equipment.

Description

The data processing method and processing system of electronic equipment
Technical field
This disclosure relates to a kind of data processing method for electronic equipment and processing system.
Background technique
With the fast development of electronic technology, various electronic equipments are increasingly being applied to life and work etc. Many scenes.The function of electronic equipment is more and more diversified, such as can run virtual machine system on an electronic device, by Snapshot document is created in virtual machine system can save the operating status of virtual machine, and can roll back to void by snapshot document The state at quasi- machine creation snapshot document moment.Therefore, the shape at virtual machine creating snapshot document moment is rolled back to by snapshot document State becomes the critical function of virtual machine.But it is corresponding fast that required virtual machine state how is found in numerous snapshot documents The problem of becoming urgent need to resolve according to file.
Summary of the invention
An aspect of this disclosure provides a kind of data processing method for electronic equipment, and the electronic equipment can Run virtual machine system, which comprises create snapshot document for the virtual machine system, obtain about the virtual machine system The operation data of system, and the corresponding relationship between the operation data and the snapshot document is established, so that passing through the behaviour It can determine corresponding snapshot document as data.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: obtain about the virtual machine system Operation data of the system in first time period, the first time period include at the time of creation from the virtual machine system to described At the time of snapshot document creates, the corresponding relationship established between the operation data and the snapshot document, comprising: by institute It states and stores about operation data of the virtual machine system in first time period into the snapshot document.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: obtain about the virtual machine system Operation data of the system in second time period, the second time period include at the time of creating snapshot document from the last time to this At the time of creating snapshot document, the corresponding relationship established between the operation data and the snapshot document, comprising: by institute It states and stores about operation data of the virtual machine system in second time period into the snapshot document.
Optionally, above-mentioned to create snapshot document for the virtual machine system include: in response to user instruction, is described virtual Machine system creation snapshot document is virtual machine system creation snapshot document in response to specific operation event, or in response to Particular moment creates snapshot document for the virtual machine system.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: described for the virtual machine system After system creation snapshot document, the operation data about the virtual machine system relevant to the snapshot document is obtained.
Another aspect of the disclosure provides a kind of data processing system for electronic equipment, the electronic equipment energy Virtual machine system is enough run, the system comprises: creation module, module is obtained and establishes module.Creation module is described Virtual machine system creates snapshot document, obtains module, obtains the operation data about the virtual machine system, establishes module, build The corresponding relationship between the operation data and the snapshot document is found, so that can determine accordingly by the operation data Snapshot document.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: obtain about the virtual machine system Operation data of the system in first time period, the first time period include at the time of creation from the virtual machine system to described At the time of snapshot document creates, the corresponding relationship established between the operation data and the snapshot document, comprising: by institute It states and stores about operation data of the virtual machine system in first time period into the snapshot document.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: obtain about the virtual machine system Operation data of the system in second time period, the second time period include at the time of creating snapshot document from the last time to this At the time of creating snapshot document, the corresponding relationship established between the operation data and the snapshot document, comprising: by institute It states and stores about operation data of the virtual machine system in second time period into the snapshot document.
Optionally, above-mentioned to create snapshot document for the virtual machine system include: in response to user instruction, is described virtual Machine system creation snapshot document is virtual machine system creation snapshot document in response to specific operation event, or in response to Particular moment creates snapshot document for the virtual machine system.
Optionally, operation data of the above-mentioned acquisition about the virtual machine system, comprising: described for the virtual machine system After system creation snapshot document, the operation data about the virtual machine system relevant to the snapshot document is obtained.
Another aspect of the present disclosure provides a kind of non-volatile memory medium, is stored with computer executable instructions, institute Instruction is stated when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the data processing method and processing system for electronic equipment according to the embodiment of the present disclosure Application scenarios;
Fig. 2 diagrammatically illustrates the flow chart of the data processing method for electronic equipment according to the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the block diagram of the data processing system for electronic equipment according to the embodiment of the present disclosure;With And
Fig. 4 diagrammatically illustrates the computer system of the data processing for electronic equipment according to the embodiment of the present disclosure Block diagram.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of feature, step, operation and/or component, but it is not excluded that in the presence of or add Add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more The adversative conjunction and/or phrase of optional project shall be construed as either in specification, claims or attached drawing A possibility that giving including one of these projects, either one or two projects of these projects.For example, phrase " A or B " should A possibility that being understood to include " A " or " B " or " A and B ".
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer, The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses for instruction execution system or instruction execution system is combined to use.In the context of the disclosure In, computer-readable medium, which can be, can include, store, transmitting, propagating or transmitting the arbitrary medium of instruction.For example, calculating Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium. The specific example of computer-readable medium includes: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Embodiment of the disclosure provides a kind of data processing method for electronic equipment, which can run Virtual machine system obtains the operation data about virtual machine system this method comprises: creating snapshot document for virtual machine system, And corresponding relationship between operation data and snapshot document is established, so that can determine corresponding snapshot text by operation data Part.
As it can be seen that in the technical solution of the embodiment of the present disclosure, by creating snapshot for the virtual machine system in electronic equipment File, and the operation data of virtual machine system and snapshot document are created into corresponding relationship, it can quickly be looked for by the corresponding relationship The corresponding state of virtual machine is rolled back to corresponding snapshot document, and by corresponding snapshot document.
Fig. 1 diagrammatically illustrates the data processing method and processing system for electronic equipment according to the embodiment of the present disclosure Application scenarios.It should be noted that being only the example that can apply the scene of the embodiment of the present disclosure shown in Fig. 1, to help this Field technical staff understands the technology contents of the disclosure, but be not meant to the embodiment of the present disclosure may not be usable for other equipment, System, environment or scene.
As shown in Figure 1, the application scenarios 100 for example may include snapshot document 110 and operation data 120.
According to the embodiment of the present disclosure, in virtualization, having an important function is exactly the snapping technique of virtual machine.Snapshot Technology can save the state of virtual machine system in an operation, and a certain moment afterwards can be virtual by this Machine rolls back to the state of snapshot time and continues to execute.Virtual machine snapshot can be applied in virtual machine (vm) migration, can also apply On the local machine in simple virtual machine snapshot, usually do on the local machine virtual machine snapshot purpose be after certain for the moment It carves state when can roll back to snapshot and continues to run virtual machine.
According to the embodiment of the present disclosure, which can be for example stored in electronic equipment, the electronic equipment example It such as can be laptop, desktop computer, tablet computer electronic equipment.The electronic equipment leads to for example including virtual machine system The information preservations such as virtual machine state information and virutal machine memory space can be got off by crossing snapshot document 110.It specifically, will be virtual The state of current operating system, the application program of installation and the user of machine system are to related datas such as the operations of file system Snapshot document 110 is saved into, the later virtual machine rollback of snapshot document 110 can will be created by corresponding snapshot document 110 To creation snapshot document 110 when operating status.
In the embodiments of the present disclosure, snapshot document 110 is for example including multiple snapshot documents (such as snapshot document 111, snapshot File 112, snapshot document 113 etc.), multiple snapshot document corresponds to the operating status of the virtual machine of different moments, by any One snapshot document can roll back to the virtual machine in the operating status at corresponding moment.
According to the embodiment of the present disclosure, operation data 120, should for example including the operation log generated in virtual machine operational process Operation data 120 is for example including multiple operation datas (such as operation data 121, operation data 122, operation data 123 etc.), example Such as after creating snapshot document 110, acquisition and 110 corresponding operation data 120 of snapshot document pass through corresponding operation data 120 can find corresponding snapshot document.Such as corresponding snapshot document 111 is found by operation data 121, pass through operand 122, according to corresponding snapshot document 112 is found, find corresponding snapshot document 113 etc. by operation data 123.
Fig. 2 diagrammatically illustrates the flow chart of the data processing method for electronic equipment according to the embodiment of the present disclosure.
As shown in Fig. 2, this method includes operation S201~S203.
In operation S201, snapshot document is created for virtual machine system.
In the embodiment of the present disclosure, snapshot document is created for example including preservation virtual machine state information and virutal machine memory space Etc. information (such as the entire run state in virtual machine system operational process, including memory, magnetic in virtual machine system operational process The case where disk, CPU, network etc. occupy).Specifically, can for example be obtained by saving any one or more following information Snapshot document, the information may include: contextual information, the virtual unit of the virtual processor (VCPU) of virtual machine system Contextual information and/or the memory information for giving virtual machine.The snapshot document for example can store the external equipment in persistence In, still, the present disclosure is not limited thereto, but also can store in internal unit or other external equipments.
Wherein, the contextual information of virtual processor (VCPU) mainly includes the essential information knot of virtual processor (VCPU) Structure body, virtual processor (VCPU) run required related register information, virtual processor (VCPU) scheduling information, in void The abnormality processing stack information of the operating system (GuestOS) run on quasi- machine relevant to virtual processor (VCPU) is shared The one or more of them such as information.Virtual processor (VCPU) register mainly includes CR0-CR7 control register, user class CPU register (AX, BX, SI, DI etc.), DB0-DB7 debugging register etc..Virtual processor (VCPU) scheduling information mainly includes Virtual processor (VCPU) time, virtual processor (VCPU) operating status (run mode, can run mode, obstruction state and offline One of state) and the runing time etc. in each operating status, virtual processor (VCPU) handover information.
Virtual unit contextual information mainly includes the connection shape of virtual unit (such as network adapter, keyboard, display) State, I/O share page, interrupting information, device model information relevant to operating system (GuestOS) that runs on a virtual machine etc. One or more of them.
Virutal machine memory information includes the data in the memory page frame for distribute to the virtual machine.Virutal machine memory information is empty Quasi- machine snapshot to be protected stored major part, since its information content is much bigger relative to other information, thus is to influence The principal element of virtual machine snapshot time and snapshot document size.
In the embodiments of the present disclosure, when creating snapshot document, snapshot document is for example with corresponding title, the snapshot document Title can be specified by user or system provides the title of default.Such as virtual machine is created in user, install operating system Later, when user determines that user is by executing creation to current one snapshot document of virtual machine creating without any operation The function of snapshot generates snapshot document, and user can set according to the name habit of oneself to the snapshot document of virtual machine system at this time A fixed title, which is, for example, snap0.When user operates in virtual machine system later, occur maloperation or When something goes wrong, user does not need to reset system again person's VME operating system, but directly fast with entitled snap0 According to file rollback virtual machine.
In the embodiments of the present disclosure, creation snapshot document can be the multiple snapshot documents of creation, and each snapshot document can be with It is the different moments creation in virtual machine operation.
In the embodiments of the present disclosure, creating snapshot document for virtual machine system includes various ways.One way in which packet It includes in response to user instruction, creates snapshot document for virtual machine system.
In the embodiments of the present disclosure, the instruction of user uses the wound in virtual machine system in particular moment for example including user Build the function creation snapshot document of snapshot.The particular moment executes corresponding operation for example including user or operating system is done Some configurations operation after at the time of.
For example, during using virtual machine, when creating the file that some users need to save, or to operation System does the operations such as some configurations, after user has executed a series of operation, it is desirable to save virtual machine state at that time, then It needs to give virtual machine creating snapshot.Such as operating system being installed in user, and be mounted with after QQ program, user, which wants to save, to be worked as Preceding state can then create a snapshot document (such as the entitled snap1 of snapshot document), later user again on a virtual machine The photo of oneself is saved, can equally create snapshot document (such as the entitled snap2 of snapshot document), user continues to pacify later Fill program, perhaps create file or configuration operating system, may create multiple snapshot document snap3, snap4, Snap5 etc..
After user has used the virtual machine of certain period of time, some files may be accidentally deleted, or to operating system The operation for doing mistake causes operating system that cannot be further continued for running, and at this time user can according to their own needs, by virtual machine Operating system roll back to specific state.For example, user has found that oneself has accidentally deleted the photo of oneself, then user can choose by Virtual machine rolls back to the corresponding virtual machine state of snapshot document snap2.
In the embodiments of the present disclosure, creating the another way of snapshot document for virtual machine system includes in response to specific behaviour Make event, creates snapshot document for virtual machine system.
In the embodiments of the present disclosure, specific operation event, should for example including the corresponding operating executed in virtual machine system Specific operation event for example including but be not limited to: installation application program deletes respective document, unloading application program etc..
Specifically, be virtual machine system creation snapshot document in response to specific operation event, including, when in operation virtual machine When encountering the specific operation event when system, the specific operation event is responded, snapshot document is automatically created.
Such as when running virtual machine system, when specific operation event includes installation QQ program, after QQ program is installed, Automatically snapshot document is created for virtual machine system.
In the embodiments of the present disclosure, for virtual machine system create snapshot document yet another approach include in response to it is specific when It carves, creates snapshot document for virtual machine system.
According to the embodiment of the present disclosure, particular moment is for example including interval creation snapshot document at a fixed time.
For example, in order to guarantee the safety of virtual-machine data, generalling use timing in certain important virtual machine environments Create the function of snapshot.User can select time interval according to the rank of secure virtual machine, according to demand, and timing creates fast According to, such as when the time interval that user selects is 1 day, then virtual machine is automatic for virtual machine environment wound at that time after every 1 day Build a snapshot.
In operation S202, the operation data about virtual machine system is obtained.
In the embodiments of the present disclosure, the operation data of virtual machine system in virtual machine system for example including being operated The operation log of generation, the operation which executes in virtual machine system for example including some time, the operation log It will be under the operation note of the execution in virtual machine system.For example, the modification that user makes virtual machine, the peace including software The corresponding operation log of operation of the progress in virtual machine such as creation of dress, the configuration of operating system and file is according to one Fixed organized formats (such as according to time sequence) record.
According to the embodiment of the present disclosure, the operation data about virtual machine system is obtained, comprising: create for virtual machine system After snapshot document, the operation data about virtual machine system relevant to snapshot document is obtained.
Specifically, operation data includes operation data relevant to snapshot document.For example, being obtained after creating snapshot document Extract operation data, operation data includes creating the respective record of snapshot document at this time, that is, the operation data includes creation snapshot text The operation note of part, at this point, the operation data is corresponding with snapshot document.
In operation S203, the corresponding relationship between operation data and snapshot document is established, is enabled through operation data Determine corresponding snapshot document.
According to the embodiment of the present disclosure, in creation snapshot document and after obtaining operation data corresponding with snapshot document, The operation data and snapshot document are established into corresponding relationship, the corresponding relationship is based on, can quickly and easily pass through operation data Find corresponding snapshot document.
For example, establishing corresponding relationship can be by operation data storage into corresponding snapshot document, such as work as operand When according to including operation log, by the certain organizational form of the operation log (such as according to time sequence) storage to corresponding snapshot text In part.
For example, stored operation data into snapshot document by Hypervisor service after having created snapshot document, That is, storing the operation log of operating system record according to certain organizational form into snapshot document.
Wherein, Hypervisor (Virtual Machine Monitor, virtual machine monitor) is a kind of middleware software Layer, runs between physical server and operating system, safeguards multiple operating systems and Application share underlying physical hardware facility. Hypervisor is the core of virtualization technology.Hypervisor is used to execute the physical server of one or more virtual machines Referred to as Principal machine (host machine), the virtual machine of execution are then known as object machine (guest machine). Hypervisor provides virtual job platform, is responsible for managing the running of other object operating systems, what is operated on it is more A operating system, the hardware resource after share virtualization.When server is started and carried out Hypervisor, its meeting Suitable memory, CPU, network and disk, and the client operating system of loaded virtual machine are distributed to each virtual machine.
It is appreciated that the embodiment of the present disclosure do not limit the corresponding relationship of the operation data and snapshot document establish mode, It can be and store operation data to corresponding snapshot document, can also be other modes, as long as can be implemented as operation data Corresponding relationship is established between snapshot document.
The acquisition of the embodiment of the present disclosure about virtual machine system operation data and establish operation data and snapshot document Between corresponding relationship include a variety of implementations, make citing in two ways below.
First way is as follows:
The operation data about virtual machine system in first time period is obtained, first time period includes from virtual machine system At the time of creation at the time of creation to snapshot document.
In the embodiments of the present disclosure, at the time of first time period includes from the virtual machine creating moment to creation snapshot document. Specifically, for example creating snapshot document 1 at the moment 1, snapshot document 2 is created at the moment 2, at this point, first time period includes The period at virtual machine creating moment to moment 1 or first time period include the time at virtual machine creating moment to moment 2 Section.Operation data corresponding with snapshot document 1 includes the operation data from virtual machine creating moment to moment in 1 period. Operation data corresponding with snapshot document 2 includes the operation data from virtual machine creating moment to moment in 2 period.
After obtaining operation data of the virtual machine in first time period, by the operation data and snapshot document foundation pair It should be related to including will store about operation data of the virtual machine system in first time period into snapshot document.
For example, the operation data in 1 period from virtual machine creating moment to moment is stored into snapshot document 1, Operation data in 2 period from virtual machine creating moment to moment is stored into snapshot document 2.
The second way is as follows:
The operation data about virtual machine system in second time period is obtained, second time period includes creating from the last time At the time of creating snapshot document to this at the time of snapshot document.
In the embodiments of the present disclosure, second time period includes from fast to this creation at the time of the last time creating snapshot document At the time of according to file.Specifically, for example creating snapshot document 1 at the moment 1, snapshot document 2 is created at the moment 2, at the moment 3 Snapshot document 3 is created, at this point, second time period includes the period at moment 1 to moment 2 or when second time period includes Carve the period at 2 to moment 3.Wherein, operation data corresponding with snapshot document 2 includes, in the period at moment 1 to moment 2 Operation data, operation data corresponding with snapshot document 3 includes the operation data out of moment 2 to the moment 3 period.
After obtaining operation data of the virtual machine in second time period, by the operation data and snapshot document foundation pair It should be related to including will store about operation data of the virtual machine system in second time period into snapshot document.
For example, the operation data in the period at moment 1 to moment 2 is stored into snapshot document 2, then by the moment 2 The operation data carved in 3 period is stored into snapshot document 3.
The disclosure proposes to be the virtual machine system creation snapshot document in electronic equipment, and by the operation of virtual machine system Data and snapshot document create corresponding relationship, can be quickly found out corresponding snapshot document by the corresponding relationship, and pass through phase The snapshot document answered rolls back to the corresponding state of virtual machine.Which passes through the snapshot document and virtual machine to virtual machine system Operation data establishes one-to-one corresponding relationship so that user want virtual machine to roll back to before some state when, do not have to again Blindly attempt rollback snapshot document, it is only necessary to according to the corresponding relationship of the operation data of snapshot document and virtual machine system, energy It is quickly found out the virtual machine snapshot file of needs, directly progress rollback has greatly saved the time of user, improved use Family experience.
Fig. 3 diagrammatically illustrates the block diagram of the data processing system for electronic equipment according to the embodiment of the present disclosure.
As shown in figure 3, data processing system 300 for electronic equipment include creation module 310, obtain module 320, with And establish module 330.Data processing system 300 for electronic equipment can execute the method described above with reference to Fig. 2.
Specifically, creation module 310 can create snapshot document for virtual machine system.
According to the embodiment of the present disclosure, it is virtual machine that creating snapshot document for virtual machine system, which includes: in response to user instruction, System creation snapshot document creates snapshot document for virtual machine system in response to specific operation event, or in response to it is specific when It carves, creates snapshot document for virtual machine system.
According to the embodiment of the present disclosure, creation module 310 can for example execute the operation S201 above with reference to Fig. 2 description, This is repeated no more.
Obtain the available operation data about virtual machine system of module 320.
According to the embodiment of the present disclosure, the operation data about virtual machine system is obtained, comprising: obtain about virtual machine system Operation data in first time period, first time period include creating at the time of creation from virtual machine system to snapshot document Moment establishes the corresponding relationship between operation data and snapshot document, comprising: will be about virtual machine system in first time period Operation data store into snapshot document.
According to the embodiment of the present disclosure, the operation data about virtual machine system is obtained, comprising: obtain about virtual machine system Operation data in second time period, second time period include fast to this creation at the time of creating snapshot document from the last time At the time of according to file, the corresponding relationship between operation data and snapshot document is established, comprising: will be about virtual machine system second Operation data in period is stored into snapshot document.
According to the embodiment of the present disclosure, the operation data about virtual machine system is obtained, comprising: create for virtual machine system After snapshot document, the operation data about virtual machine system relevant to snapshot document is obtained.
According to the embodiment of the present disclosure, the operation S202 described above with reference to Fig. 2 can for example be executed by obtaining module 320, This is repeated no more.
Establishing module 330 can establish corresponding relationship between operation data and snapshot document, so that passing through operation data It can determine corresponding snapshot document.
According to the embodiment of the present disclosure, the operation S203 described above with reference to Fig. 2 can be executed by establishing module 330 for example, This is repeated no more.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, creation module 310, obtaining module 320 and that establishes in module 330 any number of may be incorporated in one It is realized in a module or any one module therein can be split into multiple modules.Alternatively, one in these modules Or at least partly function of multiple modules can be combined at least partly function of other modules, and real in a module It is existing.In accordance with an embodiment of the present disclosure creation module 310, obtain module 320 and at least one of establish module 330 can be with At least it is implemented partly as hardware circuit, such as field programmable gate array (FPGA), programmable logic array (PLA), piece The system in system, encapsulation, specific integrated circuit (ASIC) in upper system, substrate, or can be by being integrated to circuit Or the hardware such as any other rational method or firmware of encapsulation are realized, or with three kinds of software, hardware and firmware realization sides Any one in formula several appropriately combined is realized with wherein any.Alternatively, creation module 310, obtain module 320, with And at least one of establish module 330 and can at least be implemented partly as computer program module, when the computer program When module is run, the function of corresponding module can be executed.
Fig. 4 diagrammatically illustrates the computer system of the data processing for electronic equipment according to the embodiment of the present disclosure Block diagram.Computer system shown in Fig. 4 is only an example, should not function and use scope band to the embodiment of the present disclosure Carry out any restrictions.
As shown in figure 4, realizing that the computer system 400 of data processing for electronic equipment includes processor 401, calculates Machine readable storage medium storing program for executing 402.The system 400 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 401 for example may include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 401 can also include using for caching The onboard storage device on way.Processor 401 can be the different movements for executing the method flow according to the embodiment of the present disclosure Single treatment unit either multiple processing units.
Computer readable storage medium 402, such as can be times can include, store, transmitting, propagating or transmitting instruction Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, Device or propagation medium.The specific example of readable storage medium storing program for executing includes: magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain Road.
Computer readable storage medium 402 may include computer program 403, which may include generation Code/computer executable instructions execute processor 401 according to the embodiment of the present disclosure Method or its any deformation.
Computer program 403 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 403 may include one or more program modules, for example including 403A, module 403B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 401 When execution, processor 401 is executed according to the method for the embodiment of the present disclosure or its any deformation.
According to an embodiment of the invention, creation module 310, obtain module 320 and establish in module 330 at least one It is a to can be implemented as the computer program module with reference to Fig. 4 description, when being executed by processor 401, may be implemented to retouch above The corresponding operating stated.
The disclosure additionally provides a kind of computer-readable medium, which, which can be in above-described embodiment, retouches Included in the equipment/device/system stated;It is also possible to individualism, and without in the supplying equipment/device/system.On It states computer-readable medium and carries one or more program, when said one or multiple programs are performed, realize:
A kind of data processing method for electronic equipment, the electronic equipment can run virtual machine system, this method packet It includes: creating snapshot document for virtual machine system, obtain operation data about virtual machine system, and establish operation data and fast According to the corresponding relationship between file, so that can determine corresponding snapshot document by operation data.
Optionally, operation data of the above-mentioned acquisition about virtual machine system, comprising: obtain about virtual machine system first Operation data in period, first time period include from virtual machine system create at the time of to snapshot document create at the time of, Establish the corresponding relationship between operation data and snapshot document, comprising: by the behaviour about virtual machine system in first time period It stores as data into snapshot document.
Optionally, operation data of the above-mentioned acquisition about virtual machine system, comprising: obtain about virtual machine system second Operation data in period, second time period include creating snapshot document to this at the time of creating snapshot document from the last time At the time of, establish the corresponding relationship between operation data and snapshot document, comprising: will be about virtual machine system in second time period Interior operation data is stored into snapshot document.
Optionally, it is above-mentioned for virtual machine system create snapshot document include: in response to user instruction, for virtual machine system create Snapshot document is built, in response to specific operation event, creates snapshot document for virtual machine system, or in response to particular moment, be Virtual machine system creates snapshot document.
Optionally, operation data of the above-mentioned acquisition about virtual machine system, comprising: creating snapshot text for virtual machine system After part, the operation data about virtual machine system relevant to snapshot document is obtained.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc., or Above-mentioned any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of data processing method for electronic equipment, the electronic equipment can run virtual machine system, the method Include:
Snapshot document is created for the virtual machine system;
Obtain the operation data about the virtual machine system;And
The corresponding relationship between the operation data and the snapshot document is established, so that can determine by the operation data Corresponding snapshot document.
2. according to the method described in claim 1, wherein:
Operation data of the acquisition about the virtual machine system, comprising:
The operation data about the virtual machine system in first time period is obtained, the first time period includes from the void To at the time of the snapshot document creation at the time of quasi- machine system creation;
The corresponding relationship established between the operation data and the snapshot document, comprising:
It is stored described about operation data of the virtual machine system in first time period into the snapshot document.
3. according to the method described in claim 1, wherein:
Operation data of the acquisition about the virtual machine system, comprising:
The operation data about the virtual machine system in second time period is obtained, the second time period includes from the last time At the time of creating snapshot document to this at the time of creating snapshot document;
The corresponding relationship established between the operation data and the snapshot document, comprising:
It is stored described about operation data of the virtual machine system in second time period into the snapshot document.
4. according to the method described in claim 1, wherein, described is that virtual machine system creation snapshot document includes:
In response to user instruction, snapshot document is created for the virtual machine system;
In response to specific operation event, snapshot document is created for the virtual machine system;Or
In response to particular moment, snapshot document is created for the virtual machine system.
5. according to the method described in claim 1, wherein, operation data of the acquisition about the virtual machine system, comprising:
After the creation snapshot document for the virtual machine system, obtain relevant to the snapshot document about the void The operation data of quasi- machine system.
6. a kind of data processing system for electronic equipment, the electronic equipment can run virtual machine system, the system Include:
Creation module creates snapshot document for the virtual machine system;
Module is obtained, the operation data about the virtual machine system is obtained;And
Module is established, the corresponding relationship between the operation data and the snapshot document is established, so that passing through the operand According to can determine corresponding snapshot document.
7. system according to claim 6, in which:
Operation data of the acquisition about the virtual machine system, comprising:
The operation data about the virtual machine system in first time period is obtained, the first time period includes from the void To at the time of the snapshot document creation at the time of quasi- machine system creation;
The corresponding relationship established between the operation data and the snapshot document, comprising:
It is stored described about operation data of the virtual machine system in first time period into the snapshot document.
8. system according to claim 6, in which:
Operation data of the acquisition about the virtual machine system, comprising:
The operation data about the virtual machine system in second time period is obtained, the second time period includes from the last time At the time of creating snapshot document to this at the time of creating snapshot document;
The corresponding relationship established between the operation data and the snapshot document, comprising:
It is stored described about operation data of the virtual machine system in second time period into the snapshot document.
9. system according to claim 6, wherein described to include: for virtual machine system creation snapshot document
In response to user instruction, snapshot document is created for the virtual machine system;
In response to specific operation event, snapshot document is created for the virtual machine system;Or
In response to particular moment, snapshot document is created for the virtual machine system.
10. system according to claim 6, wherein operation data of the acquisition about the virtual machine system, packet It includes:
After the creation snapshot document for the virtual machine system, obtain relevant to the snapshot document about the void The operation data of quasi- machine system.
CN201810727606.3A 2018-07-04 2018-07-04 The data processing method and processing system of electronic equipment Pending CN108958888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810727606.3A CN108958888A (en) 2018-07-04 2018-07-04 The data processing method and processing system of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810727606.3A CN108958888A (en) 2018-07-04 2018-07-04 The data processing method and processing system of electronic equipment

Publications (1)

Publication Number Publication Date
CN108958888A true CN108958888A (en) 2018-12-07

Family

ID=64485737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810727606.3A Pending CN108958888A (en) 2018-07-04 2018-07-04 The data processing method and processing system of electronic equipment

Country Status (1)

Country Link
CN (1) CN108958888A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739415A (en) * 2011-03-31 2012-10-17 华为技术有限公司 Method and device for determining network failure data and recording network instantaneous state data
US8615489B2 (en) * 2008-08-25 2013-12-24 Vmware, Inc. Storing block-level tracking information in the file system on the same block device
CN104714755A (en) * 2013-12-13 2015-06-17 华为技术有限公司 Snapshoot management method and device
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot
US20160117228A1 (en) * 2014-10-28 2016-04-28 Microsoft Corporation Point in Time Database Restore from Storage Snapshots

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8615489B2 (en) * 2008-08-25 2013-12-24 Vmware, Inc. Storing block-level tracking information in the file system on the same block device
CN102739415A (en) * 2011-03-31 2012-10-17 华为技术有限公司 Method and device for determining network failure data and recording network instantaneous state data
CN104714755A (en) * 2013-12-13 2015-06-17 华为技术有限公司 Snapshoot management method and device
CN105022656A (en) * 2014-04-21 2015-11-04 中国电信股份有限公司 Management method and device of virtual machine snapshot
US20160117228A1 (en) * 2014-10-28 2016-04-28 Microsoft Corporation Point in Time Database Restore from Storage Snapshots

Similar Documents

Publication Publication Date Title
US10394547B2 (en) Applying update to snapshots of virtual machine
US11038947B2 (en) Automated constraint-based deployment of microservices to cloud-based server sets
Cervone An overview of virtual and cloud computing
JP5689475B2 (en) A method for deploying one or more virtual machines on a host computing system, a method for loading a set of data into a memory of a computing system, a system, and a computer program (computing program) Efficient loading of data into system memory)
CN106201566B (en) Benefit wins the hot upgrade method of big special software and equipment
Doherty SDN and NFV simplified: a visual guide to understanding software defined networks and network function virtualization
KR101660514B1 (en) Distributed Rendering System
US20110119669A1 (en) Hypervisor file system
CN107168780B (en) Virtual reality scene loading method and equipment and virtual reality equipment
US20110246988A1 (en) Hypervisor for starting a virtual machine
US20160154665A1 (en) Virtual machine deployment method, virtual machine deployment program, and virtual machine deployment system
CN109597677A (en) Method and apparatus for handling information
CN103309721A (en) Virtual machine monitor management system and method
CN105573830B (en) A kind of virtual machine migration method
CN111527474A (en) Dynamic delivery of software functionality
CN109656646B (en) Remote desktop control method, device, equipment and virtualization chip
US9053442B2 (en) Multiple project areas in a development environment
CN114968477A (en) Container heat transfer method and container heat transfer device
US9235854B1 (en) Automatically generating a review rating the performance of a pattern based on pattern deployment, service history and operation of pattern
CN107562519A (en) Moving method, system and the server of virtual machine
US20210165720A1 (en) Backup system for an overlay network
EP2530590A1 (en) Object pipeline-based virtual infrastructure management
CN110443034A (en) The recognition methods of risk program file, calculates equipment and medium at device
CN108958888A (en) The data processing method and processing system of electronic equipment
KR101960396B1 (en) Method for reconfigurating a node which is a tactical control apparatus based on virtual computing and data centric architecture

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