CN104503870A - Electronic device and data processing method - Google Patents

Electronic device and data processing method Download PDF

Info

Publication number
CN104503870A
CN104503870A CN 201510026040 CN201510026040A CN104503870A CN 104503870 A CN104503870 A CN 104503870A CN 201510026040 CN201510026040 CN 201510026040 CN 201510026040 A CN201510026040 A CN 201510026040A CN 104503870 A CN104503870 A CN 104503870A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
data
electronic device
communication device
memory
uefi
Prior art date
Application number
CN 201510026040
Other languages
Chinese (zh)
Inventor
毕洪江
Original Assignee
联想(北京)有限公司
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

Links

Abstract

Provided are an electronic device and a data processing method for the electronic device. The electronic device comprises a first memorizer for memorizing a unified extensible firmware interface (UEFI) system and a second memorizer for memorizing operation data relevant with operation of the electronic device, wherein the UEFI system comprises a network drive interface and can be in communicated connection with a communication device through the network drive interface so as to transfer data between the electronic device and the communication device, the capacity of the second memorizer is larger that of the first memorizer, the UEFI system backs up a part of data in the second memorizer in the communication device after being in communicated connection with the communication device through the network drive interface. By means of the technical scheme, the electronic device can conveniently and safely perform data backup but is not limited to an operation system of the electronic device, and accordingly the data recovery capability of the electronic device is effectively ensured.

Description

电子设备和数据处理方法 Electronic data processing method and apparatus

技术领域 FIELD

[0001] 本发明涉及电子技术领域,更具体地,涉及一种电子设备和用于其的数据处理方法。 [0001] The present invention relates to electronic technologies, and more particularly, to an electronic apparatus and a data processing method thereof.

背景技术 Background technique

[0002] 在电子设备的硬盘中存储了大量的内容数据,例如电子设备的操作系统文件、文本文件、视频文件等。 [0002] a large amount of content data stored in the hard disk of the electronic device, such as an electronic device operating system files, text files, video files and the like. 当电子设备被不当地使用、或者遭受病毒攻击时,其上的内容数据可能被破坏。 When the electronic device is improperly used or virus attack, the contents of the data may be corrupted. 因此,通常需要对电子设备中的内容数据进行备份,也就是说,将硬盘中的内容数据存储在其它位置,从而在所述内容数据被破坏时,从而从其它位置中获取所述内容数据,即恢复所述内容数据。 Accordingly, the content data is often necessary to back up the electronic device, i.e., the content data stored in the hard disk in the other positions, thereby to acquire the content data from the other locations when the content data is destroyed, the content data is restored.

[0003] 通常,开发专门的恢复应用程序来对数据进行备份和恢复。 [0003] In general, the development of specialized applications to restore data backup and recovery. 所述恢复应用程序可以在电子设备的操作系统下运行,并将硬盘上的内容数据存储到硬盘中的其它存储地址进行备份。 The recovery applications can run under the operating system of the electronic device, and storing the content data on the hard disk to another memory address in the hard disk for backup. 该恢复应用程序的尺寸通常较大,并被安装在电子设备的硬盘上。 The size of the recovery application is usually large, and installed on the hard disk of the electronic device. 如果所述电子设备的硬盘被损坏或者要更换所述硬盘,则可能导致用于存储已备份数据的存储区域被损坏,并且可能导致安装在电子设备的硬盘上的恢复应用程序无法运行,从而无法恢复所备份的内容数据。 If the electronic device is damaged or to replace the hard disk of the hard disk, it may result in a storage area for storing backup data has been corrupted, and may result in the application installed on the hard disk to restore the electronic device can not run, and thus can not restore the contents of data being backed up.

[0004]目前,还可以通过所述恢复应用程序将内容数据备份到移动硬盘。 [0004] Currently, the recovery may be by application of the contents of the backup data to the mobile hard disk. 这样,当电子设备中的硬盘被损坏或者要更换所述硬盘时,可以通过移动硬盘将所备份的数据传送到新硬盘上,以恢复硬盘上的数据。 Thus, when the electronic device is damaged or to replace the hard disk of the hard disk, a removable hard disk by transferring the backup data to the new hard to recover the data on the hard disk. 然而,在此方案中,在进行数据备份和恢复时,需要手动地插入所述移动硬盘,用户操作不便;并且移动硬盘本身也容易丢失和损坏,不能有效地保证已备份数据的安全性。 However, in this embodiment, at the time of data backup and recovery, the need to manually insert a removable disk, a user inconvenient operation; and the mobile hard disk itself easily lost or damaged, you can not effectively guarantee the security of data backed up.

[0005] 因此,期望提供一种技术解决方案来方便且安全地进行数据备份,以更有效地保证电子设备的数据恢复能力。 [0005] Accordingly, it is desirable to provide a technical solution conveniently and safely backed up data to more effectively ensure the recovery data of the electronic device.

发明内容 SUMMARY

[0006] 本申请实施例提供了一种电子设备和用于其的数据处理方法,其使得电子设备能够方便且安全地进行数据备份而不受限于其操作系统,从而有效地保证了电子设备的数据恢复能力。 Example embodiments provide an electronic apparatus and a data processing method thereof for [0006] the present application, so that the electronic device can be conveniently and safely without the backup data is limited by its operating system, which effectively ensure the electronic device data recovery capabilities.

[0007] 第一方面,提供了一种电子设备。 [0007] In a first aspect, there is provided an electronic device. 该电子设备可包括:第一存储器,用于存储统一可扩展固件接口UEFI系统,该UEFI系统包括网络驱动接口,并且能够利用该网络驱动接口与一通信设备建立通信连接,以在所述电子设备与该通信设备之间传递数据;第二存储器,其容量大于所述第一存储器的容量,用于存储与电子设备的运行相关的运行数据。 The electronic device may include: a first memory for storing UEFI Unified Extensible Firmware Interface system, the UEFI driver interface system includes a network, the network and can utilize a communication device driver interface establishing a communication connection to the electronic device communicating data between the communication device and; a second memory capacity greater than the capacity of said first memory for storing operational data of the electronic device operation associated. 所述UEFI系统在利用网络驱动接口与所述通信设备建立通信连接之后,可以将第二存储器中的至少一部分数据备份到所述通信设备。 The UEFI system after establishing a communication connection using the network driver interface and the communication device, at least a portion may be backed up data in the second memory to the communication device.

[0008] 结合第一方面,在第一方面的一种实现方式中,所述UEFI系统可通过如下操作与通信设备建立通信连接:产生用于标识该电子设备的第一标识;以广播方式发送查询消息,该查询消息包括所述第一标识;从所述通信设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识。 [0008] with the first aspect, one implementation of the first aspect, the communication connection may be established by UEFI system operating with a communication device of: generating a first identifier for identifying the electronic device; broadcasts query message, the query message includes the first identifier; receiving a response message from the communication device, the response message includes a second identifier for identifying the communication device.

[0009] 结合第一方面及其上述实现方式,在第一方面的另一实现方式中,所述UEFI系统可以在所述电子设备第一次启动时基于所述电子设备的媒体接入控制地址和启动时间生成所述第一标识。 [0009] implemented with the first aspect and the foregoing embodiment, another implementation of the first aspect, the system may UEFI media access control address of the electronic device when the electronic apparatus based on the first start and start-up time to generate the first identification.

[0010] 结合第一方面及其上述实现方式,在第一方面的另一实现方式中,所述网络驱动接口可以是通用网络驱动接口UNDI,所述UEFI系统可通过所述通用网络驱动接口UNDI以广播方式发送所述查询消息。 [0010] implemented with the first aspect and the foregoing embodiment, another implementation of the first aspect, the network driver interface may be a general purpose network driver interface UNDI, the UEFI system through the general purpose network driver interface UNDI sending the query message in a broadcast manner.

[0011] 结合第一方面及其上述实现方式,在第一方面的另一实现方式中,所述UEFI系统可通过如下操作将第二存储器中的至少一部分数据备份到所述通信设备:基于第二标识向通信设备发送所述第二存储器中的至少一部分数据;以及从所述通信设备接收确认消息。 [0011] implemented with the first aspect and the foregoing embodiment, another implementation of the first aspect, the UEFI system may backup at least a portion of the second data memory to said communication device via the following operations: based on second identification transmission to the second memory at least part of the data communication device; and receiving an acknowledgment message from the communication device. 当需要恢复所述至少一部分数据的备份数据时,所述UEFI系统可通过如下操作恢复所述至少一部分数据:向所述通信设备发送恢复请求,该恢复请求包括所述至少一部分数据的备份数据的标识;从所述通信设备接收所述备份数据;向所述通信设备发送确认消息。 When the need to restore the backup data of at least a portion of the data, the system may UEFI data restore at least a portion of the following: the communication device transmits to the resume request, the request to restore the backup data comprises at least a portion of the data identification; the communication device receives from the backup data; sending an acknowledgment message to the communication device.

[0012] 结合第一方面及其上述实现方式,在第一方面的另一实现方式中,所述第二存储器中的所备份的至少一部分数据可以是电子设备的操作系统文件,所述第二存储器上可存储有恢复应用程序,所述恢复应用程序将操作系统文件备份到所述电子设备中。 [0012] implemented with the first aspect and the foregoing embodiment, another implementation of the first aspect, at least a portion of said second data memory backed up operating system files may be an electronic device, the second may be stored on a memory recovery applications, the operating system restoration application file backup to the electronic device.

[0013] 结合第一方面及其上述实现方式,在第一方面的另一实现方式中,当需要恢复所述操作系统文件时,所述恢复应用程序可以首先从所述电子设备中获取所述操作系统文件的备份数据,以恢复操作系统。 [0013] implemented with the first aspect and the foregoing embodiment, another implementation of the first aspect, when the operating system needs to restore the file, the restore application may first obtain the electronic device from the data backup operating system files in order to restore the operating system. 当所述恢复应用程序不能从所述电子设备中获取所述操作系统文件的备份数据时,所述固件接口系统从所述通信设备中获取所述操作系统文件的备份数据。 When acquiring the application can not restore the backup data file of the operating system from the electronic device, the interface system firmware acquires the backup data file of the operating system from the communication device.

[0014] 第二方面,提供了一种数据处理方法,可应用于电子设备。 [0014] In a second aspect, there is provided a data processing method can be applied to electronic devices. 该电子设备可包括第一存储器和容量大于所述第一存储器的容量的第二存储器。 The electronic device may include a first memory and a first memory capacity is greater than the capacity of the second memory. 该第一存储器可存储有统一可扩展固件接口UEFI系统。 The first memory may store a unified extensible firmware interface UEFI system. 该UEFI系统可包括用于与一通信设备建立通信连接的网络驱动接口。 The UEFI system may comprise a network for establishing a communication connection with a communication device driver interface. 该第二存储器可用于存储与电子设备的运行相关的运行数据。 The second memory may be used to store operational data of the electronic device operation associated. 所述数据处理方法可包括:利用网络驱动接口与所述通信设备建立通信连接;利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备。 The data processing method may comprise: establishing a communication connection using the network driver interface and the communication device; Network Driver Interface using the backup data at least a portion of the second memory to the communication device.

[0015] 结合第二方面,在第二方面的一种实现方式中,所述利用网络驱动接口与所述通信设备建立通信连接可包括:利用所述UEFI系统产生用于标识该电子设备的第一标识;利用网络驱动接口以广播方式发送查询消息,该查询消息包括所述第一标识;从所述通信设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识。 [0015] combination with the second aspect, one implementation of the second aspect, establishing the network driver interface using the communication connection may include a communication device: generating a first electronic device for identifying the system using the UEFI an identification; utilizing network driver Interface is a broadcast query message, the query message includes the first identifier; receiving a response message from the communication device, the response message includes a second identifier for identifying the communication device.

[0016] 结合第二方面及其上述实现方式,在第二方面的另一实现方式中,所述利用所述UEFI系统产生用于标识该电子设备的第一标识可包括:在所述电子设备第一次启动时,通过UEFI系统获取所述电子设备的媒体接入控制地址和启动时间;基于所获取的媒体接入控制地址和启动时间生成所述第一标识。 [0016] Its combination with the second aspect of the above implementation manner, another implementation of the second aspect, generating a first identifier for identifying the electronic device may include the use of the UEFI system: in the electronic device when the first start, acquiring the electronic device through a media access control address UEFI system and start time; based on the acquired media access control address and start-up time to generate the first identification.

[0017] 结合第二方面及其上述实现方式,在第二方面的另一实现方式中,所述网络驱动接口可以是通用网络驱动接口UNDI,所述利用网络驱动接口以广播方式发送查询消息可包括:利用通用网络驱动接口UNDI以广播方式发送查询消息。 [0017] Its combination with the second aspect of the above implementation manner, another implementation of the second aspect, the network driver interface may be a general purpose network driver interface to the UNDI, using the network driver interface is a broadcast query message may be comprising: UNDI sends a query message in a broadcast manner using universal network Device Interface.

[0018] 结合第二方面及其上述实现方式,在第二方面的另一实现方式中,利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备可包括:基于第二标识向通信设备发送所述第二存储器中的至少一部分数据;和从所述通信设备接收针对所述至少一部分数据的确认消息。 [0018] Its combination with the second aspect of the above implementation manner, another implementation of the second aspect, using the network driver interface backup at least a portion of the second data memory to said communication device may comprise: a second identification based on transmitting the at least a portion of the data in the second memory to the communication device; and receiving from the communication device for the confirmation message at least a portion of the data. 所述数据处理方法还可以包括:当需要恢复所述至少一部分数据的备份数据时,通过所述网络驱动接口向所述通信设备发送恢复请求,该恢复请求包括该至少一部分数据的备份数据的标识;从所述通信设备接收所述备份数据;以及向所述通信设备发送确认消息。 The data processing method may further include: when it is necessary to restore the backup data at least a portion of the data, is driven by the network interface to the communication device transmits a recovery request, the restoration request including identification data of at least a portion of the backup data ; from the communication device receiving the backup data; and transmitting a confirmation message to the communication device.

[0019] 结合第二方面及其上述实现方式,在第二方面的另一实现方式中,所述第二存储器中的所备份的至少一部分数据可以是电子设备的操作系统文件,所述第二存储器上存储有恢复应用程序,该数据处理方法还可包括:利用所述恢复应用程序将所述操作系统文件备份到所述电子设备中。 [0019] Its combination with the second aspect of the above implementation manner, another implementation of the second aspect, at least a portion of said second backup data memory may be an electronic device operating system files, the second there are stored on the memory recovery applications, the data processing method further comprising: using the application program to restore the backed up operating system files to the electronic device.

[0020] 结合第二方面及其上述实现方式,在第二方面的另一实现方式中,所述数据处理方法还可包括:当需要恢复所述操作系统文件时,利用所述恢复应用程序从所述电子设备中获取操作系统文件的备份数据,以恢复操作系统;当不能从所述电子设备中获取所述操作系统文件的备份数据时,利用所述UEFI系统从所述通信设备中获取所述操作系统文件的备份数据。 [0020] Its combination with the second aspect of the above implementation manner, another implementation of the second aspect, the data processing method further comprising: when it is necessary to restore the operating system files, application using said recovery from the electronic device acquires the backup data file of the operating system, to restore the operating system; the backup data can not be acquired when the operating system files from the electronic device, by using the UEFI system obtains from the communication device said operating system files in the backup data.

[0021] 在根据本申请实施例的电子设备和用于其的数据处理方法的技术方案中,利用可扩展固件接口UEFI系统与一通信设备建立通信连接,而将所述电子设备中的数据备份到所述通信设备,这使得电子设备能够方便且安全地进行数据备份而不受限于其操作系统,从而有效地保证了电子设备的数据恢复能力。 [0021] In the electronic device the backup data in the electronic device according to an embodiment of the present application and techniques for data processing method of the embodiment thereof, the use of the Extensible Firmware Interface UEFI systems and communication device establish a communication connection, and to the communication device, the electronic device which makes it possible to easily and safely without the backup data is limited by its operating system, which effectively ensure the recovery data of the electronic device.

附图说明 BRIEF DESCRIPTION

[0022] 为了更清楚地说明本申请实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。 [0022] In order to more clearly illustrate the technical solutions according to embodiments of the present application, the accompanying drawings briefly described embodiments or the prior art needed to be used in describing the embodiments. Apparently, the drawings described below are merely present in aPPLICATIONS Some embodiments of the present art ordinary skill, without creative efforts, can derive from these drawings other drawings.

[0023] 图1示意性图示了根据本申请实施例的应用场景; [0023] Figure 1 schematically illustrates an application scenario of an embodiment of the present application;

[0024] 图2是示意性图示了根据本申请实施例的电子设备的框图; [0024] FIG. 2 is a schematic block diagram illustrating an electronic device according to an embodiment of the present application;

[0025] 图3示意性图示了图2中的电子设备建立通信连接的过程; [0025] FIG. 3 schematically illustrates a process of establishing a communication connection in an electronic device of FIG 2;

[0026] 图4示意性图示了图3中的电子设备对数据进行备份和恢复的过程; [0026] FIG 4 schematically illustrates an electronic device in FIG. 3 for data backup and recovery process;

[0027] 图5是示意性图示了根据本申请实施例的数据处理方法的流程图; [0027] FIG. 5 is a schematic flowchart illustrating a data processing method according to an embodiment of the present application;

[0028] 图6是示意性图示了图5的数据处理方法的实现示例的流程图; [0028] FIG. 6 is a schematic flowchart illustrating an example implementation of the data processing method of Figure 5;

[0029] 图7是示意性图示了根据本申请实施例的另一数据处理方法的流程图; [0029] FIG. 7 is a schematic flow chart illustrating another data processing method according to an embodiment of the present application;

[0030] 图8是示意性图示了根据本申请实施例的又一数据处理方法的流程图。 [0030] FIG. 8 is a schematic flowchart illustrating a data processing method according to still another embodiment of the present application.

具体实施方式 Detailed ways

[0031] 下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。 [0031] below with reference to this application example of the accompanying drawings, technical solutions in the embodiments will be apparent to the present application, fully described, obviously, the embodiments described in the present application embodiment, a portion, but not all embodiments .

[0032] 图1示意性图示了根据本申请实施例的应用场景。 [0032] Figure 1 schematically illustrates an application scenario of an embodiment of the present application. 如图1所示,第一电子设备10可以与第二电子设备20进行通信,将第一电子设备10中的需要备份的备份数据传送到第二电子设备20,并在需要时从第二电子设备20获取先前传送的备份数据,以进行数据恢复。 As shown, the first and the second electronic device 10 may be an electronic communication device 20, transmits the backup data to be backed up in the electronic device 10 of the first to the second electronic device 20, and if required from the second electronic device 20 acquires the backup data previously transmitted to data recovery.

[0033] 所述第一电子设备10例如是台式计算机、笔记本计算机、平板计算机、个人数字助理、服务器等。 [0033] The first electronic device 10, for example, a desktop computer, a notebook computer, a tablet computer, a personal digital assistant, server or the like. 所述第二电子设备20可以是个人计算机、服务器、网络存储器、家庭云中心(HCC,home cloud center)等。 The second electronic device 20 may be a personal computer, a server, network storage, home center of the cloud (HCC, home cloud center) and the like. 该家庭云中心典型地被实施在计算机上。 The home center of the cloud is typically implemented on a computer. 第一电子设备10和第二电子设备20中任一个电子设备的类型不构成对本申请实施例的限制。 The electronic device of a type in any of the first electronic device 10 and second electronic device 20 does not limit the embodiments of the present application. 第一电子设备10可以以现有的或将来出现的各种通信方式与第二电子设备20进行通信。 The first electronic device 10 may communicate with a second electronic device 20 to various existing or future communication appears. 所述无线通信方式可以为无线通信方式,也可以为有线通信方式。 The wireless communication system may be a wireless communication system may be wired communication.

[0034] 在传统的数据备份方式中,第一电子设备10利用其中安装的恢复应用程序来进行数据备份。 [0034] In a conventional data backup, the first electronic device 10 using the recovery data backup application installed therein. 然而,该恢复应用程序的运行依赖于第一电子设备10的操作系统。 However, the restore application program dependent on the operating system running a first electronic device 10. 当该操作系统由于第一电子设备10中的存储器故障或者软件故障等而不能运行时,该恢复应用程序也无法恢复所备份的数据。 When the operating system can not run because the first electronic device 10 in a memory failure or software failure, the application can not recover the recover the backed up data. 在本申请的实施例中,利用第一电子设备10中的固件接口系统来实现数据的备份。 In an embodiment of the present application to backup data using firmware interface system 10 of the first electronic device. 该固件接口系统在加载第一电子设备10中的操作系统之前就能运行,其不依赖于第一电子设备10中的操作系统的运行。 The interface system can run firmware before loading the operating system in the first electronic device 10, which does not depend on the operating system running in a first electronic device 10. 因此,第一电子设备10需要对数据进行备份或恢复时,即使第一电子设备10中的操作系统不能工作,也可以实现备份和恢复操作,从而保护第一电子设备10中的数据。 Therefore, the first electronic device 10 requires data backup or restore, even when the first electronic device 10 operating system does not work, backup and restore operations can be implemented to protect data in the first electronic device 10.

[0035] 图2是示意性图示了根据本申请实施例的电子设备200的框图。 [0035] FIG. 2 is a schematic block diagram illustrating an embodiment of an electronic device 200 according to the present application. 该电子设备200对应于如图1所示的第一电子设备10。 The electronic device 200 corresponds to a first electronic device 10 shown in FIG. 1.

[0036] 如图2所不,该电子设备200可包括:第一存储器210,用于存储统一可扩展固件接口UEFI系统,该UEFI系统包括网络驱动接口,并且能够利用该网络驱动接口与一通信设备建立通信连接,以在所述电子设备与该通信设备之间传递数据;第二存储器220,其容量大于所述第一存储器的容量,用于存储与电子设备的运行相关的运行数据。 [0036] FIG. 2 is not, the electronic device 200 may comprise: a first memory 210 for storing a Unified Extensible Firmware Interface UEFI system, the UEFI driver system includes a network interface, and this can be utilized to communicate with a Network Driver Interface establishing a communication connection device, to transfer data between the electronic device and the communications device; a second memory 220, a capacity greater than the capacity of said first memory for storing operational data of the electronic device operation associated. 第一存储器210中的UEFI系统在利用网络驱动接口与所述通信设备建立通信连接之后,将第二存储器中的至少一部分数据备份到所述通信设备。 A first memory 210 in the UEFI system after establishing a communication connection using the network driver interface and the communication device, at least a portion of the backup data in the second memory to the communication device.

[0037] 所述第一存储器210可以是专用于存储该统一可扩展固件接口UEFI系统的存储器,并将UEFI系统作为固化程序存储到其中。 [0037] The first memory 210 may be dedicated to storing the Unified Extensible Firmware Interface UEFI system memory, and stores therein a system UEFI firmware. 统一可扩展固件接口UEFI系统用于在电子设备200的操作系统被加载之前,为电子设备200提供启动服务。 Unified Extensible Firmware Interface UEFI system before the operating system for the electronic device 200 is loaded, start the services provided for the electronic device 200. 替换地,该第一存储器210还可以是高速读写存储器中的一部分。 Alternatively, the first memory 210 may also be part of a high-speed read-write memory. 当电子设备200开机时,执行该UEFI系统。 When the electronic device 200 turned on, execution of the UEFI system. 该UEFI系统对电子设备200中的器件进行初始化工作,该器件例如为中央处理单元、第二存储器220等。 The UEFI system components of the electronic device 200 for initialization, the device, for example, a central processing unit, a second memory 220 and the like. 然后,该UEFI系统加载电子设备200中的各种总线及设备驱动。 Then, the loaded UEFI system bus and various device drivers in the electronic apparatus 200.

[0038] 该UEFI系统被设计为具有网络驱动接口,以增强其联网功能。 [0038] The system is designed to have UEFI network driver interface to enhance its networking. 通过该网络驱动接口,电子设备200可以与其它电子设备(例如,通信设备)建立通信连接,以在所述电子设备与其它电子设备之间传递数据。 Driver interface, the electronic device 200 can communicate with other electronic devices (e.g., communication device) establishes a communication connection via the network, to transfer data between the electronic device and other electronic devices. 该网络驱动接口可以是通用网络驱动接口(UNDI,universal network driving interface),也可以是其它类型的网络接口。 The network driver interface may be a Universal Network Device Interface (UNDI, universal network driving interface), or may be another type of network interface.

[0039] 第二存储器220可以是各种可读写存储器,典型地是固态硬盘。 [0039] The second memory 220 may be a variety of readable and writable memory, typically a solid state drive. 第二存储器220例如可以存储电子设备中的操作系统文件。 The second memory 220 may store operating system files, for example, in an electronic device. 此外,在电子设备的运行过程中,在操作系统运行下的各种应用程序可能产生各种数据,也可能从网络下载各种数据,或者从其它设备接收各种数据,所有这些数据都可以存储在第二存储器220。 Further, during operation of the electronic device, may be generated in a variety of applications under a variety of operating system data, various data may also be downloaded from a network or receives various data from other devices, all this data may be stored in the second memory 220. 也就是说,第二存储器220可存储与电子设备的运行相关的各种数据。 That is, operation 220 may store various electronic memory device data related to a second. 第二存储器220对所存储的数据的类型没有限制,其容量典型地大于所述第一存储器的容量。 The second type of memory 220 the stored data is not limited, and its capacity is typically greater than the capacity of the first memory. 如果需要,第二存储器220上的任何数据都可以备份。 If desired, any data on the second memory 220 can be backed up.

[0040] 电子设备200在利用所述UEFI系统中的网络驱动接口与通信设备建立通信连接之后,可以将第二存储器中的至少一部分数据传送到所述通信设备,并且,在需要恢复所述至少一部分数据时,可以从所述通信设备读取先前备份的数据,以进行数据恢复。 [0040] The electronic device driver interface 200 and a network communication device using the UEFI system after the communication connection is established, data can be transferred at least a portion of the second memory to the communication device, and the need to recover at least when a portion of the data, the data communication can be backed up previously from the reading device to perform data recovery. 下文中,以所述通信设备是家庭云中心HCC为例进行描述。 Hereinafter, the communication device is in the home is described as an example HCC center of the cloud. 此外,电子设备200除了包括第一存储器210和第二存储器220之外,还还以包括其它的组成器件。 Further, in addition to the electronic device 200 comprises a first memory 210 and second memory 220, but also further include other constituent devices.

[0041] 图3示意性图示了图2中的电子设备200与家庭云中心HCC建立通信连接的过程。 [0041] FIG. 3 schematically illustrates a process of the electronic device 200 of FIG. 2 establish a communication connection with the home center of the cloud HCC. 为了建立通信连接,电子设备200需要具有用于标识其的标识符。 To establish a communication connection, the electronic device 200 has a need for identifying an identifier thereof. 如图3所示,该电子设备200中的UEFI系统产生用于标识该电子设备的第一标识(Ml)。 As shown in FIG. 3, UEFI system 200 generates the electronic device for identifying the first electronic device identification (Ml). 作为示例,所述UEFI系统可以在所述电子设备200第一次启动时基于所述电子设备200的媒体接入控制(MAC,media access control)地址和启动时间生成所述第一标识,即在第一标识中包括MAC地址和第一启动的启动时间二者的信息。 As an example, the system may be based UEFI when the electronic apparatus 200 starts the first electronic device 200 is a media access control (MAC, media access control) address, and start time of generating the first identifier, i.e. the first identification information included in both the MAC address and the start time of the first start. 也就是说,电子设备可以事先生成其第一标识,以便在需要时随时获取。 That is, the electronic device may generate its first identification in advance, in order to obtain at any time when needed. 具体地,电子设备200可以在第一次使用时产生MAC地址加时间的码字(即第一标识),并将该码字包括在第一存储器210中。 In particular, the electronic device 200 may generate the MAC address codeword plus time (i.e., first identification) used in the first and in the codeword includes a first memory 210. 替换地,所述UEFI系统还可以仅仅基于所述电子设备200的MAC地址生成所述第一标识,这是因为每个电子设备的MAC地址通常是全球唯一的。 Alternatively, the system may also be based only UEFI MAC address of the electronic device 200 generates the first identification because the MAC address of each electronic device usually are globally unique. 所采用的生成第一标识的方式不构成对本申请实施例的限制。 Generating a first identification of the manner employed does not limit embodiments of the present application. HCC设备也需要产生用于标识其的第二标识。 HCC is also required to generate a second identification device for identification thereof. 类似地,该HCC设备也可以基于其MAC地址来生成第二标识,也可以根据用户的设置来生成该第二标识。 Similarly, the HCC device may be based on its MAC address to generate a second identification, may be generated according to the user identifier of the second set. 该第二标识也可以是事先生成的,并且可以在需要时随时获取。 The second identifier may be generated in advance, and may be acquired at any time when necessary.

[0042] 当电子设备200需要建立通信连接时,UEFI系统可以以广播方式发送查询消息,该查询消息包括所述第一标识(M2);并从所述HCC设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识。 [0042] When the electronic device 200 need to communicate, the UEFI system may send a broadcast query message, the query message comprising the first identification (M2); and HCC receives the response message from the device, the response message comprising a second identifications of the communication device. 电子设备200也许可以与多个通信设备建立通信连接,但是其可能并不确定哪个通信设备能够提供存储空间来备份其数据。 The electronic device 200 may be able to establish a communication connection with a plurality of communication devices, but it may not be possible to determine which communication device provides storage for backing up its data. 因此,在M2中,UEFI系统通过网络驱动接口(例如,UNDI)以广播方式发送查询消息,能够提供存储空间来备份数据的通信设备则产生响应消息,不能够提供存储空间来备份数据的通信设备则不产生响应消息,UEFI系统与接收到其响应消息的通信设备建立通信连接。 Thus, M2 is, the UEFI system via a network driver interface (e.g., the UNDI) is a broadcast query message, it is possible to provide storage space for backup communication device data is generated in response to the message, not able to provide storage space for backup communication device data response message is not generated, UEFI system that establishes a communication with the receiving communication device the connection response message. 这样,电子设备200可以简易地发现用于备份数据的HCC设备。 Thus, the electronic device 200 can easily find HCC apparatus for backing up data.

[0043] 图3所示的建立通信连接的方式仅仅是示意性的。 Establishing a communication connection mode as shown in [0043] FIG. 3 is merely illustrative. 此外,电子设备200还可以采取其它的方式来确定用于备份数据的设备,例如,以轮询方式以此查询各个通信设备。 In addition, the electronic device 200 may also take other way to determine the device for backing up data, e.g., in this polling query communication devices. 要注意,所述建立通信连接的操作除了可以在需要进行数据备份的时候执行之外,还可能在需要恢复所备份的数据的时候执行。 It is noted that the operation of establishing a communication connection may be needed in addition to the time data backup is performed, may also be performed in the need to restore the data backed up time.

[0044] 在电子设备200与HCC设备建立了通信连接之后,电子设备200可以将第二存储器220上的需要备份的数据传送到HCC设备。 [0044] In the electronic apparatus 200 after establishing a communication connection with HCC device, the electronic device 200 may transmit the data to back up a second memory device 220 to the HCC. 图4示意性图示了图2中的电子设备对数据进行备份和恢复的过程。 4 schematically illustrates an electronic device in FIG. 2 for data backup and recovery process. 这里,假设第二存储器220上的需要备份的数据是电子设备200的操作系统文件。 Here, assume that the data to be backed up on the second memory 220 is an electronic device 200 operating system files. 当然,需要备份的数据还可以是第二存储器220上的任何其它数据。 Of course, the data to be backed up may also be any other data on the second memory 220.

[0045] 如图4所示,在电子设备200与HCC设备建立了通信连接之后,所述UEFI系统通过如下操作将第二存储器中的操作系统文件备份到所述通信设备:基于第二标识向HCC设备发送所述操作系统文件(M4);以及从所述HCC设备接收确认消息(M5)。 [0045] As shown, the electronic apparatus 200 after establishing a communication connection with HCC apparatus, the UEFI system 4 by operating the backup operating system files in a second memory of the communications device to: based on the second identification HCC apparatus transmits the operating system files (M4); and receiving an acknowledgment message from the HCC device (M5). HCC设备在接收到所述操作系统文件之后,其例如以电子设备200的第一标识作为目录保存所述操作系统文件,并且在保存完成之后向电子设备发送确认消息(即M5)。 HCC device after receiving the operating system files, for example, to identify a first electronic device 200 as a file directory that holds the operating system, and sends an acknowledgment message to the electronic device after completion of storage (i.e., M5). 该确认消息的传输有助于确保备份的实现。 Transmission of the acknowledgment message helps to ensure backup. 如果所述电子设备在预定时间内容没有接收到所述确认消息,其可以重新执行M4。 If the electronic device in the confirmation message is not received for a predetermined time content, which may be re-executed M4. 此外,HCC设备在M5中发送的确认消息可包括其中存储的所述操作系统文件的备份数据的标识,以用于恢复。 In addition, the acknowledgment message sent by the HCC in M5 may include identifying the backup data file where the operating system is stored, for recovery.

[0046] 当所述第二存储器220中的所述操作系统文件被损坏时,所述UEFI系统可以从HCC设备接收所备份的操作系统文件,并在电子设备200恢复其操作系统。 Operating system file [0046] When the second operating system file of the memory 220 is damaged, the system can be backed up UEFI HCC device received from its operating system and restore the electronic device 200. 如图4所示,所述UEFI系统可通过如下操作恢复所述操作系统文件:向所述HCC设备发送恢复请求,该恢复请求包括所述操作系统文件的备份数据的标识(M6);从所述HCC设备接收所述操作系统文件的所述备份数据(M7);向所述HCC设备发送确认消息(M8)。 4, the UEFI system may resume operation by the operating system files: resume request to the transmitting apparatus HCC, the backup data restoration request includes an identification of the operating system files (M6); from the the HCC receives said backup data file system of the operating device (M7); HCC sends a confirmation message to the device (M8). 在实现图4所示的操作系统文件的恢复过程之前,可以执行图3所示的通信连接过程。 Prior to operation of the system to achieve the recovery file shown in FIG. 4, may perform a communication connection process shown in FIG. 3. 电子设备200也可以直接向HCC设备发送所述恢复请求以进行恢复。 The electronic device 200 may be directly to the recovery request transmission device for recovery HCC.

[0047] 在根据本申请实施例的电子设备的技术方案中,利用可扩展固件接口UEFI系统与一通信设备建立通信连接,而将所述电子设备中的数据备份到所述通信设备,这使得电子设备能够方便且安全地进行数据备份而不受限于其操作系统,从而有效地保证了电子设备的数据恢复能力。 [0047] In the aspect of the electronic device according to an embodiment of the present application, the use of the Extensible Firmware Interface system UEFI a communication device to establish a communication connection, and the backup data of the electronic device to the communication device, which makes electronic devices can be easily and securely back up data and not limited by its operating system, which effectively ensure the data recovery capabilities of electronic devices.

[0048] 此外,对于第二存储器220中的重要数据,例如上述的操作系统文件、工作文件等,在利用UEFI系统将其备份到能够与电子设备200进行通信的通信设备之外,还可以综合地采用其它的备份手段。 [0048] Further, the second memory 220 is important data, such as the aforementioned operating system files, work files, using UEFI backup system can communicate it to the outside of the device communicating with the electronic device 200 may also be integrated to use other means of backup. 例如,电子设备的第二存储器220上可以存储有恢复应用程序,该恢复应用程序在电子设备200的操作系统下运行。 For example, the application may be stored on the second memory to restore the electronic device 220, the restore application running under an operating system 200 of the electronic device. 电子设备200除了利用UEFI系统将第一存储器220中的数据备份到例如HCC设备的通信设备之外,还可以利用所述恢复应用程序将第一存储器220中的数据备份到所述电子设备200中。 In addition to the first backup data memory 220 to the communication device, for example, outside the HCC device, you may also use the backup data to restore the application program in the first memory 220 to the electronic device using the UEFI system 200 of the electronic device 200 . 例如,利用所述恢复应用程序可以将第一存储器220中的数据备份到第一存储器220的不同位置,也可以将数据备份到电子设备200中的除了第一存储器210和第二存储器220之外的其它存储器。 For example, using the restore application may first backup data memory 220 at different locations of the first memory 220, data can be backed out of the first memory 210 and second memory 220 in addition to the electronic device 200 other memory.

[0049] 当电子设备200要恢复备份数据时,其首先利用恢复应用程序从电子设备200本地恢复所述备份数据,如果不能从本地恢复所述备份数据,则再利用所述UEFI系统从通信设备中获取备份数据。 [0049] When the electronic device 200 to restore the backup data, which firstly recovery applications restore the backup data from the local electronic device 200, if the backup data can not be recovered from the local, then the UEFI recycling system from a communication device acquired backup data. 以所述备份数据是电子设备的操作系统文件为例,当电子设备200要恢复操作系统文件时,所述恢复应用程序首先从所述电子设备中获取所述操作系统文件的备份数据,以恢复操作系统;当所述恢复应用程序不能从所述电子设备中获取所述操作系统文件的备份数据时,所述UEFI系统从所述通信设备(例如,HCC设备)中获取所述操作系统文件的备份数据。 In the backup data file is an operating system of the electronic device, for example, when the electronic device 200 to restore the operating system files, the application restore the backup data is first acquired from the operating system files in the electronic device, to restore the operating system; restored when the application can not acquire the backup data file of the operating system from the electronic device, the system obtains the UEFI operating system files from the communication device (e.g., of HCC device) backup data. 因此,利用恢复应用程序和UEFI系统可以进行梯度备份,从而有效地保证了电子设备的数据恢复能力。 Thus, the use of recovery systems UEFI applications and can back up the gradient, thereby effectively ensuring the ability to recover data of the electronic device.

[0050] 图5是示意性图示了根据本申请实施例的数据处理方法500的流程图。 [0050] FIG. 5 is a schematic flowchart illustrating a data processing method according to an embodiment of the present application 500. 该数据处理方法500应用于电子设备,例如如图1所示的第一电子设备10。 The data processing method applied to an electronic device 500, such as a first electronic device 10 shown in FIG. 电子设备包括第一存储器和容量大于所述第一存储器的容量的第二存储器,该第一存储器存储有统一可扩展固件接口UEFI系统,该UEFI系统包括用于与一通信设备建立通信连接的网络驱动接口,该第二存储器用于存储与电子设备的运行相关的运行数据。 The electronic device comprises a first memory and a first memory capacity is greater than the capacity of the second memory, the first memory stores UEFI Unified Extensible Firmware Interface system, the system comprising a network UEFI establishing a communication connection with a communication device drive interface, a second memory for executing the data storage operation relating to an electronic device.

[0051] 所述第一存储器可以是专用于存储该统一可扩展固件接口UEFI系统的存储器,并将UEFI系统作为固化程序存储到其中。 [0051] The first memory may be dedicated to storing the Unified Extensible Firmware Interface UEFI system memory, and stores therein a system UEFI firmware. 统一可扩展固件接口UEFI系统用于在加载操作系统被之前,为电子设备提供启动服务。 UEFI Unified Extensible Firmware Interface system is used to load the operating system prior to start providing services for electronic equipment. 当电子设备开机时,执行该UEFI系统。 When the electronic device is turned on, execution of the UEFI system. 该UEFI系统对电子设备中的器件进行初始化工作,然后加载电子设备中的各种总线及设备驱动。 The electronic device UEFI system for initialization of the device, the electronic device then loads various device drivers and bus. 该UEFI系统被设计为具有网络驱动接口,以增强其联网功能。 The system is designed to have UEFI network driver interface to enhance its networking. 通过该网络驱动接口,电子设备可以与其它电子设备建立通信连接,以传递数据。 Through the network driver interface, the electronic device may establish a communication connection with other electronic devices to communicate data. 该网络驱动接口可以是通用网络驱动接口UNDI,也可以是其它类型的网络接口。 The network driver interface may be a general purpose network driver interface UNDI, it may be another type of network interface.

[0052] 第二存储器可以是各种可读写存储器,典型地是固态硬盘。 [0052] The second memory may be a variety of readable and writable memory, typically a solid state drive. 第二存储器例如可以存储电子设备中的操作系统文件,还可以存储在操作系统运行下的各种应用程序可能产生各种数据、从网络下载的各种数据、或者从其它设备接收的数据等。 For example, the second memory storing operating system files in an electronic device, may also store various types of data may be generated in a variety of applications in the operating system, various data downloaded from the network, or data received from other devices. 第二存储器对所存储的数据的类型没有限制,其容量典型地大于所述第一存储器的容量。 The second memory is no limitation on the type of data stored, its capacity is typically greater than the capacity of the first memory. 如果需要,第二存储器上的任何数据都可以备份。 If desired, any data on the second memory can be backed up.

[0053] 如图5所示,所述数据处理方法500可包括:利用网络驱动接口与所述通信设备建立通信连接(S510);利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备(S520)。 [0053] As shown in FIG. 5, the data processing method 500 may include: establishing a communication connection (S510) using the network driver interface and the communication device; using the network driver interface at least part of the backup data to the second memory said communication device (S520).

[0054] 图6是示意性图示了图5的数据处理方法的实现示例的流程图。 [0054] FIG. 6 is a schematic flowchart illustrating a data processing method implementation example of FIG. 5. 图6中的步骤S511、S512和S513用于实现图5中的步骤S510。 FIG Step 6 S511, S512, and S513 to step S510 in FIG. 5 realized. 图6中的步骤S521、S522用于实现图5中的步骤S520。 FIG Step 6 S521, S522 to step S520 in FIG. 5 realized.

[0055] 可如下地利用网络驱动接口与所述通信设备建立通信连接:利用所述UEFI系统产生用于标识该电子设备的第一标识(S511);利用网络驱动接口以广播方式发送查询消息,该查询消息包括所述第一标识(S512);从所述通信设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识(S513)。 [0055] The following may be utilized with the Network Driver Interface communication device establish a communication connection: generating a first identification (S511) the identifier of the electronic device using the UEFI system; utilizing Network Driver Interface is a broadcast query message, the query message includes the first identifier (S512); receiving a response message from the communication device, the response message includes a second identifier identifying the communication device (S513).

[0056] 为了建立通信连接,电子设备需要具有用于标识其的标识符。 [0056] To establish a communication connection, the electronic device is required to have an identifier for identifying thereof. 因此,在S510中,首先需要利用所述UEFI系统产生用于标识该电子设备的第一标识(S511)。 Accordingly, in S510, first of all necessary to generate a first identification (S511) for identifying the electronic device using the UEFI system. 作为示例,可如下地产生用于该第一标识:在所述电子设备第一次启动时,通过UEFI系统获取所述电子设备的媒体接入控制地址和启动时间;基于所获取的媒体接入控制地址和启动时间生成所述第一标识。 By way of example, it may generate the first identification as follows: the electronic device and a media access control address of the start time when the electronic apparatus is first started, the UEFI acquisition system; access medium based on the acquired and generating a control address start time of the first identification. 具体地,第一标识可以是MAC地址加时间的码字。 Specifically, the first identifier may be the MAC address codeword plus time. 替换地,所述UEFI系统还可以仅仅将所述电子设备的MAC地址作为所述第一标识,这是因为每个电子设备的MAC地址通常是全球唯一的。 Alternatively, the system may also UEFI only the electronic device MAC address as the first identification because the MAC address of each electronic device usually are globally unique. 所采用的生成第一标识的方式不构成对本申请实施例的限制。 Generating a first identification of the manner employed does not limit embodiments of the present application.

[0057] 类似地,HCC设备也需要产生用于标识其的第二标识。 [0057] Similarly, HCC generates a second identification device is also needed for the identification thereof. 该HCC设备也可以基于其MAC地址来生成第二标识,也可以根据用户的设置来生成该第二标识。 The HCC generates a second device may also be identified based on their MAC address, the second identifier may be generated according to a user's setting. 该第二标识也可以是事先生成的,并且可以在需要时随时获取。 The second identifier may be generated in advance, and may be acquired at any time when necessary.

[0058] 在S512中,UEFI系统通过网络驱动接口(例如,UNDI)以广播方式发送查询消息。 [0058] In S512, UEFI driver interface system via a network (e.g., UNDI) sends a query message in a broadcast manner. 能够提供存储空间来备份数据的通信设备则产生响应消息,不能够提供存储空间来备份数据的通信设备则不产生响应消息。 Capable of providing storage space for backup data communication device then generates a response message, not able to provide backup storage for the data communication device will not generate a response message. 相应地,在S513中,UEFI系统可以根据响应消息确定哪个通信设备能够提供存储空间来备份其数据,与接收到其响应消息的通信设备建立通信连接。 Accordingly, in the S513, the UEFI system may determine which communication apparatus according to the response message can provide storage for backing up its data, which is received to establish a communication connection response message to the communication device. 这样,可以简易地发现用于备份数据的通信设备。 Thus, it is possible to find a simple communication device for backing up data.

[0059] 图6中的S511、S512和S513所示的建立通信连接的方式仅仅是示意性的。 In [0059] FIG. 6 S511, to establish a communication connection shown in S512 and S513 are merely illustrative. 此外,在S510中还可以采取其它的方式来确定用于备份数据的设备,例如,以轮询方式以此查询各个通信设备。 Further, in S510, you can also take other way to determine the device for backing up data, e.g., in this polling query communication devices. 要注意,该S510除了可以在需要进行数据备份的时候执行之外,还可能在需要恢复所备份的数据的时候执行。 Note that in addition to the S510 when the need for data backup can be executed, may also be performed need to restore the backed up data when.

[0060] 在利用所述UEFI系统中的网络驱动接口与通信设备建立通信连接之后,对第二存储器上的数据执行备份,即利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备(S520)。 After [0060] the network driver interface with the communication device using the UEFI system establishing a communication connection for performing the second backup data memory, i.e., using the network driver interface to backup at least a portion of the data to the second memory communication device (S520). 如图6所示,该S520可包括:基于第二标识向通信设备发送所述第二存储器中的至少一部分数据(S521);和从所述通信设备接收针对所述至少一部分数据的确认消息(S522)。 6, the S520 may include: transmitting the second identifier based on the communications device at least a portion of the second data memory (S521,); and receiving an acknowledgment message for the at least a portion of data from said communication device ( S522). 通信设备在从电子设备接收到所述操作系统文件之后,其例如以电子设备的第一标识作为目录保存所述操作系统文件,并且在保存完成之后向电子设备发送确认消息(对应于S522)。 After receiving the communication apparatus from the electronic apparatus to the operating system files, for example, to identify a first electronic device to store the operating system as a directory file, and sends an acknowledgment message to the electronic device after completion of storage (corresponding to S522). 该确认消息的传输有助于确保备份的实现。 Transmission of the acknowledgment message helps to ensure backup. 如果所述电子设备在预定时间内容没有接收到所述确认消息,其可以重新执行S521。 If the electronic device at a predetermined time of said acknowledgment message is not received the content, which can re-execute S521. 此外,S522中的确认消息可包括其中存储的所述操作系统文件的备份数据的标识,以用于恢复。 In addition, the acknowledgment message may include an identification S522, the backup data file where the operating system stored, for recovery. 此外,如果电子设备与通信设备之间的通信质量很高,相应地可以准确地从电子设备向通信设备传送要备份的数据,则在S520中可以不包括S522。 Further, if high communication quality between the electronic device and the communication device, the data accordingly can be accurately transferred from the electronic device to be backed up to the communication device, then in S520 may not include S522.

[0061] 图7是示意性图示了根据本申请实施例的另一数据处理方法700的流程图。 [0061] FIG. 7 is a schematic flowchart illustrating a data processing method according to another embodiment of the present application 700. 在图7中,与图5中相同的步骤采用了相同的附图标记,并不再赘述。 In FIG. 7, the same steps of FIG. 5 using the same reference numerals, and will not be repeated. 图7的数据处理方法700与图5的数据处理方法500相比,增加了步骤S530至S560。 Data processing method for data processing in FIG. 7 and FIG. 5 700 500 a method is increased as compared to the steps S530 S560. 该S530至S560用于当需要恢复所述至少一部分数据的备份数据时,从通信设备恢复备份数据。 S530 to S560 for, when the backup data to restore at least a portion of the data, the backup data is restored from the communication device. 如图7所示,在S530中确定是否需要恢复第二存储器中的至少一部分数据的备份数据;当需要恢复时,通过所述网络驱动接口向所述通信设备发送恢复请求,该恢复请求包括该至少一部分数据的备份数据的标识(S540);从所述通信设备接收所述备份数据(S550);以及向所述通信设备发送确认消息(S560)。 7, it is determined whether the backup data to restore at least a portion of the second memory data in S530; restored when required, is driven by the network interface to the communication device transmits a recovery request, the request includes the recovery identifying backup data of at least a portion of the data (S540); receiving the backup data (S550) from said communication device; and transmitting a confirmation message to the communication device (S560). 例如,当所述第二存储器中的已经备份的数据(例如,操作系统文件)被损坏时,可以确定其备份数据。 For example, when the data (e.g., operating system files) in the second memory has backup is damaged, its backup data may be determined. 在执行图7中的S540之前,可以执行S510以明确地在电子设备和通信设备之间建立通信连接;也可以不执行S510,而通过所述网络驱动接口向所述通信设备发送恢复请求。 Before performing S540 in FIG. 7, S510 may be performed to establish communication between the electronic device and the communication device specifically attached; S510 may not be performed, is driven by the network interface to the communication device transmits a recovery request.

[0062] 图8是示意性图示了根据本申请实施例的又一数据处理方法800的流程图。 [0062] FIG. 8 is a schematic flowchart illustrating a data processing method according to still another embodiment of the present application 800. 在图8中,与图7中相同的步骤采用了相同的附图标记,并不再赘述。 In FIG. 8, the same steps as in FIG. 7 uses the same reference numerals, and will not be repeated. 图8的数据处理方法800与图7的数据处理方法700相比,增加了步骤S570至S580。 The data processing method of processing data 800 of FIG. 8 and FIG. 7, a method 700 is increased as compared to the steps S570 S580. 该S570用于在电子设备中进行数据备份,S580用于当需要恢复所述至少一部分数据的备份数据时,从本地恢复备份数据。 The S570 for data backup in an electronic device, when needed S580 for restoring the data of at least a portion of the backup data, the backup data from local recovery.

[0063] 对于第二存储器220中的重要数据,例如上述的操作系统文件、工作文件等,在利用UEFI系统将其备份到能够与电子设备进行通信的通信设备之外,还可以综合地采用其它的备份手段。 [0063] For the second memory 220 is important data, such as the aforementioned operating system files, work files, using UEFI backup system can communicate it to the outside of the device communicating with the electronic device, may also be employed other integrated backup means. 电子设备的第二存储器上可以存储有恢复应用程序,该恢复应用程序在电子设备的操作系统下运行。 Recovery may be stored on the second memory of the electronic application device, the restore application program running under the operating system of the electronic device. 除了利用UEFI系统将第一存储器中的数据备份到通信设备之外,还可以利用所述恢复应用程序将第一存储器中的数据附加地备份到所述电子设备(S570)中。 In addition to using the backup data UEFI system memory to the first communication device, you can also use the data to resume an application in the first memory additionally backed up to the electronic device (S570) in. 例如,利用所述恢复应用程序可以将第一存储器中的数据备份到第一存储器的不同位置,也可以将数据备份到电子设备中的除了第一存储器和第二存储器之外的其它存储器。 For example, using the restore application may first backup data memory to different locations of the first memory, the data can be backed up to the electronic device in the other memory in addition to the first and second memories. 利用该S570中,为第二存储器中的数据形成梯度备份,从而有效地保证了电子设备的数据恢复能力。 With this in S570, a gradient of the backup data in the second memory, thereby effectively ensuring the ability to recover data of the electronic device.

[0064] 当在S530中确定需要恢复备份数据时,其首先利用恢复应用程序从电子设备本地恢复所述备份数据,如果不能从本地恢复所述备份数据,则再利用所述UEFI系统从通信设备中获取备份数据。 [0064] When it is determined the need to restore the data backed up in S530, it first using the application recovery to restore the backup data from the local electronic device, if the backup data can not be recovered from the local, then the UEFI recycling system from a communication device acquired backup data. 以所述备份数据是电子设备的操作系统文件为例,当第二存储器上的操作系统文件被损坏时,所述恢复应用程序首先从所述电子设备中获取所述操作系统文件的备份数据,以恢复操作系统;当所述恢复应用程序不能从所述电子设备中获取所述操作系统文件的备份数据时,所述UEFI系统从所述通信设备中获取所述操作系统文件的备份数据。 In the backup data file is an operating system of the electronic device, for example, when the operating system files on the second memory is corrupted, the backup restore application first obtains data from the operating system files in the electronic device, to restore the operating system; restored when the application can not acquire the backup data file of the operating system from the electronic device, the UEFI system acquires backup data file of the operating system from the communication device.

[0065] 在根据本申请实施例的数据处理方法的技术方案中,利用可扩展固件接口UEFI系统与一通信设备建立通信连接,而将所述电子设备中的数据备份到所述通信设备,这使得电子设备能够方便且安全地进行数据备份而不受限于其操作系统,从而有效地保证了电子设备的数据恢复能力。 [0065] In the aspect of the data processing method according to an embodiment of the present application, the use of the Extensible Firmware Interface system UEFI a communication device to establish a communication connection, and the backup data of the electronic device to the communication device, which so that the electronic device can be conveniently and safely without the backup data is limited by its operating system, which effectively ensure the recovery data of the electronic device. 此外,还可以为存储器上的数据形成梯度备份,从而有效地保证了电子设备的数据恢复能力。 In addition, the memory may also be formed on the gradient data backup, which effectively ensure the data recovery capabilities of the electronic device.

[0066] 本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的系统、接口及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。 [0066] Those of ordinary skill in the art may be aware, in conjunction with the system disclosed herein, the interface and algorithm steps described exemplary embodiments, it is possible to incorporate electronic hardware, computer software and electronic hardware, or be implemented. 这些功能宄竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。 These features traitor to actually perform hardware or software depends upon the particular application and design constraints of the technical solutions. 专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。 Professional technical staff may use different methods for each specific application to implement the described functionality, but such implementation should not be considered outside the scope of the application.

[0067] 所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的数据处理方法所应用于的电子设备,可以参考前述产品实施例中的对应描述,在此不再赘述。 [0067] Those skilled in the art may clearly understand that, for convenience and brevity of description, the data processing method described above is applied to an electronic device, reference may correspond to the product described in the foregoing embodiments, not described herein again .

[0068] 所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 [0068] If the function is implemented as a separate product sold or used in the form of a software functional unit may be stored in a computer-readable storage medium. 基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。 Based on such understanding, the technical solutions of the present application or the nature of contributing to the prior art or part of the technical solutions may be embodied in a software product, which computer software product is stored in a storage medium, comprising several instructions that enable a computer device (may be a personal computer, a server, or network device) all or part of the steps of the method of performing the various embodiments of the present application. 而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。 The storage medium includes: any medium may store program codes U disk, mobile hard disk, a read-only memory, a random access memory, a magnetic disk or optical disk.

[0069] 以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。 [0069] The above are only specific embodiments of the present disclosure, but the scope of the present application is not limited thereto, any skilled in the art in the art within the technical scope disclosed in the present application, variations can be easily thought or Alternatively, it shall fall within the scope of the present application. 因此,本申请的保护范围应所述以权利要求的保护范围为准。 Accordingly, the scope of the present application should be in the scope of the claims and their equivalents.

Claims (14)

1.一种电子设备,包括: 第一存储器,用于存储统一可扩展固件接口UEFI系统,该UEFI系统包括网络驱动接口,并且能够利用该网络驱动接口与一通信设备建立通信连接,以在所述电子设备与该通信设备之间传递数据; 第二存储器,其容量大于所述第一存储器的容量,用于存储与电子设备的运行相关的运行数据, 其中,所述UEFI系统在利用网络驱动接口与所述通信设备建立通信连接之后,将第二存储器中的至少一部分数据备份到所述通信设备。 An electronic device, comprising: a first memory for storing UEFI Unified Extensible Firmware Interface system, the UEFI driver interface system includes a network, the network and can utilize a communication device driver interface establishing a communication connection, in the order transferring data between said electronic device and the communications device; a second memory capacity greater than the capacity of said first memory for storing operating data and operation related to the electronic device, wherein said network driver using UEFI system after establishing the communication connection interface with the communication device, at least a portion of the backup data in the second memory to the communication device.
2.根据权利要求1的电子设备,其中,所述UEFI系统通过如下操作与通信设备建立通信连接: 产生用于标识该电子设备的第一标识; 以广播方式发送查询消息,该查询消息包括所述第一标识; 从所述通信设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识。 The electronic device according to claim 1, wherein the UEFI system establishing a communication connection with a communication device operating by: generating a first identifier for identifying the electronic device; sending a query message in a broadcast manner, the query message includes said first identifier; receiving a response message from the communication device, the response message includes a second identifier identifying the communication device.
3.根据权利要求2的电子设备,其中,所述UEFI系统在所述电子设备第一次启动时基于所述电子设备的媒体接入控制地址和启动时间生成所述第一标识。 The electronic apparatus as claimed in claim 2, wherein said address control UEFI system startup time and generating the first identifier when the electronic apparatus is first started based on the electronic media access device.
4.根据权利要求2的电子设备,其中,所述网络驱动接口是通用网络驱动接口 UNDI,所述UEFI系统通过所述通用网络驱动接口UNDI以广播方式发送所述查询消息。 The electronic device according to claim 2, wherein said network interface is a universal drive Network Driver Interface UNDI, the UEFI interfaces UNDI drive system is a broadcast inquiry message through the network to the general.
5.根据权利要求2的电子设备,其中, 所述UEFI系统通过如下操作将第二存储器中的至少一部分数据备份到所述通信设备:基于第二标识向通信设备发送所述第二存储器中的至少一部分数据;以及从所述通信设备接收确认消息, 当需要恢复所述至少一部分数据的备份数据时,所述UEFI系统通过如下操作恢复所述至少一部分数据:向所述通信设备发送恢复请求,该恢复请求包括所述至少一部分数据的备份数据的标识;从所述通信设备接收所述备份数据;向所述通信设备发送确认消息。 The electronic device according to claim 2, wherein the UEFI system backup operation by at least a portion of the second data memory to the communication device: transmitting to the second communication device based on identification of the second memory at least a portion of the data; and receiving an acknowledgment message from the communication device, when backup data needs to recover at least a portion of said data, said at least a portion of the UEFI system data recovery operation by: sending a resume request to the communication device, the request to restore the backup data comprises identifying at least a portion of said data; from the communication device receives the backup data; sending an acknowledgment message to the communication device.
6.根据权利要求1的电子设备,其中, 所述第二存储器中的所备份的至少一部分数据是电子设备的操作系统文件, 所述第二存储器上存储有恢复应用程序,所述恢复应用程序将操作系统文件备份到所述电子设备中。 The electronic device according to claim 1, wherein at least a portion of the second data memory is backed up operating system files of the electronic device, with a memory storing said second recovery applications, the restore application the backup operating system files to the electronic device.
7.根据权利要求6的电子设备,其中,当需要恢复所述操作系统文件时,所述恢复应用程序首先从所述电子设备中获取所述操作系统文件的备份数据,以恢复操作系统, 当所述恢复应用程序不能从所述电子设备中获取所述操作系统文件的备份数据时,所述固件接口系统从所述通信设备中获取所述操作系统文件的备份数据。 7. The electronic device according to claim 6, wherein, when the operating system needs to restore the file, the restore application program from the first electronic device acquires the backup data file of the operating system, to restore the operating system, when when acquiring the application can not restore the backup data file of the operating system from the electronic device, the interface system firmware acquires the backup data file of the operating system from the communication device.
8.—种数据处理方法,应用于电子设备,该电子设备包括第一存储器和容量大于所述第一存储器的容量的第二存储器,该第一存储器存储有统一可扩展固件接口UEFI系统,该UEFI系统包括用于与一通信设备建立通信连接的网络驱动接口,该第二存储器用于存储与电子设备的运行相关的运行数据,所述数据处理方法包括: 利用网络驱动接口与所述通信设备建立通信连接; 利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备。 8.- kinds of data processing method applied to an electronic device, the electronic device comprises a first memory and a second memory capacity greater than the capacity of the first memory, the first memory stores UEFI Unified Extensible Firmware Interface system, the UEFI system comprises a drive interface for establishing a network communications connection with a communication device, a second memory for executing the data storage operation relating to the electronic device, said data processing method comprising: using a network driver interface and the communication device establishing a communication connection; network driver Interface using backup data at least a portion of the second memory to the communication device.
9.根据权利要求8的数据处理方法,其中,所述利用网络驱动接口与所述通信设备建立通信连接包括: 利用所述UEFI系统产生用于标识该电子设备的第一标识; 利用网络驱动接口以广播方式发送查询消息,该查询消息包括所述第一标识; 从所述通信设备接收响应消息,该响应消息包括用于标识该通信设备的第二标识。 A data processing method according to claim 8, wherein the network established using a communication device driver interface and the communication link comprising: generating a first identifier for identifying the electronic device using the UEFI system; utilizing Network Driver Interface Discover is a broadcast message, the query message includes the first identifier; receiving a response message from the communication device, the response message includes a second identifier for identifying the communication device.
10.根据权利要求9的数据处理方法,其中,所述利用所述UEFI系统产生用于标识该电子设备的第一标识包括: 在所述电子设备第一次启动时,通过UEFI系统获取所述电子设备的媒体接入控制地址和启动时间; 基于所获取的媒体接入控制地址和启动时间生成所述第一标识。 10. The data processing method as claimed in claim 9, wherein said using the UEFI system generates a first identification for identifying the electronic device comprising: when the electronic apparatus is first started, the system obtained by UEFI media access control address of the electronic device and the start time; based on the acquired media access control address and start-up time to generate the first identification.
11.根据权利要求9的数据处理方法,其中,所述网络驱动接口是通用网络驱动接口UNDI,所述利用网络驱动接口以广播方式发送查询消息包括:利用通用网络驱动接口UNDI以广播方式发送查询消息。 A data processing method according to claim 9, wherein said network interface is a universal drive UNDI Network Driver Interface, using the network driver interface is a broadcast query message comprises: using a Universal Network Device Interface sends a query in a broadcast manner UNDI messages.
12.根据权利要求9的数据处理方法,其中,利用网络驱动接口将第二存储器中的至少一部分数据备份到所述通信设备包括: 基于第二标识向通信设备发送所述第二存储器中的至少一部分数据;和从所述通信设备接收针对所述至少一部分数据的确认消息, 所述数据处理方法还包括: 当需要恢复所述至少一部分数据的备份数据时,通过所述网络驱动接口向所述通信设备发送恢复请求,该恢复请求包括该至少一部分数据的备份数据的标识; 从所述通信设备接收所述备份数据;以及向所述通信设备发送确认消息。 A data processing method according to claim 9, wherein, using the network driver interface backup at least a portion of the second data memory to said communication device comprising: transmitting at least identifying the second communication device to the second memory based on portion of the data; and a reception confirmation message of the at least a portion of data from said communication device, said data processing method further comprising: when it is necessary to restore the backup data at least a portion of the data, via the network interface to drive the communication device sends a request to restore the resume request including identification data of at least a portion of the backup data; from the communication device receiving the backup data; and transmitting a confirmation message to the communication device.
13.根据权利要求8的数据处理方法,其中,所述第二存储器中的所备份的至少一部分数据是电子设备的操作系统文件,所述第二存储器上存储有恢复应用程序,该数据处理方法还包括: 利用所述恢复应用程序将所述操作系统文件备份到所述电子设备中。 A data processing method according to claim 8, wherein at least a portion of the second data memory is backed up operating system files of the electronic device, with a memory storing said second recovery applications, the data processing method further comprising: using the application program to restore the backed up operating system files to the electronic device.
14.根据权利要求13的数据处理方法,还包括: 当需要恢复所述操作系统文件时,利用所述恢复应用程序从所述电子设备中获取操作系统文件的备份数据,以恢复操作系统; 当不能从所述电子设备中获取所述操作系统文件的备份数据时,利用所述UEFI系统从所述通信设备中获取所述操作系统文件的备份数据。 14. A data processing method according to claim 13, further comprising: when it is necessary to restore the operating system files, by using the backup data recovery application program from the acquired electronic device operating system files, in order to restore the operating system; when the backup data can not be acquired from the operating system files in the electronic device using the UEFI system acquires backup data file of the operating system from the communication device.
CN 201510026040 2015-01-19 2015-01-19 Electronic device and data processing method CN104503870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510026040 CN104503870A (en) 2015-01-19 2015-01-19 Electronic device and data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510026040 CN104503870A (en) 2015-01-19 2015-01-19 Electronic device and data processing method

Publications (1)

Publication Number Publication Date
CN104503870A true true CN104503870A (en) 2015-04-08

Family

ID=52945270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510026040 CN104503870A (en) 2015-01-19 2015-01-19 Electronic device and data processing method

Country Status (1)

Country Link
CN (1) CN104503870A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955847A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 False deletion preventing method and system for electronic device file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070156925A1 (en) * 2002-06-21 2007-07-05 Daisuke Shigeta Information Processing Apparatus, Information Equipment, Information Processing System, Automatic Backup Method, Data Transmission and Reception Method, Automatic Backup Program, Data Transmission and Reception Program, and Record Medium having the Programs Recorded thereon
CN101587451A (en) * 2008-05-20 2009-11-25 研祥智能科技股份有限公司;上海研祥智能科技有限公司 Data backup and recovery method based on extensible firmware interface (EFI) firmware
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
TW201316745A *
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201316745A *
US20070156925A1 (en) * 2002-06-21 2007-07-05 Daisuke Shigeta Information Processing Apparatus, Information Equipment, Information Processing System, Automatic Backup Method, Data Transmission and Reception Method, Automatic Backup Program, Data Transmission and Reception Program, and Record Medium having the Programs Recorded thereon
CN101587451A (en) * 2008-05-20 2009-11-25 研祥智能科技股份有限公司;上海研祥智能科技有限公司 Data backup and recovery method based on extensible firmware interface (EFI) firmware
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
CN103425548A (en) * 2012-05-21 2013-12-04 深圳市祈飞科技有限公司 Method and system for operating system cloud backup and restore

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955847A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 False deletion preventing method and system for electronic device file

Similar Documents

Publication Publication Date Title
US6687817B1 (en) Configuration of a network device via the network
US7680067B2 (en) Peer-to-peer data synchronization architecture
US6601096B1 (en) Client server method for loading a client with a specific image or utility based on the client's state
US7293169B1 (en) Methods and systems for remotely updating the firmware of multiple computers over a distributed network
US7673301B1 (en) Methods and systems for updating and recovering firmware within a computing device over a distributed network
US8239662B1 (en) Network based operating system across devices
US20040162900A1 (en) Distributed content management system
US20120210165A1 (en) System and method for auto-failover and version matching of bootloader in an access controller
CN102110031A (en) Android system-based application program backup and recovery method
US20100211950A1 (en) Automated Termination of Selected Software Applications in Response to System Events
US20100064130A1 (en) Secure host connection
CN102176775A (en) Intelligent configuration device and method
CN103281350A (en) Mobile terminal and method, system and cloud server for managing application programs of mobile terminal
CN101290587A (en) Realization progress start-up and control process
US8271443B1 (en) Backup system including a privately accessible primary backup server and a publicly accessible alternate backup server
US20060053312A1 (en) Apparatus, system, and method for securely providing power supply commands
JP2000200208A (en) Method and device for file backup, and program recording medium
US20120290802A1 (en) Snapshot creation from block lists
US20110107401A1 (en) Establishing trust relationships between computer systems
CN102262565A (en) A cross-clipboard program application methods and equipment
JP2005092330A (en) Software updating program
US8661429B2 (en) Updating peripheral device firmware via a portable device
US20070294414A1 (en) Thin client system using session managing server and session managing method
US20090177856A1 (en) Method and apparatus for automated backup process
US20050283637A1 (en) System and method for maintaining functionality during component failures

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01