WO2007003103A1 - A method for sharing data and a method for recovering the backup data - Google Patents

A method for sharing data and a method for recovering the backup data Download PDF

Info

Publication number
WO2007003103A1
WO2007003103A1 PCT/CN2006/001432 CN2006001432W WO2007003103A1 WO 2007003103 A1 WO2007003103 A1 WO 2007003103A1 CN 2006001432 W CN2006001432 W CN 2006001432W WO 2007003103 A1 WO2007003103 A1 WO 2007003103A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
data
information
management server
shared data
Prior art date
Application number
PCT/CN2006/001432
Other languages
French (fr)
Chinese (zh)
Inventor
Kepeng Li
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007003103A1 publication Critical patent/WO2007003103A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Definitions

  • the present invention relates to the field of communication device management technologies, and in particular, to a data management method for a communication device. More specifically, it relates to data sharing and data backup recovery methods.
  • a mobile terminal is an important component of an entire mobile operation service system, and along with an increasing performance of a mobile terminal, various software (refer to application software, such as game software, etc.) and firmware (refer to terminal equipment) running in the terminal device Low-level platform software) is also emerging.
  • application software such as game software, etc.
  • firmware refer to terminal equipment
  • Low-level platform software Low-level platform software
  • OMA Open Mobile Alliance
  • DM Device Management
  • the specific processing flow of the anti-virus software update packet sent by the DM server is shown in Figure 1.
  • the specific implementation process is as follows (the part of the process of establishing the connection phase between the initial terminal device and the DM server is omitted).
  • the DM server sends a request message for obtaining the software version information to the terminal device.
  • the DM server obtains the related software information from the management tree of the terminal device by sending a script with a Get command, as follows:
  • the terminal device feeds back a response message carrying its own software version information, wherein the terminal device returns the software version information to the DM server through the Results command, as follows:
  • the DM server selects the software update data packet corresponding to the software according to the software version information fed back by the terminal device, and sends the software update data packet to the terminal device; wherein the DM server sends the software update data packet to the terminal device through the Replace command. details as follows:
  • the terminal device saves the software update data packet delivered by the DM server, and runs the software update data packet to upgrade and install its own anti-virus software;
  • the terminal device feeds back a success message to the DM server to indicate that the terminal device has successfully received the software update data packet.
  • the terminal device can only passively receive data sent by the DM server, but cannot upload data to the DM server, and cannot actively download data from the DM server. In this way, the user cannot share his own data.
  • the user forwards the characteristic data on the terminal device to the friend through the DM server, thereby realizing data sharing, wherein the characteristic data here includes but is not limited to application data (such as ringtones). , screensavers and wallpapers, etc., applications (firmware, software) and configuration parameters, etc.; also can not get the data that others are willing to share, which makes it difficult to share data between different terminal devices, so that users can not get better user experience.
  • the terminal device will have its own data information (such as ringtone, screen saver, wallpaper, application software and parameter configuration).
  • the data is backed up to the DM server in a tree-like storage structure to implement data backup processing of the terminal device.
  • the terminal device obtains each backup data one by one from the tree-like storage structure stored by the DM server. Then, the device is restored to the terminal device, thereby implementing data recovery processing of the terminal device.
  • the tree storage structure on which the terminal device performs data backup and recovery processing is as shown in FIG. 2, wherein the "Backup" node and the "Restore” node in the tree storage structure are executable nodes, which can be respectively executed by Exec commands. Call execution.
  • the terminal device can remotely back up the data information to the DM server by executing the "Backup" node command.
  • the specific processing procedure is as follows:
  • the terminal device can restore the backup data from the DM server by executing the "Restore" node command.
  • the specific processing procedure is as follows:
  • the backup data recovery processing of the terminal device from the DM server is based on the application name (Application Name), the application manufacturer (Application Manufacture), the application version (Application Version) and the like, and the corresponding data is searched in the DM server. Restore the discovered application data to the local.
  • the existing OMA DM-based terminal device data backup and recovery method in the proposed state has a narrow application scope, and can only be applied to backup and recovery of data of the terminal device, and cannot be applied to user replacement.
  • Data backup and recovery processing for terminal devices due to the weak function of the tree storage structure on which data backup and recovery processing depends, some data may not have information such as name, manufacturer and version; thus the terminal device backs up data to the DM server. After that, if you want to restore the backup data from the DM server, how to find the data with no related name, manufacturer and version information from the tree storage structure stored in the DM server for backup data recovery is more difficult. solved problem. Summary of the invention
  • the object of the present invention is to provide a data sharing method to enable different terminal devices to pass
  • the DM server implements data sharing.
  • the present invention also provides a data backup and recovery method, so that the data backup of the terminal device and its recovery processing can be applied to a wider range.
  • a data sharing method including the steps of: the source terminal device participating in the data sharing reporting the shared data to the device management server;
  • the device management server delivers the shared data reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that are involved in the data sharing.
  • the process of reporting the shared data to the device management server includes:
  • the source terminal device reports the shared data to the device management server according to the request of the device management server;
  • the source terminal device actively reports the shared data to the device management server.
  • the step of the device management server delivering the shared data to the destination terminal device includes: the destination terminal device requests the device management server to download the shared data;
  • the device management server sends the shared data to the destination terminal device in response to the request.
  • the user reports the source terminal device information and the destination terminal device information that participate in the data sharing to the device management server by using an external notification manner; or
  • the source terminal device or the destination terminal device carries the source terminal device information and the destination terminal device information that are involved in the data sharing in the shared data and reports them to the device management server.
  • the terminal device information is an international mobile station device identification code of the terminal device or an international mobile subscriber identity of the user to which the terminal device belongs.
  • the device management server authenticates the source terminal device, and determines whether the source terminal device can share data with the destination terminal device.
  • the authentication of the source terminal device includes:
  • the device management server reads a destination terminal device identifier list set in the source terminal device; and determining that the destination terminal device identifier is in the destination terminal device identifier list When the source terminal device is allowed to share the shared data to the destination terminal device.
  • the device management server authenticates the destination terminal device, and determines whether the destination terminal device can share the shared data provided by the source terminal device.
  • the authenticating the target terminal device includes:
  • the device management server reads the source terminal device identifier list set in the destination terminal device; When it is determined that the source terminal device identifier is in the source terminal device identifier list, the destination terminal device is allowed to share the shared data provided by the source terminal device.
  • the method further comprises:
  • the DM server obtains the shared data from the source terminal device, and saves the acquired shared data, and then sends the shared data to the destination terminal device; or
  • the DM server directly sends the shared data received from the source terminal device to the destination terminal device;
  • the DM server saves the acquired shared data, and after the shared data is sent to the destination terminal device, deletes the saved shared data; or
  • the shared data is identified.
  • the DM server sends the saved shared data to the destination terminal device according to the identifier.
  • another data sharing method for implementing data sharing between terminal devices based on an Open Mobile Alliance device management specification, including the steps of: sharing data provided by a source terminal device participating in data sharing The address information of the stored location is reported to the device management server;
  • the device management server sends the address information reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing; the destination terminal device stores the shared data according to the obtained address information.
  • the location gets the shared data provided by the source terminal device.
  • the method further comprises the steps of:
  • the user to which the source terminal device belongs sets the authentication key of the address information, and notifies the set authentication key to the user to which the destination terminal device belongs;
  • the device management server authenticates the user to which the destination terminal device belongs before sending the address information to the corresponding destination terminal device.
  • the address information is sent to the destination terminal device.
  • the address information is a universal resource locator of a location where the shared data is stored on the source terminal device.
  • the destination terminal device accesses an address stored by the shared data through a network transmission protocol, and acquires the shared data.
  • a data backup and recovery method comprising the steps of:
  • the original terminal device sends its own data information to the device management server for backup.
  • the original terminal device or the updated terminal device restores the data information backed up in the device management server to the local device.
  • the step of reporting the data information to the device management server includes the following steps:
  • the device management server sends a message requesting the original terminal device to report the data information to be backed up to the original terminal device;
  • the original terminal device reports the data information to be backed up to the device management server in response to the received request message.
  • the original terminal device actively reports the data information to be backed up to the device management server.
  • the device management server delivers the data information to be backed up to the original terminal device or the updated terminal device;
  • the steps of restoring the data information backed up in the device management server to the local device of the terminal device include:
  • the original terminal device or the updated terminal device requests the device management server to download the backed up data information
  • the device management server delivers the backed up data information to the original terminal device or the updated terminal device in response to the received request.
  • the data backup and recovery method further comprises:
  • the device management server associates the backup data information reported by the original terminal device with the user identification information of the user to which the original device belongs.
  • the corresponding backup data information is searched according to the user identification information of the original terminal device or the user to which the updated terminal device belongs.
  • another data backup and recovery method for implementing terminal device data backup and recovery processing based on the Open Mobile Alliance device management specification, including the steps of:
  • the original terminal device sends the address information of the backup location of its own data information to the device.
  • Management server for storage
  • the original terminal device or the updated terminal device acquires address information of the location where the data information is backed up in the device management server;
  • the backup data location is accessed to the backup location of the data information according to the obtained address information, and the backup data information is restored to the local device.
  • the method further comprises the steps of:
  • the user of the original terminal device sets an authentication key for obtaining the address information; and before the device management server obtains the address information, the user of the original terminal device is authenticated;
  • the device management server After the user of the original terminal device passes the authentication, the device management server sends the address information to the original terminal device or the updated terminal device.
  • the address information is a universal resource locator of the location where the data information is backed up.
  • the data sharing method sets the address information of the location where the shared data or the shared data is located to the DM server through the source terminal device, and the DM server according to the source terminal device information and the destination terminal device information participating in the data sharing.
  • Providing the shared data to the destination terminal device or providing the address information of the location where the shared data is stored to the destination terminal device, and the destination terminal device acquires the shared data according to the address information of the location where the shared data is stored, thereby implementing different terminal devices.
  • Data sharing can be achieved through the DM server. Improve user satisfaction.
  • the data backup and recovery method provided by the present invention sets the data information to be backed up by the original terminal device or the address information of the location where the data information to be backed up is set to the DM server, and the subsequent data information in the original terminal device is lost or damaged.
  • FIG. 1 is a flowchart of a specific process of sending an update packet by a DM server;
  • FIG. 2 is a schematic diagram of a tree storage structure for data backup and recovery processing of a terminal device
  • FIG. 3 is a schematic diagram of a tree storage structure in a terminal device according to the method provided by the present invention
  • FIG. 4 is a schematic diagram of a data sharing implementation process according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a processing procedure for authenticating a terminal device by a DM server according to the present invention
  • FIG. 6 is a schematic diagram of an implementation process of reporting shared data from a source terminal device to a DM server according to the present invention
  • FIG. 7 is a schematic diagram of another implementation process of reporting shared data from a source terminal device to a DM server according to the present invention.
  • FIG. 8 is a schematic diagram of an implementation process of a DM server transmitting shared data to a destination terminal device according to the present invention
  • FIG. 9 is a schematic diagram of an implementation process of a DM server transmitting shared data to a destination terminal device according to the present invention.
  • FIG. 10 is a schematic diagram showing an implementation process of data information backup and recovery processing according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of an implementation process of an exemplary data backup and recovery method according to the present invention.
  • FIG. 12 is a process flow diagram of another exemplary data backup and recovery method according to the present invention.
  • FIG. 13 is a schematic diagram showing a process of realizing data sharing between terminal devices in accordance with an embodiment of the present invention.
  • FIG. 14 is a flowchart showing a process of implementing data backup recovery in accordance with another embodiment of the present invention.
  • the two device management-based data sharing methods proposed by the present invention are respectively described.
  • the first method for data sharing based on device management is to realize mutual sharing of data between terminal devices by relaying and forwarding shared data by the DM server;
  • the second method for data sharing based on device management is adopted by the DM server.
  • the address information of the location where the shared data is stored is forwarded to share data between the terminal devices.
  • the present invention is directed to the above two data sharing methods, and accordingly, a data backup and recovery method based on device management is proposed.
  • FIG. 3 shows a subtree tree storage structure stored in the terminal device according to the present invention, and FIG. 3 is referred to.
  • the storage structure strategy is used to facilitate the DM server to find.
  • the data to be sent (including shared data, address information of the location where the shared data is stored, pre-backed up data information, or backup data information)
  • the address information of the storage location, etc. is uniformly stored in the shared subtree
  • the data to be received (including the shared data, the address information of the location where the shared data is stored, the restored backup data information, or the address information of the location where the backup data information is stored, etc., etc.) ) is also stored in the shared subtree.
  • the internal node is the starting node of the shared subtree and contains shared data information, allowed operating permission descriptions, and some operational commands.
  • the internal node can be placed anywhere under the root node of the device management tree (DM tree). It is a permanent node (a permanent node refers to a node that the DM server cannot delete), which can be generated by the device manufacturer or by other management parties. Need to be produced. It is described in the Device Description Framework (DDF, Device Description Framework) document in its specific location on the DM tree.
  • DDF Device Description Framework
  • This node is the parent node of the shared data information, and the user will be willing to share the shared data. Placed under this node, the shared data obtained from other terminal devices is also placed under this node,
  • DMAgent is an application running on the terminal device, which is responsible for the device management service, interacts with the DM server, interprets the execution device management command, as long as the terminal supporting the DM service has DMAgent) or the user organizes the use of the node. data.
  • This node is used to describe the name of the shared data.
  • the node is used to store description information of the shared data.
  • the node is used to store the URI of the shared data on the DM tree.
  • the shared data is the node data on the DM tree, only the URI of the shared data is stored, thereby avoiding wasting storage space; and when the shared data is not in the DM tree, the node is used.
  • the ⁇ Data> node below stores the actual shared data.
  • This node is used to store the actual shared data, that is, when it is sent, it stores shared data that is not on the DM tree, and also stores the received shared data.
  • This node is used to describe the type of shared data, which is convenient for recipients to identify.
  • This node is used to describe the size of the shared data.
  • This node is used to store other relevant information about the shared data.
  • This node is used to describe a terminal device that allows reading of a shared subtree, that is, a terminal device that allows acquisition of shared data from the shared subtree.
  • the node is used to describe the IMSI (International Mobile Subscriber Identit) information of the terminal device that is allowed to obtain the information of the shared subtree.
  • the IMSI included in the node may be added, modified, and deleted by the user.
  • This node is used to describe a terminal device that allows writing of a shared subtree, that is, a terminal device that allows transmission of shared data to the shared subtree.
  • the node is used to describe the IMSI information of the terminal device that allows the shared data to be sent to the shared subtree.
  • the IMSI included in the node can be added, modified, and deleted by the user.
  • This node is used to describe the parent node of the related operations on the shared subtree.
  • the node exists as a collection of related operations for sharing data. It is equivalent to a container. It is followed by some related operation commands.
  • This node can be used by the Exec command (the Exec command is a command in the DM protocol. Execute the executable node. Since Upload and Download are not existing commands in the DM protocol, they must be called by Exec to initiate the upload operation and upload the shared data to the DM server. Upload can call other protocols to complete the upload operation. The DM server can be notified to extract.
  • the node can be initiated by the Exec command (this Exec command can be initiated by the DM server or by the terminal device, but all executed by the terminal device) to initiate the download operation, that is, download the shared data from the DM server to the shared subtree. Download can call other protocols (such as OMA Download protocol) to complete the download operation, or notify the DM server to deliver.
  • Exec command can be initiated by the DM server or by the terminal device, but all executed by the terminal device
  • Download can call other protocols (such as OMA Download protocol) to complete the download operation, or notify the DM server to deliver.
  • This node is used as a reservation for future extensions and can be used to describe other related operations on the shared subtree.
  • This node is used to store other relevant information of the shared subtree, which is reserved for future extensions.
  • the following describes an invention solution for relaying shared data by a DM server to implement data sharing between terminal devices.
  • the present invention implements data between terminal devices by relaying and forwarding shared data by a DM server.
  • Schematic diagram of the main implementation process of sharing, the main implementation process is as follows:
  • step S01 a session connection is established between the DM server and the same terminal device (the process of establishing the session connection phase is clearly defined in the OMA DM specification, which is not described here), where the connection establishment phase includes the DM server source.
  • the process of authorization authentication by the terminal device which will be explained later.
  • Step S02 the source terminal device participating in the data sharing reports the shared data to the DM server; the process may report the shared data to the DM server by the source terminal device actively; The source terminal device may request the source terminal device to report the shared data, and the source terminal device reports the shared data in response to the request of the DM server.
  • Step S03 the DM server establishes a session connection with the destination terminal device (the process of establishing the session connection phase is clearly defined in the OMA DM specification, and is not described here), wherein the establishment connection phase includes the DM server for the purpose.
  • the process of authorization authentication by the terminal device which will be explained later.
  • Step S04 The DM server sends the shared data reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing.
  • the process may be performed by the DM server directly sending the shared data to the destination terminal device.
  • the destination terminal device may also request the DM server, and the DM server downloads the shared data to the destination terminal device in response to the request.
  • the source terminal device information and the destination terminal device information that notify the DM server to participate in data sharing can be implemented in the following two ways:
  • the user notifies the source terminal device information and the destination terminal device information participating in the data sharing by means of an external notification mode (ie, a method other than the DM protocol, such as the user calling the operator's customer service center, or the user logging in to the Web site).
  • an external notification mode ie, a method other than the DM protocol, such as the user calling the operator's customer service center, or the user logging in to the Web site.
  • the data transmission mode may also be that the source terminal device uploads the shared data to the DM server, and the destination terminal device downloads from the DM server.
  • the source terminal device notifies the DM server of the source terminal device information and the destination terminal device information that participate in the data sharing in the shared data. That is, the source terminal device information or the destination terminal device information is carried in the shared data, and the DM server is notified by the DM protocol command, the destination terminal device to which the shared data is to be transmitted, or from which source terminal device the shared data is to be acquired.
  • the address of the DM server is processed into a direct address in the shared data, and the address of the source terminal device or the destination terminal device is processed into an indirect address. And because the current OMA DM protocol cannot support the data bearer indirect address for reporting
  • ⁇ Indirect> is set to be used in the shared data initiated by the source terminal device or the destination terminal device. It should be used together with the existing tag ⁇ 8011 « ⁇ > or 3 ⁇ 4 61>, and the ⁇ 80111 ⁇ > is used together to indicate the source terminal device address as the indirect.
  • the address, used in conjunction with ⁇ Ding & 1 ⁇ 1>, represents the destination terminal device address as an indirect address.
  • ⁇ Source>/ ⁇ LocURI> is the international mobile device identifier IMEI of the source terminal device
  • ⁇ Target>/ ⁇ LocURI> is directly Address, which is the address information of the DM server.
  • ⁇ 8 1108 ⁇ > message body container, ⁇ Exec>/ ⁇ Item>/ ⁇ Target> is an executable command node, indicating upload, and Indirect address information, that is, the destination terminal device IMSI. Therefore, the command program can be used to notify the DM server that the shared data uploaded to the DM server is forwarded to the destination terminal device.
  • ⁇ Exec>/ ⁇ Upload> ⁇ Target>/ ⁇ Indirect>/ ⁇ LoclI I> is used together to indicate that the shared data is to be uploaded to the destination terminal device; and if the destination terminal device is to be downloaded from the source terminal device, For data, ⁇ Exec>/ ⁇ Download> should be used together with ⁇ 8011 ⁇ >/ ⁇ 1]1(1 601;>/ ⁇ 0001 ⁇ >.
  • the terminal device information of the source terminal device or the destination terminal device participating in the data sharing may be an International Mobile Station Equipment Identity (IMEI) of the terminal device, or may be an International Mobile Subscriber Identity (IMSI) of the user to which the terminal device belongs. ).
  • IMEI International Mobile Station Equipment Identity
  • IMSI International Mobile Subscriber Identity
  • the DM server needs to authenticate whether the source terminal device can share the shared data to the destination terminal device, and the authentication process is:
  • the DM server reads a list of destination terminal device identifiers set in the source terminal device (which may be an IMSI list of the destination terminal device);
  • the source terminal device is allowed to share the shared data to the destination terminal device.
  • the DM server also needs to authenticate whether the destination terminal device can share the shared data provided by the source terminal device, and the authentication process is:
  • a source terminal device identifier list (which may be an IMSI list of the source terminal device) of the provider of the shared data that can be written to the destination terminal device in the destination terminal device;
  • the DM server reads the source terminal device identifier list set in the destination terminal device (source terminal) The IMSI list of devices);
  • the destination terminal device is allowed to share the shared number provided by the source terminal device.
  • the DM server needs to perform authentication authentication on both the transmitting and receiving sides of the shared data respectively; in step S01, the DM server needs to authenticate whether the source terminal device allows the shared data to be sent to the destination terminal device, and the authentication is performed. The process is to see if the IMSI of the destination terminal device is in the ⁇ Read Allowed> list of the shared subtree stored by the source terminal device. Similarly, in step S03, the DM server needs to authenticate whether the destination terminal device is allowed to receive the shared data from the source terminal device, and the authentication process is to see whether the IMSI of the source terminal device is in the shared subtree stored by the destination terminal device. ⁇ ' ⁇ Allowed> (Allow write) in the ⁇ 1 ⁇ 1> list.
  • Fig. 5 is a schematic diagram showing the process of authenticating a terminal device by a DM server in the present invention, with reference to Fig. 5.
  • the specific processing of its authentication is as follows:
  • Step S11 the DM server notifies the terminal device through the Notification message, requesting to establish a connection;
  • Step S12 The terminal device responds to the request, and establishes an initial connection with the DM server (processed by the DM Agent agent in the terminal device);
  • Step S13 The DM server queries the terminal device for the read and write permission information set in the shared subtree stored by the terminal device.
  • the following command can be used to query the permission permission information set in the shared subtree stored by the terminal device:
  • Step S14 The DM Agent in the terminal device feeds back the read and write permission information stored in the subtree to the DM server.
  • the following command can be used to feedback the read permission information stored in the shared subtree to the DM server:
  • Step S15 The DM server determines, according to the obtained read/write permission information of the terminal device, whether the IMSI of the shared data receiver is in the list of permitted read data of the shared data sender, if yes, indicating The receiving party can obtain the shared data from the terminal device. (Similarly, the DM server can also determine whether the IMSI of the shared data sender is allowed to write in the shared data receiver according to the read and write permission information allowed by the obtained terminal device. ⁇ 1- Allowed ⁇ ⁇ IMSI> in the list, if it indicates that the sender can share data to the receiver), the DM server can continue forwarding operations; otherwise, the DM server will not be able to obtain shared data from the sender;
  • Step S16 The DM server sends an authentication pass information to the user through a UI (User Interface) interface;
  • UI User Interface
  • Step S17 the user confirms, accepts the request
  • step S18 the user responds to the confirmation message to the DM server.
  • the process in which the source terminal device reports the shared data to the DM server in the foregoing step S2 can be implemented in two ways, as follows:
  • FIG. 6 is a schematic diagram of a first implementation process of reporting shared data from a source terminal device to a DM server according to the present invention. Referring to FIG. 6, the specific implementation process is as follows:
  • Step S21 The DM server sends a request message for requesting the source terminal device to report the shared data to the source terminal device, that is, the DM server requests the source terminal device to use the Get command.
  • Step S22 The source terminal device reports the shared data to the DM server in response to the received request message, that is, the source terminal device returns the shared data to the DM server by using the Results command.
  • FIG. 7 is a schematic diagram of a second implementation process of reporting shared data from a source terminal device to a DM server according to the present invention. Referring to FIG. 7, the specific implementation process is as follows:
  • Step S31 setting an active upload executable command in the source terminal device (such as an executable command Upload in the shared subtree stored in the terminal device); the source terminal device shares the data by running an active upload executable command uploaded by itself. Reported to the DM server;
  • Step S32 After receiving the shared data reported by the source terminal device, the DM server feeds back the successful receiving message to the source terminal device.
  • the process of forwarding the shared data to the destination terminal device by the DM server in the above step S4 can also be implemented in two ways, as follows:
  • FIG. 8 is a schematic diagram of a first implementation process of the DM server transmitting the shared data to the destination terminal device in the present invention. Referring to FIG. 8, the specific implementation process is as follows:
  • Step S41 The DM server directly delivers the shared data to the destination terminal device by using the Replace command.
  • Step S42 After receiving the shared data, the destination terminal device feeds back the successfully received message to the DM server.
  • FIG. 9 is a schematic diagram of a second implementation process of the DM server transmitting the shared data to the destination terminal device in the present invention. Referring to FIG. 9, the specific implementation process is as follows:
  • Step S51 setting an active download executable command (such as an executable command Download in the shared subtree stored in the terminal device) in the destination terminal device; the destination terminal device downloads the executable command to the DM server by running the set active download command Request to download shared data;
  • an active download executable command such as an executable command Download in the shared subtree stored in the terminal device
  • Step S52 The DM server sends the shared data to the destination terminal device in response to the received request.
  • Data parsing can be done in the following ways: (1) DM server resolution
  • the DM server obtains the shared data from the source terminal device, parses the shared data according to the manufacturer model and the data type description of the source terminal device, and converts the shared data into a destination terminal device according to the manufacturer model of the destination terminal device. data.
  • the destination terminal device parses the received shared data, which may be completed by the DM Agent, or the user may organize the usage data.
  • the DM server can set a policy for saving and deleting shared data, as follows:
  • the DM server obtains the shared data from the source terminal device, saves the acquired shared data, and then delivers the shared data to the destination terminal device.
  • the DM server does not store the shared data, but provides a channel from the source terminal device to the destination terminal device.
  • the DM server receives the shared data from the source terminal device and delivers the shared data to the destination terminal device.
  • the DM server delivers the shared data to the destination terminal device, the saved shared data is deleted to avoid wasting storage space.
  • the DM server delivers the shared data to the corresponding destination terminal device, the saved shared data is not deleted, and the uploader is marked for the shared data.
  • the DM server does not need to re-source from the source. The terminal device requests to share the data, and directly sends the saved shared data to the destination terminal device.
  • the user can put the data information on the terminal device into its own sharer. The tree is then uploaded to the DM server for storage. When the data on the terminal device is damaged or lost, or the user replaces the terminal device, the previously saved data information can be downloaded from the DM server, thus realizing the backup and recovery of the data.
  • users can be more The terminal equipment is changed, and is not limited to replacing the terminal equipment of the same brand, and may be terminal equipment of different brands and different models.
  • the user can set ⁇ 1 ⁇ 11( ⁇ 6(1> and ⁇ 1 ⁇ &(1 Allowed>) in the shared subtree as their own, which is equivalent to Only the data information is shared with itself, thus avoiding the danger of others stealing data information.
  • the user can delete the data information stored in the shared subtree to save storage on the terminal device.
  • the DM server needs to associate the data information uploaded by the user with the IMSI of the user to which the terminal device uploading the data information, and store it in the form of a directory, so that the user can download from the DM server when the user downloads and restores. Get the backup data information in this storage directory.
  • FIG. 10 is a schematic diagram of a main implementation process for implementing data information backup and recovery processing by relaying and forwarding backup data information through a DM server according to the present invention.
  • the main implementation process is as follows:
  • Step S61 The original terminal device reports the data information of the original terminal device to the DM server for backup processing; wherein the process of reporting the data information to the DM server may also be performed in two ways:
  • the first type is a request message for the DM server to request the original terminal device to report the data information of the pre-backup to the original terminal device;
  • the original terminal device then reports the pre-backed data information to the DM server in response to the received request message.
  • the second method is to set an active upload executable command in the original terminal device (that is, an executable command Upload in the shared subtree stored in the terminal device);
  • the original terminal device reports the pre-backup data information to the DM server by running the active upload executable command Upload.
  • step S62 when the original terminal device loses or destroys data information, or when the user replaces the terminal device (not limited to replacing different brands and different types of terminal devices), the original terminal device or the updated terminal device may back up the DM server.
  • the data information is further restored to the local device of the terminal device; the process of restoring the backed up data information from the DM server to the local device can also be implemented in the following two ways:
  • the first type is that the DM server directly sends the backed up data information to the original terminal device or the updated terminal device.
  • the second method is to set an active download executable command in the original terminal device or the update terminal device (such as the executable command Download in the shared subtree stored in the terminal device);
  • the original terminal device or the updated terminal device requests the DM server to download the backed up data information by running an active download executable command (Download) set by itself;
  • the DM server delivers the backup data information to the original terminal device or the update terminal device in response to the received request.
  • the DM server may associate the backup data information reported by the original terminal device with the user identification information of the user to which the original terminal device belongs, such as the IMSI of the user, etc., so that the subsequent backup data information recovery processing may be performed according to the original terminal.
  • the device or the user identification information of the user to which the terminal device belongs searches for the corresponding backup data information, thereby improving the convenience and efficiency for the DM server to find the corresponding backup data information according to the request of the terminal device.
  • FIG. 11 is a schematic diagram of a specific implementation process of a data backup and recovery method based on device management according to the present invention. Referring to FIG. 11, the specific implementation process is as follows:
  • Step S71 a connection establishment phase between the original terminal device and the DM server is performed according to a Setup Phase stage of the OMA DM standard;
  • Step S72 The original terminal device uploads the pre-backed data information to the DM server; for example, the following command may be used for uploading:
  • Step S73 the DM server saves the backup data information reported by the original terminal device.
  • Step S74 the DM server responds to the original terminal device with a successful receiving message.
  • Step S75 When the original terminal device appears to lose or damage its own data, the original terminal device sends the original terminal device to the DM server. Sending a request for requesting the DM server to deliver backup data information For example, you can use the following command to request the DM server to deliver the backup data information: ⁇ Exec> ⁇ Item>
  • Step S76 The DM server responds to the received request message, searches for corresponding backup data information, and returns to the original terminal device.
  • Step S77 The DM server deletes the downloaded backup data information to save storage space; or deletes the backup data information for the next recovery use (this step is optional).
  • FIG. 12 is a schematic diagram of a processing procedure of a data backup and recovery method based on device management applied to a terminal device when a user replaces a terminal device. Referring to FIG. 12, the specific implementation process is as follows:
  • Step S81 establishing a connection phase between the terminal device A (ie, the original terminal device) and the DM server, according to a Setup Phase stage of the OMADM standard;
  • Step S82 the terminal device A uploads the pre-backup data information to the DM server (the Upload executable command may be used);
  • Step S83 The DM server saves the received pre-backup data information.
  • Step S84 The DM server returns the successfully received information to the terminal device A.
  • step S85 the user replaces the terminal device A with the terminal device B, and the terminal device B establishes a session connection with the DM server according to the Setup Phase of the OMADM standard.
  • the terminal device B needs to be further authenticated, and the authentication and authentication process can be referred to the foregoing FIG. 5;
  • Step S86 the terminal device B downloads the backed up data information from the DM server (the download executable command may be used);
  • Step S87 The terminal device B saves and restores the downloaded backup data information.
  • Step S88 the terminal device B returns the successful recovery information to the DM server.
  • Step S89 the DM server may delete the downloaded backup data information to save the save. Storage space; you can also not delete the backup data information for the next recovery use (this step is optional).
  • FIG. 13 is a storage location of the shared data by the DM server.
  • the main processing procedure of the address information to realize the sharing of data between the terminal devices is as follows: Referring to FIG. 13, the main processing procedure is as follows:
  • Step S91 The source terminal device participating in the data sharing reports the address information of the location where the shared data is stored to the DM server, where the source terminal device can store the shared data that needs to be shared in any node having a storage function in the network system (including In the source terminal device itself, the address information of the node storing the shared data may be set to the DM server; wherein the address information of the shared data location mentioned herein may be the location where the shared data is stored in the source terminal device.
  • the source terminal device may report the address information of the location where the shared data is stored to the DM server by using the method of actively reporting (executing the Upload command) or receiving the request from the DM server.
  • Step S92 The DM server saves address information of a location where the shared data reported by the source terminal device is stored;
  • Step S93 The DM server sends the address information reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing; wherein the destination terminal device can also actively request the DM server to download. (Execute the Download command) or directly accept the DM server to download the address information stored in the DM server;
  • Step S95 The destination terminal device returns the successfully received information to the DM server.
  • Step S96 The destination terminal device obtains the shared data provided by the source terminal device by accessing the location where the shared data is stored according to the obtained address information. a network transmission protocol (such as TCP/IP protocol, etc.), and accessing the location where the shared data is stored according to the address information of the location where the shared data is stored (the address information can be the URI information of the location where the shared data is stored in the source terminal device) Achieve the purpose of obtaining shared data.
  • the user to which the source terminal device belongs may further set a key for obtaining the address information in the DM server, and notify the user to which the destination terminal device belongs, and the key information set by the user and the user of the user.
  • the IMSI corresponds to the storage; if the DM server sends the address information to the corresponding destination terminal device, the user to which the destination terminal device belongs is required to input the key for obtaining the address information; if the user inputs the key correctly, the address is obtained.
  • the information is sent to the destination terminal device, thereby achieving the purpose of securely sharing data.
  • the present invention also proposes a scheme for realizing data backup and recovery by relaying and forwarding the address information of the location where the backup data information is stored by the DM server
  • FIG. 14 is an address of the location where the backup data information is relayed and forwarded by the DM server according to the present invention.
  • the main processing procedure of the data backup and recovery is as follows: Referring to FIG. 14, the main implementation process is as follows: Step S101: The original terminal device reports the address information of the backup location of the data information that is owned by the original terminal device to the DM server for storage; The device can also report the address information of the location where the backup data information is stored to the DM server by means of the active report (executing the upload command) or receiving the request from the DM server. The location of the backup data information mentioned here is stored.
  • the address information may be general resource locator (UI) information, etc., where the backup data information is stored.
  • UI general resource locator
  • Step S102 the DM server stores the address information of the location where the backup data information reported by the original terminal device is stored;
  • Step S103 the DM server returns the successful receiving information to the original terminal device.
  • Step S104 When the backup data recovery is required, the original terminal device (or the updated terminal device) obtains the address information of the backup location of the data information in the DM server; The original terminal device (or the updated terminal device) may also adopt the method of actively requesting the DM server to download (execute the Download command) or directly accept the DM server to download the address information stored in the DM server; Step S105, the original terminal device (or the update terminal device) returns a successful receiving message to the DM server;
  • Step S106 The original terminal device (or the updated terminal device) accesses the backup location of the data information according to the obtained address information, and further restores the backup data information to the terminal device locally.
  • the original terminal device (or the updated terminal device) can obtain the backup data information by using a network transmission protocol (such as TCP/IP protocol) and accessing the location where the backup data information is stored according to the address information of the location where the backup data information is stored. the goal of.
  • a network transmission protocol such as TCP/IP protocol
  • the user to which the original terminal device belongs may further set a key for obtaining the address information in the DM server; the DM server stores the key information set by the user and the IMSI of the user, so that the DM server sends the address information to the corresponding original.
  • the user of the original terminal device is required to input the key for obtaining the address information; if the user inputs the key correctly, the address information is sent to the original terminal device, thereby implementing the terminal device securely.

Abstract

A method for sharing the data includes: the source terminal devices sharing the data uplink to the device management server; the device management server sends the sharing data uplinked by the source terminal devices downlink to the corresponding destination terminal devices based on the information of the source terminal devices and the destination terminal devices. A method for recovering the backup data includes: the source terminal devices or the updated terminal devices recover the backup data in the device management server into the terminal devices local when the backup data needs to be recovered. This invention can realize the different terminal devices of sharing the data by the DM sever, and can provides the users more safe and credible service.

Description

数据共享及数据备份恢复方法  Data sharing and data backup and recovery method
技术领域 本发明涉及通信设备管理技术领域, 尤其涉及通信设备的数据管理 方法。 更具体地说, 涉及数据共享及数据备份恢复方法。 背景技术 移动终端是整个移动运营服务体系中的重要组成部分, 伴随着移动 终端性能的日益增强, 终端设备中运行的各种软件 (指应用软件, 例如 游戏软件等)和固件 (指终端设备的低层平台软件)也层出不穷。 对于 移动运营商以及移动终端制造商而言, 如何针对终端设备上运行的各种 软件及其固件实施有效的管理, 以保证终端设备能够正常的使用各种软 件及其固件, 使用户得到良好的用户体验, 以及提高服务质量并有效降 低设备维护成本都起着极其重要的作用。 TECHNICAL FIELD The present invention relates to the field of communication device management technologies, and in particular, to a data management method for a communication device. More specifically, it relates to data sharing and data backup recovery methods. BACKGROUND A mobile terminal is an important component of an entire mobile operation service system, and along with an increasing performance of a mobile terminal, various software (refer to application software, such as game software, etc.) and firmware (refer to terminal equipment) running in the terminal device Low-level platform software) is also emerging. For mobile operators and mobile terminal manufacturers, how to implement effective management of various software and firmware running on the terminal device to ensure that the terminal device can use various software and its firmware normally, so that the user gets good. User experience, as well as improving service quality and effectively reducing equipment maintenance costs, play an extremely important role.
现有的开放移动联盟(OMA, Open Mobile Alliance)设备管理(DM, Device Management) 规范规定, 终端设备可以通过 DM服务器来完成参 数配置、 固件升级及其软件下载等操作, 但是终端设备需要的这些数据 只能从 DM服务器中获取。 例如 DM服务器对终端设备提供软件下载、 固件更新及其参数配置等管理操作时, 是通过 DM服务器将相关的数据 包下发给终端设备来完成的。  The existing Open Mobile Alliance (OMA) Device Management (DM) specification stipulates that terminal devices can perform parameter configuration, firmware upgrade, and software download operations through the DM server, but these are required by the terminal device. Data can only be obtained from the DM server. For example, when the DM server provides management operations such as software download, firmware update, and parameter configuration to the terminal device, the DM server sends the related data packet to the terminal device.
例如, DM服务器下发反病毒软件更新数据包的具体处理流程如图 1 所示, 其具体实现过程如下 (其中初始终端设备和 DM服务器之间建立 连接阶段的部分过程省略 )··  For example, the specific processing flow of the anti-virus software update packet sent by the DM server is shown in Figure 1. The specific implementation process is as follows (the part of the process of establishing the connection phase between the initial terminal device and the DM server is omitted).
1、 DM服务器向终端设备下发获取软件版本信息的请求消息; 其中 DM服务器是通过发送一段带有 Get命令的脚本,来实现从终端设备的管 理树上获取相关软件信息的, 具体如下;  The DM server sends a request message for obtaining the software version information to the terminal device. The DM server obtains the related software information from the management tree of the terminal device by sending a script with a Get command, as follows:
<Get>  <Get>
<Cmd ID>4</Cmd ID>  <Cmd ID>4</Cmd ID>
<Item>  <Item>
<Target> <LocURI>Jantivirus_data/version</LocURI> </Target> <Target> <LocURI>Jantivirus_data/version</LocURI></Target>
</Item>  </Item>
</Get>  </Get>
2、 终端设备反馈承载有自身软件版本信息的回应消息, 其中终端设 备是通过 Results命令来将自身软件版本信息返回给 DM服务器的, 具体 如下:  2. The terminal device feeds back a response message carrying its own software version information, wherein the terminal device returns the software version information to the DM server through the Results command, as follows:
<Results>  <Results>
<MsgRef 1 </MsgRef^<CmdRef>4</CmdRef>  <MsgRef 1 </MsgRef^<CmdRef>4</CmdRef>
<Cmd ID>3</Cmd ID>  <Cmd ID>3</Cmd ID>
<Item>  <Item>
<Source>  <Source>
<LocU I>Jantivirus_data/version</LocURI>  <LocU I>Jantivirus_data/version</LocURI>
</Source>  </Source>
<Data>antivirus-inc/20010522b/5</Data>  <Data>antivirus-inc/20010522b/5</Data>
</Item>  </Item>
</Results>  </Results>
3、 DM服务器根据终端设备反馈的软件版本信息, 选择对应这个软 件的软件更新数据包,并下发给终端设备;其中 DM服务器是通过 Replace 命令来将软件更新数据包下发给终端设备的, 具体如下:  3. The DM server selects the software update data packet corresponding to the software according to the software version information fed back by the terminal device, and sends the software update data packet to the terminal device; wherein the DM server sends the software update data packet to the terminal device through the Replace command. details as follows:
<Replace>  <Replace>
<CmdID>2</CmdID>  <CmdID>2</CmdID>
<Meta>  <Meta>
<Format xmlns="syncml:metinf '>b64</Format>  <Format xmlns="syncml:metinf '>b64</Format>
<Type xmlns^^syncmlimetinf^application/antivims-inc-virusdef <Type xmlns^^syncmlimetinf^application/antivims-inc-virusdef
</Type> </Type>
</Meta>  </Meta>
<Item>  <Item>
<Target>  <Target>
<LocURI>./antivirus_data</LocURI>  <LocURI>./antivirus_data</LocURI>
</Target>  </Target>
<Data><!~ Base64-coded antivirus file ~></Data>  <Data><!~ Base64-coded antivirus file ~></Data>
</Item> </Replace> </Item> </Replace>
4、 终端设备保存 DM服务器下发的软件更新数据包, 并运行该软件 更新数据包, 对自身的反病毒软件进行升级安装;  4. The terminal device saves the software update data packet delivered by the DM server, and runs the software update data packet to upgrade and install its own anti-virus software;
5、 终端设备向 DM服务器反馈成功消息, 以表示终端设备已经成功 接收到软件更新数据包。  5. The terminal device feeds back a success message to the DM server to indicate that the terminal device has successfully received the software update data packet.
由上述过程可以看出, 在现有 OMADM协议中, 终端设备只能被动 地接收 DM服务器下发的数据, 而不能实现上传数据给 DM服务器, 相 应也不能主动地从 DM服务器下载数据。 这样, 用户就不能把自己的数 据共享出去, 例如用户将自身终端设备上的特色数据通过 DM服务器转 发给自己的朋友, 从而实现数据共享, 其中这里的特色数据包括但不限 于应用数据(如铃声、 屏保及墙紙等)、 应用程序 (固件、 软件)和配置 参数等; 也不能获得别人愿意共享出来的数据, 从而很难实现不同终端 设备之间的数据共享, 使用户得不到更好的用户体验。  It can be seen from the above process that in the existing OMA DM protocol, the terminal device can only passively receive data sent by the DM server, but cannot upload data to the DM server, and cannot actively download data from the DM server. In this way, the user cannot share his own data. For example, the user forwards the characteristic data on the terminal device to the friend through the DM server, thereby realizing data sharing, wherein the characteristic data here includes but is not limited to application data (such as ringtones). , screensavers and wallpapers, etc., applications (firmware, software) and configuration parameters, etc.; also can not get the data that others are willing to share, which makes it difficult to share data between different terminal devices, so that users can not get better user experience.
同时在现有 OMA DM规范中, 终端设备的数据备份及恢复处理技术 还只处于提案状态, 其主要思想是: 终端设备将自身具有的数据信息 (如 铃声、 屏保、 墙纸、 应用软件和参数配置等)以树状存储结构上传给 DM 服务器, 从而实现终端设备的数据备份处理; 当终端设备本地数据损坏 或丢失时, 终端设备再从 DM服务器存储的树状存储结构中逐一获取各 个备份数据, 进而恢复到终端设备上, 从而实现终端设备的数据恢复处 理。  At the same time, in the existing OMA DM specification, the data backup and recovery processing technology of the terminal device is still only in the state of proposal. The main idea is: The terminal device will have its own data information (such as ringtone, screen saver, wallpaper, application software and parameter configuration). The data is backed up to the DM server in a tree-like storage structure to implement data backup processing of the terminal device. When the local data of the terminal device is damaged or lost, the terminal device obtains each backup data one by one from the tree-like storage structure stored by the DM server. Then, the device is restored to the terminal device, thereby implementing data recovery processing of the terminal device.
其中终端设备进行数据备份及恢复处理所依赖的树状存储结构如图 2所示, 其中该树状存储结构中的 "Backup" 节点和 "Restore" 节点都是 可执行节点, 分别可由 Exec指令来调用执行。  The tree storage structure on which the terminal device performs data backup and recovery processing is as shown in FIG. 2, wherein the "Backup" node and the "Restore" node in the tree storage structure are executable nodes, which can be respectively executed by Exec commands. Call execution.
其中终端设备可通过执行 "Backup" 节点命令来实现将数据信息远 程备份到 DM服务器中, 其具体处理程序如下:  The terminal device can remotely back up the data information to the DM server by executing the "Backup" node command. The specific processing procedure is as follows:
<Exec>  <Exec>
<Item> <Item>
<Target> <LocU I>. /Backup </LocURI> </Target>  <Target> <LocU I>. /Backup </LocURI> </Target>
<Data> <LocURI>./Application data <LocURI> </Data> </Item> <Data><LocURI>./Application data <LocURI></Data> </Item>
</Exec>  </Exec>
同时, 终端设备可通过执行 "Restore" 节点命令来实现将备份数据 从 DM服务器恢复回来, 其具体处理程序如下:  At the same time, the terminal device can restore the backup data from the DM server by executing the "Restore" node command. The specific processing procedure is as follows:
<Exec>  <Exec>
<Item> <Item>
<Target> <LocURI>./Restore </LocURI> </Target>  <Target> <LocURI>./Restore </LocURI> </Target>
</Item>  </Item>
</Exec>  </Exec>
其中终端设备从 DM服务器中进行备份数据恢复处理是根据应用程 序名 ( Application Name )、 应用程序制造商 ( Application Manufacture )、 应用程序版本(Application Version )等信息, 在 DM服务器中查找相应的 数据, 并将查找到的应用程序数据恢复到本地。  The backup data recovery processing of the terminal device from the DM server is based on the application name (Application Name), the application manufacturer (Application Manufacture), the application version (Application Version) and the like, and the corresponding data is searched in the DM server. Restore the discovered application data to the local.
但是现有这种处于提案状态的基于 OMA DM规范的终端设备数据备 份及其恢复方式所存在的问题就是应用范围比较窄 , 只能适用于本终端 设备数据的备份及恢复, 不能适用于用户更换终端设备时的数据备份及 恢复处理; 同时由于数据备份及恢复处理所依赖的树状存储结构功能比 较弱, 有些数据可能没有名称、 制造商及版本等信息; 这样终端设备将 数据备份到 DM服务器后, 如果后续要从 DM服务器恢复备份数据时, 则 如何从 DM服务器存储的树状存储结构中查找到这部分没有相关名称、制 造商及版本信息表征的数据以进行备份数据恢复将是个比较难以解决的 问题。 发明内容  However, the existing OMA DM-based terminal device data backup and recovery method in the proposed state has a narrow application scope, and can only be applied to backup and recovery of data of the terminal device, and cannot be applied to user replacement. Data backup and recovery processing for terminal devices; At the same time, due to the weak function of the tree storage structure on which data backup and recovery processing depends, some data may not have information such as name, manufacturer and version; thus the terminal device backs up data to the DM server. After that, if you want to restore the backup data from the DM server, how to find the data with no related name, manufacturer and version information from the tree storage structure stored in the DM server for backup data recovery is more difficult. solved problem. Summary of the invention
本发明的目的在于提供数据共享方法, 以使不同终端设备能够通过 The object of the present invention is to provide a data sharing method to enable different terminal devices to pass
DM服务器实现数据共享。 The DM server implements data sharing.
本发明还提供数据备份恢复方法, 以使终端设备的数据备份及其恢 复处理能够应用于更广的范围。  The present invention also provides a data backup and recovery method, so that the data backup of the terminal device and its recovery processing can be applied to a wider range.
根据本发明的一方面, 提供的一种数据共享方法, 包括步骤: 参与数据共享的源终端设备将共享数据上报给设备管理服务器; 设备管理服务器根据参与数据共享的源终端设备信息和目的终端设 备信息, 将源终端设备上报的共享数据下发给对应的目的终端设备。 According to an aspect of the present invention, a data sharing method is provided, including the steps of: the source terminal device participating in the data sharing reporting the shared data to the device management server; The device management server delivers the shared data reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that are involved in the data sharing.
所述将共享数据上报给设备管理服务器的过程包括:  The process of reporting the shared data to the device management server includes:
源终端设备根据设备管理服务器的请求, 将共享数据上报给设备管 理服务器; 或者,  The source terminal device reports the shared data to the device management server according to the request of the device management server; or
源终端设备主动将共享数据上报给设备管理服务器。  The source terminal device actively reports the shared data to the device management server.
所述设备管理服务器将共享数据下发给目的终端设备的步骤包括: 目的终端设备向设备管理服务器请求下载共享数据;  The step of the device management server delivering the shared data to the destination terminal device includes: the destination terminal device requests the device management server to download the shared data;
设备管理服务器响应所述请求, 向目的终端设备下发共享数据。 更适宜地, 用户通过外部通知方式将参与数据共享的源终端设备信 息和目的终端设备信息上报给设备管理服务器; 或者,  The device management server sends the shared data to the destination terminal device in response to the request. Preferably, the user reports the source terminal device information and the destination terminal device information that participate in the data sharing to the device management server by using an external notification manner; or
源终端设备或目的终端设备将参与数据共享的源终端设备信息和目 的终端设备信息承载在共享数据中上报给设备管理服务器。  The source terminal device or the destination terminal device carries the source terminal device information and the destination terminal device information that are involved in the data sharing in the shared data and reports them to the device management server.
所述终端设备信息为终端设备的国际移动台设备识别码或终端设备 所属用户的国际移动用户识別码。  The terminal device information is an international mobile station device identification code of the terminal device or an international mobile subscriber identity of the user to which the terminal device belongs.
优选地, 在源终端设备上报共享数据之前, 设备管理服务器对源终 端设备进行鉴权, 判断该源终端设备能否与所述目的终端设备共享数据。  Preferably, before the source terminal device reports the shared data, the device management server authenticates the source terminal device, and determines whether the source terminal device can share data with the destination terminal device.
所述对源终端设备的鉴权包括:  The authentication of the source terminal device includes:
在所述源终端设备中设置能够共享数据的目的终端设备标识列表; 设备管理服务器读取源终端设备中设置的目的终端设备标识列表; 当确定目的终端设备标识在所述目的终端设备标识列表中时, 允许 该源终端设备将共享数据共享给所述目的终端设备。  Setting a destination terminal device identifier list capable of sharing data in the source terminal device; the device management server reads a destination terminal device identifier list set in the source terminal device; and determining that the destination terminal device identifier is in the destination terminal device identifier list When the source terminal device is allowed to share the shared data to the destination terminal device.
更适宜地, 在向目的终端设备下发共享数据之前, 设备管理服务器 对所述目的终端设备鉴权, 判断该目的终端设备是否能够共享源终端设 备提供的共享数据。  Preferably, before the shared data is delivered to the destination terminal device, the device management server authenticates the destination terminal device, and determines whether the destination terminal device can share the shared data provided by the source terminal device.
所述对所述目的终端设备的鉴权包括:  The authenticating the target terminal device includes:
在目的终端设备中设置能够将共享数据写入该目的终端设备的源终 端设备标识列表;  Setting a source terminal device identifier list capable of writing shared data to the destination terminal device in the destination terminal device;
设备管理服务器读取目的终端设备中设置的源终端设备标识列表; 当确定源终端设备标识在所述源终端设备标识列表中时, 允许该目 的终端设备共享源终端设备提供的共享数据。 The device management server reads the source terminal device identifier list set in the destination terminal device; When it is determined that the source terminal device identifier is in the source terminal device identifier list, the destination terminal device is allowed to share the shared data provided by the source terminal device.
优选地, 该方法还包括:  Preferably, the method further comprises:
DM服务器从源终端设备获取共享数据,并将获取的共享数据进行保 存, 再将共享数据下发给目的终端设备; 或者,  The DM server obtains the shared data from the source terminal device, and saves the acquired shared data, and then sends the shared data to the destination terminal device; or
DM服务器将从源终端设备接收的共享数据直接发送给目的终端设 备;  The DM server directly sends the shared data received from the source terminal device to the destination terminal device;
优选地, DM服务器将获取的共享数据进行保存, 并在共享数据下发 给目的终端设备后, 删除所保存的共享数据; 或者,  Preferably, the DM server saves the acquired shared data, and after the shared data is sent to the destination terminal device, deletes the saved shared data; or
DM服务器将共享数据下发给对应的目的终端设备后,对所述共享数 据进行标识, 当有目的终端设备请求共享数据时, DM服务器根据标识将 保存的共享数据下发给该目的终端设备。  After the DM server sends the shared data to the corresponding destination terminal device, the shared data is identified. When the destination terminal device requests the shared data, the DM server sends the saved shared data to the destination terminal device according to the identifier.
根据本发明的另一方面, 提供另一种数据共享方法, 用于实现基于 开放移动联盟设备管理规范的终端设备之间的数据共享, 包括步骤: 参与数据共享的源终端设备将提供的共享数据所存放位置的地址信 息上报给设备管理服务器;  According to another aspect of the present invention, another data sharing method is provided for implementing data sharing between terminal devices based on an Open Mobile Alliance device management specification, including the steps of: sharing data provided by a source terminal device participating in data sharing The address information of the stored location is reported to the device management server;
设备管理服务器根据参与数据共享的源终端设备信息和目的终端设 备信息, 将源终端设备上报的地址信息下发给对应的目的终端设备; 目的终端设备根据获得的地址信息, 通过访问共享数据所存放的位 置得到源终端设备提供的共享数据。  The device management server sends the address information reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing; the destination terminal device stores the shared data according to the obtained address information. The location gets the shared data provided by the source terminal device.
更适宜地, 该方法还包括步骤:  Preferably, the method further comprises the steps of:
源目的终端设备所属用户设置获取所述地址信息的鉴权密钥, 并将 设置的鉴权密钥通知给目的终端设备所属用户;  The user to which the source terminal device belongs sets the authentication key of the address information, and notifies the set authentication key to the user to which the destination terminal device belongs;
设备管理服务器在下发所述地址信息给对应的目的终端设备前, 对 该目的终端设备所属用户进行鉴权;  The device management server authenticates the user to which the destination terminal device belongs before sending the address information to the corresponding destination terminal device.
在该目的终端设备所属用户通过鉴权后, 将所述地址信息下发给该 目的终端设备。  After the user of the terminal device is authenticated, the address information is sent to the destination terminal device.
所述地址信息为共享数据在源终端设备上所存放位置的通用资源定 位符。 所述目的终端设备通过网络传输协议访问共享数据所存放的地址, 获取所述共享数据。 The address information is a universal resource locator of a location where the shared data is stored on the source terminal device. The destination terminal device accesses an address stored by the shared data through a network transmission protocol, and acquires the shared data.
根据本发明的又一方面, 提供一种数据备份恢复方法, 该方法包括 步骤:  According to still another aspect of the present invention, a data backup and recovery method is provided, the method comprising the steps of:
原始终端设备将自身的数据信息发送到设备管理服务器进行备份; 当需要恢复所述备份数据时, 原始终端设备或已更新终端设备将设 备管理服务器中备份的数据信息恢复到终端设备本地。  The original terminal device sends its own data information to the device management server for backup. When the backup data needs to be restored, the original terminal device or the updated terminal device restores the data information backed up in the device management server to the local device.
其中将所述数据信息上报到设备管理服务器包括步骤:  The step of reporting the data information to the device management server includes the following steps:
设备管理服务器向原始终端设备下发请求原始终端设备上报需备份 的数据信息的消息;  The device management server sends a message requesting the original terminal device to report the data information to be backed up to the original terminal device;
原始终端设备响应接收的请求消息, 上报需备份的数据信息到设备 管理服务器。  The original terminal device reports the data information to be backed up to the device management server in response to the received request message.
原始终端设备主动将需备份的数据信息上报到设备管理服务器。 所述设备管理服务器将需备份的数据信息下发给原始终端设备或已 更新终端设备;  The original terminal device actively reports the data information to be backed up to the device management server. The device management server delivers the data information to be backed up to the original terminal device or the updated terminal device;
将设备管理服务器中备份的数据信息恢复到终端设备本地的步 骤包括:  The steps of restoring the data information backed up in the device management server to the local device of the terminal device include:
原始终端设备或已更新终端设备向设备管理服务器请求下载备份的 数据信息;  The original terminal device or the updated terminal device requests the device management server to download the backed up data information;
设备管理服务器响应接收的请求, 向原始终端设备或已更新终端设 备下发备份的数据信息。  The device management server delivers the backed up data information to the original terminal device or the updated terminal device in response to the received request.
更适宜地, 该数据备份恢复方法还包括:  Preferably, the data backup and recovery method further comprises:
所述设备管理服务器将原始终端设备上报的备份数据信息和原始终 端设备所属用户的用户标识信息建立对应关系;  The device management server associates the backup data information reported by the original terminal device with the user identification information of the user to which the original device belongs.
在进行备份数据信息恢复处理时, 根据原始终端设备或已更新终端 设备所属用户的用户标识信息, 查找对应的备份数据信息。  When the backup data information recovery process is performed, the corresponding backup data information is searched according to the user identification information of the original terminal device or the user to which the updated terminal device belongs.
根据本发明还提供另一种数据备份恢复方法, 用于实现基于开放移 动联盟设备管理规范的终端设备数据备份及恢复处理, 包括步骤:  According to the present invention, another data backup and recovery method is provided for implementing terminal device data backup and recovery processing based on the Open Mobile Alliance device management specification, including the steps of:
原始终端设备将自身的数据信息所备份位置的地址信息发送到设备 管理服务器进行存储; The original terminal device sends the address information of the backup location of its own data information to the device. Management server for storage;
当需要恢复所述备份数据时, 原始终端设备或已更新终端设备在设 备管理服务器中获取数据信息所备份位置的地址信息;  When the backup data needs to be restored, the original terminal device or the updated terminal device acquires address information of the location where the data information is backed up in the device management server;
根据获取的地址信息访问数据信息的备份位置, 将备份数据信息恢 复到终端设备本地。  The backup data location is accessed to the backup location of the data information according to the obtained address information, and the backup data information is restored to the local device.
更适宜地, 该方法还包括步骤:  Preferably, the method further comprises the steps of:
原始终端设备所属用户设置获取所述地址信息的鉴权密钥; 在设备管理服务器中获取地址信息前, 对原始终端设备所属用户进 行鉴权;  The user of the original terminal device sets an authentication key for obtaining the address information; and before the device management server obtains the address information, the user of the original terminal device is authenticated;
在原始终端设备所属用户通过鉴权后, 设备管理服务器将所述地址 信息下发给原始终端设备或已更新终端设备。  After the user of the original terminal device passes the authentication, the device management server sends the address information to the original terminal device or the updated terminal device.
所述地址信息为数据信息所备份位置的通用资源定位符。  The address information is a universal resource locator of the location where the data information is backed up.
综上所述, 本发明提供的数据共享方法通过源终端设备将共享数据 或共享数据所在位置的地址信息设置到 DM服务器中, DM服务器根据 参与数据共享的源终端设备信息和目的终端设备信息, 将共享数据提供 给目的终端设备或将共享数据所存放位置的地址信息提供给目的终端设 备, 由目的终端设备再根据共享数据所存放位置的地址信息去获取共享 数据, 因此, 可以实现不同终端设备之间能够通过 DM服务器来达到数 据共享的目的。 提高用户的满意度。  In summary, the data sharing method provided by the present invention sets the address information of the location where the shared data or the shared data is located to the DM server through the source terminal device, and the DM server according to the source terminal device information and the destination terminal device information participating in the data sharing. Providing the shared data to the destination terminal device or providing the address information of the location where the shared data is stored to the destination terminal device, and the destination terminal device acquires the shared data according to the address information of the location where the shared data is stored, thereby implementing different terminal devices. Data sharing can be achieved through the DM server. Improve user satisfaction.
另外, 本发明提供的数据备份恢复方法通过原始终端设备将要备份 的数据信息或要备份的数据信息所存放位置的地址信息设置到 DM服务 器中, 后续在原始终端设备中的数据信息出现丟失、 损坏或用户更换终 端设备时, 原始终端设备或已更新终端设备再从 DM服务器中获取备份 的数据信息恢复到终端设备本地, 或从 DM服务器中获取备份数据信息 所存放位置的地址信息, 再根据该地址信息进而获取到备份的数据信息, 然后恢复到终端设备本地, 从而实现无论终端设备是否更换, 都可以进 行数据信息的备份和恢复处理, 从而使得 DM规范中的终端设备数据备 份恢复处理应用范围更广泛。 从而为用户提供更安全可靠的服务。 附图说明 图 1为 DM服务器下发更新数据包的具体处理流程图; In addition, the data backup and recovery method provided by the present invention sets the data information to be backed up by the original terminal device or the address information of the location where the data information to be backed up is set to the DM server, and the subsequent data information in the original terminal device is lost or damaged. When the user replaces the terminal device, the original terminal device or the updated terminal device restores the backed up data information from the DM server to the terminal device locally, or obtains the address information of the location where the backup data information is stored from the DM server, and then according to the The address information further obtains the backed up data information, and then restores to the terminal device local, so that the data information can be backed up and restored regardless of whether the terminal device is replaced, so that the terminal device data backup and recovery processing application range in the DM specification More extensive. Thereby providing users with safer and more reliable services. DRAWINGS FIG. 1 is a flowchart of a specific process of sending an update packet by a DM server;
图 2为终端设备进行数据备份及恢复处理的树状存储结构示意图; 图 3 为根据本发明提供的方法中在终端设备中的树状存储结构示意 图;  2 is a schematic diagram of a tree storage structure for data backup and recovery processing of a terminal device; FIG. 3 is a schematic diagram of a tree storage structure in a terminal device according to the method provided by the present invention;
图 4为根据本发明的实施例中的数据共享实现过程示意图; 图 5是本发明中由 DM服务器对终端设备进行鉴权的处理过程示意 图;  4 is a schematic diagram of a data sharing implementation process according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a processing procedure for authenticating a terminal device by a DM server according to the present invention;
图 6为本发明中将共享数据由源终端设备上报到 DM服务器的实现 过程示意图;  6 is a schematic diagram of an implementation process of reporting shared data from a source terminal device to a DM server according to the present invention;
图 7为本发明中将共享数据由源终端设备上报到 DM服务器的另一 种实现过程示意图;  7 is a schematic diagram of another implementation process of reporting shared data from a source terminal device to a DM server according to the present invention;
图 8为本发明中 DM服务器将共享数据下发给目的终端设备的实现 过程示意图;  8 is a schematic diagram of an implementation process of a DM server transmitting shared data to a destination terminal device according to the present invention;
图 9为本发明中 DM服务器将共享数据下发给目的终端设备的实现 过程示意图;  FIG. 9 is a schematic diagram of an implementation process of a DM server transmitting shared data to a destination terminal device according to the present invention;
图 10为根据本发明的实施例中的数据信息备份恢复处理的实现过程 示意图;  FIG. 10 is a schematic diagram showing an implementation process of data information backup and recovery processing according to an embodiment of the present invention; FIG.
图 11 为根据本发明的示范性的数据备份恢复方法的实施过程示意 图;  11 is a schematic diagram of an implementation process of an exemplary data backup and recovery method according to the present invention;
图 12为根据本发明的另一示范性的数据备份恢复方法的处理过程示 图 13为根据本发明的实施例中实现终端设备之间共享数据的处理过 程示意图;  12 is a process flow diagram of another exemplary data backup and recovery method according to the present invention. FIG. 13 is a schematic diagram showing a process of realizing data sharing between terminal devices in accordance with an embodiment of the present invention;
图 14为根据本发明的另一实施例中实现数据备份恢复的处理过程示 意图 具体实施方式  FIG. 14 is a flowchart showing a process of implementing data backup recovery in accordance with another embodiment of the present invention.
下面将结合附图.  The following will be combined with the drawings.
述。 Said.
首先对本发明提出的两种基于设备管理的数据共享方法分别进行说 明, 其中第一种基于设备管理的数据共享方法是通过由 DM服务器中继 转发共享数据来实现终端设备之间相互共享数据的; 第二种基于设备管 理的数据共享方法是通过由 DM服务器中继转发共享数据所存放位置的 地址信息来实现终端设备之间共享数据的。 然后本发明针对上述两种数 据共享方法, 相应地提出了一种基于设备管理的数据备份恢复方法。 First, the two device management-based data sharing methods proposed by the present invention are respectively described. The first method for data sharing based on device management is to realize mutual sharing of data between terminal devices by relaying and forwarding shared data by the DM server; the second method for data sharing based on device management is adopted by the DM server. The address information of the location where the shared data is stored is forwarded to share data between the terminal devices. Then, the present invention is directed to the above two data sharing methods, and accordingly, a data backup and recovery method based on device management is proposed.
上述本发明提出的几种技术方案都需要在各个终端设备中建立统一 的数据存储结构, 图 3 所示为本发明提出的在终端设备中存储的子树树 状存储结构, 参照图 3。 主要为了解决由于不同终端设备间的数据组织结 构不同, 釆用该存储结构策略便于 DM服务器查找。 通过在每个终端设 备的管理树上建立一个如该图所示的共享子树, 要发送的数据 (包括共 享数据、 共享数据所存放位置的地址信息、 预备份的数据信息或备份数 据信息所存放位置的地址信息等)统一存放在该共享子树中, 要接收的 数据 (包括共享数据、 共享数据所存放位置的地址信息、 恢复的备份数 据信息或备份数据信息所存放位置的地址信息等)也存放在该共享子树 中。  The above-mentioned technical solutions of the present invention need to establish a unified data storage structure in each terminal device. FIG. 3 shows a subtree tree storage structure stored in the terminal device according to the present invention, and FIG. 3 is referred to. Mainly to solve the problem of different data organization structures between different terminal devices, the storage structure strategy is used to facilitate the DM server to find. By creating a shared subtree as shown in the figure on the management tree of each terminal device, the data to be sent (including shared data, address information of the location where the shared data is stored, pre-backed up data information, or backup data information) The address information of the storage location, etc.) is uniformly stored in the shared subtree, and the data to be received (including the shared data, the address information of the location where the shared data is stored, the restored backup data information, or the address information of the location where the backup data information is stored, etc., etc.) ) is also stored in the shared subtree.
其中对该共享子树的具体说明如下 (以存放相应共享数据为例分别 进行说明, 其他数据信息的存放与共享数据的存放原理相同或相似;): <内部节点>
Figure imgf000012_0001
The specific description of the shared subtree is as follows (to store the corresponding shared data as an example, the storage of other data information is the same or similar to the shared data;): <internal node>
Figure imgf000012_0001
该内部节点是共享子树的起始节点, 包含了共享数据信息、 允许操 作权限说明和一些操作命令。 该内部节点可以放在设备管理树(DM树) 根节点下面的任何地方, 它是一个永久节点 (永久节点是指 DM服务器 不能删除的节点), 可由设备制造商产生, 也可由其它管理方根据需要产 生。 其中在设备描述框架(DDF, Device Description Framework )文档中 说明它在 DM树上的具体位置。  The internal node is the starting node of the shared subtree and contains shared data information, allowed operating permission descriptions, and some operational commands. The internal node can be placed anywhere under the root node of the device management tree (DM tree). It is a permanent node (a permanent node refers to a node that the DM server cannot delete), which can be generated by the device manufacturer or by other management parties. Need to be produced. It is described in the Device Description Framework (DDF, Device Description Framework) document in its specific location on the DM tree.
/<X>
Figure imgf000012_0002
/<X>
Figure imgf000012_0002
该节点是共享数据信息的父节点, 用户将愿意共享出去的共享数据 放在此节点下, 从其它终端设备上获得的共享数据也放在此节点下, 由This node is the parent node of the shared data information, and the user will be willing to share the shared data. Placed under this node, the shared data obtained from other terminal devices is also placed under this node,
DMAgent ( DM Agent是终端设备上运行的应用程序, 专门负责设备管理 服务, 和 DM服务器交互, 解释执行设备管理命令, 只要是支持 DM服 务的终端就有 DMAgent )或用户来组织使用该节点下的数据。 DMAgent (DM Agent is an application running on the terminal device, which is responsible for the device management service, interacts with the DM server, interprets the execution device management command, as long as the terminal supporting the DM service has DMAgent) or the user organizes the use of the node. data.
/<X >/<Name>
Figure imgf000013_0001
/<X >/<Name>
Figure imgf000013_0001
该节点用于描述共享数据的名称。  This node is used to describe the name of the shared data.
/<X >/<Description>
Figure imgf000013_0002
/<X >/<Description>
Figure imgf000013_0002
该节点用于存储共享数据的描述说明信息。  The node is used to store description information of the shared data.
/<X>/<U I>
Figure imgf000013_0003
/<X>/<U I>
Figure imgf000013_0003
该节点用于存储共享数据在 DM树上的 URI, 当共享数据是 DM树 上的节点数据时, 只存储共享数据的 URI, 避免浪费存储空间; 而当共 享数据不在 DM树上时, 就用下面的 <Data>节点存储实际共享数据。  The node is used to store the URI of the shared data on the DM tree. When the shared data is the node data on the DM tree, only the URI of the shared data is stored, thereby avoiding wasting storage space; and when the shared data is not in the DM tree, the node is used. The <Data> node below stores the actual shared data.
/<X>/<Data>
Figure imgf000013_0004
/<X>/<Data>
Figure imgf000013_0004
该节点用于存储实际的共享数据, 即在发送时, 存储不在 DM树上 的共享数据, 同时也用于存储接收到的共享数据。  This node is used to store the actual shared data, that is, when it is sent, it stores shared data that is not on the DM tree, and also stores the received shared data.
/<X >/<Type>
Figure imgf000013_0005
/<X >/<Type>
Figure imgf000013_0005
该节点用于描述共享数据的类型, 方便接收者识别。  This node is used to describe the type of shared data, which is convenient for recipients to identify.
/<X>/<Size>
Figure imgf000013_0006
/<X>/<Size>
Figure imgf000013_0006
该节点用于描述共享数据的大小。  This node is used to describe the size of the shared data.
/<X>/<Ext> 出现次数 格式 存取权限 /<X>/<Ext> Occurrence format access
One Or Zero Node Get, Replace  One Or Zero Node Get, Replace
该节点用于存储共享数据的其它相关信息。  This node is used to store other relevant information about the shared data.
/<Read Allowed>
Figure imgf000014_0001
/<Read Allowed>
Figure imgf000014_0001
该节点用于描述允许读共享子树的终端设备, 即描述允许从本共享 子树获取共享数据的终端设备。  This node is used to describe a terminal device that allows reading of a shared subtree, that is, a terminal device that allows acquisition of shared data from the shared subtree.
/<Read Allowed>/<IMSI>
Figure imgf000014_0002
/<Read Allowed>/<IMSI>
Figure imgf000014_0002
该节点用于描述允许获取本共享子树信息的终端设备的国际移动台 标识码 IMSI ( International Mobile Subscriber Identit )信息; 本节点中包 含的 IMSI可由用户进行添加、 修改及删除等操作。  The node is used to describe the IMSI (International Mobile Subscriber Identit) information of the terminal device that is allowed to obtain the information of the shared subtree. The IMSI included in the node may be added, modified, and deleted by the user.
/<Write Allowed>
Figure imgf000014_0003
/<Write Allowed>
Figure imgf000014_0003
该节点用于描述允许写共享子树的终端设备, 即描述允许发送共享 数据到本共享子树的终端设备。  This node is used to describe a terminal device that allows writing of a shared subtree, that is, a terminal device that allows transmission of shared data to the shared subtree.
/<Write Allowed>/<IMSI>
Figure imgf000014_0004
/<Write Allowed>/<IMSI>
Figure imgf000014_0004
该节点用于描述允许发送共享数据到本共享子树的终端设备的 IMSI 信息; 本节点中包含的 IMSI可由用户进行添加、 修改及删除等操作。  The node is used to describe the IMSI information of the terminal device that allows the shared data to be sent to the shared subtree. The IMSI included in the node can be added, modified, and deleted by the user.
/<Operations>
Figure imgf000014_0005
/<Operations>
Figure imgf000014_0005
该节点用于描述对共享子树进行的相关操作的父节点, 该节点是作 为共享数据的相关操作的集合存在的, 相当于一个容器, 它下面都是一 些相关操作命令。  This node is used to describe the parent node of the related operations on the shared subtree. The node exists as a collection of related operations for sharing data. It is equivalent to a container. It is followed by some related operation commands.
/< Operations >/<Upload>
Figure imgf000014_0006
/< Operations >/<Upload>
Figure imgf000014_0006
该节点可以被 Exec指令 ( Exec指令是 DM协议里的一个命令, 用来 执行可执行节点, 由于 Upload和 Download不是 DM协议里现有的命令, 所以必须由 Exec来调用)用来发起上传操作, 将共享数据上传到 DM服 务器; Upload可以调用其它协议来完成上传操作, 也可以通知 DM服务 器来提取。 This node can be used by the Exec command (the Exec command is a command in the DM protocol. Execute the executable node. Since Upload and Download are not existing commands in the DM protocol, they must be called by Exec to initiate the upload operation and upload the shared data to the DM server. Upload can call other protocols to complete the upload operation. The DM server can be notified to extract.
/< Operations >/<Download >
Figure imgf000015_0001
/< Operations >/<Download >
Figure imgf000015_0001
该节点可以被 Exec指令(这个 Exec命令可以由 DM服务器发起, 也可以由终端设备发起, 但都是由终端设备来执行) 来发起下载操作, 即从 DM服务器下载共享数据到共享子树。 Download可以调用其它协议 (比如 OMA Download协议 ) 完成下载操作, 也可以通知 DM服务器来 下发。  The node can be initiated by the Exec command (this Exec command can be initiated by the DM server or by the terminal device, but all executed by the terminal device) to initiate the download operation, that is, download the shared data from the DM server to the shared subtree. Download can call other protocols (such as OMA Download protocol) to complete the download operation, or notify the DM server to deliver.
/< Operations >/<Ext>
Figure imgf000015_0002
/< Operations >/<Ext>
Figure imgf000015_0002
该节点用于为以后的扩展作为保留, 可以用于描述对共享子树的其 它相关操作。  This node is used as a reservation for future extensions and can be used to describe other related operations on the shared subtree.
/<Ext>
Figure imgf000015_0003
/<Ext>
Figure imgf000015_0003
该节点用于存储共享子树的其它相关信息, 为以后的扩展作为保留。 下面说明以 DM服务器中继转发共享数据来实现终端设备之间的数 据共享的发明方案,请参照图 4,该图是本发明通过由 DM服务器中继转 发共享数据来实现终端设备之间的数据共享的主要实现过程示意图, 其 主要实现过程如下:  This node is used to store other relevant information of the shared subtree, which is reserved for future extensions. The following describes an invention solution for relaying shared data by a DM server to implement data sharing between terminal devices. Referring to FIG. 4, the present invention implements data between terminal devices by relaying and forwarding shared data by a DM server. Schematic diagram of the main implementation process of sharing, the main implementation process is as follows:
步骤 S01, DM服务器同源终端设备之间建立会话连接(其中建立会 话连接阶段的过程在 OMA DM规范中已经明确定义, 这里不多赘述), 其中该处的建立连接阶段要包括 DM服务器对源终端设备进行授权认证 的过程, 该授权认证过程将在后续阐述。  In step S01, a session connection is established between the DM server and the same terminal device (the process of establishing the session connection phase is clearly defined in the OMA DM specification, which is not described here), where the connection establishment phase includes the DM server source. The process of authorization authentication by the terminal device, which will be explained later.
步驟 S02, 参与数据共享的源终端设备将共享数据上报给 DM服务 器; 这个过程可以由源终端设备主动将共享数据上报给 DM服务器; 也 可以由 DM服务器请求源终端设备上报共享数据, 源终端设备响应 DM 服务器的请求上报共享数据; Step S02, the source terminal device participating in the data sharing reports the shared data to the DM server; the process may report the shared data to the DM server by the source terminal device actively; The source terminal device may request the source terminal device to report the shared data, and the source terminal device reports the shared data in response to the request of the DM server.
步骤 S03, DM服务器同目的终端设备之间建立会话连接(其中建立 会话连接阶段的过程在 OMA DM规范中已经明确定义, 这里不多赘述), 其中该处的建立连接阶段要包括 DM服务器对目的终端设备进行授权认 证的过程, 该授权认证过程将在后续阐述。  Step S03, the DM server establishes a session connection with the destination terminal device (the process of establishing the session connection phase is clearly defined in the OMA DM specification, and is not described here), wherein the establishment connection phase includes the DM server for the purpose. The process of authorization authentication by the terminal device, which will be explained later.
步骤 S04,由 DM服务器根据参与数据共享的源终端设备信息和目的 终端设备信息, 将源终端设备上报的共享数据下发给对应的目的终端设 备。 其中这个过程可以由 DM服务器直接将共享数据下发给目的终端设 备实现; 也可以由目的终端设备向 DM服务器请求, DM服务器响应该 请求将共享数据下载到目的终端设备本地。  Step S04: The DM server sends the shared data reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing. The process may be performed by the DM server directly sending the shared data to the destination terminal device. The destination terminal device may also request the DM server, and the DM server downloads the shared data to the destination terminal device in response to the request.
其中通知 DM服务器参加数据共享的源终端设备信息和目的终端设 备信息可以由以下两种方式实现:  The source terminal device information and the destination terminal device information that notify the DM server to participate in data sharing can be implemented in the following two ways:
(一) 外部方式  (1) External mode
即由用户通过外部通知方式(即 DM协议以外的方式, 如用户打电 话到运营商的客服中心通知, 或由用户登陆 Web网站通知)将参与数据 共享的源终端设备信息和目的终端设备信息通知给 DM服务器, 即通知 DM服务器从哪个源终端设备来取共享数据,再下发给哪个目的终端设备 (数据传输方式也可以是源终端设备上传共享数据到 DM服务器, 目的 终端设备从 DM服务器下载)。  That is, the user notifies the source terminal device information and the destination terminal device information participating in the data sharing by means of an external notification mode (ie, a method other than the DM protocol, such as the user calling the operator's customer service center, or the user logging in to the Web site). To the DM server, that is, to inform the DM server from which source terminal device to take the shared data, and then to which destination terminal device (the data transmission mode may also be that the source terminal device uploads the shared data to the DM server, and the destination terminal device downloads from the DM server. ).
(二) DM协议命令方式  (2) DM protocol command mode
即由源终端设备将参与数据共享的源终端设备信息和目的终端设备 信息承载在共享数据中上报通知给 DM服务器。 即在共享数据中承载源 终端设备信息或目的终端设备信息, 通过 DM协议命令来通知 DM服务 器, 共享数据要发送到的目的终端设备, 或是要从哪个源终端设备获取 共享数据。  That is, the source terminal device notifies the DM server of the source terminal device information and the destination terminal device information that participate in the data sharing in the shared data. That is, the source terminal device information or the destination terminal device information is carried in the shared data, and the DM server is notified by the DM protocol command, the destination terminal device to which the shared data is to be transmitted, or from which source terminal device the shared data is to be acquired.
由于共享数据要通过 DM服务器进行中转, 所以在共享数据中会将 DM服务器的地址处理成直接地址,及将源终端设备或目的终端设备的地 址处理成间接地址。 又由于目前 OMA DM协议并不能够支持数据承载间接地址进行上报Since the shared data is transited through the DM server, the address of the DM server is processed into a direct address in the shared data, and the address of the source terminal device or the destination terminal device is processed into an indirect address. And because the current OMA DM protocol cannot support the data bearer indirect address for reporting
DM服务器, 所以需要扩展一个表示间接地址的标签 <Indirect>, 该标签DM server, so you need to extend a tag <Indirect> that represents an indirect address, the tag
<Indirect>设置在源终端设备或目的终端设备发起的共享数据里, 要和已 有标签 <8011«^>或 ¾ 61>配合使用, 其中和<80111^>配合使用表示源终 端设备地址作为间接地址, 和<丁&1^1>配合使用表示目的终端设备地址作 为间接地址。 <Indirect> is set to be used in the shared data initiated by the source terminal device or the destination terminal device. It should be used together with the existing tag <8011«^> or 3⁄4 61>, and the <80111^> is used together to indicate the source terminal device address as the indirect. The address, used in conjunction with <Ding & 1^1>, represents the destination terminal device address as an indirect address.
例如, 在下面命令中:  For example, in the following command:
<SyncHdr> <Source> <LocU I>IMEI: 493005100592800 </LocURI> </Source> <SyncHdr> <Source> <LocU I>IMEI: 493005100592800 </LocURI> </Source>
<Target> <LocURI> http://www.syncml.org/mgmt-server </LocURI> </Target> <Target> <LocURI> http://www.syncml.org/mgmt-server </LocURI> </Target>
</SyncHdr>  </SyncHdr>
<SyncBody>  <SyncBody>
... ...  ...
<Exec>  <Exec>
<Item>  <Item>
<Target> <LocURI>./Operations/Upload</LocURI> <Target> <LocURI>./Operations/Upload</LocURI>
</Target> </Target>
</Item>  </Item>
<Data> <!— Binary file- -〉 </Data>  <Data> <! — Binary file- -> </Data>
<Target>  <Target>
<Indirect> <LocURI> IMSI:*** ******** </LocURI> <Indirect> <LocURI> IMSI:*** ******** </LocURI>
</Indirect> </Indirect>
</Target>  </Target>
</Exec>  </Exec>
</SyncBody>  </SyncBody>
上述命令程序中, 在<8 11(;1¾1'>消息头容器中, <Source>/<LocURI> 中的是源终端设备的国际移动设备标识 IMEI, <Target>/<LocURI>†的是 直接地址, 即 DM服务器的地址信息。 在<8 1108(^ >消息体容器里, <Exec>/<Item>/<Target>中的是可执行的命令节点, 表示上传, 而
Figure imgf000017_0001
面是间接地址信息, 即目的终端设备的 IMSI。 从而通过这个命令程序就可以实现通知 DM服务器, 这个上传到 DM服务器的共享数据要转发给的目的终端设备。
In the above command program, in the <8 11 (;13⁄41'> message header container, <Source>/<LocURI> is the international mobile device identifier IMEI of the source terminal device, <Target>/<LocURI> is directly Address, which is the address information of the DM server. In <8 1108 (^> message body container, <Exec>/<Item>/<Target> is an executable command node, indicating upload, and
Figure imgf000017_0001
Indirect address information, that is, the destination terminal device IMSI. Therefore, the command program can be used to notify the DM server that the shared data uploaded to the DM server is forwarded to the destination terminal device.
这里需要说明的是: 标签 <Source>†的<1^(;1;1^>标识的是终端设备 的 IMEI, 而 ¾ 61:>/<111(1 (^>中的 <1^0(;11[ 1>提供的是用户的 IMSI; 因 为对用户而言, 更熟悉 IMSI, 所以 DM服务器需要将用户的 IMSI与用 户所持的终端设备的 IMEI建立对应关系, 通过该对应关系, DM服务器 在将共享数据转发给目的终端设备时, 共享数据中就会承载目的终端设 备的地址 IMEI。  What needs to be explained here is: <1^(;1;1^> of the tag <Source>† identifies the IMEI of the terminal device, and 3⁄4 61:>/<111 (1 <^^ in the ^^( ;11[1> provides the user's IMSI; because the user is more familiar with the IMSI, the DM server needs to associate the IMSI of the user with the IMEI of the terminal device held by the user. Through the correspondence, the DM server is When the shared data is forwarded to the destination terminal device, the address IMEI of the destination terminal device is carried in the shared data.
在上面的例子中, <Exec>/<Upload> <Target>/<Indirect>/<LoclI I> 配合使用表示要上传共享数据给目的终端设备; 而如果要表示目的终端 设备从源终端设备下载共享数据, 则应该将 <Exec>/<Download>和 <8011^^〉/<1]1(1 601;>/< 0001^>配合使用。  In the above example, <Exec>/<Upload> <Target>/<Indirect>/<LoclI I> is used together to indicate that the shared data is to be uploaded to the destination terminal device; and if the destination terminal device is to be downloaded from the source terminal device, For data, <Exec>/<Download> should be used together with <8011^^>/<1]1(1 601;>/< 0001^>.
由此可见, 上述参与数据共享的源终端设备或目的终端设备的终端 设备信息可以为终端设备的国际移动台设备识别码(IMEI ); 也可以为终 端设备所属用户的国际移动用户识别码 ( IMSI )。  Therefore, the terminal device information of the source terminal device or the destination terminal device participating in the data sharing may be an International Mobile Station Equipment Identity (IMEI) of the terminal device, or may be an International Mobile Subscriber Identity (IMSI) of the user to which the terminal device belongs. ).
其中在上述步骤 S01 中 DM服务器要鉴权源终端设备是否能够将共 享数据共享给目的终端设备, 其鉴权过程为:  In the above step S01, the DM server needs to authenticate whether the source terminal device can share the shared data to the destination terminal device, and the authentication process is:
在源终端设备中设置能够读取该源终端设备提供的共享数据的目的 终端设备标识列表;其中终端设备标识可以为终端设备所属用户的 IMSI;  Providing, in the source terminal device, a destination terminal device identifier list capable of reading the shared data provided by the source terminal device; wherein the terminal device identifier may be an IMSI of the user to which the terminal device belongs;
DM服务器读取源终端设备中设置的目的终端设备标识列表(可以为 目的终端设备的 IMSI列表); 并  The DM server reads a list of destination terminal device identifiers set in the source terminal device (which may be an IMSI list of the destination terminal device);
在参与数据共享的目的终端设备标识(目的终端设备的 IMSI )在该 目的终端设备标识列表(目的终端设备的 IMSI列表) 中时, 允许源终端 设备将共享数据共享给目的终端设备。  When the destination terminal device identifier (the IMSI of the destination terminal device) participating in the data sharing is in the destination terminal device identification list (the IMSI list of the destination terminal device), the source terminal device is allowed to share the shared data to the destination terminal device.
同时在上述步驟 S03中 DM服务器还要鉴权目的终端设备是否能够 共享源终端设备提供的共享数据, 其鉴权过程为:  At the same time, in the above step S03, the DM server also needs to authenticate whether the destination terminal device can share the shared data provided by the source terminal device, and the authentication process is:
在目的终端设备中设置能够写入该目的终端设备的共享数据的提供 方的源终端设备标识列表(可以为源终端设备的 IMSI列表);  Setting a source terminal device identifier list (which may be an IMSI list of the source terminal device) of the provider of the shared data that can be written to the destination terminal device in the destination terminal device;
DM服务器读取目的终端设备中设置的源终端设备标识列表(源终端 设备的 IMSI列表); 并 The DM server reads the source terminal device identifier list set in the destination terminal device (source terminal) The IMSI list of devices); and
在参与数据共享的源终端设备标识(源终端设备的 IMSI )在所述源 终端设备标识列表(源终端设备的 IMSI列表) 中时, 允许目的终端设备 共享源终端设备提供的共享数椐。  When the source terminal device identification (IMSI of the source terminal device) participating in the data sharing is in the source terminal device identification list (the IMSI list of the source terminal device), the destination terminal device is allowed to share the shared number provided by the source terminal device.
即出于安全的考虑, DM服务器需要分别对共享数据的发送、接收双 方分别进行鉴权认证;在步骤 S01中, DM服务器要鉴别源终端设备是否 允许将共享数据发送给目的终端设备, 鉴权过程就是要看目的终端设备 的 IMSI是否在源终端设备存储的共享子树的 <Read Allowed> (允许读) 的 ^81>名单里。 同理在步骤 S03 中, DM服务器要鉴权目的终端设备 是否允许接收来自源终端设备的共享数据, 鉴权过程就是要看源终端设 备的 IMSI是否在目的终端设备存储的共享子树的<^^'^ Allowed> (允许 写) 的<1^^1>名单里。  That is, for security reasons, the DM server needs to perform authentication authentication on both the transmitting and receiving sides of the shared data respectively; in step S01, the DM server needs to authenticate whether the source terminal device allows the shared data to be sent to the destination terminal device, and the authentication is performed. The process is to see if the IMSI of the destination terminal device is in the <Read Allowed> list of the shared subtree stored by the source terminal device. Similarly, in step S03, the DM server needs to authenticate whether the destination terminal device is allowed to receive the shared data from the source terminal device, and the authentication process is to see whether the IMSI of the source terminal device is in the shared subtree stored by the destination terminal device. ^'^ Allowed> (Allow write) in the <1^^1> list.
图 5是本发明中由 DM服务器对终端设备进行鉴权处理的过程示意 图, 参照图 5。 其鉴权的具体处理过程如下:  Fig. 5 is a schematic diagram showing the process of authenticating a terminal device by a DM server in the present invention, with reference to Fig. 5. The specific processing of its authentication is as follows:
步骤 Sll , DM服务器通过 Notification消息通知终端设备, 请求建 立连接;  Step S11, the DM server notifies the terminal device through the Notification message, requesting to establish a connection;
步骤 S12, 终端设备响应请求, 和 DM服务器之间建立初始连接(由 终端设备中的 DM Agent代理处理);  Step S12: The terminal device responds to the request, and establishes an initial connection with the DM server (processed by the DM Agent agent in the terminal device);
步骤 S13 , DM服务器向终端设备查询终端设备所存储共享子树中设 置的允许读写权限信息; 其中可以通过如下命令实现查询终端设备存储 的共享子树中设置的允许读权限信息:  Step S13: The DM server queries the terminal device for the read and write permission information set in the shared subtree stored by the terminal device. The following command can be used to query the permission permission information set in the shared subtree stored by the terminal device:
例如, 用 Get命令:  For example, use the Get command:
<Get>  <Get>
<CmdID>4</CmdID>  <CmdID>4</CmdID>
<Item>  <Item>
<Target>  <Target>
<LocU I>./Read Allowed/IMSK/LocURI> </Target>  <LocU I>./Read Allowed/IMSK/LocURI> </Target>
</Item>  </Item>
</Get> 步骤 S14, 终端设备中的 DM Agent反馈自身共享子树中存储的读写 权限信息给 DM服务器; 如可以通过如下命令实现反馈自身共享子树中 存储的允许读权限信息给 DM服务器: </Get> Step S14: The DM Agent in the terminal device feeds back the read and write permission information stored in the subtree to the DM server. For example, the following command can be used to feedback the read permission information stored in the shared subtree to the DM server:
<Results>  <Results>
<MsgRefi> 1 </MsgRe^<CmdRef>4</CmdRef>  <MsgRefi> 1 </MsgRe^<CmdRef>4</CmdRef>
<CmdID>3</CmdID>  <CmdID>3</CmdID>
<Item>  <Item>
<Source>  <Source>
<LocU I>./Read Allowed/IMSK/LocURI>  <LocU I>./Read Allowed/IMSK/LocURI>
</Source>  </Source>
<Datn>> *********** 〉  <Datn>> *********** 〉
</Item>  </Item>
</Results>  </Results>
步骤 S15 , DM服务器根据所获得的终端设备允许的读写权限信息, 来判断共享数据接收方的 IMSI是否在共享数据发送方的允许读 <Read Allowed^ <IMSI>名单列表中, 如果在, 表明接收方是可以从本终端设 备获取共享数据的(同理, DM服务器也可以根据所获得的终端设备允许 的读写权限信息, 来判断共享数据发送方的 IMSI是否在共享数据接收方 的允许写<^1- Allowed^ <IMSI>名单列表中, 如果在, 表明发送方是 可以共享数据给接收方的), DM服务器可以继续转发操作; 否则, DM 服务器将无法从发送方获取共享数据;  Step S15: The DM server determines, according to the obtained read/write permission information of the terminal device, whether the IMSI of the shared data receiver is in the list of permitted read data of the shared data sender, if yes, indicating The receiving party can obtain the shared data from the terminal device. (Similarly, the DM server can also determine whether the IMSI of the shared data sender is allowed to write in the shared data receiver according to the read and write permission information allowed by the obtained terminal device. <^1- Allowed^ <IMSI> in the list, if it indicates that the sender can share data to the receiver), the DM server can continue forwarding operations; otherwise, the DM server will not be able to obtain shared data from the sender;
步驟 S16, DM服务器通过 UI ( User Interface )界面向用户发送鉴权 通过信息;  Step S16: The DM server sends an authentication pass information to the user through a UI (User Interface) interface;
步骤 S17, 用户确认, 接受请求;  Step S17, the user confirms, accepts the request;
步骤 S18, 用户回应确认信息给 DM服务器。  In step S18, the user responds to the confirmation message to the DM server.
其中上述步骤 S2中源终端设备将共享数据上报给 DM服务器的过程 可以通过两种方式实现, 分别如下:  The process in which the source terminal device reports the shared data to the DM server in the foregoing step S2 can be implemented in two ways, as follows:
图 6是本发明中将共享数据由源终端设备上报到 DM服务器的第一 种实现过程示意图, 参照图 6, 其具体实现过程如下:  FIG. 6 is a schematic diagram of a first implementation process of reporting shared data from a source terminal device to a DM server according to the present invention. Referring to FIG. 6, the specific implementation process is as follows:
步骤 S21, DM服务器向源终端设备下发用于请求源终端设备上报共 享数据的请求消息, 即 DM服务器使用 Get命令向源终端设备请求共享 数据; Step S21: The DM server sends a request message for requesting the source terminal device to report the shared data to the source terminal device, that is, the DM server requests the source terminal device to use the Get command. Data
步骤 S22, 源终端设备响应所接收到的请求消息, 上报共享数据给 DM服务器,即源终端设备使用 Results命令返回共享数据给 DM服务器。  Step S22: The source terminal device reports the shared data to the DM server in response to the received request message, that is, the source terminal device returns the shared data to the DM server by using the Results command.
图 7是本发明中将共享数据由源终端设备上报到 DM服务器的第二 种实现过程示意图, 参照图 7, 其具体实现过程如下:  FIG. 7 is a schematic diagram of a second implementation process of reporting shared data from a source terminal device to a DM server according to the present invention. Referring to FIG. 7, the specific implementation process is as follows:
步骤 S31 , 在源终端设备中设置主动上载可执行命令(如终端设备中 所存储的共享子树中的可执行命令 Upload ); 源终端设备通过运行自身设 置的主动上载可执行命令 Upload将共享数据上报给 DM服务器;  Step S31, setting an active upload executable command in the source terminal device (such as an executable command Upload in the shared subtree stored in the terminal device); the source terminal device shares the data by running an active upload executable command uploaded by itself. Reported to the DM server;
步骤 S32, DM服务器接收到源终端设备上报的共享数据后, 反馈成 功接收消息给源终端设备。  Step S32: After receiving the shared data reported by the source terminal device, the DM server feeds back the successful receiving message to the source terminal device.
同时上述步骤 S4中 DM服务器将共享数据转发给目的终端设备的过 程也可以通过两种方式实现, 分别如下:  At the same time, the process of forwarding the shared data to the destination terminal device by the DM server in the above step S4 can also be implemented in two ways, as follows:
该图 8是本发明中 DM服务器将共享数据下发给目的终端设备的第 一种实现过程示意图, 参照图 8, 其具体实现过程如下:  FIG. 8 is a schematic diagram of a first implementation process of the DM server transmitting the shared data to the destination terminal device in the present invention. Referring to FIG. 8, the specific implementation process is as follows:
步骤 S41 , DM服务器通过 Replace命令将共享数据直接下发给目的 终端设备;  Step S41: The DM server directly delivers the shared data to the destination terminal device by using the Replace command.
步骤 S42, 目的终端设备接收到共享数据之后, 反馈成功接收消息给 DM服务器。  Step S42: After receiving the shared data, the destination terminal device feeds back the successfully received message to the DM server.
图 9是本发明中 DM服务器将共享数据下发给目的终端设备的第二 种实现过程示意图, 参照图 9, 其具体实现过程如下:  FIG. 9 is a schematic diagram of a second implementation process of the DM server transmitting the shared data to the destination terminal device in the present invention. Referring to FIG. 9, the specific implementation process is as follows:
步骤 S51 , 在目的终端设备中设置主动下载可执行命令 (如终端设备 中所存储的共享子树中的可执行命令 Download );目的终端设备通过运行 自身设置的主动下载可执行命令 Download向 DM服务器请求下载共享数 据;  Step S51, setting an active download executable command (such as an executable command Download in the shared subtree stored in the terminal device) in the destination terminal device; the destination terminal device downloads the executable command to the DM server by running the set active download command Request to download shared data;
步骤 S52, DM服务器响应接收的请求, 向目的终端设备下发共享数 据。  Step S52: The DM server sends the shared data to the destination terminal device in response to the received request.
由于各个终端设备的数据组织形式可能不一致, 则很可能会造成收 发汉方不能识别对方的共享数据, 因此就需要对共享数据进行解析。 其 中数据解析可以由下列方式进行: ( 1 ) DM服务器解析 Since the data organization form of each terminal device may be inconsistent, it is likely that the transmitting and receiving Han cannot recognize the shared data of the other party, and therefore the shared data needs to be parsed. Data parsing can be done in the following ways: (1) DM server resolution
DM服务器从源终端设备获取共享数据,根据源终端设备的厂家型号 和数据类型描述等信息, 对共享数据进行解析, 并根据目的终端设备的 厂家型号, 将共享数据转换为目的终端设备可以识别的数据。  The DM server obtains the shared data from the source terminal device, parses the shared data according to the manufacturer model and the data type description of the source terminal device, and converts the shared data into a destination terminal device according to the manufacturer model of the destination terminal device. data.
( 2 ) 目的终端设备解析  (2) Target terminal device resolution
目的终端设备对接收来的共享数据进行解析,可以由 DM Agent来完 成, 也可以由用户来组织使用数据。  The destination terminal device parses the received shared data, which may be completed by the DM Agent, or the user may organize the usage data.
其中 DM服务器可以设置对共享数据进行保存和删除的策略, 如下: The DM server can set a policy for saving and deleting shared data, as follows:
( a )保存 (a) save
DM服务器从源终端设备获取共享数据,并将获取的共享数据进行保 存, 然后再将共享数据下发给目的终端设备。  The DM server obtains the shared data from the source terminal device, saves the acquired shared data, and then delivers the shared data to the destination terminal device.
( b ) 不保存  ( b ) not saved
DM服务器不保存共享数据,只是提供一个从源终端设备到目的终端 设备的通道, DM服务器一边从源终端设备接收共享数据, 一边向目的终 端设备下发共享数据。  The DM server does not store the shared data, but provides a channel from the source terminal device to the destination terminal device. The DM server receives the shared data from the source terminal device and delivers the shared data to the destination terminal device.
( c )删除  (c) delete
DM服务器将共享数据下发给目的终端设备后, 删除保存的共享数 据, 以避免浪費存储空间。  After the DM server delivers the shared data to the destination terminal device, the saved shared data is deleted to avoid wasting storage space.
( d ) 不删除  (d) not delete
DM服务器将共享数据下发给对应的目的终端设备后,不删除保存的 共享数据, 为共享数据标明上传者, 下一次如果有目的终端设备来请求 共享数据时, DM服务器就不需要再从源终端设备请求共享数据, 而是直 接将保存的共享数据下发给目的终端设备。  After the DM server delivers the shared data to the corresponding destination terminal device, the saved shared data is not deleted, and the uploader is marked for the shared data. The next time the destination terminal device requests the shared data, the DM server does not need to re-source from the source. The terminal device requests to share the data, and directly sends the saved shared data to the destination terminal device.
下面对应说明以 DM服务器存储终端设备的备份数据信息来实现终 端设备数据备份恢复的发明方案, 其中依据本发明提出的数据备份恢复 方法, 用户可以将终端设备上的数据信息放入自身的共享子树, 然后上 传给 DM服务器保存起来; 当终端设备上的数据损坏、 丢失, 或用户更 换终端设备时, 就可以从 DM服务器下载以前所保存的数据信息, 这样 就实现了数据的备份恢复。 在数据信息的备份恢复过程种, 用户可以更 换终端设备, 而且不限于更换同一品牌的终端设备, 可以是不同品牌不 同型号的终端设备。 The following describes the invention for realizing the backup and recovery of the terminal device data by using the backup data information of the DM server to store the terminal device. According to the data backup and recovery method proposed by the present invention, the user can put the data information on the terminal device into its own sharer. The tree is then uploaded to the DM server for storage. When the data on the terminal device is damaged or lost, or the user replaces the terminal device, the previously saved data information can be downloaded from the DM server, thus realizing the backup and recovery of the data. In the backup and recovery process of data information, users can be more The terminal equipment is changed, and is not limited to replacing the terminal equipment of the same brand, and may be terminal equipment of different brands and different models.
在备份数据信息恢复的应用场景下,用户可以将共享子树上的<^^1^ 11(^6(1>和<1^&(1 Allowed>中的 ^¾1>设为自己, 相当于只将数据信息 共享给自己, 这样就避免了别人窃取数据信息的危险。 预备份的数据信 息上传到 DM服务器后, 用户可以将共享子树中存储的数据信息删除, 以节约终端设备上的存储空间。在这种应用场景下, DM服务器需要将用 户上传的数据信息和上传数据信息的终端设备所属用户的 IMSI建立对应 关系, 并以目录形式进行存储, 这样用户下载恢复时就可以从 DM服务 器的这个存储目录中获取备份的数据信息。  In the application scenario where the backup data information is restored, the user can set <^^1^11(^6(1> and <1^&(1 Allowed>) in the shared subtree as their own, which is equivalent to Only the data information is shared with itself, thus avoiding the danger of others stealing data information. After the pre-backup data information is uploaded to the DM server, the user can delete the data information stored in the shared subtree to save storage on the terminal device. In this application scenario, the DM server needs to associate the data information uploaded by the user with the IMSI of the user to which the terminal device uploading the data information, and store it in the form of a directory, so that the user can download from the DM server when the user downloads and restores. Get the backup data information in this storage directory.
图 10是根据本发明通过 DM服务器中继转发备份的数据信息实现数 据信息备份恢复处理的主要实现过程示意图, 参照图 10, 其主要实现过 程如下:  FIG. 10 is a schematic diagram of a main implementation process for implementing data information backup and recovery processing by relaying and forwarding backup data information through a DM server according to the present invention. Referring to FIG. 10, the main implementation process is as follows:
步驟 S61 ,原始终端设备将自身具有的数据信息上报到 DM服务器进 行备份处理; 其中将数据信息上报到 DM服务器的过程也可以相应有两 种方式:  Step S61: The original terminal device reports the data information of the original terminal device to the DM server for backup processing; wherein the process of reporting the data information to the DM server may also be performed in two ways:
第一种为 DM服务器向原始终端设备下发用于请求原始终端设备上 报预备份的数据信息的请求消息;  The first type is a request message for the DM server to request the original terminal device to report the data information of the pre-backup to the original terminal device;
然后原始终端设备响应接收的请求消息, 上报预备份的数据信息到 DM服务器。  The original terminal device then reports the pre-backed data information to the DM server in response to the received request message.
第二种为在原始终端设备中设置主动上载可执行命令(即终端设备 中存储的共享子树中的可执行命令 Upload );  The second method is to set an active upload executable command in the original terminal device (that is, an executable command Upload in the shared subtree stored in the terminal device);
原始终端设备通过运行自身设置的主动上载可执行命令 Upload来将 预备份的数据信息上报到 DM服务器。  The original terminal device reports the pre-backup data information to the DM server by running the active upload executable command Upload.
步骤 S62, 后续当原始终端设备出现数据信息丟失、 破坏等现象, 或 用户更换终端设备时(不限于更换不同品牌和不同型号的终端设备), 原 始终端设备或更新终端设备可以将 DM服务器中备份的数据信息进而恢 复到终端设备本地; 其中将备份的数据信息从 DM服务器进而恢复到终 端本地的过程也可以由以下两种方式实现: 第一种为 DM服务器直接将备份的数据信息下发给原始终端设备或 更新终端设备。 In step S62, when the original terminal device loses or destroys data information, or when the user replaces the terminal device (not limited to replacing different brands and different types of terminal devices), the original terminal device or the updated terminal device may back up the DM server. The data information is further restored to the local device of the terminal device; the process of restoring the backed up data information from the DM server to the local device can also be implemented in the following two ways: The first type is that the DM server directly sends the backed up data information to the original terminal device or the updated terminal device.
第二种为在原始终端设备或更新终端设备中设置主动下载可执行命 令(如终端设备中存储的共享子树中的可执行命令 Download );  The second method is to set an active download executable command in the original terminal device or the update terminal device (such as the executable command Download in the shared subtree stored in the terminal device);
原始终端设备或更新终端设备通过运行自身设置的主动下载可执行 命令(Download ) 向 DM服务器请求下载备份的数据信息;  The original terminal device or the updated terminal device requests the DM server to download the backed up data information by running an active download executable command (Download) set by itself;
DM服务器响应接收的请求,向原始终端设备或更新终端设备下发备 份的数据信息。  The DM server delivers the backup data information to the original terminal device or the update terminal device in response to the received request.
其中 DM服务器可以将原始终端设备上报的备份数据信息和原始终 端设备所属用户的用户标识信息(如用户的 IMSI等)建立对应关系; 这 样在后续进行备份数据信息恢复处理时, 就可以根据原始终端设备或更 新终端设备所属用户的用户标识信息(用户的 IMSI )查找对应的备份数 据信息, 从而为 DM服务器根据终端设备的请求, 查找到对应的备份数 据信息提高了便利和效率。  The DM server may associate the backup data information reported by the original terminal device with the user identification information of the user to which the original terminal device belongs, such as the IMSI of the user, etc., so that the subsequent backup data information recovery processing may be performed according to the original terminal. The device or the user identification information of the user to which the terminal device belongs (the IMSI of the user) searches for the corresponding backup data information, thereby improving the convenience and efficiency for the DM server to find the corresponding backup data information according to the request of the terminal device.
图 11是本发明基于设备管理的数据备份恢复方法的具体实施过程示 意图, 参照图 11 , 其具体实施过程如下:  11 is a schematic diagram of a specific implementation process of a data backup and recovery method based on device management according to the present invention. Referring to FIG. 11, the specific implementation process is as follows:
步骤 S71 , 原始终端设备和 DM服务器之间的建立连接阶段, 按照 OMA DM标准的 Setup Phase阶段进行;  Step S71, a connection establishment phase between the original terminal device and the DM server is performed according to a Setup Phase stage of the OMA DM standard;
步骤 S72, 原始终端设备上传预备份的数据信息到 DM服务器; 例如, 可以采用如下命令进行上传处理:  Step S72: The original terminal device uploads the pre-backed data information to the DM server; for example, the following command may be used for uploading:
<Exec>  <Exec>
<Item> <Item>
<Target> <LocURI>JOperations/Upload</LocURI> </Target> </Item>  <Target> <LocURI>JOperations/Upload</LocURI> </Target> </Item>
</Exec>  </Exec>
步骤 S73 , DM服务器保存原始终端设备上报的备份数据信息; 步骤 S74, DM服务器向原始终端设备回应成功接收消息; 步驟 S75, 当原始终端设备出现自身数据信息丢失或损坏, 原始终端 设备向 DM服务器发送用于请求 DM服务器下发备份数据信息的请求消 例如, 可以釆用如下命令要求 DM服务器下发备份的数据信息: <Exec> <Item> Step S73, the DM server saves the backup data information reported by the original terminal device. Step S74, the DM server responds to the original terminal device with a successful receiving message. Step S75: When the original terminal device appears to lose or damage its own data, the original terminal device sends the original terminal device to the DM server. Sending a request for requesting the DM server to deliver backup data information For example, you can use the following command to request the DM server to deliver the backup data information: <Exec><Item>
<Target> <LocURI>./Operations/Download</LocURI> <Target> <LocURI>./Operations/Download</LocURI>
</Target> </Target>
</Item>  </Item>
</Exec>  </Exec>
步驟 S76, DM服务器响应接收的请求消息, 查找对应的备份数据信 息并返回到原始终端设备。  Step S76: The DM server responds to the received request message, searches for corresponding backup data information, and returns to the original terminal device.
步骤 S77, DM服务器将下载后的备份数据信息删除, 以节省存储空 间; 也可以不删除备份数据信息, 以作为下一次的恢复使用(此步可选)。  Step S77: The DM server deletes the downloaded backup data information to save storage space; or deletes the backup data information for the next recovery use (this step is optional).
图 12是本发明基于设备管理的数据备份恢复方法应用在用户更换终 端设备时的处理过程示意图, 参照图 12, 其具体实现过程如下:  FIG. 12 is a schematic diagram of a processing procedure of a data backup and recovery method based on device management applied to a terminal device when a user replaces a terminal device. Referring to FIG. 12, the specific implementation process is as follows:
步骤 S81 , 终端设备 A (即原始终端设备 )和 DM服务器之间的建立 连接阶段, 按照 OMADM标准的 Setup Phase阶段进行;  Step S81, establishing a connection phase between the terminal device A (ie, the original terminal device) and the DM server, according to a Setup Phase stage of the OMADM standard;
步骤 S82, 终端设备 A上传预备份的数据信息到 DM服务器(可以 采用 Upload可执行命令);  Step S82, the terminal device A uploads the pre-backup data information to the DM server (the Upload executable command may be used);
步驟 S83 , DM服务器保存接收的预备份数据信息;  Step S83: The DM server saves the received pre-backup data information.
步骤 S84, DM服务器向终端设备 A返回成功接收信息;  Step S84: The DM server returns the successfully received information to the terminal device A.
步骤 S85,用户将终端设备 A更换为终端设备 B,终端设备 B同 DM 服务器之间建立会话连接, 按照 OMADM标准的 Setup Phase阶段进行。 这里为了防止其他终端设备恶意获取备份数据信息, 需要进一步对终端 设备 B进行鉴权认证 , 其鉴权认证过程可以参见上述图 5所述;  In step S85, the user replaces the terminal device A with the terminal device B, and the terminal device B establishes a session connection with the DM server according to the Setup Phase of the OMADM standard. Here, in order to prevent other terminal devices from maliciously obtaining the backup data information, the terminal device B needs to be further authenticated, and the authentication and authentication process can be referred to the foregoing FIG. 5;
步骤 S86, 终端设备 B从 DM服务器下载备份的数据信息 (可釆用 Download可执行命令 );  Step S86, the terminal device B downloads the backed up data information from the DM server (the download executable command may be used);
步骤 S87, 终端设备 B保存并恢复下载的备份数据信息;  Step S87: The terminal device B saves and restores the downloaded backup data information.
步骤 S88, 终端设备 B向 DM服务器返回成功恢复信息;  Step S88, the terminal device B returns the successful recovery information to the DM server.
步骤 S89, DM服务器可以将下载后的备份数据信息删除, 以节省存 储空间; 也可以不删除备份数据信息, 以作为下一次恢复使用 (此步可 选)。 Step S89, the DM server may delete the downloaded backup data information to save the save. Storage space; you can also not delete the backup data information for the next recovery use (this step is optional).
下面再继续说明本发明提出的通过 DM服务器中继转发共享数据所 存放位置的地址信息来实现终端设备之间共享数据的方案, 图 13是本发 明通过 DM服务器中继转发共享数据所存放位置的地址信息来实现终端 设备之间共享数据的主要处理过程示意图, 参照图 13, 其主要处理过程 如下:  The following is a description of the solution for forwarding data between terminal devices by relaying and forwarding the address information of the shared data by the DM server, and FIG. 13 is a storage location of the shared data by the DM server. The main processing procedure of the address information to realize the sharing of data between the terminal devices is as follows: Referring to FIG. 13, the main processing procedure is as follows:
步骤 S91 ,参与数据共享的源终端设备将提供的共享数据所存放位置 的地址信息上报给 DM服务器, 其中源终端设备可以将需要共享的共享 数据存放在网络系统中具有存储功能的任意节点(包括源终端设备本身) 中, 只要将存放有共享数据的节点的地址信息设置到 DM服务器即可; 其中这里提及的存放共享数据位置的地址信息可以为共享数据在源终端 设备中所存放位置的通用资源定位符(URI )或为源终端设备在网络系统 中的 IP地址信息等。 其中源终端设备也可以釆用主动上报(执行 Upload 命令) 方式或采用接收到 DM服务器请求后再上报的方式将共享数据所 存放位置的地址信息上报给 DM服务器;  Step S91: The source terminal device participating in the data sharing reports the address information of the location where the shared data is stored to the DM server, where the source terminal device can store the shared data that needs to be shared in any node having a storage function in the network system (including In the source terminal device itself, the address information of the node storing the shared data may be set to the DM server; wherein the address information of the shared data location mentioned herein may be the location where the shared data is stored in the source terminal device. The universal resource locator (URI) or the IP address information of the source terminal device in the network system, and the like. The source terminal device may report the address information of the location where the shared data is stored to the DM server by using the method of actively reporting (executing the Upload command) or receiving the request from the DM server.
步骤 S92, DM服务器保存源终端设备上报的共享数据所存放位置的 地址信息;  Step S92: The DM server saves address information of a location where the shared data reported by the source terminal device is stored;
步骤 S93 ,由 DM服务器根据参与数据共享的源终端设备信息和目的 终端设备信息, 将源终端设备上报的地址信息下发给对应的目的终端设 备; 其中目的终端设备也可以采用主动要求 DM 服务器下载 (执行 Download命令)方式或采用直接接受 DM服务器下载的方式来实现获取 DM服务器中所存储的地址信息;  Step S93: The DM server sends the address information reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing; wherein the destination terminal device can also actively request the DM server to download. (Execute the Download command) or directly accept the DM server to download the address information stored in the DM server;
步骤 S95 , 目的终端设备向 DM服务器返回成功接收信息; 步驟 S96, 目的终端设备根据获得的地址信息, 通过访问共享数据所 存放的位置来得到源终端设备提供的共享数据; 其中目的终端设备可以 通过网络传输协议(如 TCP/IP协议等), 并根据共享数据所存放位置的 地址信息(该地址信息可以为共享数据在源终端设备中所存放位置的 URI 信息)访问共享数据所存放的位置来实现获取共享数据的目的。 其中源终端设备所属用户还可以进而设置用于在 DM服务器中获取 地址信息的密钥, 并将设置的密钥信息通知给目的终端设备所属用户; DM服务器将用户设置的密钥信息和用户的 IMSI对应存储; 这样 DM服 务器在下发地址信息给对应的目的终端设备之前, 将要求目的终端设备 所属用户输入用于获取地址信息的密钥; 如果在用户输入密钥正确的情 况下, 才将地址信息下发给目的终端设备, 从而实现安全共享数据的目 的。 Step S95: The destination terminal device returns the successfully received information to the DM server. Step S96: The destination terminal device obtains the shared data provided by the source terminal device by accessing the location where the shared data is stored according to the obtained address information. a network transmission protocol (such as TCP/IP protocol, etc.), and accessing the location where the shared data is stored according to the address information of the location where the shared data is stored (the address information can be the URI information of the location where the shared data is stored in the source terminal device) Achieve the purpose of obtaining shared data. The user to which the source terminal device belongs may further set a key for obtaining the address information in the DM server, and notify the user to which the destination terminal device belongs, and the key information set by the user and the user of the user. The IMSI corresponds to the storage; if the DM server sends the address information to the corresponding destination terminal device, the user to which the destination terminal device belongs is required to input the key for obtaining the address information; if the user inputs the key correctly, the address is obtained. The information is sent to the destination terminal device, thereby achieving the purpose of securely sharing data.
其中通过 DM服务器中继转发共享数据所存放位置的地址信息来实 现终端设备之间共享数据的方案中的其他技术细节同上述通过 DM服务 器中继转发共享数据来实现终端设备之间数据共享的方案中的相应技术 细节, 这里不再过多赘述。  The other technical details in the scheme for sharing data between the terminal devices by relaying the address information of the location where the shared data is stored by the DM server and the above-mentioned data sharing between the terminal devices by relaying the shared data through the DM server The corresponding technical details in this are not repeated here.
相应地, 本发明还提出了通过 DM服务器中继转发备份数据信息所 存放位置的地址信息来实现数据备份恢复的方案, 图 14 是本发明通过 DM服务器中继转发备份数据信息所存放位置的地址信息来实现数据备 份恢复的主要处理过程示意图, 参照图 14, 其主要实现过程如下: 步驟 S101 , 原始终端设备将自身具有的数据信息所备份位置的地址 信息上报到 DM服务器进行存储; 其中原始终端设备也可以采用主动上 报(执行 Upload命令)方式或采用接收到 DM服务器请求后再上报的方 式将备份数据信息所存放位置的地址信息上报给 DM服务器; 其中这里 提及的备份数据信息所存放位置的地址信息可以为备份数据信息所存放 位置的通用资源定位符 (U I )信息等。  Correspondingly, the present invention also proposes a scheme for realizing data backup and recovery by relaying and forwarding the address information of the location where the backup data information is stored by the DM server, and FIG. 14 is an address of the location where the backup data information is relayed and forwarded by the DM server according to the present invention. The main processing procedure of the data backup and recovery is as follows: Referring to FIG. 14, the main implementation process is as follows: Step S101: The original terminal device reports the address information of the backup location of the data information that is owned by the original terminal device to the DM server for storage; The device can also report the address information of the location where the backup data information is stored to the DM server by means of the active report (executing the upload command) or receiving the request from the DM server. The location of the backup data information mentioned here is stored. The address information may be general resource locator (UI) information, etc., where the backup data information is stored.
步驟 S102, DM服务器将原始终端设备上报的备份数据信息所存放 位置的地址信息进行存储;  Step S102, the DM server stores the address information of the location where the backup data information reported by the original terminal device is stored;
步驟 S103 , DM服务器向原始终端设备返回成功接收信息; 步骤 S104, 后续当需要进行备份数据恢复时, 原始终端设备(或更 新终端设备)在 DM服务器中获取数据信息所备份位置的地址信息; 其 中原始终端设备(或更新终端设备)也可以采用主动要求 DM服务器下 载(执行 Download命令)方式或采用直接接受 DM服务器下载的方式来 实现获取 DM服务器中所存储的地址信息; 步驟 S105 , 原始终端设备(或更新终端设备) 向 DM服务器返回成 功接收消息; Step S103, the DM server returns the successful receiving information to the original terminal device. Step S104: When the backup data recovery is required, the original terminal device (or the updated terminal device) obtains the address information of the backup location of the data information in the DM server; The original terminal device (or the updated terminal device) may also adopt the method of actively requesting the DM server to download (execute the Download command) or directly accept the DM server to download the address information stored in the DM server; Step S105, the original terminal device (or the update terminal device) returns a successful receiving message to the DM server;
步驟 S106, 原始终端设备(或更新终端设备)根据获取的地址信息 访问数据信息的备份位置, 将备份数据信息进而恢复到终端设备本地。 其中原始终端设备(或已更新终端设备) 可以通过网絡传输协议 (如 TCP/IP协议等),并根据备份数据信息所存放位置的地址信息访问备份数 据信息所存放的位置来实现获取备份数据信息的目的。  Step S106: The original terminal device (or the updated terminal device) accesses the backup location of the data information according to the obtained address information, and further restores the backup data information to the terminal device locally. The original terminal device (or the updated terminal device) can obtain the backup data information by using a network transmission protocol (such as TCP/IP protocol) and accessing the location where the backup data information is stored according to the address information of the location where the backup data information is stored. the goal of.
其中原始终端设备所属用户还可以进而设置用于在 DM服务器中获 取地址信息的密钥; DM服务器将用户设置的密钥信息和用户的 IMSI对 应存储; 这样 DM服务器在下发地址信息给对应的原始终端设备之前, 将要求原始终端设备所属用户输入用于获取地址信息的密钥; 如果在用 户输入密钥正确的情况下, 才将地址信息下发给原始终端设备, 从而实 现安全的进行终端设备数据信息备份恢复的目的。  The user to which the original terminal device belongs may further set a key for obtaining the address information in the DM server; the DM server stores the key information set by the user and the IMSI of the user, so that the DM server sends the address information to the corresponding original. Before the terminal device, the user of the original terminal device is required to input the key for obtaining the address information; if the user inputs the key correctly, the address information is sent to the original terminal device, thereby implementing the terminal device securely. The purpose of data information backup and recovery.
其中通过 DM服务器中继转发备份数据信息所存放位置的地址信息 来实现终端设备进行数据信息备份恢复的方案中的其他技术细节同上述 通过 DM服务器中继转发备份的数据信息来实现终端设备进行数据信息 备份恢复的方案中的相应技术细节, 这里不再过多赘述。 离本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发 明权利要求及其等同技术的范围之内, 则本发明包含这些改动和变型在 内。  The other technical details in the solution for backing up and restoring data information by the terminal device by relaying the address information of the location where the backup data information is stored by the DM server are the same as the above-mentioned data information relayed and forwarded by the DM server to implement data of the terminal device. The corresponding technical details in the scheme of information backup and recovery are not repeated here. It is within the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权 利 要 求 Rights request
1、 一种数据共享方法, 其特征在于, 包括步骤: A data sharing method, comprising the steps of:
参与数据共享的源终端设备将共享数据上报给设备管理服务器; 设备管理服务器根据参与数据共享的源终端设备信息和目的终端设 备信息, 将源终端设备上报的共享数据下发给对应的目的终端设备。  The source terminal device participating in the data sharing reports the shared data to the device management server; the device management server delivers the shared data reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that participate in the data sharing. .
2、 如权利要求 1所述的数据共享方法, 其特征在于, 所述将共享数 据上报给设备管理服务器的过程包括:  2. The data sharing method according to claim 1, wherein the process of reporting the shared data to the device management server comprises:
源终端设备根据设备管理服务器的请求, 将共享数据上报给设备管 理服务器; 或者,  The source terminal device reports the shared data to the device management server according to the request of the device management server; or
源终端设备主动将共享数据上报给设备管理服务器。  The source terminal device actively reports the shared data to the device management server.
3、 如权利要求 1或 2所述的数据共享方法, 其特征在于, 所述设备 管理服务器将共享数据下发给目的终端设备的步驟包括:  The data sharing method according to claim 1 or 2, wherein the step of the device management server delivering the shared data to the destination terminal device comprises:
目的终端设备向设备管理服务器请求下载共享数据;  The destination terminal device requests the device management server to download the shared data;
设备管理服务器响应所述请求, 向目的终端设备下发共享数据。  The device management server sends the shared data to the destination terminal device in response to the request.
4、 如权利要求 1所述的数据共享方法, 其特征在于, 用户通过外部 通知方式将参与数据共享的源终端设备信息和目的终端设备信息上报给 设备管理服务器; 或者, The data sharing method according to claim 1, wherein the user reports the source terminal device information and the destination terminal device information that participate in the data sharing to the device management server by using an external notification manner; or
源终端设备或目的终端设备将参与数据共享的源终端设备信息和目 的终端设备信息承载在共享数据中上报给设备管理服务器。  The source terminal device or the destination terminal device carries the source terminal device information and the destination terminal device information that are involved in the data sharing in the shared data and reports them to the device management server.
5、 如权利要求 1或 4所述的数据共享方法, 其特征在于, 所述终端 设备信息为终端设备的国际移动台设备识别码或终端设备所属用户的国 际移动用户识別码。  The data sharing method according to claim 1 or 4, wherein the terminal device information is an international mobile station device identification code of the terminal device or an international mobile subscriber identity of the user to which the terminal device belongs.
6、 如权利要求 1所述的数据共享方法, 其特征在于, 在源终端设备 上报共享数据之前, 还包括步骤: 设备管理服务器对源终端设备进行鉴 权, 判断该源终端设备能否与所述目的终端设备共享数据。  The data sharing method according to claim 1, wherein before the source terminal device reports the shared data, the method further includes the following steps: the device management server authenticates the source terminal device, and determines whether the source terminal device can The destination terminal device shares data.
7、 如权利要求 6所述的数据共享方法, 其特征在于, 所述对源终端 设备的鉴权包括:  The data sharing method according to claim 6, wherein the authenticating the source terminal device comprises:
在所述源终端设备中设置能够共享数据的目的终端设备标识列表; 设备管理服务器读取源终端设备中设置的目的终端设备标识列表; 当确定目的终端设备标识在所述目的终端设备标识列表中时, 允许 该源终端设备将共享数据共享给所述目的终端设备。 Setting a destination terminal device identifier list capable of sharing data in the source terminal device; the device management server reading the destination terminal device identifier list set in the source terminal device; When it is determined that the destination terminal device identifier is in the destination terminal device identifier list, the source terminal device is allowed to share the shared data to the destination terminal device.
8、 如权利要求 1所述的数据共享方法, 其特征在于, 在向目的终端 设备下发共享数据之前, 设备管理服务器对所述目的终端设备鉴权, 判 断该目的终端设备是否能够共享源终端设备提供的共享数据。  The data sharing method according to claim 1, wherein the device management server authenticates the destination terminal device and determines whether the destination terminal device can share the source terminal before transmitting the shared data to the destination terminal device. Shared data provided by the device.
9、 如权利要求 8所述的数据共享方法, 其特征在于, 所述对所述目 的终端设备的鉴权包括:  The data sharing method according to claim 8, wherein the authenticating the target terminal device comprises:
在目的终端设备中设置能够将共享数据写入该目的终端设备的源终 端设备标识列表;  Setting a source terminal device identifier list capable of writing shared data to the destination terminal device in the destination terminal device;
设备管理服务器读取目的终端设备中设置的源终端设备标识列表; 当确定源终端设备标识在所述源终端设备标识列表中时, 允许该目 的终端设备共享源终端设备提供的共享数据。  The device management server reads the source terminal device identifier list set in the destination terminal device; when it is determined that the source terminal device identifier is in the source terminal device identifier list, the destination terminal device is allowed to share the shared data provided by the source terminal device.
10、 如权利要求 1所述的数据共享方法, 其特征在于, 还包括步骤: DM服务器从源终端设备获取共享数据,并将获取的共享数据进行保 存, 再将共享数据下发给目的终端设备; 或者,  The data sharing method according to claim 1, further comprising the steps of: the DM server acquiring the shared data from the source terminal device, saving the acquired shared data, and transmitting the shared data to the destination terminal device. Or,
DM服务器将从源终端设备接收的共享数据直接发送给目的终端设 备。  The DM server directly transmits the shared data received from the source terminal device to the destination terminal device.
11、 如权利要求 1所述的数据共享方法, 其特征在于, 还包括步骤: DM服务器将获取的共享数据进行保存,并在共享数据下发给目的终 端设备后, 删除所保存的共享数据; 或者,  The data sharing method according to claim 1, further comprising the steps of: the DM server saves the acquired shared data, and sends the shared data to the destination terminal device after the shared data, and deletes the saved shared data; Or,
DM服务器将共享数据下发给对应的目的终端设备后,对所述共享数 据进行标识, 当有目的终端设备请求共享数据时, DM服务器根据标识将 保存的共享数据下发给该目的终端设备。  After the DM server sends the shared data to the corresponding destination terminal device, the shared data is identified. When the destination terminal device requests the shared data, the DM server sends the saved shared data to the destination terminal device according to the identifier.
12、 一种数据共享方法, 用于实现基于开放移动联盟设备管理规范 的终端设备之间的数据共享, 包括步骤:  12. A data sharing method, configured to implement data sharing between terminal devices based on Open Mobile Alliance device management specifications, including the steps of:
参与数据共享的源终端设备将提供的共享数据所存放位置的地址信 息上报给设备管理服务器;  The source terminal device participating in the data sharing reports the address information of the location where the shared data is provided to the device management server;
设备管理服务器根据参与数据共享的源终端设备信息和目的终端设 备信息, 将源终端设备上报的地址信息下发给对应的目的终端设备; 目的终端设备根据获得的地址信息, 通过访问共享数据所存放的位 置得到源终端设备提供的共享数据。 The device management server sends the address information reported by the source terminal device to the corresponding destination terminal device according to the source terminal device information and the destination terminal device information that are involved in the data sharing; The destination terminal device obtains the shared data provided by the source terminal device by accessing the location where the shared data is stored according to the obtained address information.
13、如权利要求 12所述的数据共享方法, 其特征在于,还包括步骤: 源目的终端设备所属用户设置获取所述地址信息的鉴权密钥 , 并将 设置的鉴权密钥通知给目的终端设备所属用户;  The data sharing method according to claim 12, further comprising the steps of: the user to which the source destination terminal device belongs sets an authentication key for acquiring the address information, and notifying the set authentication key to the destination The user to which the terminal device belongs;
设备管理服务器在下发所述地址信息给对应的目的终端设备前, 对 该目的终端设备所属用户进行鉴权;  The device management server authenticates the user to which the destination terminal device belongs before sending the address information to the corresponding destination terminal device.
在该目的终端设备所属用户通过鉴权后, 将所述地址信息下发给该 目的终端设备。  After the user of the terminal device is authenticated, the address information is sent to the destination terminal device.
14、 如权利要求 12或 13所述的数据共享方法, 其特征在于, 所述 地址信息为共享数据在源终端设备上所存放位置的通用资源定位符。  The data sharing method according to claim 12 or 13, wherein the address information is a universal resource locator of a location where the shared data is stored on the source terminal device.
15、 如权利要求 14所述的数据共享方法, 其特征在于, 所述目的终 端设备通过网络传输协议访问共享数据存放的地址, 获取所述共享数据。  The data sharing method according to claim 14, wherein the destination terminal device accesses the address where the shared data is stored through a network transmission protocol, and acquires the shared data.
16、 一种数据备份恢复方法, 包括步骤:  16. A data backup and recovery method, comprising the steps of:
原始终端设备将自身的数据信息上报到设备管理服务器进行备份; 当需要恢复所述备份数据时, 原始终端设备或已更新终端设备将设 备管理服务器中备份的数据信息恢复到终端设备本地。  The original terminal device reports its own data information to the device management server for backup. When the backup data needs to be restored, the original terminal device or the updated terminal device restores the data information backed up in the device management server to the local device.
17、 如权利要求 16所述的数据备份恢复方法, 其特征在于, 其中将 所述数据信息上报到设备管理服务器包括步骤:  The data backup and recovery method according to claim 16, wherein the reporting the data information to the device management server comprises the steps of:
设备管理服务器向原始终端设备下发请求原始终端设备上报需备份 的数据信息的消息;  The device management server sends a message requesting the original terminal device to report the data information to be backed up to the original terminal device;
原始终端设备响应接收的请求消息, 上报需备份的数据信息到设备 管理服务器。  The original terminal device reports the data information to be backed up to the device management server in response to the received request message.
18、 如权利要求 16所述的数据备份恢复方法, 其特征在于, 原始终端设备主动将需备份的数据信息上报到设备管理服务器。 The data backup and recovery method according to claim 16, wherein the original terminal device actively reports the data information to be backed up to the device management server.
19、 如权利要求 16、 17或 18所述的数据备份恢复方法, 其特征在 于, 所述设备管理服务器将需备份的数据信息下发给原始终端设备或已 更新终端设备; 或者, The data backup and recovery method according to claim 16, 17 or 18, wherein the device management server sends the data information to be backed up to the original terminal device or the updated terminal device; or
将设备管理服务器中备份的数据信息恢复到终端设备本地的步骤包 括: Step package for restoring data information backed up in the device management server to the local device Includes:
原始终端设备或已更新终端设备向设备管理服务器请求下载备份的 数据信息;  The original terminal device or the updated terminal device requests the device management server to download the backed up data information;
设备管理服务器响应接收的请求, 向原始终端设备或已更新终端设 备下发备份的数据信息。  The device management server delivers the backed up data information to the original terminal device or the updated terminal device in response to the received request.
20、 如权利要求 16所述的数据备份恢复方法, 其特征在于, 还包括 步骤:  The data backup and recovery method according to claim 16, further comprising the steps of:
所述设备管理服务器将原始终端设备上报的备份数据信息和原始终 端设备所属用户的用户标识信息建立对应关系;  The device management server associates the backup data information reported by the original terminal device with the user identification information of the user to which the original device belongs.
在进行备份数据信息恢复处理时, 根据原始终端设备或已更新终端 设备所属用户的用户标识信息, 查找对应的备份数据信息。  When the backup data information recovery process is performed, the corresponding backup data information is searched according to the user identification information of the original terminal device or the user to which the updated terminal device belongs.
21、 一种数据备份恢复方法, 用于实现基于开放移动联盟设备管理 规范的终端设备数据备份及恢复处理, 包括步骤:  21. A data backup and recovery method, configured to implement terminal device data backup and recovery processing based on an Open Mobile Alliance device management specification, including the steps of:
原始终端设备将自身的数据信息所备份位置的地址信息上报到设备 管理服务器进行存储;  The original terminal device reports the address information of the backup location of the data information to the device management server for storage;
当需要恢复所述备份数据时, 原始终端设备或已更新终端设备在设 备管理服务器中获取数据信息所备份位置的地址信息;  When the backup data needs to be restored, the original terminal device or the updated terminal device acquires address information of the location where the data information is backed up in the device management server;
根据获取的地址信息访问数据信息的备份位置 , 将备份数据信息恢 复到终端设备本地。  The backup data location is accessed to the backup location of the data information according to the obtained address information, and the backup data information is restored to the local device.
22、 如权利要求 21所述的数据备份恢复方法, 其特征在于, 还包括 步骤:  The data backup and recovery method of claim 21, further comprising the steps of:
原始终端设备所属用户设置获取所述地址信息的鉴权密钥; 在设备管理服务器中获取地址信息前, 对原始终端设备所属用户进 行鉴权;  The user of the original terminal device sets an authentication key for obtaining the address information; and before the device management server obtains the address information, the user of the original terminal device is authenticated;
在原始终端设备所属用户通过鉴权后, 设备管理服务器将所述地址 信息下发给原始终端设备或已更新终端设备。  After the user of the original terminal device passes the authentication, the device management server sends the address information to the original terminal device or the updated terminal device.
23、 如权利要求 21或 22所述的数据备份恢复方法, 其特征在于, 所述地址信息为数据信息所备份位置的通用资源定位符。  The data backup and recovery method according to claim 21 or 22, wherein the address information is a universal resource locator of a location where the data information is backed up.
PCT/CN2006/001432 2005-06-30 2006-06-23 A method for sharing data and a method for recovering the backup data WO2007003103A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510080259.2A CN100515112C (en) 2005-06-30 2005-06-30 Data sharing method based on equipment management and data backup recovering method thereof
CN200510080259.2 2005-06-30

Publications (1)

Publication Number Publication Date
WO2007003103A1 true WO2007003103A1 (en) 2007-01-11

Family

ID=37579000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001432 WO2007003103A1 (en) 2005-06-30 2006-06-23 A method for sharing data and a method for recovering the backup data

Country Status (2)

Country Link
CN (1) CN100515112C (en)
WO (1) WO2007003103A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395739A (en) * 2017-08-11 2017-11-24 安徽晶奇网络科技股份有限公司 A kind of data exchange shared platform

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557616B (en) * 2009-05-19 2011-05-11 杭州华三通信技术有限公司 Method for accessing AP (access point) to switch backup access controller and AP (access point) and AC (access controller)
CN101720084A (en) * 2009-12-18 2010-06-02 中兴通讯股份有限公司 Method for processing terminal data, terminal and system
CN101790155A (en) * 2009-12-30 2010-07-28 中兴通讯股份有限公司 Method, device and system for updating security algorithm of mobile terminal
CN102194403A (en) * 2010-03-17 2011-09-21 上海仰邦软件科技有限公司 Microblaze soft core technology-based LED (Light Emitting Diode) large-screen asynchronous control system
CN102523282A (en) * 2011-12-14 2012-06-27 北京百纳威尔科技有限公司 Mobile terminal data sharing method, apparatus thereof and network server
CN102999379B (en) * 2012-12-14 2015-08-12 东莞宇龙通信科技有限公司 terminal and data sharing method
CN103037007A (en) * 2012-12-24 2013-04-10 珠海金山办公软件有限公司 Data sharing method and data sharing system based on geographic position service
CN104243538A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Resource sharing method and system
CN106547646B (en) * 2015-09-23 2020-06-16 菜鸟智能物流控股有限公司 Data backup and recovery method and data backup and recovery device
CN106603650B (en) * 2016-12-08 2020-08-14 宇龙计算机通信科技(深圳)有限公司 Method for sharing position information and terminal equipment
CN107295078A (en) * 2017-06-19 2017-10-24 山东浪潮通软信息科技有限公司 A kind of patch distribution tracking and control system and method
CN107124475A (en) * 2017-06-30 2017-09-01 江西博瑞彤芸科技有限公司 A kind of sharing method of view data
CN107402848A (en) * 2017-07-31 2017-11-28 郑州云海信息技术有限公司 A kind of implementation method of snapshot data uniformity
CN107395516A (en) * 2017-09-05 2017-11-24 济南浚达信息技术有限公司 A kind of internet data backup method based on Internet of Things
CN112492503A (en) * 2019-08-20 2021-03-12 普天信息技术有限公司 Cluster terminal positioning sharing method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510677A (en) * 2002-12-23 2004-07-07 �ʼҷ����ֵ��ӹɷ����޹�˾ Method for sharing content with web DVD technology
KR20050000829A (en) * 2003-06-25 2005-01-06 쎄테콤코리아 주식회사 Method for sharing game contents in wireless game machines
EP1542424A1 (en) * 2003-12-12 2005-06-15 France Telecom System and method for data sharing among WAP terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510677A (en) * 2002-12-23 2004-07-07 �ʼҷ����ֵ��ӹɷ����޹�˾ Method for sharing content with web DVD technology
KR20050000829A (en) * 2003-06-25 2005-01-06 쎄테콤코리아 주식회사 Method for sharing game contents in wireless game machines
EP1542424A1 (en) * 2003-12-12 2005-06-15 France Telecom System and method for data sharing among WAP terminals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395739A (en) * 2017-08-11 2017-11-24 安徽晶奇网络科技股份有限公司 A kind of data exchange shared platform

Also Published As

Publication number Publication date
CN100515112C (en) 2009-07-15
CN1889742A (en) 2007-01-03

Similar Documents

Publication Publication Date Title
WO2007003103A1 (en) A method for sharing data and a method for recovering the backup data
US8555064B2 (en) Security system and method for wireless communication system
US8438616B2 (en) Method for terminal configuration and management and terminal device
US7809366B2 (en) Mobile device client
US11102017B2 (en) Robust event handling in an electronic subscriber identity module (eSIM) notification service
JP2009500759A (en) Method and system for data management based on simple network management protocol
CN112449315A (en) Network slice management method and related device
WO2010028571A1 (en) Large data object transmission method, transmission system, transmitting device and receiving device
WO2010127508A1 (en) Method and apparatus for performing device management via gateway device and device management server thereof
EP2683185B1 (en) Device Management Method, Server and System
EP4135380A1 (en) Secure communication method, and related apparatus and system
JP2023539038A (en) Method and apparatus for installing and managing multiple eSIM profiles
JP6476319B2 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
CN101877861B (en) Node information acquisition method, client and server
WO2014187241A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
WO2012139623A1 (en) Mobile terminal multiple network registration
KR20220018892A (en) METHOD AND APPARATUS TO INSTALL AND MANAGE MULTIPLE eSIM PROFILES
KR20220018882A (en) METHOD AND APPARATUS TO INSTALL AND MANAGE MULTIPLE eSIM PROFILES
KR20100021690A (en) Method and system for supporting authentication and security protected non-access stratum protocol in mobile telecommunication system
WO2022042055A1 (en) Network slicing management method and system, and computer readable storage medium
WO2024001889A1 (en) V2x policy requesting method and device
KR20220018875A (en) METHOD AND APPARATUS TO INSTALL AND MANAGE MULTIPLE eSIM PROFILES
KR20220018897A (en) METHOD AND APPARATUS TO INSTALL AND MANAGE MULTIPLE eSIM PROFILES
KR101148889B1 (en) Mobile terminal having self security function and security intensification method thereof
JP5095831B2 (en) Device management method, terminal, apparatus and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06761314

Country of ref document: EP

Kind code of ref document: A1