CN103678047A - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN103678047A
CN103678047A CN201210360652.7A CN201210360652A CN103678047A CN 103678047 A CN103678047 A CN 103678047A CN 201210360652 A CN201210360652 A CN 201210360652A CN 103678047 A CN103678047 A CN 103678047A
Authority
CN
China
Prior art keywords
storage area
information
data
object storage
firmware
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.)
Granted
Application number
CN201210360652.7A
Other languages
Chinese (zh)
Other versions
CN103678047B (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.)
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 CN201210360652.7A priority Critical patent/CN103678047B/en
Publication of CN103678047A publication Critical patent/CN103678047A/en
Application granted granted Critical
Publication of CN103678047B publication Critical patent/CN103678047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data processing method and electronic equipment. The electronic equipment is at least provided with a piece of firmware. The method includes the steps that the firmware obtains a first backup instruction; the firmware obtains source storage region information and objective storage region information of data to be backed up based on the first backup instruction; the firmware enables the data to be backed up to be backed up to an objective storage region from a source storage region based on the source storage region information and the objective storage region information.

Description

A kind of data processing method and electronic equipment
Technical field
The application relates to field of computer technology, relates in particular to a kind of data processing method and electronic equipment.
Background technology
Along with scientific and technical development, electronic technology has also obtained development at full speed, and the kind of electronic equipment is also more and more, and people have also enjoyed the various facilities that scientific development brings.Such as, people can use computer, thereby make live and work all become more convenient, in using the process of computer, can generate many significant datas, people need to back up these significant datas, to recover these data by backup in the future when these significant datas damage.
In the prior art, data backup in electronic equipment and recovery are all depended on conventionally to being backed up the parsing of the file system of system, with NTFS (new technology archives economy, New Technology File System) file system is example, when the data under new technology file system back up and recover, all need to resolve the structure of new technology file system, could carry out back up or restore processing to data.
But in the process of present inventor's invention technical scheme in realizing the embodiment of the present invention, find that above-mentioned technology at least exists following technical matters:
When data are carried out to back up or restore, need the file system at resolution data place just can back up.
Specifically, with the data in new technology file system, back up or revert to example, new technology file system is the undocumented file system that Microsoft provides, Microsoft's irregular upgrading of meeting is to upgrade its file system, and this can cause other application programs that need to quote new technology file system information or program module go wrong and can not use.
Such as, an application program for Backup Data can normally be carried out back up or restore to the data of new technology file system before new technology file system upgrades, and after new technology file system upgrades, will go wrong and cause this application program to go wrong can not using, at this moment need this application program to carry out new technology file system renewal and just can reuse.
Summary of the invention
The embodiment of the present application, by a kind of data processing method and electronic equipment are provided, has solved the technical matters that needs the file system at resolution data place to back up it in prior art.
The embodiment of the present application provides a kind of method of data processing, is applied on an electronic equipment, and described electronic equipment is at least provided with a firmware, and described method comprises: described firmware obtains the first backup instruction; Based on described the first backup instruction, described firmware obtains source storage area information and the object storage area information of data to be backed up; Based on described source storage area information and described object storage area information, described firmware backups to described data to be backed up in object storage area by source storage area.
Alternatively, described firmware obtains source storage area information and the object storage area information of data to be backed up, specifically comprises: described firmware obtains source storage area information table and object storage area information table; Described firmware is resolved described source storage area information table and described object storage area information table, obtains described source storage area information and described object storage area information.
Alternatively, obtain the source storage area information table and object storage area information table of exchanges data subregion at described firmware before, described method also comprises: obtain the second backup instruction; Based on described the second backup instruction, the operating system of described electronic equipment is obtained size information and the positional information of described source storage area, and the size information of described source storage area and positional information are stored in the storage area information table of described source; Size information and positional information based on described source storage area, described operating system is obtained size information and the positional information of described object storage area, and the size information of described object storage area and positional information are stored in described object storage area information table.
Alternatively, obtain the size information and positional information of source storage area of data to be backed up in the operating system of described electronic equipment before, described method also comprises: described source storage area is simplified to processing.
Alternatively, before described firmware backups in described object storage area by described data to be backed up by described source storage area, described method also comprises: described data to be backed up are carried out to data compression process.
Alternatively, in described firmware backups to described object storage area by described data to be backed up after, described method also comprises: the corresponding relation of described source storage area information and described object storage area information is stored in mapping table.
Alternatively, described method also comprises: described firmware obtains one and recovers instruction; Based on described recovery instruction, described firmware is resolved described mapping table, obtains described object storage area information and described source storage area information; Described firmware is carried out described recovery instruction, and the data in described object storage area are returned in the storage area of described source.
The embodiment of the present application also provides a kind of electronic equipment, and described electronic equipment comprises: casing; One circuit board, is arranged in described casing; One firmware chip, is arranged on described circuit board; One memory storage, is arranged in described casing, is connected with described firmware chip; Wherein, described firmware chip is used for obtaining the first backup instruction, and based on described the first backup instruction, obtain source storage area information and the object storage area information of data to be backed up, and based on described source storage area information and described object storage area information, described firmware chip backups to described data to be backed up in object storage area by source storage area.
Alternatively, described firmware chip is specifically for obtaining source storage area information table and object storage area information table, and resolve described source storage area information table and described object storage area information table, obtain described source storage area information and described object storage area information.
Alternatively, described electronic equipment also comprises a process chip, on setting and described circuit board, described process chip is used for obtaining the second backup instruction, and based on described the second backup instruction, obtain size information and the positional information of described source storage area, the size information of described source storage area and positional information are stored in the storage area information table of described source, also for size information and positional information based on described source storage area, obtain size information and the positional information of described object storage area, and the size information of described object storage area and positional information are stored in described object storage area information table.
Alternatively, described process chip also for: obtain the size information and positional information of described source storage area in described process chip before, described source storage area is simplified to processing.
Alternatively, described process chip also for: before described data to be backed up being backuped to described object storage area by described source storage area at described firmware chip, described data to be backed up are carried out to data compression process.
Alternatively, before described data to be backed up being backuped to object storage area by source storage area at described firmware chip, described firmware chip is also for storing the corresponding relation of described source storage area information and described object storage area information into mapping table.
Alternatively, described firmware chip is also for receiving a recovery instruction, based on described recovery instruction, resolve described mapping table, obtain source storage area information described in described object storage area, and carry out described recovery instruction, the data in described object storage area are returned in the storage area of described source.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
1, due to firmware (fi rmware) can for electronic equipment provide the bottom, the most direct hardware setting and control, do not need to resolve the file system of source storage area and the object storage area of data to be backed up, so come the scheme of Backup Data compatible strong with firmware, applied widely, can not go wrong because file system changes.
2, due to before Backup Data, treat the source storage area of Backup Data and simplify processing, reduce the size of the shared source storage area of data to be backed up, make the data of final backup more effective, data volume reduces, so the process of backup is accelerated, has reduced the time of Backup Data cost, the object storage space simultaneously taking also can diminish, and has saved storage space.
3, due to when the Backup Data, treat Backup Data and carry out data compression process, can reduce the size of the shared object storage area of data to be backed up, reduce the disk space that backup file takies.
4, because firmware is according to when backup source storage area information of data and the corresponding relation of object storage area information, the data of object storage area are returned in the storage area of source, so do not need to resolve the file system of object storage area and source storage area yet, so can directly recover while recovering data, can not go wrong because file system changes.
Accompanying drawing explanation
The method flow diagram that Fig. 1 provides for one embodiment of the invention;
The schematic diagram of the BIOS Backup Data that Fig. 2 provides for one embodiment of the invention;
The electronic functionalities block diagram that Fig. 3 provides for one embodiment of the invention.
Embodiment
The embodiment of the present invention, by a kind of data processing method and electronic equipment are provided, has solved the technical matters that needs the file system at resolution data place to back up it in prior art.
The embodiment of the present invention needs the file system at resolution data place just can back up or recover technical matters for solution is above-mentioned, general thought is as follows:
Due to firmware (fi rmware) can for electronic equipment provide the bottom, the most direct hardware setting and control, so obtain after the first backup instruction at firmware, based on the first backup instruction, firmware obtains source storage area information and the object storage area information of data to be backed up, and the source storage area information based on obtaining and object storage area information, firmware backups to data to be backed up in object storage area by source storage area.
Owing to carrying out Backup Data by firmware and recovering data, need to not resolve for the file system of data to be backed up place storage area, so the technical scheme that the embodiment of the present invention provides is compatible strong, can be common in the electronic equipment that firmware is installed.
In order to make the technical staff in the technical field of the invention more clearly understand the present invention, below in conjunction with accompanying drawing, the technical scheme embodiment of the present invention being provided by specific embodiment is described in detail.
Embodiment mono-
The embodiment of the present invention one provides a kind of method of data processing, is applied on an electronic equipment, and electronic equipment is at least provided with a firmware, please refer to Fig. 1, and Fig. 1 is the method flow diagram that the present embodiment provides, and the method comprises:
S1: firmware obtains the first backup instruction;
S2: based on the first backup instruction, firmware obtains source storage area information and the object storage area information of data to be backed up;
S3: based on source storage area information and object storage area information, firmware backups to data to be backed up in object storage area by source storage area.
In the following description, to take electronic equipment as a computer, and firmware is BIOS(Basic Input Output System, Basic Input or Output System (BIOS)), storage area on the hard disk that source storage area and object storage area be take on computer is example, is described in detail.
In step S1, firmware obtains the first backup instruction, specifically, can be that BIOS obtains the first backup instruction, in the present embodiment, at connecting computer energize and press after power button (Power Button), the parameter that can use keyboard or key of other equipment input or one group of key just can enter BIOS arranges interface; In the present embodiment, in BIOS, can comprise that a backup recovers module, this backup recovers module provides the first backup button, so that user inputs the first backup instruction, user, click after the first backup button, electronic equipment response user's click input, BIOS just can obtain the first backup instruction.
In actual applications, the backup of design in BIOS recovers module and can be designed as an independent module in BIOS, also can embed in the existing module of design in BIOS, after having understood basic creative concept of the present invention, technician under this area can design easily backup and recover module, so just repeated no more at this, certainly, technician under this area can also be according to actual conditions, by different modes, make BIOS obtain the first backup instruction, safety such as the significant data in computer, can arrange a backup condition (as every a period of time just backup once or significant data increase fixing), when significant data meets backup condition, automatically to BIOS, send the first backup instruction, now BIOS can obtain the first backup instruction too, it is many in addition that the mode of this step is realized in this area, at this, just repeated no more.
In step S2, based on the first backup instruction, firmware obtains source storage area information and the object storage area information of data to be backed up,
In one embodiment, step S2 specifically comprises: firmware obtains source storage area information table and object storage area information table; Firmware is resolved source storage area information table and object storage area information table, obtains source storage area information and object storage area information.
Firmware obtains source storage area information table and object storage area information table, specifically, can be that firmware obtains source storage area information table and the object storage area information table that is stored in a predeterminable area, in the present embodiment, can be that BIOS obtains source storage area information table and the object storage area information table that is stored in predeterminable area, in actual applications, predeterminable area can be a storage area in the hard disk of computer, also can be a particular memory region on computer main board, certainly, also can be operable other modes of technician under other this areas, size information and the positional information that in the storage area information table of source, can comprise source storage area, size information and the positional information that in object storage area information table, can comprise object storage area.
Firmware is resolved source storage area information table and object storage area information table, obtain source storage area information and object storage area information, specifically, can be after firmware gets source storage area information table and object storage area information table in abovementioned steps, parsing source storage area information table and object storage area information table, from the storage area information table of source, obtain size information and the positional information of source storage area, from object storage area information table, obtain size information and the positional information of object storage area, in the present embodiment, can be that BIOS resolves source storage area information table, get size information and the positional information of source storage area, BIOS resolves object storage area information table, get size information and the positional information of object storage area.
In step S3, based on source storage area information and object storage area information, firmware backups to data to be backed up in object storage area by source storage area, specifically, can be that firmware is according to the source storage area information and the object storage area information that get in step S2, data to be backed up are backuped in object storage area by source storage area, in the present embodiment, can be that BIOS is according to source storage area information and the object storage area information of the data to be backed up that get, data to be backed up are backuped to object storage area by source storage area, in actual applications, source storage area and object storage area can be to be arranged in same memory device, in same hard disk, also can be arranged in different memory devices, such as being that source storage area is arranged in a hard disk, and object storage area is arranged in another hard disk.
Please refer to Fig. 2, Fig. 2 is the schematic diagram of the BIOS Backup Data that provides of the present embodiment, BIOS backup recovers module according to the source storage area information of data to be backed up and object storage area information, can determine position, memory sector, source and the position, object memory sector of data to be backed up, carry out the sector copy on hard disk, data to be backed up are backuped in object storage area by source storage area.Due to firmware (firmware) can for electronic equipment provide the bottom, the most direct hardware setting and control, do not need to resolve the file system of source storage area and the object storage area of data to be backed up, so come Backup Data and the scheme of recovering data compatible strong with firmware, applied widely, can not go wrong because file system changes.
In another embodiment, before step S2, method also comprises: obtain the second backup instruction; Based on the second backup instruction, the operating system of electronic equipment is obtained size information and the positional information of source storage area, and the size information of source storage area and positional information are stored in the storage area information table of source; Size information based on source storage area and positional information, operating system is obtained size information and the positional information of object storage area, and the size information of object storage area and positional information are stored in object storage area information table.
Obtain the second backup instruction, specifically, the operating system that can be electronic equipment obtains the second backup instruction, in the present embodiment, can be that user inputs an operational order or clicks an action button in the operating system of computer, computer just can obtain the second backup instruction, certain, technician under this area can also, according to actual conditions, adopt other mode to make electronic equipment can obtain the second backup instruction.
Based on the second backup instruction, the operating system of electronic equipment is obtained size information and the positional information of source storage area, and the size information of source storage area and positional information are stored in the storage area information table of source, specifically, can be according to the second backup instruction, the operating system of electronic equipment is obtained size information and the position of the source storage area of data to be backed up, and the size information of source storage area and positional information are stored in the storage area information table of source, in the present embodiment, can be according to the second backup instruction, the operating system of computer is such as Windows operating system, (SuSE) Linux OS etc., by standard A PI(Application Programming Interface, size information and the position of the source storage area that application programming interface) interface scans data to be backed up take, scanning result is stored in the storage area information table of source.
Size information based on source storage area and positional information, operating system is obtained size information and the positional information of object storage area, and the size information of object storage area and positional information are stored in object storage area information table, specifically, can be according to the size information of source storage area and positional information, the operating system of electronic equipment can be estimated according to the size of source storage area the size of object storage area, then according to the size of object storage area, provide interactive interface to allow user select the position of object storage area or electronic equipment automatically to determine the position of object storage area, and the size information of object storage area and positional information are stored in object storage area information table.
In the present embodiment, can be according to the size information of source storage area and positional information, the operating system of computer is estimated according to the size information of source storage area, thereby get the size information of object storage area, in concrete application, if do not adopt the method for data compression, the size of object storage area is at least the same with source storage area large, so the operating system of computer can be made the storage area that is more than or equal to storage area space, source in original hard drive space a list and select to determine for user, user, select just can get the positional information of object storage area after a storage area, or computer is automatically determined the position of object storage area, at this moment also can get the positional information of object storage area, after getting the size information and positional information of object storage area, the size information of object storage area and positional information are stored in object storage area information table.In actual applications, source storage area information table and object storage area information table can store in a default storage area, for firmware, obtain information wherein, default storage area can be the storage area in computer hard disc, also can be a storage area on computer main board, certainly, can also be operable other storage areas of technician under this area.
In another embodiment, before aforementioned " based on the second backup instruction, the operating system of electronic equipment is obtained size information and the positional information of source storage area " step, method also comprises: source storage area is simplified to processing.Source storage area is simplified to processing, specifically, can be that source storage area is carried out to garbage-cleaning and Disk Cleanup, comprise the cleaning garbage files in the storage area of source, and the cleaning of some disk fragmentses.In actual applications, data in use can inevitably produce some unnecessary garbage files and some disk fragmentses, by these, simplify processing, can be so that the data of final backup be more effective, data volume reduces, so the process of backup is accelerated, has reduced the time of Backup Data cost, the object storage space simultaneously taking also can diminish, and has saved storage space.
In another embodiment, before data to be backed up being backuped to object storage area by source storage area at firmware, method also comprises: treat Backup Data and compress processing.In actual applications, treat Backup Data and compress processing, the data compression technique that can use the affiliated technician in this area to use, such as lossy compression method or lossless compressiong etc.Due to when the Backup Data, treat Backup Data and carry out data compression process, can reduce the size of the shared object storage area of data to be backed up, reduce the disk space that backup file takies.
In another embodiment, after firmware backups in object storage area by data to be backed up by source storage area, method also comprises: the mapping table of source storage area information and object storage area information is stored in mapping table.The corresponding relation of source storage area information and object storage area information is stored in mapping table, specifically, because backup actions completes, data to be backed up are backuped in object storage area by source storage area, so just there is corresponding relation between source storage area and object storage area, the corresponding relation of source storage area information and object storage area information can be stored in mapping table.
In another embodiment, method also comprises: firmware obtains one and recovers instruction; Based on recovering instruction, firmware is resolved mapping table, obtains object storage area information and source storage area information; Firmware is carried out and is recovered instruction, and the data in object storage area are returned in the storage area of source.Specifically, can be that firmware obtains after a recovery instruction, based on recovering instruction, by resolving mapping table, obtain object storage area information and corresponding source storage area information with it, then firmware is carried out and is recovered instruction, and the data in object storage area are returned in the storage area of source.
Technical scheme in above-mentioned the embodiment of the present application, at least has following technique effect or advantage:
1, due to firmware (firmware) can for electronic equipment provide the bottom, the most direct hardware setting and control, do not need to resolve the file system of source storage area and the object storage area of data to be backed up, so come the scheme of Backup Data compatible strong with firmware, applied widely, can not go wrong because file system changes.
2, due to before Backup Data, treat the source storage area of Backup Data and simplify processing, reduce the size of the shared source storage area of data to be backed up, make the data of final backup more effective, data volume reduces, so the process of backup is accelerated, has reduced the time of Backup Data cost, the object storage space simultaneously taking also can diminish, and has saved storage space.
3, due to when the Backup Data, treat Backup Data and carry out data compression process, can reduce the size of the shared object storage area of data to be backed up, reduce the disk space that backup file takies.
4, because firmware is according to when backup source storage area information of data and the corresponding relation of object storage area information, the data of object storage area are returned in the storage area of source, so do not need to resolve the file system of object storage area and source storage area yet, so can directly recover while recovering data, can not go wrong because file system changes.
Embodiment bis-
The embodiment of the present application provides a kind of electronic equipment, please refer to Fig. 3, and Fig. 3 is the functional block diagram of the electronic equipment that provides of the present embodiment, and electronic equipment comprises: casing 101; One circuit board 102, is arranged in casing 101; One firmware chip 103, is arranged on circuit board 102; One memory storage 104, is arranged in casing 101, is connected with firmware chip 103; Wherein, firmware chip 103 is for obtaining the first backup instruction, and based on the first backup instruction, obtain source storage area information and the object storage area information of data to be backed up, and based on source storage area information and object storage area information, firmware chip 103 backups to data to be backed up in object storage area by source storage area.
In the present embodiment, firmware chip 103 is specifically for obtaining source storage area information table and object storage area information table, and resolves source storage area information table and object storage area information table, obtains source storage area information and object storage area information.
In the present embodiment, electronic equipment also comprises a process chip 105, on setting and circuit board 102, be connected with memory storage 104, process chip 105 is for obtaining the second backup instruction, and based on the second backup instruction, obtain size information and the positional information of source storage area, the size information of source storage area and positional information are stored in the storage area information table of source, also for the size information based on source storage area and positional information, obtain size information and the positional information of object storage area, and the size information of object storage area and positional information are stored in object storage area information table.
In the present embodiment, process chip 105 also for: obtain the size information and positional information of source storage area in process chip 105 before, source storage area is simplified to processing.
In the present embodiment, process chip 105 also for: before data to be backed up being backuped to object storage area by source storage area at firmware chip 103, data to be backed up are carried out to data compression process.
In the present embodiment, before data to be backed up being backuped to object storage area by source storage area at firmware chip 103, firmware chip 103 is also for storing the corresponding relation of source storage area information and object storage area information into mapping table.
In the present embodiment, firmware chip 103 is also for receiving a recovery instruction, based on recovering instruction, resolve mapping table, obtain object storage area source storage area information, and carry out and recover instruction, the data in object storage area are returned in the storage area of source.
Electronic equipment in the present embodiment and the data processing method in previous embodiment are two aspects based under same inventive concept, above, the implementation process of method has been done to detailed description, so those skilled in the art can be according to structure and the implementation process of the electronic equipment in aforementioned understanding the present embodiment being described clearly, succinct for instructions, has just repeated no more at this.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
1, due to firmware (firmware) can for electronic equipment provide the bottom, the most direct hardware setting and control, do not need to resolve the file system of source storage area and the object storage area of data to be backed up, so come the scheme of Backup Data compatible strong with firmware, applied widely, can not go wrong because file system changes.
2, due to before Backup Data, treat the source storage area of Backup Data and simplify processing, reduce the size of the shared source storage area of data to be backed up, make the data of final backup more effective, data volume reduces, so the process of backup is accelerated, has reduced the time of Backup Data cost, the object storage space simultaneously taking also can diminish, and has saved storage space.
3, due to when the Backup Data, treat Backup Data and carry out data compression process, can reduce the size of the shared object storage area of data to be backed up, reduce the disk space that backup file takies.
4, because firmware is according to when backup source storage area information of data and the corresponding relation of object storage area information, the data of object storage area are returned in the storage area of source, so do not need to resolve the file system of object storage area and source storage area yet, so can directly recover while recovering data, can not go wrong because file system changes.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not depart from the application to the application.Like this, if within these of the application are revised and modification belongs to the scope of the application's claim and equivalent technologies thereof, the application is also intended to comprise these changes and modification interior.

Claims (14)

1. a method for data processing, is applied on an electronic equipment, and described electronic equipment is at least provided with a firmware, it is characterized in that, described method comprises:
Described firmware obtains the first backup instruction;
Based on described the first backup instruction, described firmware obtains source storage area information and the object storage area information of data to be backed up;
Based on described source storage area information and described object storage area information, described firmware backups to described data to be backed up in object storage area by source storage area.
2. the method for claim 1, is characterized in that, described firmware obtains source storage area information and the object storage area information of data to be backed up, specifically comprises:
Described firmware obtains source storage area information table and object storage area information table;
Described firmware is resolved described source storage area information table and described object storage area information table, obtains described source storage area information and described object storage area information.
3. method as claimed in claim 2, is characterized in that, obtain the source storage area information table and object storage area information table of exchanges data subregion at described firmware before, described method also comprises:
Obtain the second backup instruction;
Based on described the second backup instruction, the operating system of described electronic equipment is obtained size information and the positional information of described source storage area, and the size information of described source storage area and positional information are stored in the storage area information table of described source;
Size information and positional information based on described source storage area, described operating system is obtained size information and the positional information of described object storage area, and the size information of described object storage area and positional information are stored in described object storage area information table.
4. method as claimed in claim 3, is characterized in that, obtain the size information and positional information of source storage area of data to be backed up in the operating system of described electronic equipment before, described method also comprises:
Described source storage area is simplified to processing.
5. the method as described in as arbitrary in claim 1 or 4, is characterized in that, before described firmware backups in described object storage area by described data to be backed up by described source storage area, described method also comprises:
Described data to be backed up are carried out to data compression process.
6. the method for claim 1, is characterized in that, in described firmware backups to described object storage area by described data to be backed up after, described method also comprises:
The corresponding relation of described source storage area information and described object storage area information is stored in mapping table.
7. method as claimed in claim 6, is characterized in that, described method also comprises:
Described firmware obtains one and recovers instruction;
Based on described recovery instruction, described firmware is resolved described mapping table, obtains described object storage area information and described source storage area information;
Described firmware is carried out described recovery instruction, and the data in described object storage area are returned in the storage area of described source.
8. an electronic equipment, is characterized in that, described electronic equipment comprises:
Casing;
One circuit board, is arranged in described casing;
One firmware chip, is arranged on described circuit board;
One memory storage, is arranged in described casing, is connected with described firmware chip;
Wherein, described firmware chip is used for obtaining the first backup instruction, and based on described the first backup instruction, obtain source storage area information and the object storage area information of data to be backed up, and based on described source storage area information and described object storage area information, described firmware chip backups to described data to be backed up in object storage area by source storage area.
9. electronic equipment as claimed in claim 8, it is characterized in that, described firmware chip is specifically for obtaining source storage area information table and object storage area information table, and resolve described source storage area information table and described object storage area information table, obtain described source storage area information and described object storage area information.
10. electronic equipment as claimed in claim 9, it is characterized in that, described electronic equipment also comprises a process chip, on setting and described circuit board, be connected with described memory storage, described process chip is used for obtaining the second backup instruction, and based on described the second backup instruction, obtain size information and the positional information of described source storage area, the size information of described source storage area and positional information are stored in the storage area information table of described source, also for size information and positional information based on described source storage area, obtain size information and the positional information of described object storage area, and the size information of described object storage area and positional information are stored in described object storage area information table.
11. want the electronic equipment as described in 10 as right, it is characterized in that, described process chip also for: obtain the size information and positional information of described source storage area in described process chip before, described source storage area is simplified to processing.
12. electronic equipments as described in as arbitrary in claim 8 or 11, it is characterized in that, described process chip also for: before described data to be backed up being backuped to described object storage area by described source storage area at described firmware chip, described data to be backed up are carried out to data compression process.
13. electronic equipments as claimed in claim 8, it is characterized in that, before described data to be backed up being backuped to object storage area by source storage area at described firmware chip, described firmware chip is also for storing the corresponding relation of described source storage area information and described object storage area information into mapping table.
14. electronic equipments as claimed in claim 13, it is characterized in that, described firmware chip is also for receiving a recovery instruction, based on described recovery instruction, resolve described mapping table, obtain source storage area information described in described object storage area, and carry out described recovery instruction, the data in described object storage area are returned in the storage area of described source.
CN201210360652.7A 2012-09-21 2012-09-21 A kind of data processing method and electronics Active CN103678047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210360652.7A CN103678047B (en) 2012-09-21 2012-09-21 A kind of data processing method and electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210360652.7A CN103678047B (en) 2012-09-21 2012-09-21 A kind of data processing method and electronics

Publications (2)

Publication Number Publication Date
CN103678047A true CN103678047A (en) 2014-03-26
CN103678047B CN103678047B (en) 2016-06-01

Family

ID=50315692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210360652.7A Active CN103678047B (en) 2012-09-21 2012-09-21 A kind of data processing method and electronics

Country Status (1)

Country Link
CN (1) CN103678047B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568556A (en) * 2021-07-05 2021-10-29 深圳康佳电子科技有限公司 Split screen control method and device, intelligent terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2898940Y (en) * 2006-01-26 2007-05-09 光宝科技股份有限公司 Backup card and electronic device for computer
CN101436150A (en) * 2007-10-15 2009-05-20 国际商业机器公司 Method and system for copying data onto a secondary storage device
CN101587451A (en) * 2008-05-20 2009-11-25 研祥智能科技股份有限公司 Data backup and recovery method based on extensible firmware interface (EFI) firmware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2898940Y (en) * 2006-01-26 2007-05-09 光宝科技股份有限公司 Backup card and electronic device for computer
CN101436150A (en) * 2007-10-15 2009-05-20 国际商业机器公司 Method and system for copying data onto a secondary storage device
CN101587451A (en) * 2008-05-20 2009-11-25 研祥智能科技股份有限公司 Data backup and recovery method based on extensible firmware interface (EFI) firmware

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568556A (en) * 2021-07-05 2021-10-29 深圳康佳电子科技有限公司 Split screen control method and device, intelligent terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN103678047B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US8738883B2 (en) Snapshot creation from block lists
CN110780890B (en) System upgrading method, device, electronic equipment and medium
US9600369B2 (en) Operating system recovery method and apparatus, and terminal device
CN108241550B (en) Backup and restoration method for operating system
TWI608345B (en) Operating system recovery method, device and terminal equipment
CN101930372A (en) System and method for updating programs
CN110162429B (en) System repair method, server and storage medium
CN105302663A (en) Mirror image starting method and terminal equipment
CN104809010A (en) Re-installing method and intelligent terminal
CN105320578A (en) Method and apparatus for backing up and recovering APP
CN113672340A (en) Incremental backup method, system and device of virtual machine and readable storage medium
CN103488516A (en) System repair method and electronic equipment
CN110795162A (en) Method and device for generating container mirror image file
CN104142838A (en) Method and equipment for starting up mobile communication terminal
CN104199682A (en) Information processing method and electronic equipment
CN103678047A (en) Data processing method and electronic equipment
CN116841799A (en) Virtual machine backup method, system, equipment and readable storage medium
CN104598278A (en) Data processing method and electronic equipment
CN106293819A (en) A kind of batch dispositions method based on snapshot and system
CN104461767A (en) Information processing method and electronic equipment
CN104252366A (en) System recovery method, device, processor and storage
EP2813947B1 (en) Electronic device and method for mounting file system using virtual block device
WO2011092151A1 (en) Target operating system and file system agnostic bare-metal restore
US8495033B2 (en) Data processing
CN113051122A (en) Performance data acquisition method, performance data acquisition device, electronic equipment and medium

Legal Events

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