CN100391291C - A data backup and recovery method and system thereof - Google Patents
A data backup and recovery method and system thereof Download PDFInfo
- Publication number
- CN100391291C CN100391291C CNB2005100898985A CN200510089898A CN100391291C CN 100391291 C CN100391291 C CN 100391291C CN B2005100898985 A CNB2005100898985 A CN B2005100898985A CN 200510089898 A CN200510089898 A CN 200510089898A CN 100391291 C CN100391291 C CN 100391291C
- Authority
- CN
- China
- Prior art keywords
- backup data
- data
- management server
- backup
- device management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种通信技术,尤其涉及一种设备管理中数据备份和恢复方法及其系统。The invention relates to a communication technology, in particular to a data backup and recovery method and system in equipment management.
背景技术 Background technique
随着移动通信业务的发展,移动终端在整个移动运营服务体系中的地位越来越重要,使得移动终端的功能日趋复杂,终端软件出现问题的可能性显著增加。如使得用户终端的配置数据、认证证书等数据丢失的危险也显著增加;其次,终端的错误也可能造成管理树的错误或丢失。运营商、终端厂商为了解决上述问题,以有效的保证用户体验、提高用户忠诚度、保持高效的服务质量以及低成本的设备维护,通常通过设备管理服务器为移动终端提供各种服务。With the development of mobile communication services, mobile terminals play an increasingly important role in the entire mobile operation service system, making the functions of mobile terminals increasingly complex, and the possibility of terminal software problems increasing significantly. For example, the risk of data loss such as configuration data and authentication certificates of the user terminal is also significantly increased; secondly, errors in the terminals may also cause errors or loss of the management tree. In order to solve the above problems, operators and terminal manufacturers usually provide various services for mobile terminals through device management servers in order to effectively guarantee user experience, improve user loyalty, maintain efficient service quality, and maintain low-cost equipment.
为了向移动终端提供各种服务,在现有技术中,如OMA DM(开放移动联盟设备管理)规范中定义了设备管理的整体架构、协议和通信机制、安全性等问题的统一标准规范。这样,DMS(设备管理服务器)需要通过DM(设备管理)协议管理和监控设备终端,以便根据设备终端的状态提供管理、升级、诊断和修复功能,使设备终端的DMA(设备管理终端代理)遵循DM协议接受DMS管理和服务。In order to provide various services to mobile terminals, in the prior art, such as the OMA DM (Open Mobile Alliance Device Management) specification defines a unified standard specification for the overall architecture of device management, protocols and communication mechanisms, security and other issues. In this way, the DMS (device management server) needs to manage and monitor the device terminal through the DM (device management) protocol, so as to provide management, upgrade, diagnosis and repair functions according to the status of the device terminal, so that the DMA (device management terminal agent) of the device terminal follows The DM agreement accepts DMS management and services.
当设备终端出现故障时,可以通过DMS为设备终端升级软件、安装补丁、更新固件或重新配置参数等,这些操作虽然可以将设备终端的状态恢复到某一状态,但不能保护设备终端的一些个性化的数据,因此,降低了用户的体验;另外,上述现有技术对设备终端的数据进行更新时,需要手工查找相关软件,费时且不方便。When a device terminal fails, you can upgrade the software, install patches, update firmware, or reconfigure parameters for the device terminal through DMS. Although these operations can restore the state of the device terminal to a certain state, it cannot protect some of the personality of the device terminal Therefore, the experience of the user is reduced; in addition, when updating the data of the device terminal in the above-mentioned prior art, it is necessary to manually search for relevant software, which is time-consuming and inconvenient.
发明内容 Contents of the invention
本发明的目的是提供一种数据备份和恢复方法及其系统,当设备终端出现故障时,不仅可恢复设备终端的公共数据,而且可恢复设备终端的个性化数据,并可方便程序更新。The purpose of the present invention is to provide a data backup and recovery method and its system, when the equipment terminal fails, not only the public data of the equipment terminal can be recovered, but also the personalized data of the equipment terminal can be restored, and the program update can be facilitated.
本发明提供了一种数据备份方法,应用于设备管理系统中,所述设备管理系统包括设备终端和设备管理服务器,所述的设备管理服务器用于对设备终端进行维护管理,所述方法包括:The present invention provides a data backup method, which is applied to a device management system. The device management system includes a device terminal and a device management server. The device management server is used to maintain and manage the device terminal. The method includes:
A、设备终端与设备管理服务器建立会话,并确定备份数据;A. The device terminal establishes a session with the device management server and determines the backup data;
B、设备终端根据确定的备份数据获得备份数据标识,然后将备份数据标识发给设备管理服务器;B. The device terminal obtains the backup data identifier according to the determined backup data, and then sends the backup data identifier to the device management server;
C、设备管理服务器根据备份数据标识获得设备终端的备份数据;C. The device management server obtains the backup data of the device terminal according to the backup data identifier;
D、设备管理服务器存储获得的备份数据。D. The device management server stores the obtained backup data.
在所述的步骤A进一步包括:设备终端通过用户交互界面建立会话并确定备份数据;或者设备终端通过短信或门户与设备管理服务器建立会话并确定备份数据;或者按预定条件自动建立会话并确定备份数据,所述的预定条件包括时间条件或事件条件,所述时间条件包括定时和间隔预定时间,所述事件条件包括数据修改和软件更新。Step A further includes: the device terminal establishes a session through the user interface and determines backup data; or the device terminal establishes a session with the device management server through a text message or portal and determines backup data; or automatically establishes a session and determines backup data according to predetermined conditions data, the predetermined conditions include time conditions or event conditions, the time conditions include timing and interval predetermined time, and the event conditions include data modification and software update.
所述的步骤C进一步包括:Described step C further comprises:
C1、设备终端将选择的备份数据放在设备管理树上;C1. The device terminal puts the selected backup data on the device management tree;
C2、设备管理服务器获取放在管理树上的备份数据。C2. The device management server obtains the backup data placed on the management tree.
所述的步骤C还包括:Described step C also includes:
C3、设备终端将选择的备份数据打包,并发给设备管理服务器。C3. The device terminal packs the selected backup data and sends it to the device management server.
所述的步骤B还包括:当备份的数据为程序数据时,只备份程序数据的标识、版本号。The step B further includes: when the data to be backed up is program data, only the identification and version number of the program data are backed up.
所述的步骤D进一步包括:设备管理服务器以树的形式存储获得的备份数据。The step D further includes: the device management server stores the obtained backup data in the form of a tree.
所述的数据备份方法还设有备份标识,用于在设备终端与设备管理服务器之间建立会话时,设备终端通知设备管理服务器进行备份操作。The data backup method also includes a backup identifier, which is used for the device terminal to notify the device management server to perform a backup operation when a session is established between the device terminal and the device management server.
本发明还公开了一种数据恢复方法,应用于设备管理系统中,所述设备管理系统包括设备终端和设备管理服务器,所述的设备管理服务器用于对设备终端进行维护管理,所述方法包括:The present invention also discloses a data recovery method, which is applied to a device management system, the device management system includes a device terminal and a device management server, and the device management server is used to maintain and manage the device terminal, and the method includes :
A、设备终端与设备管理服务器之间建立会话,并确定备份数据标识;A. Establish a session between the device terminal and the device management server, and determine the backup data identifier;
B、设备终端将确定的备份数据标识发给设备管理服务器;B. The device terminal sends the determined backup data identifier to the device management server;
C、设备管理服务器根据备份数据标识获得设备终端的备份数据;C. The device management server obtains the backup data of the device terminal according to the backup data identifier;
D、设备管理服务器根据备份数据恢复设备终端的数据。D. The device management server restores the data of the device terminal according to the backup data.
在所述步骤A中所述的确定备份数据标识进一步包括:设备终端通过用户交互界面方式确定备份数据标识,或者通过设备管理服务器与设备终端之间交互确定备份数据标识。The determining the backup data identifier in the step A further includes: the device terminal determines the backup data identifier through a user interaction interface, or determines the backup data identifier through interaction between the device management server and the device terminal.
所述的数据恢复方法还设有恢复标识,用于在设备终端与设备管理服务器之间建立会话时,设备终端通知设备管理服务器进行恢复操作。The data recovery method also includes a recovery identifier, which is used for the device terminal to notify the device management server to perform a recovery operation when a session is established between the device terminal and the device management server.
本发明还公开了一种数据恢复/备份系统,包括设备终端和设备管理服务器,所述设备终端包括:选择模块,用于选择备份数据,根据备份数据确定备份数据标识;通信模块,用于将确定的备份数据标识发给设备管理服务器,接收选择的备份数据;所述设备管理服务器包括:存储器,用于存储备份数据;通信模块,用于从设备终端获得备份数据标识,根据所述备份数据标识从终端获得备份数据,或者根据备份数据标识从本地获得备份数据,并将备份数据发给设备终端;处理模块,用于识别设备终端的备份/恢复请求,并根据备份/恢复请求对备份数据进行操作;以及通信网络,用于设备终端与设备管理服务器之间进行通信,所述通信网络包括无线网络或有线网络。The present invention also discloses a data recovery/backup system, which includes a device terminal and a device management server. The device terminal includes: a selection module for selecting backup data and determining a backup data identifier according to the backup data; a communication module for The determined backup data identifier is sent to the device management server to receive the selected backup data; the device management server includes: a memory for storing the backup data; a communication module for obtaining the backup data identifier from the device terminal, according to the backup data Identify the backup data obtained from the terminal, or obtain the backup data locally according to the backup data identifier, and send the backup data to the device terminal; the processing module is used to identify the backup/restore request of the device terminal, and process the backup data according to the backup/restore request perform operations; and a communication network, used for communication between the device terminal and the device management server, the communication network includes a wireless network or a wired network.
本发明还公开了一种用于数据恢复/备份的设备终端,所述设备终端包括:选择模块,用于选择备份数据,根据备份数据确定备份数据标识;通信模块,用于将确定的备份数据标识发给设备管理服务器,接收设备管理服务器恢复的备份数据。The present invention also discloses a device terminal for data recovery/backup. The device terminal includes: a selection module for selecting backup data and determining a backup data identifier according to the backup data; a communication module for converting the determined backup data The identification is sent to the device management server, and the backup data restored by the device management server is received.
本发明还公开了一种用于数据恢复/备份的设备管理服务器,所述设备管理服务器包括:存储器,用于存储设备终端的备份数据;通信模块,用于从设备终端获得备份数据标识,根据所述备份数据标识从终端获得备份数据,并存储所述的备份数据,或者根据备份数据标识从本地获得设备终端的备份数据,并将备份数据发给设备终端;处理模块,用于识别设备终端的备份/恢复请求,并根据备份/恢复请求对备份数据进行操作。The present invention also discloses a device management server for data recovery/backup. The device management server includes: a memory for storing the backup data of the device terminal; a communication module for obtaining the backup data identifier from the device terminal, according to The backup data identifier obtains the backup data from the terminal, and stores the backup data, or obtains the backup data of the device terminal locally according to the backup data identifier, and sends the backup data to the device terminal; the processing module is used to identify the device terminal backup/restore requests, and operate on the backup data according to the backup/restore requests.
根据本发明,通过将终端数据存储在DM服务器上,可以保证终端数据的可恢复性,尤其是对于设备终端的私有数据可提供数据的恢复能力,从而方便了用户,提高了用户体验。According to the present invention, by storing the terminal data on the DM server, the recoverability of the terminal data can be ensured, especially for the private data of the device terminal, the data recovery capability can be provided, thereby facilitating users and improving user experience.
附图说明 Description of drawings
图1为本发明的数据备份流程图;Fig. 1 is the flow chart of data backup of the present invention;
图2为设备管理树的示意图;FIG. 2 is a schematic diagram of a device management tree;
图3示出了备份数据的存储示意图;Figure 3 shows a schematic diagram of storage of backup data;
图4示出了本发明的系统示意图。Fig. 4 shows a schematic diagram of the system of the present invention.
具体实施方式 Detailed ways
为了便于本领域一般技术人员理解和实现本发明,现结合附图描绘本发明的实施例。In order to make it easier for those skilled in the art to understand and realize the present invention, the embodiments of the present invention are described in conjunction with the accompanying drawings.
本发明的基本思想为:首先将设备终端的数据备份到设备管理服务器上。所述的数据包括软件程序和设备终端的个性化数据,当设备终端数据丢失或错误时,可以将备份的数据恢复到设备终端。当终端软件程序错误时,可以自动下载备份的软件,然后安装并配置软件,以完成设备终端的数据和软件恢复。所述设备终端包括手机终端、掌上电脑、笔记本电脑、嵌入式设备、车载系统等移动设备。The basic idea of the present invention is: first, backup the data of the equipment terminal to the equipment management server. The data includes software programs and personalized data of the device terminal, and when the data of the device terminal is lost or wrong, the backup data can be restored to the device terminal. When the terminal software program is wrong, the backup software can be automatically downloaded, and then installed and configured to complete the data and software recovery of the device terminal. The device terminals include mobile devices such as mobile phone terminals, palmtop computers, notebook computers, embedded devices, and vehicle-mounted systems.
下面描述本发明的数据备份方法。The data backup method of the present invention is described below.
如图1所示,在步骤1中,首先在设备终端与设备管理服务器之间建立会话,并确定备份数据。建立会话并确定备份数据有三种方法,一是通过UI(用户交互界面),二是通过在终端设定自动触发条件,三是通过其它方式,下面分别描述这三种方法。As shown in FIG. 1 , in
下面描述设备终端通过UI发起会话并确定备份数据的过程。终端设备通过DM Agent向DM服务器发起操作会话请求,在会话请求中附带Generic Alert(服务请求)来告知服务器终端所请求的备份操作。如果发起请求时确定了将要备份的备份数据,则在Generic Alert中附带备份数据标识(如URI统一资源标识),否则,即Generic Alert没有带备份数据标识,则设备管理服务器与设备终端之间通过交互来确定准备备份的备份数据,确定备份数据的方法可以是:用户通过终端交互界面确定,或者服务器首先获取终端可作为目标数据的数据信息,然后通过下发交互命令将这些数据信息呈现给用户并让用户选择,用户根据交互界面提供的信息确定需要备份的目标数据。The following describes the process in which the device terminal initiates a session through the UI and determines the backup data. The terminal device initiates an operation session request to the DM server through the DM Agent, and a Generic Alert (service request) is attached to the session request to inform the server of the backup operation requested by the terminal. If the backup data to be backed up is determined when the request is initiated, a backup data identifier (such as a URI uniform resource identifier) is attached to the Generic Alert; otherwise, that is, the Generic Alert does not have a backup data identifier, the device management server and the device terminal pass Interactively determine the backup data to be backed up. The method of determining the backup data can be: the user determines through the terminal interactive interface, or the server first obtains the data information that the terminal can serve as target data, and then presents the data information to the user by issuing an interactive command And let the user choose, and the user determines the target data that needs to be backed up according to the information provided by the interactive interface.
当设备终端需要告知服务器终端请求的操作时,可以通过在会话请求数据包中附带Generic Alert命令来达到此目的。Generic Alert命令需要附带一个事先定义好的双方都理解的备份标识,即Alert Type。如数据存储的Alert Type可以定义为“org.openmobilealliance.dm.backup.userrequest”。When the device terminal needs to inform the server terminal of the requested operation, this purpose can be achieved by attaching the Generic Alert command in the session request packet. The Generic Alert command needs to be accompanied by a pre-defined backup identifier that both parties understand, that is, the Alert Type. For example, the Alert Type of data storage can be defined as "org.openmobilealliance.dm.backup.userrequest".
下面描述终端设定自动触发条件自动发起会话备份数据的过程。首先在终端设定触发条件,触发条件包括时间条件(如定时、间隔某个时间段等)、事件条件(如数据修改、软件更新等)。监控程序在监控到触发条件满足时,会首先自动确定需要备份的目标数据,当采用时间条件时,可将所有的数据进行备份,或备份部分数据;当采用事件条件时,如数据修改条件,可仅备份修改的数据。然后通过DM Agent发起会话请求。在会话请求包中附带Generic Alert来告知服务器终端所请求的操作,同时附带备份数据标识(如URI统一资源标识)。The following describes the process in which the terminal sets an automatic trigger condition and automatically initiates session backup data. Firstly, trigger conditions are set in the terminal, which include time conditions (such as timing, a certain time interval, etc.), event conditions (such as data modification, software update, etc.). When the monitoring program monitors that the trigger conditions are met, it will first automatically determine the target data that needs to be backed up. When the time condition is used, all data can be backed up, or some data can be backed up; when the event condition is used, such as data modification conditions, Only modified data can be backed up. Then initiate a session request through DM Agent. A Generic Alert is attached to the session request packet to inform the server terminal of the requested operation, and a backup data identifier (such as a URI uniform resource identifier) is attached at the same time.
下面描述通过其它方式(如Portal(门户)、短消息等)发起会话并确定备份数据过程。通过其它方式(如Portal、短消息等)通知DM服务器对设备终端备份数据进行备份,设备管理服务器向设备终端发送Notification(通知)以建立会话。如果用户在向DM服务器请求时没有告知DM服务器需要备份的备份数据,则DM服务器与设备终端通过交互来确定准备备份的备份数据,确定方法可以是服务器首先获取终端可作为目标数据的数据信息,然后通过下发交互命令将这些数据信息呈现给用户并让用户选择,用户根据交互界面提供的信息确定需要备份的目标数据。The process of initiating a session and determining the backup data through other means (such as Portal (portal), short message, etc.) is described below. Notify the DM server to back up the backup data of the device terminal through other means (such as Portal, short message, etc.), and the device management server sends Notification (notification) to the device terminal to establish a session. If the user does not inform the DM server of the backup data that needs to be backed up when requesting the DM server, the DM server and the device terminal interact to determine the backup data to be backed up. The determination method can be that the server first obtains data information that the terminal can serve as target data, Then, the data information is presented to the user by issuing an interactive command for the user to select, and the user determines the target data to be backed up according to the information provided by the interactive interface.
在步骤2中,当设备终端与设备管理服务器建立会话,并确定备份数据后,设备管理服务器可根据设备终端选择的备份数据获得设备终端的备份数据,根据本发明,可以有三种方法获得备份数据,下面描述服务器获取备份数据的方法。In
第一种方法,当确定备份数据后,可将备份数据标识(如备份数据的URI)传送到设备管理服务器。确定备份数据可分两种情况:一是设备终端确定的,二是通过设备终端与设备管理服务器确定的。In the first method, after the backup data is determined, the backup data identifier (such as the URI of the backup data) can be transmitted to the device management server. The backup data can be determined in two cases: one is determined by the device terminal, and the other is determined by the device terminal and the device management server.
当是第一种情况时,设备终端确定的备份数据,设备终端可以通过GenericAlert的<LocURI>将备份数据标识(如URI)发送给设备管理服务器,例如,可通过如下命令将备份数据标识发给设备管理服务器。In the first case, for the backup data determined by the device terminal, the device terminal can send the backup data identifier (such as URI) to the device management server through <LocURI> of GenericAlert. For example, the backup data identifier can be sent to the device management server through the following command Device management server.
<Alert><Alert>
<CmdID>2</CmdID><CmdID>2</CmdID>
<Data>1226</Data><--Generic Alert--><Data>1226</Data><--Generic Alert-->
<Item><Item>
<Source><LocURI>./Root</LocURI></Source><Source><LocURI>./Root</LocURI></Source>
<Meta><Meta>
<Type>org.openmobilealliance.dm.backup.userrequest</Type><Type>org.openmobilealliance.dm.backup.userrequest</Type>
<Format>chr</Format><Format>chr</Format>
</Meta></Meta>
<Data/><Data/>
</Item></Item>
</Alert></Alert>
当是第二情况时,由设备终端与服务器交互所确定的备份数据,则通过交互命令对应的<Status>返回选择结果(也就是备份数据标识如URI)给设备管理服务器。In the second case, the backup data determined by the interaction between the device terminal and the server returns the selection result (that is, the backup data identifier such as URI) to the device management server through <Status> corresponding to the interaction command.
设备管理服务器在获取目标数据的URI后,可直接通过下发Get命令获取URI指定的目标数据。数据在传送之前可以进行一些预处理,如压缩、加密等。例如:After obtaining the URI of the target data, the device management server can directly issue the Get command to obtain the target data specified by the URI. Data can be pre-processed before transmission, such as compression, encryption, etc. For example:
<Get><Get>
<CmdID>4</CmdID><CmdID>4</CmdID>
<Item><Item>
<Target><Target>
<LocURI>./Root</LocURI><LocURI>./Root</LocURI>
</Target></Target>
</Item></Item>
</Get></Get>
第二种方法,如图2所示,当设备终端确定备份数据后,设备终端打包数据并存放到设备管理树的单独节点上,以便设备管理服务器获取数据包。为了实现本方法,首先在DM管理树上增加一个存储备份数据的节点Outbox。Outbox节点为设备终端和设备管理服务器提供了一个数据传输的通道,当设备终端确定了存储的备份数据后,设备终端会对备份数据进行打包,并将备份数据包存放到Outbox节点上。服务器直接通过命令Get获得这个节点的数据。The second method, as shown in Figure 2, after the device terminal determines the backup data, the device terminal packs the data and stores it in a separate node of the device management tree, so that the device management server can obtain the data package. In order to realize this method, a node Outbox for storing backup data is firstly added to the DM management tree. The Outbox node provides a data transmission channel for the device terminal and the device management server. After the device terminal determines the stored backup data, the device terminal will package the backup data and store the backup data package on the Outbox node. The server directly obtains the data of this node through the command Get.
第三种方法,当设备终端确定需要存储的备份数据后,设备终端对备份数据进行打包,然后直接上传给服务器,上传使用Generic Alert命令。例如:In the third method, after the device terminal determines the backup data to be stored, the device terminal packages the backup data, and then directly uploads it to the server, and uploads using the Generic Alert command. For example:
<Alert><Alert>
<CmdID>2</CmdID><CmdID>2</CmdID>
<Data>1226</Data><--Generic Alert--><Data>1226</Data><--Generic Alert-->
<Item><Item>
<Source><LocURI>./Root</LocURI></Source><Source><LocURI>./Root</LocURI></Source>
<Meta><Meta>
<Type>org.openmobilealliance.dm.backup.userrequest</Type><Type>org.openmobilealliance.dm.backup.userrequest</Type>
<Format>chr</Format><Format>chr</Format>
</Meta></Meta>
<Data><Data>
<CDATA>...</CDATA><--Upload data--><CDATA>...</CDATA><--Upload data-->
</Data></Data>
</Item></Item>
</Alert></Alert>
在步骤3中,DM服务器存储获得的备份数据。根据本发明,如图3所示,数据包可以以树的方式进行组织:树有两个子树,分别存储终端管理树和非管理树上的数据。如果是管理树上的数据,树的组织按终端管理树的结构进行组织;对于非管理树上的数据,按其在终端侧的路径组织。In
最后设备管理服务器存储获得的备份数据。备份数据在设备管理服务器上以树的形式存储。将备份数据存储在树上,存储的方法如下,首先在树上查找备份数据,如果找到,则对其进行更新,如果没有,则在树上增加存储该备份数据的节点。Finally, the device management server stores the obtained backup data. Backup data is stored in tree form on the device management server. The backup data is stored on the tree. The storage method is as follows. First, the backup data is searched on the tree. If found, it is updated. If not, the node for storing the backup data is added to the tree.
为了减少备份数据时的通信量,可以采取一定的措施,如在终端侧设定一些识别标志,使得每次只发送确定的备份数据中经过修改的部分,而不是全部备份数据。In order to reduce the traffic when backing up data, certain measures can be taken, such as setting some identification marks on the terminal side, so that only the modified part of the determined backup data is sent each time, instead of all the backup data.
下面介绍数据恢复方法,在需要备份数据时,可通过Portal、短消息等方式通知DM服务器,或设备终端直接发起会话,利用Generic Alert通知服务器,以便DM服务器进行数据的恢复。如果是Portal或短消息方式通知DM服务器,则DM服务器会向设备终端发送Notification(通知)以触发会话建立流程。如果在向DM服务器请求时没有DM服务器需要操作的目标数据,则需要在建立会话之后进行DM服务器和设备终端的交互来确定准备操作的目标数据,确定方法可以是服务器首先获取备份数据的信息,然后通过下发交互命令将这些数据信息呈现给用户并让用户选择,用户根据交互界面提供的信息确定需要恢复的目标数据。在确定目标数据后,DM服务器提取备份数据树上的数据并恢复到终端。备份数据可以使用Replace命令或其它命令。The following describes the data recovery method. When data needs to be backed up, the DM server can be notified through Portal, short message, etc., or the device terminal directly initiates a session, and the Generic Alert is used to notify the server so that the DM server can restore the data. If the DM server is notified by Portal or short message, the DM server will send Notification (notification) to the device terminal to trigger the session establishment process. If there is no target data that the DM server needs to operate when making a request to the DM server, it is necessary to interact with the DM server and the device terminal after the session is established to determine the target data to be operated. The determination method can be that the server first obtains the backup data information, Then, the data information is presented to the user by issuing an interactive command for the user to select, and the user determines the target data to be restored according to the information provided by the interactive interface. After determining the target data, the DM server extracts the data on the backup data tree and restores it to the terminal. Backup data can use the Replace command or other commands.
当设备终端需要告知服务器终端请求的操作时,可以通过在会话请求数据包中附带Generic Alert命令来达到此目的。Generic Alert命令需要附带一个事先定义好的双方都理解的恢复标识,即Alert Type。如数据恢复的Alert Type可以定义为“org.openmobilealliance.dm.restore.userrequest”。When the device terminal needs to inform the server terminal of the requested operation, this purpose can be achieved by attaching the Generic Alert command in the session request packet. The Generic Alert command needs to be accompanied by a pre-defined recovery identifier that both parties understand, that is, the Alert Type. For example, the Alert Type of data restoration can be defined as "org.openmobilealliance.dm.restore.userrequest".
根据本发明,优选地,在数据备份过程中,当备份的数据为程序数据时,可以只备份程序数据的标识、版本号;在数据恢复过程中,DMS可根据程序数据标识和版本号控制设备终端对该程序数据进行下载、安装和配置。According to the present invention, preferably, in the data backup process, when the backed up data is program data, only the identification and version number of the program data can be backed up; during the data recovery process, the DMS can control the device according to the program data identification and version number The terminal downloads, installs and configures the program data.
如图4所示,本发明提供了一种数据备份/恢复系统,包括设备终端、通信网络和DM服务器。所述设备终端包括:选择模块,用于选择备份数据;通信模块,用于将选择的备份数据发给DM服务器,接收选择的备份数据。所述DM服务器包括:存储器,用于存储备份数据;通信模块,用于从设备终端获得备份数据,并将备份数据发给设备终端;处理模块,用于识别设备终端的备份/恢复请求,并根据备份/恢复请求对备份数据进行操作,当设备终端发来备份请求时,处理模块获得备份数据并将备份数据存储在存储器中,当设备终端发来恢复请求时,处理模块利用备份数据恢复设备终端的目标数据。所述通信网络包括无线网络或有线网络,用于设备终端与设备管理服务器之间进行通信。As shown in Fig. 4, the present invention provides a data backup/restoration system, including a device terminal, a communication network and a DM server. The device terminal includes: a selection module for selecting backup data; a communication module for sending the selected backup data to the DM server and receiving the selected backup data. The DM server includes: a memory for storing backup data; a communication module for obtaining backup data from the device terminal and sending the backup data to the device terminal; a processing module for identifying the backup/restore request of the device terminal, and Operate the backup data according to the backup/restoration request. When the device terminal sends a backup request, the processing module obtains the backup data and stores the backup data in the memory. When the device terminal sends a restore request, the processing module uses the backup data to restore the device Terminal target data. The communication network includes a wireless network or a wired network, and is used for communication between the device terminal and the device management server.
根据本发明,通过将终端数据存储在DM服务器上,可以保证终端数据的可恢复性,尤其是对于设备终端的私有数据可提供数据的恢复能力,从而方便了用户,提高了用户体验。According to the present invention, by storing the terminal data on the DM server, the recoverability of the terminal data can be ensured, especially for the private data of the device terminal, the data recovery capability can be provided, thereby facilitating users and improving user experience.
另外,根据本发明,在进行程序恢复时,不必查找待恢复的程序,设备管理服务器会根据备份的程序信息(如备份程序的标识和版本号)自动控制设备终端进行程序下载安装和配置,从而方便了设备终端的程序恢复。In addition, according to the present invention, when performing program restoration, it is not necessary to search for the program to be restored, and the device management server will automatically control the device terminal to download, install and configure the program according to the backed up program information (such as the ID and version number of the backup program), thereby It facilitates the program recovery of the device terminal.
虽然通过实施例描绘了本发明,但本领域普通技术人员知道,在不脱离本发明的精神和实质的情况下,就可使本发明有许多变形和变化,本发明的范围由所附的权利要求来限定。Although the present invention has been described by the embodiments, those of ordinary skill in the art know that, without departing from the spirit and essence of the present invention, the present invention can have many modifications and variations, and the scope of the present invention is defined by the appended rights Requirements to limit.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100898985A CN100391291C (en) | 2005-08-10 | 2005-08-10 | A data backup and recovery method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100898985A CN100391291C (en) | 2005-08-10 | 2005-08-10 | A data backup and recovery method and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1852534A CN1852534A (en) | 2006-10-25 |
CN100391291C true CN100391291C (en) | 2008-05-28 |
Family
ID=37133997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100898985A Active CN100391291C (en) | 2005-08-10 | 2005-08-10 | A data backup and recovery method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100391291C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426272A (en) * | 2015-12-23 | 2016-03-23 | 北京奇虎科技有限公司 | Backup method and device for application programs |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222527B (en) * | 2008-01-25 | 2011-12-07 | 中兴通讯股份有限公司 | Method and system for protecting terminal key configuration |
CN101720084A (en) * | 2009-12-18 | 2010-06-02 | 中兴通讯股份有限公司 | Method for processing terminal data, terminal and system |
CN101860570B (en) * | 2010-06-10 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system for backuping and restoring user data of mobile terminal |
CN102647399B (en) * | 2011-02-17 | 2015-08-19 | 腾讯科技(深圳)有限公司 | A kind of software backup method and system |
US20130042231A1 (en) | 2011-08-10 | 2013-02-14 | Ford Global Technologies, Llc | Methods and Apparatus for Software Updating |
US10108501B2 (en) * | 2011-09-30 | 2018-10-23 | Beijing Qihoo Technology Company Limited | Terminal backup and recovery method |
CN102360321A (en) * | 2011-09-30 | 2012-02-22 | 奇智软件(北京)有限公司 | Terminal program quick backup and recovery method based on cloud architecture |
CN103095784B (en) * | 2011-11-08 | 2016-04-20 | 北京捷通华声科技股份有限公司 | A kind of cloud user mapped system and method |
KR101919777B1 (en) * | 2012-01-09 | 2018-11-19 | 엘지전자 주식회사 | Mobile terminal and method for controlling thereof |
CN102662801B (en) * | 2012-04-28 | 2015-08-12 | 上海量明科技发展有限公司 | By the method for JICQ recovery routine, client and system |
CN102684928B (en) * | 2012-05-31 | 2015-12-09 | 华为技术有限公司 | The method and apparatus of a kind of service backup and recovery |
CN104216798A (en) * | 2013-07-29 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Data processing method and terminal |
CN103412759A (en) * | 2013-08-19 | 2013-11-27 | 深圳市金立通信设备有限公司 | Production data recovery method and terminal |
CN103581300B (en) * | 2013-10-10 | 2018-06-19 | 国家电网公司 | The interactive online security method of conference system information material |
CN103546807A (en) * | 2013-10-30 | 2014-01-29 | 乐视致新电子科技(天津)有限公司 | Cloud back-up and restoration method and related device |
CN103546582A (en) * | 2013-11-12 | 2014-01-29 | 北京京东尚科信息技术有限公司 | Method, device and system for backup of application services of server |
CN105094876B (en) * | 2014-05-20 | 2019-02-12 | 华为技术有限公司 | CPLD upgrade processing method, device and system |
CN105577734A (en) * | 2014-11-05 | 2016-05-11 | 中兴通讯股份有限公司 | Information backup method, device, server and terminal |
CN105763353A (en) * | 2014-12-17 | 2016-07-13 | 中兴通讯股份有限公司 | DM (device management) tree recovery method and device |
CN105630637A (en) * | 2016-02-14 | 2016-06-01 | 北京艾森思科技有限公司 | Software backup method, software backup terminal, software recovery method and software recovery terminal |
CN105812483A (en) * | 2016-04-20 | 2016-07-27 | 努比亚技术有限公司 | Method and server for updating application and mobile terminal |
CN106250270B (en) * | 2016-07-28 | 2019-05-21 | 广东奥飞数据科技股份有限公司 | A kind of data back up method under cloud computing platform |
CN109391656B (en) * | 2017-08-09 | 2021-10-08 | 中兴通讯股份有限公司 | Method and device for recovering equipment management session, client and server |
CN107729507B (en) * | 2017-10-23 | 2020-06-05 | 广州慧睿思通信息科技有限公司 | Data cleaning method based on terminal storage and nearby calculation |
CN109471752A (en) * | 2017-12-29 | 2019-03-15 | 北京安天网络安全技术有限公司 | A kind of snapshot management and system reducing method and system |
CN108770042B (en) * | 2018-04-12 | 2022-01-18 | Oppo广东移动通信有限公司 | Network connection method, terminal device and computer storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381154A (en) * | 2000-03-31 | 2002-11-20 | 青山真二 | Cellular telephone, and method and apparatus for backup of data of cellular telephone |
CN1452072A (en) * | 2002-04-15 | 2003-10-29 | 无敌科技股份有限公司 | Remote data preservation backup recovery method |
CN1599470A (en) * | 2003-09-19 | 2005-03-23 | 欧特斯科技股份有限公司 | Data backup system |
-
2005
- 2005-08-10 CN CNB2005100898985A patent/CN100391291C/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1381154A (en) * | 2000-03-31 | 2002-11-20 | 青山真二 | Cellular telephone, and method and apparatus for backup of data of cellular telephone |
CN1452072A (en) * | 2002-04-15 | 2003-10-29 | 无敌科技股份有限公司 | Remote data preservation backup recovery method |
CN1599470A (en) * | 2003-09-19 | 2005-03-23 | 欧特斯科技股份有限公司 | Data backup system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426272A (en) * | 2015-12-23 | 2016-03-23 | 北京奇虎科技有限公司 | Backup method and device for application programs |
CN105426272B (en) * | 2015-12-23 | 2019-10-15 | 北京奇虎科技有限公司 | Application program backup method and device |
Also Published As
Publication number | Publication date |
---|---|
CN1852534A (en) | 2006-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100391291C (en) | A data backup and recovery method and system thereof | |
CA2743685C (en) | Firmware upgrade system and method in a device management architecture | |
CN102136934B (en) | Method, device and network system for realizing remote upgrading of Zigbee equipment | |
US20060200658A1 (en) | Agent framework for mobile devices | |
CN101083537B (en) | A method, device and system for realizing equipment management | |
CN101635643B (en) | Method and system for changing terminal service and network management platform | |
US20140208307A1 (en) | Method and System for Upgrading CPE Firmware | |
CN105100021B (en) | Triggering method, device and system for device management session | |
WO2007065326A1 (en) | Method for managing terminal device | |
WO2008110088A1 (en) | Method and system for automatically updating mobile terminal software, mobile terminal and software managing server | |
CN101317381A (en) | Method, system and terminal for maintaining capacity management object and managing capacity | |
WO2016090846A1 (en) | Network version upgrade method and apparatus | |
CN103019757A (en) | Method, device and system for synchronizing software among multiple clients | |
CN100531045C (en) | Data management method and system based on simple network management protocol | |
US20080244049A1 (en) | Method and System for Device Management | |
CN101068408B (en) | Multi-standby terminal self-registration method, terminal and server | |
WO2007003103A1 (en) | A method for sharing data and a method for recovering the backup data | |
CN101360127A (en) | File updating method and transmission system | |
WO2006122477A1 (en) | A method for upward-transferring terminal information as well as method and system for maintaining terminal device | |
WO2007022676A1 (en) | A system for reporting and obtaining device information and the method therefor | |
US8745270B2 (en) | Communication device and method of handling large object in device management | |
WO2010124571A1 (en) | Node information acquirement method, client, and server | |
CN101316399A (en) | A method, system and device for updating the appearance of a communication terminal | |
WO2009146650A1 (en) | Method for erasing data of terminal and terminal device | |
CN113055253B (en) | Method, device, equipment and storage medium for rapidly opening home gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |