WO2007112673A1 - The method of device capability information negotiation, the method, system and device of synchronization - Google Patents

The method of device capability information negotiation, the method, system and device of synchronization Download PDF

Info

Publication number
WO2007112673A1
WO2007112673A1 PCT/CN2007/001018 CN2007001018W WO2007112673A1 WO 2007112673 A1 WO2007112673 A1 WO 2007112673A1 CN 2007001018 W CN2007001018 W CN 2007001018W WO 2007112673 A1 WO2007112673 A1 WO 2007112673A1
Authority
WO
WIPO (PCT)
Prior art keywords
capability information
device capability
synchronization
client
server
Prior art date
Application number
PCT/CN2007/001018
Other languages
English (en)
French (fr)
Inventor
Linyi Tian
Xiangzhou Guo
Jiao Kang
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.
Priority to EP07720592A priority Critical patent/EP2001160A4/en
Publication of WO2007112673A1 publication Critical patent/WO2007112673A1/zh
Priority to US12/241,937 priority patent/US8051186B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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

Definitions

  • the invention relates to the technical field of SyncML Data Synchronization, in particular to a method for negotiating device capability information, a synchronization method, a system thereof and a device.
  • SyncML The industry group SyncML iniative was created in February 2000 to develop standard specifications for personal information and intra-enterprise data synchronization across multiple platforms and networks.
  • the goal of developing SyncML is to enable end users, device developers, infrastructure developers, data providers, application developers, and service providers to work together to truly access any network data anytime, anywhere, using any terminal device. aims.
  • a typical application for SyncML data synchronization is data synchronization between a mobile device or application server and a network server.
  • SyncML can also be used for data synchronization of peer entities, such as between two PCs.
  • Figure 1 shows a schematic diagram of the system for achieving synchronization.
  • the system for achieving synchronization includes a SyncML client and a server. After the SyncML client and the server negotiate the parameters of the synchronization initialization stage, each of the changed data is sent to each other to ensure synchronization of the data of both parties.
  • Two-way synchronization is a common method of synchronization. In this way, the synchronization client
  • Slow Synchronization is a special type of two-way synchronization. The difference is that the data must be compared (Slow-to-Site) on a field-by-field basis. This means that when synchronizing, both the client and the server must send all the data in the local database to the peer, and then the server or client will receive each field of data and each data saved by itself. Synchronous analysis.
  • Client one-way synchronization client one-way synchronization is a one-sided synchronization. Only the client sends its data repair (One-way sync changes the information to the server, and the server does not send the server-side modification information to the client. From client only )
  • Client Refresh Client refresh is also a one-sided synchronization.
  • the client puts the local database
  • the server uses the client's data to overwrite the server number from client only) According to all the data in the library. That is, the data in the server is exactly the same as the client, and there are not many, many, and no different records. .
  • Server-side one-way synchronization is similar to client one-way synchronization. Only the server sends its data to repair
  • the server refresh is similar to the client refresh.
  • the server puts all the data of the user in the database
  • the server notification synchronization means that the server first reminds the client to perform the synchronization operation.
  • Server Alerted is used by the server to tell the client to start a specific type of synchronization operation. Just the service Sync) informs the terminal that it is required to initiate some kind of synchronization, and the subsequent synchronization process may be the above six synchronization methods.
  • slow synchronization can be seen as two-way synchronization of all data sent by the client and server; one-way synchronization is a two-way synchronization of transmitting data in one direction; refresh synchronization is a slow synchronization of data transmitted in one direction.
  • the synchronization process specified in the SyncML specification is usually divided into three phases: Phase 1: Steps Pkg # l ⁇ Pkg # 2, Synchronization initialization phase.
  • the SyncML client and server mainly complete the negotiation of identity authentication and device capability information.
  • the device capability information includes device-related data, such as device manufacturer, model number, version number, etc.; data related to synchronization data, such as supported synchronization data types, attributes, parameters, etc.; data related to data storage, Such as data storage capacity, storage-supported synchronous data types, methods, etc.; and data related to the extension mechanism, such as extended element names.
  • the interaction process in this phase usually needs to be repeated multiple times.
  • the ⁇ ?111> command tag contains the device capability information of the client; its ⁇ 0> command The tag is used to request device capability information for the Date Sync Server (hereinafter referred to as the DS server).
  • the DS server can also not send the ⁇ Get> ⁇ command.
  • the status of the DS client and server are equal. If the DS client does not use the ⁇ Put> command to send device capability information during synchronization, the DS server can use the ⁇ 061 command to request the client to send device capability information.
  • Step Pkg # 3 ⁇ Pkg # 4 synchronization phase. It is mainly used for one end of the client and the server. According to the status of the data, such as Add New, Update Update, Delete Delete, Move Move, the changed data is sent to the client and server through the operation command. At one end, the same operation is performed by the other end according to these commands to achieve synchronization.
  • Step Pkg # 5 ⁇ Pkg # 6 Synchronization completion phase, which is mainly used for mutual confirmation of synchronization between the client and the server.
  • the inventor of the present invention found that the prior art has at least the following problems in the process of the present invention.
  • the prior art performs the synchronous initialization operation, which generally includes the device capability information negotiation process, which takes up more time and causes data synchronization.
  • the process is unnecessarily extended and the synchronization efficiency is low, which can be derived from the following analysis:
  • the synchronization initialization operation must be performed first before data synchronization, and the device capability information negotiation process is generally included in the synchronization initialization operation.
  • the device capability information does not change frequently. Even if the device capability information changes, it may only be a partial change of information. Moreover, sending all device capability information will result in a very large amount of data, thus prolonging the data synchronization time.
  • the data synchronization protocol since the existing device capability information includes description information related to the data format, the data synchronization protocol has a coupling relationship with the synchronized data, that is, each time a new data format is added and device capability information is modified, the data is affected. Synchronization specification.
  • the present invention provides a device capability information negotiation method, a synchronization method, a synchronization system, a synchronization device, a synchronization server, a DM server, a DM client, and a synchronization client, respectively, which can improve synchronization efficiency.
  • a synchronization method comprising the steps of: initiating a synchronization process between the first device and the second device; confirming whether the device capability information or the state identifier or the device capability information is saved after the previous device capability negotiation The state identifier is not changed; when the negotiated device capability information or the state identifier is saved, or the device capability information is not changed, the device capability information negotiation is skipped, and the synchronization operation is performed.
  • a second technical solution is provided: a method for negotiating device capability information, including the following steps: receiving an operation request, where the operation request carries a parameter that requires device capability information negotiation; and device capability information negotiation parameters according to the request carried by the request.
  • the session is determined as the device capability information negotiation session; the response is returned, and the device capability information negotiation is performed; the device capability information negotiation result is saved, and the session is ended.
  • a method for negotiating device capability information includes the following steps: receiving a device capability information negotiation request; returning device capability information; saving the negotiation result and ending.
  • a synchronization system including a synchronization server and a synchronization client, when the state identifier or the device capability information does not change the state identifier, skipping the device capability information negotiation and the synchronization server and the synchronization client Synchronize directly between the two.
  • a synchronization device including: a configuration unit, configured to save the negotiated device capability information or status identifier, or device capability information unchanged state identifier; a synchronization trigger unit, configured to save the When the device capability information or the status identifier or the device capability information has not been changed, the device capability information negotiation process is skipped and the synchronization operation is directly triggered.
  • a synchronization server comprising: a request receiving unit, configured to receive, in a session, an operation request carrying a device capability information negotiation parameter, and a session type determining unit, configured to perform, according to the request carried by the operation request
  • the device capability information negotiation parameter determines that the session is a device capability information negotiation session; the negotiation unit is configured to perform device capability information negotiation after determining that the session is a device capability information negotiation session; and the session control unit is configured to save the device capability.
  • the information negotiation results and ends this session.
  • a DM server comprising: a request receiving unit, configured to Receiving, in the session, an operation request that carries the identifier of the client synchronization management object acquired by the DM server; the session type determining unit is configured to determine, according to the operation request, that the session is a device capability information negotiation session; and the negotiation unit is configured to determine the current time.
  • the specific operation command is sent according to the client synchronization management object identifier, and the reported client device capability information is received, and the forwarding unit is configured to receive the received client device capability information. Sent to the sync server.
  • a DM client comprising: a request receiving unit, configured to receive the synchronization client device capability information request in a session; and a device capability information acquiring unit, configured to read the configured synchronization client Synchronizing the data of all or part of the nodes corresponding to the management object, and obtaining the capability information of the client device to be reported; the reporting unit is configured to initiate an operation request to the DM server, where the operation request includes an initial session connection carrying the capability information of the client device request.
  • a DM client comprising: an operation command requesting unit, configured to initiate an initial session connection request to the DM server, and carry the client synchronization management object identifier required by the DM server to be obtained in the initial session connection request
  • An operation command receiving unit configured to receive an operation command corresponding to the client synchronization management object identifier
  • a device capability information acquisition unit configured to read, according to the operation command, a synchronization client synchronization management object that has been set
  • the data of all or part of the nodes obtains the capability information of the client device to be reported; the reporting unit is configured to send the response information of the operation command to the DM server, where the response information carries the capability information of the client device.
  • a synchronization server comprising: a request receiving unit, configured to receive, in a session, an operation request that carries a device capability information negotiation parameter, where the parameter carries information about acquiring the synchronization server device capability information a session type determining unit, configured to determine, according to the request for carrying the device capability information negotiation parameter, the current session as a device capability information negotiation session; the negotiation unit, configured to determine, after determining that the current session is a device capability information negotiation session, The device capability information is sent to the synchronization client, and is notified to save the device capability information negotiation result and end the session.
  • a DM server comprising: a request receiving unit, configured to receive, in a session, an operation request carrying a device capability information negotiation parameter, where the parameter is requested
  • the device capability information obtaining unit is configured to carry the device capability information negotiation parameter, and the device capability information obtaining unit is configured to perform the device capability information negotiation parameter according to the device capability information negotiation parameter carried in the operation request;
  • a twelfth technical solution comprising the steps of: synchronizing a client to initiate an operation request to a synchronization server; if the synchronization server determines that the received operation request is a data synchronization request, and confirming that the operation is saved After the device capability information or the state identifier, or the device capability information does not change the state identifier, the synchronization process is performed; if the synchronization server determines that the received operation request is a device capability information negotiation request, the device capability information negotiation operation is performed.
  • the embodiment of the present invention determines that the device capability is not required for the session by confirming whether the device capability information or the state identifier is saved after the previous device capability negotiation or the device capability information is not changed.
  • the device capability information negotiation process is skipped, which not only simplifies the synchronization protocol, but also improves the synchronization efficiency. It also avoids the change of the synchronization process caused by the change of the device capability information negotiation process, thereby avoiding the technical problem of frequently modifying the data synchronization specification. .
  • the embodiment of the present invention determines that the session is a device capability information negotiation session by determining the type of the operation request, and the synchronization session with the prior art is another ij, so that the device capability information can be separately performed.
  • Negotiate and save the negotiation result which is beneficial to skip the device capability information negotiation process during the next synchronization, which not only improves the synchronization efficiency, but also avoids the change of the synchronization process caused by the change of the device capability information negotiation process, thereby avoiding frequent modification of data synchronization.
  • the third technical solution can be seen that, when receiving the device capability information negotiation request, the embodiment of the present invention determines that the session is a device capability information negotiation session, so the device capability information can be notified to the peer end, so as to facilitate the next synchronization.
  • the device capability information negotiation process is skipped, the synchronization efficiency is improved, and the synchronization process is changed due to the change of the device capability information negotiation process, thereby avoiding the technical problem of frequently modifying the data synchronization specification.
  • the fourth and fifth technical solutions can be used to confirm that the device capability information or the state identifier is saved, or the device capability information is not changed, and the device capability information is not required to be negotiated.
  • the device capability information negotiation process is skipped, which simplifies the synchronization protocol and improves the synchronization efficiency. It also avoids the change of the synchronization process caused by the change of the device capability information negotiation process, thereby avoiding the technical problem of frequently modifying the data synchronization specification.
  • the synchronization client and the synchronization server cooperate with each other, or the synchronization client, the DM client, the DM server, and the synchronization server cooperate with each other to implement Separate device capability information negotiation and save the negotiation result to facilitate the skipping of the device capability information negotiation process during the next synchronization, which not only improves the synchronization efficiency, but also avoids the change of the synchronization process caused by the change of the device capability information negotiation process. In turn, avoid the technical problems of frequently modifying the data synchronization specification.
  • the process of the device capability information negotiation process may be skipped under certain conditions, according to whether the device capability information negotiation information, the direct synchronization, or the device capability information negotiation process are required.
  • the device capability information negotiation may also be performed when device capability information negotiation is required, thereby achieving the technical effect of improving synchronization efficiency.
  • Figure 1 is a schematic diagram of a prior art synchronization system
  • FIG. 2 is a schematic flow chart of a prior art SyncML synchronization method
  • FIG. 3 is a schematic flowchart of a method for negotiating capability information of a device according to the present invention and a first embodiment of a synchronization method
  • FIG. 4 is a schematic overall structural diagram of a DM specification adopted by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a process for reporting capability information of a client device by a DS client in a DM mode
  • FIG. 6 is a schematic flowchart of a capability information negotiation method of a device in the third embodiment of the device in the DM mode;
  • FIG. 7 is a schematic flowchart of a device capability information negotiation method of a device in the DM mode in the DM mode;
  • FIG. 8 is a schematic flowchart of a capability of a DS client to request server device capability in a DM mode according to a fifth embodiment of the device capability information negotiation method of the present invention
  • 9 is a schematic flowchart of a sixth embodiment of device capability information negotiation according to the present invention
  • FIG. 10 is a schematic flowchart of negotiation of capability information of a device initiated by a DS server in a DM mode according to a seventh embodiment of the device capability information negotiation according to the present invention
  • FIG. 11 is a schematic structural diagram of a client management tree adopted by an embodiment of the present invention.
  • Figure 12 is a specific implementation of the device capability information client management object based on Figure 11;
  • FIG. 13 is a schematic structural view of a first embodiment of a synchronization system according to the present invention.
  • Figure 14 is a schematic structural view of a second embodiment of the synchronization system of the present invention.
  • FIG. 15 is a schematic structural diagram of a first embodiment of a synchronization device according to the present invention.
  • FIG. 16 is a schematic structural diagram of a second embodiment of a synchronization server according to the present invention.
  • FIG. 17 is a schematic structural diagram of a first embodiment of a DM server according to the present invention.
  • FIG. 18 is a schematic structural diagram of a first embodiment of a DM client according to the present invention.
  • FIG. 19 is a schematic structural diagram of a second embodiment of a DM client according to the present invention.
  • Figure 20 is a block diagram showing the structure of a second embodiment of the DM server of the present invention.
  • An aspect of the present invention is to provide a session type that only negotiates device capability information.
  • the client and/or the server respectively save the negotiated device capability information for subsequent synchronization use;
  • the negotiation is not performed in the initialization phase of each synchronization session, so that the device capability information negotiation process is independent of the synchronization process, reducing the number and frequency of negotiation.
  • the independent negotiation process may be to negotiate the entire device capability information, or to negotiate only the device capability information that has changed from the previous time, or to negotiate only the device capability information required in the current synchronization interaction.
  • the following is a description of the DS client actively initiating the request and the DS server actively initiating the request.
  • FIG. 3 is a schematic flowchart of a method for negotiating capability information of a device according to the present invention and a first embodiment of a synchronization method. This figure is illustrated by the DS client actively initiating a request.
  • Step 301 Initiate a synchronization process between the DS server and the DS client, where the DS server includes an operation request from the DS client, where the operation request may be a data synchronization request or a device capability information negotiation request.
  • the use status codes 200 to 205 indicate the type of synchronization used when the client requests synchronization from the server, and 206 to 210 indicate that the server sends a notification to the client requesting the type of synchronization initiated by the client.
  • the operation request carries parameters that require device capability information negotiation, for example, the similar additions 230 and 231 respectively indicate that the client and the server require the peer to initiate device capability negotiation.
  • step 301 if the status code carried by the client to the server is any one of 200 to 205, it is a synchronization request; if 230, the request carries the 230 status code to determine the session.
  • the device capability information negotiation session is the device capability negotiation request.
  • Step 302 The DS server determines whether the received request is a data synchronization request or a device capability information negotiation request. If it is the former, step 303 is performed, and if it is the latter, step 306 is performed.
  • Step 303 The DS server detects whether the device capability information negotiation needs to be performed in the current session.
  • the specific mode is to confirm whether the device capability information or the state identifier or the device capability information does not change the state identifier after the previous device capability negotiation.
  • the saved device capability information or status identifier or the device capability information unchanged status identifier is obtained or set after the previous device capability negotiation, and is used as a basis for judging whether device capability information negotiation is required as the next synchronization.
  • the process of the foregoing detection is: the DS server determines whether there is a status identifier that has been completed by the device capability information corresponding to the synchronization client identifier (ID) that initiates the request, a status identifier that has been changed by the device capability information negotiation, or the current state is saved.
  • ID synchronization client identifier
  • step 304 is performed; otherwise, step 305 is performed to perform device capability information negotiation.
  • Step 304 Return a response to the received request, and continue to perform the synchronization process, and the process ends.
  • Step 305 Respond to the received request to request the DS client to perform device capability information negotiation.
  • Step 306 Perform a device capability information negotiation operation, save the device capability information negotiation result, and end the session.
  • the device capability information negotiation is performed according to one of the following methods:
  • the above negotiation method can be saved in the DS server or saved in the DS client. When it is saved in the DS client, it can be reported to the DS server by carrying the method in the operation request.
  • the operation request to be sent carries the parameter that is required to negotiate the device capability information, and the parameter may be: a data type for negotiating all device capability information, a data type carrying the capability information of the negotiation related device, and a specified The URI of the device capability information to be negotiated, or an expression indicating the capability information of the device to be negotiated.
  • the device capability information negotiation operation request includes an add, update, delete, or query command, and when the parameter is a UI indicating the device capability information to be negotiated, the manner of performing the device capability information negotiation includes: according to the URI Obtain device capability information through the XCAP protocol operation command.
  • the device is configured to perform the data synchronization request or the device capability information negotiation request, and the device capability information negotiation process is separated from the synchronization process.
  • the negotiation is completed in step 306, the session is terminated, so that the device capability information is negotiated. Becoming an independent process provides a technical choice for simplifying synchronization protocols and improving synchronization efficiency.
  • the device capability information negotiation is required, and the flexible device capability information negotiation mode is provided in step 306, which can only negotiate part of the device capability information, reduce the interaction process and data traffic, and further improve the efficiency of device capability information negotiation or synchronization.
  • the client after receiving the response, the client carries the device capability information required by the DS server in the sent synchronization request and continues to start data synchronization to complete the subsequent data synchronization operation, and the data synchronization operation is performed. It may be in the same session as the operation described in step 306, or may not be in the same session. Finally, the session ends when the synchronization is complete.
  • the step 306 further includes: performing initialization authentication between the DS client and the DS server, and performing step 306 after the verification is passed. And after the step 306 is performed, the method further includes: updating the status identifier for ensuring complete after-care work. That is to say, for the independent device capability information negotiation operation, the verification initialization operation before the interaction, and the after-work after the interaction, that is, the update state, etc., are performed to ensure the independence and integrity of the operation. For device capability information negotiation during synchronization, separate verification and status update operations are no longer required.
  • the negotiation request may be requesting reporting of client device capability information, and/or requesting server device capability information.
  • the foregoing device capability information negotiation request may be sent to the synchronization server by means of a device capability operation session (DS), or may be sent to the DS server by means of a synchronous device management (DM) protocol.
  • DS device capability operation session
  • DM synchronous device management
  • the device capability information negotiation operation may be performed by means of device capability operation session or device management DM protocol.
  • the DS server serves as a main body for confirming whether the device capability information or the state identifier or the device capability information does not change the state identifier after the previous device capability negotiation.
  • the device capability information unchanged status indicator may be carried in an operation request reported by the DS client.
  • the DS client may be used as a host to confirm whether the device capability information or the state identifier or the device capability information has not changed the state identifier after the previous device capability negotiation. That is, before the DS client sends an operation request to the DS server, it performs an action of detecting whether the current session needs to negotiate device capability information. The DS server is not required to determine whether device capability information negotiation is required, and the session speed is accelerated. At this time, whether the device capability information is saved or not indicates whether the DS server has the device capability information for saving the DS client, and the DS client can obtain the feedback information of the DS server after the previous device capability negotiation.
  • the DM specification defines a standard Management Object (MO), and the Device Management Server (DM Server) performs management actions by manipulating management objects in the terminal device.
  • the management object exists in the form of a management tree.
  • the customer mentioned in the embodiment of the present invention below The Side Synchronization Management Object (Client DS MQ) and the Server Synchronization Management Object ( Server DS MO) are single-handed.
  • the defined Client DS MO and Server DS MO are used to save the client device capability information and the server device capability information respectively, and the Client DS MO can be obtained by the server, and the Server DS MO can be obtained by the client. Since the management objects exist in the form of a management tree, Client DS MO and Server DS MO are located on the management tree of the client and the management tree on the server side, respectively.
  • Client DS MO and Server DS MO as standardized MOs, the reusability of device capability information is improved; the information in these MOs is not standardized in the prior art, and can be opened to other services through DM technology. .
  • the packet structure of the protocol is based on the Extensible Makeup Language (XML).
  • the nodes of the management tree may contain a set of environment configuration parameters, different types of objects, related operations, and some triggering mechanisms in the device. '
  • FIG. 4 it is a schematic diagram of the overall structure of the DM specification adopted by the embodiment of the present invention.
  • the DM Agent (DM Agent) on the terminal device is used to interact with the Device Management Server (DM Server) to complete related management operations.
  • the Device Management Server (DM Server) is used to provide management, diagnostics, and maintenance functions for the terminal devices. It manages terminal devices through OTA (Over the Air). Management operations include terminal device parameter settings, firmware updates, software installation and upgrades, device errors, and event information collection and processing.
  • Terminal devices include mobile terminals, PDAs, laptops, embedded devices, in-vehicle systems, etc., without excluding any other mobile devices.
  • Step 501 The synchronous DS client reports the client device capability information request to the DM client.
  • Steps 502 to 505 the DM client initiates a device management process according to the received request, and notifies the DM server to obtain the capability information of the client device to be reported according to the client synchronization management object (Client DS MO); specifically:
  • the DM client reads the data of all or part of the nodes corresponding to the set Client DS MO according to the received request, and obtains the capability information of the client device to be reported, to the DM server.
  • Sending the operation request that carries the device capability information negotiation parameter for example, initiating an initial session connection request, where the request includes the client device capability information to be reported, and the device capability information negotiation parameter is used as the requirement;
  • the DM server Receiving, by the DM server, the operation request that includes the capability information of the client device to be reported, determining that the DS client requests the device capability information negotiation, obtaining the capability information of the client device to be reported, and then returning the response information to the DM client, The confirmation is completed; and, the DM server waits to receive confirmation response information from the DM client for confirming the completion of the operation.
  • the interaction between the above DM client and the DM server can be multiple times, the following similarities.
  • Step 506 After obtaining the client device capability information to be reported, the DM server notifies the obtained client device capability information to the DS server.
  • the DM client initiates an initial session connection request to the DM server according to the received request, where the request includes a client synchronization management object identifier that is required to be obtained by the DM server; and the DM server delivers a specific operation according to the received identifier.
  • the command for example, reads all or a certain subtree or one or several nodes corresponding to the synchronization client synchronization management object that has been set; after that, the DM client obtains the to-be-read according to the specific operation command sent by the DM server.
  • the address of the information, the data of all or part of the nodes corresponding to the set Client DS MO is read according to the address, and the capability information of the client device to be reported is obtained, and then the DM client sends a response message to the operation command of the server.
  • the response information includes the client device capability information to be reported.
  • the DM server obtains the client device capability information to be reported, and then returns a response message to the DM client to confirm the completion.
  • the DM client directly transmits the device capability information to be reported, that is, the specific data to the DM server; and in FIG. 6, the DM client connects the client.
  • the ID of the DS MO is passed to the DM server, and the DM server determines what information is needed, and then notifies the DM client of the result of the decision as an operation command, and the DM client performs corresponding operations according to the operation command. Regardless of the implementation, it is supported by the existing DM protocol.
  • Step 701 The DS client sends a request for acquiring the capability information of the DS server device to the DM client.
  • Step 702 The DM client initiates a device management process according to the request for acquiring the DS server device capability information, and sends an operation request for carrying the device capability information negotiation parameter to the DM server, where the parameter carries the The DS server device capability information is obtained.
  • the DM client initiates an initial session connection according to the received request for acquiring the synchronization server device capability information, and sends an operation request for carrying the device capability information negotiation parameter to the DM server.
  • the parameter carries information about obtaining capability information of the DS server device, that is, the DM server is configured to configure a server synchronization management object ( Server DS MO ) for storing server device capability information;
  • Steps 703 ⁇ 704 the DM server obtains the server device capability information from the DS server according to the received operation request.
  • steps 705 and 706 are included.
  • Step 705 The DM server configures the Server DS MO through the interactive command and the management command, and returns all or part of the node data corresponding to the Server DS MO to the DM client.
  • Steps 706 ⁇ 707 the DM client returns the status information to the DM server to confirm the completion, and obtains the server device capability information from all the received or part of the node data and sends the information to the DS client.
  • steps 702 and 705 can also be implemented as shown in FIG. 8:
  • the DM client initiates an initial session connection according to the received request, requests server device capability information, and the DM server adopts a client configuration (CP, Client Provisioning) or other protocol, or a pre-agreed format such as an XML format.
  • the requested server-side device capability information is sent to the DM client by way of WAP Push, or SMS, or MMS.
  • the process of synchronizing with the device capability information in the existing data synchronization process is consistent for the case of synchronizing all device capability information. It's just a separate proposal, and it's not a step in data synchronization.
  • at least one of the following methods is adopted: (1) Negotiating related device capability information according to the data type; generally, the device capability information includes some common information, such as a software version number, etc. It also contains some data type-specific information, such as phone book-specific fields, etc. Clients used by users often need to synchronize different data types in different situations: phone book, schedule, short message, etc.
  • the MIME type of this synchronization data can be used to inform the peer of the range of device capability information negotiated.
  • Using the UI to indicate the device capability information to be negotiated that is, the device capability information of the client and the server is also stored on the network, and the device capability information can be saved in the XML document, and the UI can point to the entire document, a certain segment. , specific element or attribute value; ⁇ access to this document using HTTP or XCAP (XML Configuration and Access Protocol) protocol.
  • XCAP is a protocol based on HTTP that obtains and modifies XML document information through HTTP GET and HTTP PUT commands. It can access XML documents based on URIs, and its access behaviors include: getting, updating, deleting the entire XML document, or getting, updating, and deleting a particular node or property.
  • the DS client sends a device capability negotiation request to the DS server.
  • the additional parameter indicates the manner in which the device capability information is negotiated.
  • the direction parameter indicates whether only the DS client sends the device capability information to the DS server, or only the DS server sends the device to the DS client. Capability information, or both parties send.
  • the URI of the changed URI or the device capability information corresponding to the expression may be sent to the peer end to replace the original device capability information to implement negotiation of the capability information of the device.
  • the device capability information is uploaded to the DS server through the Put command; and the server saves the information. As long as the device capability information has not changed, no device capability information negotiation is required for each subsequent data synchronization.
  • the DS client then sends the changes to the server with the following commands, so that the server can perform the corresponding update operation.
  • FIG. 9 is a schematic flowchart of another device capability information negotiation to which the present invention is applied. This picture is based on
  • the DS server actively initiates the description.
  • Step 901 The DS server initiates a device capability information negotiation request to the DS client, and requests the client to upload the device capability information.
  • the DS server requires the DS client to initiate a certain synchronization, and the DS server sends a notification to the DS client through the DS server, and requests the DS client to initiate a synchronization request corresponding to the synchronization type specified by the DS server. For example, when the DS server wishes to initiate two-way synchronization, the DS server uses the status code 206 to indicate in the notification sent that the DS client initiates two-way synchronization using the status code 200 in the subsequent synchronization request.
  • the DS server when the DS server wants to initiate the device capability negotiation request, the DS server may send a notification to the DS client, carrying the status code 231, and then the operation request sent by the DS client to the DS server carries the status code 230. Indicates that the device capability negotiation request is initiated.
  • Step 902 The DS client performs mutual authentication with the server that initiated the request according to the received request. After the authentication is passed, step 903 is performed, and if the authentication fails, the direct termination is performed. The authentication operation in this step may also not be performed.
  • Step 903 The DS client reports the device capability information of the device to the DS server.
  • the DS client can further request device capability information on the server side.
  • the request initiated by the DS server may be sent by means of the DM protocol; or may be sent by means of device capability operation session.
  • the request further initiated by the DS client may be sent through the DM protocol; or it may be sent through the device capability operation session.
  • Step 1001 The DS server sends the capability information of the client device to the DM server. Request
  • Step 1002 The DM server sends an operation notification to the DM client according to the received request, and requests the DM client to initiate a device management process and report the capability information of the client device.
  • Steps 1003 to 1004 after the DM client completes the authentication with the DS client according to the received request, the DM client is allowed to read the Client DS MO for storing the capability information of the client device. These two steps can also be performed without executing the authentication operation.
  • Step 1005 The DM client obtains the Client DS MO, initiates a device management process, and notifies the DM server of the MO.
  • this step is the same as the implementation of the steps 502 to 504 in FIG. 5 , and the implementation in FIG. 6 can also be used, and details are not described herein again.
  • Step 1006 The DM server notifies the DS server of the received client device capability information.
  • the process of requesting the server device capability information of the DS client is the same as that shown in Figure 7, and is not described here.
  • the implementation process is basically the same as the existing implementation mode, and only the process of the device capability negotiation is completely independent.
  • the DS client, the DS server, the DM client and the DM server are all logical entities, wherein the DS client and the DM client can be on the same or different physical entities; the DS server and the DM server can be the same or different. Physical entity.
  • the device capability information of the client, and the device capability information of the server may be all device capability information, or device capability information required in the current synchronization interaction, or may be generated earlier. Changed device capability information.
  • the data of all or part of the nodes corresponding to the management object includes, but is not limited to, subtree data, subtree structure, or node attributes of the management object tree, or any combination thereof.
  • Client DS MO and Server DS MO Since the structure of Client DS MO and Server DS MO is similar, the following is only the Client.
  • the DS MO is used as an example, and the same applies to the Server DS MO.
  • the DS client For the method implemented in the DM mode, it needs to be completed by the DS client, the DM client, the DM server, and the DS server.
  • a first embodiment of the synchronization system of the present invention includes a DS client, a DS server, a DM client, and a DM server.
  • the DM server provides management, diagnosis, and maintenance functions for the terminal device. It manages terminal devices through OTA (Over the Air). Management operations include terminal device parameter settings, firmware updates, software installation and upgrades, device errors, and event information collection and processing. Terminal devices include mobile terminals, handheld computers, notebook computers, embedded devices, in-vehicle systems, etc., without excluding any other mobile devices.
  • the DM client a client installed on the terminal device, is used to interact with the DM server to complete related management operations.
  • the DS server receives the synchronization request and synchronization data of the DS client, completes the data synchronization operation, and saves the server-side data.
  • the DS client the synchronization client installed on the terminal device, interacts with the DS server to complete the data synchronization operation and save the client data.
  • the DS client in the system is further configured to send a device capability information negotiation request to the DM client, or receive server device capability information from the DM client, or perform an authentication operation with the DM client.
  • the DM client is further configured to obtain a Client DS MO for storing client device capability information from a defined DM management tree, and communicate with the DM server under the control of the OMA device management protocol; or, from the DM server
  • the server device capability information or the server device capability information in the Server DS MO is sent to the DS client.
  • the DM server is further configured to send the client device capability information of the client DS MO from the DM client to the DS server; or obtain the server device capability information, and directly send the server device capability information to the DM client, or Includes server-side device capabilities
  • the Server DS MO of the message is sent to the DM client.
  • the DS server is also configured to receive client device capability information from the DM server, or request device capability information of the DS client through the DM server, or transmit its own device capability information to the DM server.
  • the above DS client, DS server, DM client and DM server are all logical entities, wherein the DS client and the DM client can be on the same or different physical entities; the DS server and the DM server can be in the same or different physical entities. on.
  • the second embodiment of the synchronization system of the present invention includes the synchronization server and the synchronization client information or the status identifier, or the device capability information does not change the status identifier, the device capability information negotiation is skipped and the synchronization server and the synchronization client are Synchronize directly between the two.
  • the foregoing embodiment confirms whether the device capability information or the state identifier is saved, or the device capability information does not change the state identifier, and the device capability information negotiation is skipped when it is determined that the device capability information negotiation is not required for the current session.
  • the process not only simplifies the synchronization protocol, but also improves the synchronization efficiency; and avoids the change of the synchronization process caused by the change of the device capability information negotiation process, thereby avoiding the technical problem of frequently modifying the data synchronization specification.
  • the synchronization server further includes a receiving unit and a synchronization unit.
  • the receiving unit is configured to receive a data synchronization request from the synchronization client, and trigger the synchronization unit to perform a synchronization operation.
  • the synchronization server further includes a receiving unit, a negotiating unit, and a negotiation control unit.
  • the receiving unit is configured to receive a device capability information negotiation request from the synchronization client, where the negotiation unit is configured to perform a device capability information negotiation operation before the synchronization, after receiving the device capability information negotiation request and returning the response information.
  • the negotiation control unit is configured to control the negotiation unit to perform or not to perform device capability information negotiation according to whether the device capability information negotiation information is performed.
  • the above two embodiments may be combined into an embodiment in which the receiving unit receives both the data synchronization request from the synchronization client and the device capability information negotiation request from the synchronization client.
  • a first embodiment of a synchronization device of the present invention includes: a configuration unit, configured to save The negotiated device capability information or the state identifier, or the device capability information does not change the state identifier; the synchronization triggering unit is configured to: when confirming that the negotiated device capability information or the state identifier is saved, or the device capability information does not change the state identifier, The synchronization operation is triggered directly by skipping the device capability information negotiation process.
  • the synchronization device may be a synchronization server or a client or a terminal.
  • the synchronization device further includes a synchronization unit for performing a synchronization operation triggered by the synchronization trigger unit.
  • the second embodiment of the synchronization server of the present invention includes:
  • a request receiving unit configured to receive, in the session, an operation request that carries a device capability information negotiation parameter
  • a session type determining unit configured to determine, according to the request that the operation request is carried out, the device capability information negotiation parameter, that the current session is a device capability information negotiation session;
  • the negotiation unit is configured to perform device capability information negotiation after determining that the session is a device capability information negotiation session;
  • the session control unit is configured to save the device capability information negotiation result and end the session.
  • the foregoing embodiment determines that the session is a device capability information negotiation session by using the session type determining unit, and synchronizes with the prior art synchronization session, j, and then uses the session control unit to save the negotiation.
  • the device capability information negotiation process is skipped in the next synchronization, the synchronization protocol is simplified, and the synchronization efficiency is improved; and the synchronization process is changed due to the change of the device capability information negotiation process, thereby avoiding frequent data modification.
  • the technical issue of synchronization specifications are examples of the device capability information negotiation process.
  • the second embodiment of the synchronization server of the present invention further includes a status register and a negotiation control unit, where the status register is used to save information about whether device capability information negotiation is performed, and the negotiation control unit is configured to use The information about whether to perform device capability information negotiation controls the negotiation unit to perform or not to perform device capability information negotiation.
  • the first embodiment of the DM server of the present invention includes:
  • a request receiving unit configured to receive, in the session, an operation request that carries a client synchronization management object identifier acquired by the DM server;
  • a session type determining unit configured to determine, according to the operation request, that the session is a device capability information negotiation session;
  • the negotiating unit is configured to deliver a specific operation command according to the client synchronization management object identifier, and receive the reported client device capability information, after determining that the session is a device capability information negotiation session;
  • a forwarding unit configured to send the received client device capability information to the synchronization server.
  • a first embodiment of the DM client of the present invention includes:
  • a request receiving unit configured to receive the synchronization client device capability information request in a session
  • a device capability information acquiring unit configured to read data of all or part of nodes corresponding to the set synchronization client synchronization management object, and obtain The client device capability information to be reported
  • the reporting unit configured to initiate an operation request to the DM server, where the operation request includes an initial session connection request that carries client device capability information.
  • the first embodiment of the DM client of the present invention cooperates with the first embodiment of the DM server of the present invention to realize the technical effect of simplifying the synchronization protocol and improving the synchronization efficiency.
  • a second embodiment of the DM client of the present invention includes:
  • An operation command requesting unit is configured to initiate an initial session connection request to the DM server, and carry the client synchronization management object identifier obtained by the requesting DM server in the initial session connection request;
  • An operation command receiving unit configured to receive an operation command corresponding to the client synchronization management object identifier
  • the device capability information acquiring unit is configured to read data of all or part of nodes corresponding to the synchronization client management object that has been set according to the operation command, and obtain capability information of the client device to be reported;
  • the reporting unit is configured to send, to the DM server, response information of the operation command, where the response information carries the client device capability information.
  • the first embodiment of the DM client of the present invention cooperates with the first embodiment of the DM server of the present invention to implement a centralized synchronization protocol and improve the technical effect of synchronization efficiency.
  • the third embodiment of the synchronization server of the present invention includes:
  • a request receiving unit configured to receive, in the session, an operation request that carries a device capability information negotiation parameter, where the parameter carries information for acquiring the capability information of the synchronization server device; and a session type determining unit, configured to carry according to the operation request
  • the device capability information negotiation parameter is determined to determine that the session is a device capability information negotiation session;
  • the negotiation unit is configured to send the device capability information to the synchronization client after the session is determined to be the device capability information negotiation session, and notify the user to save the device capability information negotiation result and end the session.
  • the third embodiment of the synchronization server of the present invention implements the function of delivering the device capability information to the synchronization client, and is similar to the first and second implementation manners of the synchronization server of the present invention, and implements the technical effect of simplifying the synchronization protocol and improving the synchronization efficiency.
  • a second embodiment of the DM server of the present invention includes:
  • a request receiving unit configured to receive, in the session, an operation request that carries a device capability information negotiation parameter, where the parameter carries information for acquiring synchronization server device capability information;
  • a session type determining unit configured to determine, according to the request that the operation request is carried out, the device capability information negotiation parameter, that the current session is a device capability information negotiation session;
  • a device capability information acquiring unit configured to acquire device capability information from the synchronization server after determining that the session is a device capability information negotiation session;
  • the sending unit is configured to send the synchronization server device capability information to the synchronization client through the DM client to save, and end the current tongue.
  • the second embodiment of the DM server of the present invention implements the function of transmitting the device capability information to the synchronization client, and is similar to the third embodiment of the synchronization server of the present invention, and realizes the technical effect of simplifying the synchronization protocol and improving the synchronization efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Description

设备能力信息协商的方法、 同步方法及其系统、 设备
本申请要求于 2006 年 3 月 30 日提交中国专利局、 申请号为 200610070975.7、 发明名称为"发起设备能力信息协商的方法及系统,,的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及数据同步规范 ( SyncML Data Synchronization )技术领域, 特别是指设备能力信息协商的方法、 同步方法及其系统、 设备。
背景技术
业界团体 SyncML iniative在 2000年 2月份创建, 其目的是为了制订可 以在多个平台及网络之间实现个人信息及企业内数据同步的标准规范。开发 SyncML的目的在于: 使终端用户、 设备开发商、 基础构件开发商、 数据提 供商、应用软件开发商以及服务提供商等协同工作,真正实现使用任何终端 设备均可随时随地访问任何网絡数据的目标。 SyncML数据同步的典型应用 是移动设备或应用服务器、 与网络服务器之间的数据同步。 除此之外, SyncML还可用于对等实体的数据同步, 如两台 PC之间。
图 1 所示为实现同步的系统示意图。 所述为实现同步的系统包括 SyncML客户端和服务器。 所述 SyncML客户端与服务器经过同步初始化阶 段的参数协商以后, 互相发送各自改变的数据, 以保证双方数据的同步。
数据同步类型分为多种, 具体参见表一。
表一: 数据同步类型
同步类型 描述信息
双向同步 双向同步是通常所使用的一种同步方式。 采用该方式, 同步客户端
( Two-way sync ) 和服务器端相互仅交换彼此设备中的数据修改信息 (未修改的不交 换) 。 客户端首先发送其修改信息。
慢同步 慢同步是双向同步的一种特殊类型, 不同之处在于必须对数据进行 ( Slow sync ) 逐条、 逐个字段的进行比较处理。 这意味着, 同步时, 客户端和服 务器端都必须把本地数据库中的所有数据都发送到对端, 然后服务 器端或客户端对接收到每条数据与自身保存的每条数据进行逐个字 段的同步分析。
客户端单向同步 客户端单向同步是一种单边方式的同步。 只有客户端发送其数据修 ( One-way sync 改信息到服务器,而服务器并不把服务器端的修改信息发给客户端。 from client only )
客户端刷新 客户端刷新也是一种单边方式的同步。 客户端把本地数据库中的所
( Refresh sync 有数据都发送到服务器端, 服务器用客户端的数据来覆盖服务器数 from client only ) 据库中的所有数据。 即服务器中的数据和客户端的完全一致, 不多、 不少、 也没有不同的记录。 .
服务端单向同步 服务端单向同步和客户端单向同步类似。 只有服务器发送其数据修
( One-way sync 改信息到客户端, 而客户端并不把它的修改信息发给服务器。
from server only )
月艮务端刷新 服务端刷新和客户端刷新类似。 服务器把数据库中用户的所有数据
( Refresh sync 都发送到用户客户端, 客户端用服务器的数据来覆盖客户端数据库 from server only ) 中的所有数据。 即客户端中的数据和服务器的完全一致, 不多、 不 少、 也没有不同的记录。 .
服务端通知同步 服务端通知同步是指由服务器首先提醒客户端来执行同步操作。 即
( Server Alerted 由服务器来告诉客户端开始一个特定类型的同步操作。 仅仅是服务 Sync ) 器通知终端, 要求其发起某种同步, 后续同步流程可能为以上六种 同步方式。
下面仅以双向同步为例具体说明数据同步的过程,其他同步是双向同步 的特殊情况。例如,慢同步可以看成是客户端和服务器发送全部数据的双向 同步; 单向同步是单方向发送同步数据的双向同步;刷新同步是单方向发送 数据的慢同步。
参见图 2, SyncML规范中规定的同步流程通常分为三个阶段: 第一阶段: 步骤 Pkg # l ~ Pkg # 2, 同步初始化阶段。 SyncML客户端 和服务器端主要完成身份鉴权和设备能力信息的协商。其中设备能力信息包 括与设备相关的数据, 如设备制造商、 型号、 版本号等等; 与同步数据相关 的数据,如支持的同步数据类型、属性、参数等等; 与数据存储相关的数据, 如数据存储容量、存储支持的同步数据类型、 方式等等; 以及与扩展机制相 关的数据,如扩展元素名等等。本阶段内的交互过程通常需要持续多次才能 成。
在本阶段, 同步客户端 ( Date Sync Client, 以下称为 DS客户端)发送 的初始化消息( SyncML Initialization Message )中, 其<?111>命令标签中包含 客户端的设备能力信息; 其<0 >命令标签用于请求同步服务器(Date Sync Server, 以下称为 DS服务器) 的设备能力信息。 当然, 如果 DS客户端不 需要服务器端的设备能力信息, 也可以不发送 <Get> ^令。 DS客户端和服务器的地位是相等的, 如果同步过程中 DS客户端没有 使用 <Put>命令发送设备能力信息, DS服务器可以使用<061 命令要求客户 端发送设备能力信息。
当客户端和服务器端的身份鉴权和设备能力信息的协商全部完成后,才 会进入下一阶段。
第二阶段: 步驟 Pkg # 3 ~ Pkg # 4, 同步阶段。 其主要用于客户端和服 务器中的一端, 根据数据的状态, 如新增 Add、 更新 Update、 删除 Delete, 移动 Move, 将发生改变的数据通过操作命令的方式发送到客户端和服务器 中的另一端, 由另一端按照这些命令进行相同的操作来达到同步的目的。
第三阶段: 步骤 Pkg # 5 ~ Pkg # 6, 同步完成阶段, 其主要用于客户端 和服务器端互相确认同步完成。
本发明的发明人在进行本发明的创造过程中,发现现有技术至少存在以 下问题: 现有技术进行同步初始化操作时一般都包括设备能力信息协商过 程, 该过程占用较多时间, 造成数据同步过程不必要地被延长, 同步效率较 低, 具体可以由以下分析得出:
从现有的同步流程中可以看出,每次进行数据同步前必须首先执行同步 初始化操作, 而在同步初始化操作中又普遍包括设备能力信息协商过程。 然 而现实中设备能力信息并不经常发生变化,即使设备能力信息发生变更也可 能仅仅是部分信息的变更; 而且,发送全部设备能力信息会导致数据量非常 大, 因此会延长数据同步的时间。
此外, 由于现有设备能力信息中包含有对数据格式相关的描述信息,造 成数据同步协议与被同步的数据存在耦合关系, 即每次增加新的数据格式、 修改设备能力信息时, 都会影响数据同步规范。
可见, 提高同步效率是亟待需要解决的问题。 因此, 发明人经过有效的 探索而提出本发明。
发明内容
有鉴于此,本发明在于分别提供能够提高同步效率的设备能力信息协商 方法、 同步方法以及同步系统、 同步设备、 同步服务器、 DM服务器、 DM 客户端、 同步客户端。 本发明的上述方面分别是这样实现的:
提供第一技术方案: 一种同步方法, 包括以下步骤: 在第一设备和第 二设备之间发起同步流程; 确认前次设备能力协商后是否保存有设备能力 信息或状态标识、 或设备能力信息未改变状态标识; 在保存有所述已协商 设备能力信息或状态标识、 或设备能力信息未改变状态标识时, 跳过设备 能力信息协商, 进行同步操作。
提供第二技术方案: 一种设备能力信息协商的方法, 包括以下步骤: 收到操作请求, 所述操作请求携带要求进行设备能力信息协商的参数; 根 据该请求携带的要求进行设备能力信息协商参数确定本次会话为设备能力 信息协商会话; 返回响应, 进行设备能力信息协商; 保存所述设备能力信 息协商结果并结束本次会话。
提供第三技术方案: 一种设备能力信息协商的方法, 包括以下步骤: 收到设备能力信息协商请求; 返回自身设备能力信息; 保存协商结果并结 束。
提供第四技术方案: 一种同步系统, 包括同步服务器和同步客户端, 所 态标识、或设备能力信息未改变状态标识时,跳过设备能力信息协商而在所 述同步服务器和同步客户端之间直接进行同步操作。
提供第五技术方案: 一种同步设备, 包括: 配置单元, 用于保存已协商 的设备能力信息或状态标识、或设备能力信息未改变状态标识; 同步触发单 元,用于在确认保存有所述已协商设备能力信息或状态标识、或设备能力信 息未改变状态标识时, 跳过设备能力信息协商过程而直接触发同步操作。
提供第六技术方案: 一种同步服务器, 包括: 请求接收单元, 用于在会 话中接收携带要求进行设备能力信息协商参数的操作请求; 会话类型确定 单元, 用于根据该操作请求携带的要求进行设备能力信息协商参数确定本 次会话为设备能力信息协商会话; 协商单元, 用于在确定本次会话为设备 能力信息协商会话后进行设备能力信息协商; 会话控制单元, 用于保存所 述设备能力信息协商结果并结束本次会话。
提供第七技术方案: 一种 DM服务器, 包括: 请求接收单元, 用于在 会话中接收携带要求 DM服务器获取的客户端同步管理对象标识的操作请 求; 会话类型确定单元, 用于根据该操作请求确定本次会话为设备能力信 息协商会话; 协商单元, 用于在确定本次会话为设备能力信息协商会话后 根据所述客户端同步管理对象标识下发具体的操作命令, 并接收上报的客 户端设备能力信息; 转发单元, 用于将接收到的所述客户端设备能力信息 发送给同步服务器。
提供第八技术方案: 一种 DM客户端, 包括: 请求接收单元, 用于在 会话中接收所述同步客户端设备能力信息请求; 设备能力信息获取单元, 用于读取已设置的同步客户端同步管理对象所对应的全部或者部分节点的 数据, 获得待上报的客户端设备能力信息; 上报单元, 用于向 DM服务器 发起操作请求, 所述操作请求包括携带客户端设备能力信息的初始会话连 接请求。
提供第九技术方案: 一种 DM客户端, 包括: 操作命令请求单元, 用 于向 DM服务器发起初始会话连接请求, 并在该初始会话连接请求中携带 要求 DM服务器获取的客户端同步管理对象标识; 操作命令接收单元, 用 于接收与所述客户端同步管理对象标识对应的操作命令; 设备能力信息获 取单元, 用于根据所述操作命令, 读取已设置的同步客户端同步管理对象 所对应的全部或者部分节点的数据, 获得待上报的客户端设备能力信息; 上报单元, 用于向所述 DM服务器发送所述操作命令的回应信息, 所述回 应信息携带所述客户端设备能力信息。
提供第十技术方案: 一种同步服务器, 包括: 请求接收单元, 用于在会 话中接收携带要求进行设备能力信息协商参数的操作请求, 所述参数携带 获取所述同步服务器端设备能力信息的信息; 会话类型确定单元, 用于根 据该操作请求携带的要求进行设备能力信息协商参数确定本次会话为设备 能力信息协商会话; 协商单元, 用于在确定本次会话为设备能力信息协商 会话后将自身设备能力信息下发给同步客户端, 通知其保存所述设备能力 信息协商结果并结束本次会话。
提供第十一技术方案: 一种 DM服务器, 包括: 请求接收单元, 用于 在会话中接收携带要求进行设备能力信息协商参数的操作请求, 所述参数 携带获取同步服务器端设备能力信息的信息; 会话类型确定单元, 用于根 据该操作请求携带的要求进行设备能力信息协商参数确定本次会话为设备 能力信息协商会话; 设备能力信息获取单元, 用于在确定本次会话为设备 能力信息协商会话后从所述同步服务器中获取其设备能力信息; 下发单元, 用于将所述同步服务器端设备能力信息通过 DM客户端发送给同步客户端 以保存, 结束本次会话。
提供第十二技术方案: 一种同步的方法, 包括以下步骤: 同步客户端向 同步服务器发起操作请求; 如果所述的同步服务器确定所接收到的操作请 求是数据同步请求, 并在确认保存有设备能力信息或状态标识、 或设备能 力信息未改变状态标识后, 执行同步处理; 如果所述的同步服务器确定所 接收到的操作请求是设备能力信息协商请求, 则执行设备能力信息协商操 作。
以上第一技术方案可以看出,本发明实施方式通过对前次设备能力协商 后是否保存有设备能力信息或状态标识、或设备能力信息未改变状态标识的 确认,确定本次会话不需要设备能力信息协商时,跳过设备能力信息协商过 程, 既简化同步协议, 提高同步效率; 又避免因为设备能力信息协商流程的 变更而导致的同步流程的变更,进而避免经常性修改数据同步规范的技术问 题。
以上第二技术方案可以看出,本发明实施方式通过对操作请求类型的判 断, 确定本次会话是设备能力信息协商会话, 与现有技术同步会话相区另 ij , 因此可以单独进行设备能力信息协商并保存协商结果,以利于下次同步时跳 过设备能力信息协商过程, 既提高同步效率; 又避免因为设备能力信息协商 流程的变更而导致的同步流程的变更,进而避免经常性修改数据同步规范的 技术问题。
以上第三技术方案可以看出,本发明实施方式在收到设备能力信息协商 请求时,确定本次会话是设备能力信息协商会话, 因此可以把自身设备能力 信息告诉对端, 以利于下次同步时跳过设备能力信息协商过程, 既提高同步 效率; 又避免因为设备能力信息协商流程的变更而导致的同步流程的变更, 进而避免经常性修改数据同步规范的技术问题。 以上第四、五技术方案可以看出,本发明实施方式通过对是否保存有设 备能力信息或状态标识、或设备能力信息未改变状态标识进行确认,在确定 本次会话不需要设备能力信息协商时,跳过设备能力信息协商过程, 既简化 同步协议,提高同步效率; 又避免因为设备能力信息协商流程的变更而导致 的同步流程的变更, 进而避免经常性修改数据同步规范的技术问题。
以上第六、 七、 八、 九、 十、 十一技术方案可以看出, 本发明实施方式 同步客户端与同步服务器相互配合, 或同步客户端、 DM客户端、 DM服务 器与同步服务器配合,实现单独进行设备能力信息协商并保存协商结果的功 能, 以利于下次同步时跳过设备能力信息协商过程, 既提高同步效率; 又避 免因为设备能力信息协商流程的变更而导致的同步流程的变更,进而避免经 常性修改数据同步规范的技术问题。
以上第十二技术方案可以看出,本发明实施方式根据是否需要进行设备 能力信息协商的信息、直接进行同步或设备能力信息协商的流程, 既可以在 一定情况下跳过设备能力信息协商过程,也可以在需要设备能力信息协商时 进行设备能力信息协商, 实现提高同步效率的技术效果。
附图说明
图 1是现有技术同步系统的示意图;
图 2是现有技术 SyncML同步方法的流程示意图;
图 3 是本发明设备能力信息协商的方法以及同步方法第一实施方式的 流程示意图;
图 4是本发明实施方式采用的 DM规范的整体结构示意图;
图 5是本发明设备能力信息协商方法第二实施方式 DM方式下 DS客户 端上报客户端设备能力信息的流程示意图;
图 6是本发明设备能力信息协商方法第三实施方式 DM方式下 DS客户 端上 4艮客户端设备能力信息的流程示意图;
图 7是本发明设备能力信息协商方法第四实施方式 DM方式下 DS客户 端请求服务器端设备能力信息的流程示意图;
图 8是本发明设备能力信息协商方法第五实施方式 DM方式下 DS客户 端请求服务器端设备能力信息的流程示意图; 图 9是本发明设备能力信息协商第六实施方式的流程示意图; 图 10是本发明设备能力信息协商第七实施方式 DM方式下 DS服务器 主动发起设备能力信息协商的流程示意图;
图 11是本发明实施方式采用的客户端管理树结构示意图;
图 12是基于图 11的有关设备能力信息客户端管理对象的一具体实施方 式;
图 13是本发明同步系统第一实施方式的结构示意图;
图 14是本发明同步系统第二实施方式的结构示意图;
图 15是本发明同步设备第一实施方式的结构示意图;
图 16是本发明同步服务器第二实施方式的结构示意图;
图 17是本发明 DM服务器第一实施方式的结构示意图;
图 18是本发明 DM客户端第一实施方式的结构示意图;
图 19是本发明 DM客户端第二实施方式的结构示意图;
图 20是本发明 DM服务器第二实施方式的结构示意图。
具体实施方式
下面结合附图及实施方式对本发明再做进一步的详细说明。
本发明的一个方面是:提供一种仅协商设备能力信息的会话类型, 完成 一次设备能力协商后, 客户端和 /或服务器分别保存协商后的设备能力信息 以供后续同步使用; 在此信息未发生变更或丢失的情况下,在每次同步会话 的初始化阶段则不再进行协商,从而使得设备能力信息协商过程独立于同步 过程, 减少了协商的次数和频率。 而且, 该独立协商过程既可以是协商全部 的设备能力信息,也可以仅协商较前一次发生变化的设备能力信息,还可以 仅协商当前同步交互中所需的设备能力信息等。
下面分 DS客户端主动发起请求和 DS服务器主动发起请求两方面来说 明。
图 3是本发明设备能力信息协商的方法以及同步方法第一实施方式的流 程示意图。 本图是以 DS客户端主动发起请求来说明的。 步骤 301 , 在 DS服务器和 DS客户端之间发起同步流程, 包括 DS服务器 接收来自 DS客户端的操作请求, 所述操作请求可以是数据同步请求或设备 能力信息协商请求。
其中,使用状态码 200到 205表示客户端向服务器请求同步时使用的同步 类型, 206到 210表示服务器向客户端发送通知,要求客户端发起的同步类型。 在本实施方式中,所述操作请求携带要求进行设备能力信息协商的参数, 比 如可以类似增加 230和 231分别表示客户端和服务器要求对端发起设备能力 协商。
步骤 301中, 如果客户端向服务器发送的操作请求中, 携带的状态码为 200到 205中任意一个, 则为同步请求; 如果为 230, 则^ ^据该请求携带 230 状态码确定本次会话为设备能力信息协商会话,所述操作请求为设备能力协 商请求。
步骤 302 , DS服务器判断接收到的请求是数据同步请求还是设备能力信 息协商请求, 如果是前者, 则执行步骤 303, 如果是后者则执行步驟 306。
步骤 303 , DS服务器检测当前会话是否需要进行设备能力信息协商, 具 体方式是确认前次设备能力协商后是否保存有设备能力信息或状态标识、或 设备能力信息未改变状态标识。
所述保存的设备能力信息或状态标识、或设备能力信息未改变状态标识 是在前次设备能力协商后得到或设置,用于作为下次同步时判断是否需要设 备能力信息协商的依据。
上述检测的过程为: DS服务器判断自身是否存在与发起请求的同步客 户端标识(ID )对应的设备能力信息协商已经完成的状态标识、设备能力信 息协商已改变的状态标识、 或保存有本次同步所需的设备能力信息。
在 DS服务器保存有所述已协商设备能力信息或状态标识、 或设备能力 信息未改变状态标识时, 跳过设备能力信息协商, 执行步骤 304; 否则执行 步骤 305, 进行设备能力信息协商。
步驟 304, 对接收到的请求返回响应, 并继续执行同步处理, 结束。 步驟 305,对接收到的请求返回要求所述 DS客户端进行设备能力信息协 商的响应。 步驟 306, 执行设备能力信息协商操作, 保存所述设备能力信息协商结 果并结束本次会话。 所述的设备能力信息协商按照如下方法之一进行:
1 )对全部或部分设备能力信息进行协商;
2 )对当前同步交互中才需要的设备能力信息进行协商;
3 )根据数据类型协商相关设备能力信息;
4 )对使用 U I指明待协商的设备能力信息进行协商;
5 )对使用表达式指明待协商的设备能力信息进行协商。
上述的协商方法可以保存在 DS服务器, 也可以保存在 DS客户端。 当 保存在 DS客户端时,可以通过在操作请求携带所述方法上报给 DS服务器。 比如, 第三个方法中,在发送的操作请求中携带要求进行设备能力信息协商 的参数, 所述参数可以是: 协商全部设备能力信息的数据类型、 携带协商相 关设备能力信息的数据类型、指明待协商设备能力信息的 URI、或指明待协 商设备能力信息的表达式。
所述设备能力信息协商的操作请求包含添加、 更新、 删除或查询命令, 并且在所述参数是指明待协商设备能力信息的 U I时, 所述进行设备能力 信息协商的方式包括: 根据此 URI并通过 XCAP协议操作命令获取设备能 力信息。从以上可以看出,上述实施方式通过步骤 303对是否需要设备能力 信息协商进行判断,在不需要进行设备能力信息协商时跳过设备能力信息协 商的步骤,克服现有技术同步流程中经常需要进行设备能力协商过程、 而造 成同步效率不高的技术缺陷。 既简化同步协议, 提高同步效率; 又避免因为 设备能力信息协商流程的变更而导致的同步流程的变更,进而避免经常性修 改数据同步规范的技术问题。
再且, 采用步驟 302进行数据同步请求还是设备能力信息协商请求的判 断, 将设备能力信息协商过程从同步流程中分离出去, 在步骤 306中协商完 成后即结束本次会话,使得设备能力信息协商成为一个独立的过程, 为简化 同步协议、 提高同步效率提供了一种技术选择。
此外, 在需要进行设备能力信息协商, 步骤 306给出灵活的设备能力信 息协商方式, 可以只协商部分的设备能力信息, 减少交互过程和数据流量, 进一步提高设备能力信息协商或同步的效率。 在另一个实施方式中, 步骤 305中客户端接受响应后, 在发送的同步请 求中携带 DS服务器要求的设备能力信息并继续开始数据同步, 以完成后续 的数据同步操作, 而且该数据同步操作既可以与步骤 306所述操作在同一个 会话内, 也可以不在同一会话内。 最后, 同步完成后会话结束。
如果 DS客户端向 DS服务器发起的操作请求是设备能力信息协商请求, 则步驟 306执行之前进一步包括: DS客户端和 DS服务器之间执行初始化身份 验证, 验证通过后再执行步骤 306。 且步骤 306执行之后进一步包括: 更新状 态标识, 以用于保证完整的善后工作。 也就是说, 对于独立的设备能力信息 协商操作要进行交互之前的验证初始化操作,以及交互之后的善后工作即更 新状态等操作, 以保证该操作的独立性和完整性。 而对于同步过程中的设备 能力信息协商操作则不再需要单独的验证和状态更新等操作。
所述协商请求可以是请求上报客户端设备能力信息, 和 /或请求服务器 端设备能力信息。 而且,上述设备能力信息协商请求可以是通过设备能力操 作会话( DS )的方式向同步服务器发送的,也可以是通过同步设备管理( DM ) 协议的方式向 DS服务器发送。 同样, 可以通过设备能力操作会话的方式或 设备管理 DM协议的方式执行设备能力信息协商操作。
上述实施方式中, 所述 DS服务器作为确认前次设备能力协商后是否保 存有设备能力信息或状态标识、或设备能力信息未改变状态标识的主体。所 述设备能力信息未改变状态标识可以在 DS客户端上报的操作请求中携带。
在其他实施方式中, 可以由 DS客户端作为确认前次设备能力协商后是 否保存有设备能力信息或状态标识、 或设备能力信息未改变状态标识的主 体。 也就是说, 在 DS客户端向 DS服务器发送操作请求前, 执行检测当前会 话是否需要进行设备能力信息协商的动作, 不需要 DS服务器决定是否需要 进行设备能力信息协商, 加快了会话的速度。 这时, 所述是否保存有设备能 力信息是指 DS服务器是否有保存 DS客户端的设备能力信息, DS客户端可以 通过前次设备能力协商后的 DS服务器反馈信息得到。
众所周知, DM规范定义了标准的管理对象( Management Object, MO ), 设备管理服务器(DM Server )通过操作终端设备内的管理对象完成管理动 作。 而管理对象以管理树的形式存在。 下面对本发明实施方式提到的客户 端同步管理对象( Client DS MQ )和服务器同步管理对象( Server DS MO ) 做一筒单说明。
所定义的 Client DS MO和 Server DS MO分别用于保存客户端设备能 力信息和服务器端的设备能力信息,且 Client DS MO可以被服务器端获取, Server DS MO可以被客户端获取。由于管理对象都是以管理树的形式存在, 因此, Client DS MO和 Server DS MO分别位于客户端的管理树上和服务器 端的管理树上。通过将 Client DS MO和 Server DS MO定义为标准化的 MO, 提高了设备能力信息的重用性; 这些 MO中的信息在现有技术中是没有标 准化的, 通过 DM技术可以将其开放给其他业务使用。
参见图 4。 通过 OMA DM协议可以向管理树的节点发出相关操作指令。 该协议的数据包结构是基于扩展标识语言 (XML , Extensible Makeup Language)的。 管理树的节点可能包含该设备中的一组环境配置参数, 不同 类型的对象, 相关操作以及一些触发机制等。'
参见图 4, 其是本发明实施方式采用的 DM规范的整体结构示意图。 终 端设备上的 DM代理( DM Agent )即 DM客户端( DM Client )用于和设备管 理服务器( DM Server )进行交互完成相关的管理操作。设备管理服务器( DM Server )用于提供对终端设备的管理、 诊断和维护功能。 它通过 OTA ( Over the Air )方式对终端设备进行管理 , 管理操作包括终端设备参数设置、 固件 更新、软件安装和升级、设备的错误和事件信息的收集和处理等功能。 终端 设备包括手机终端、 掌上电脑、 笔记本电脑、 嵌入式设备、 车载系统等, 同 时不排除任何其它移动设备。
在 DM协议的方式下,上述 DS客户端上报客户端设备能力信息的过程如 图 5所示:
步骤 501 , 同步 DS客户端向 DM客户端上报客户端设备能力信息请求。 步驟 502 ~ 505, DM客户端根据接收到的请求, 发起设备管理流程, 依 据客户端同步管理对象( Client DS MO )通知 DM服务器获取待上报的客户 端设备能力信息; 具体为:
DM客户端根据接收到的请求, 读取已设置的 Client DS MO所对应的全 部或者部分节点的数据, 获取待上报的客户端设备能力信息, 向 DM服务器 发送所述携带要求进行设备能力信息协商参数的操作请求,比如发起初始会 话连接请求,该请求中包含待上报的客户端设备能力信息,作为所述要求进 行设备能力信息协商的参数;
DM服务器接收到所述包含待上报的客户端设备能力信息的操作请求, 判断 DS客户端要求进行设备能力信息协商, 获取待上报的客户端设备能力 信息, 之后给 DM客户端返回响应信息, 以确认完成; 并且, DM服务器等 待接收来自 DM客户端的用于确认操作完成的确认响应信息。
上述 DM客户端和 DM服务器之间的交互可以是多次, 以下类同。
步驟 506, DM服务器获取待上报的客户端设备能力信息后, 将获取到 的客户端设备能力信息通知给 DS服务器。
对于图 5中的步驟 502 ~ 504 , 还可以以图 6所示方式实现:
参见图 6, DM客户端根据接收到的请求, 向 DM服务器发起初始会话连 接请求,该请求中包含要求 DM服务器获取的客户端同步管理对象标识; DM 服务器根据接收到的标识下发具体的操作命令,比如读取已设置的同步客户 端同步管理对象所对应的全部或某个子树或某个或某几个节点等; 之后, DM客户端根据 DM服务器下发的具体操作命令得到待读取信息所在地址, 根据该地址读取已设置的 Client DS MO所对应的全部或者部分节点的数据, 获取待上报的客户端设备能力信息, 然后, DM客户端给服务器的操作命令 发送回应信息, 该回应信息中包含待上报的客户端设备能力信息; DM服务 器接收到该信息后, 就获取了待上报的客户端设备能力信息, 之后给 DM客 户端回响应信息, 以确认完成。
图 5和图 6所示实施方式的区别是: 在图 5中, DM客户端直接将待上报 的设备能力信息即具体的数据传送给了 DM服务器; 而在图 6中, DM客户端 将 Client DS MO的标识传递给了 DM服务器,由 DM服务器来决定需要哪些信 息, 然后将决定的结果作为操作命令通知给 DM客户端, DM客户端再依据 该操作命令进行相应操作。 无论哪种实现方式, 其都是现有的 DM协议所支 持的。
在 DM协议的方式下, DS客户端请求 DS服务器端设备能力信息的过程 如图 7所示: 步驟 701 , DS客户端向 DM客户端发送获取 DS服务器端设备能力信息的 请求;
步骤 702, DM客户端根据所述获取 DS服务器端设备能力信息请求,发 起设备管理流程, 向所述 DM服务器发送所述携带要求进行设备能力信息协 商参数的操作请求, 所述参数携带获取所述 DS服务器设备能力信息的信息; 该步骤中, DM客户端根据接收到的所述获取同步服务器端设备能力信 息请求, 发起初始会话连接, 向 DM服务器发送携带要求进行设备能力信息 协商参数的操作请求, 该参数携带获取所述 DS服务器端设备能力信息的信 息, 即要求 DM服务器配置用于存储服务器端设备能力信息的服务器同步管 理对象( Server DS MO ) ;
步骤 703 ~ 704, DM服务器根据接收到的操作请求从 DS服务器获取服务 器端设备能力信息。
将所述 DS服务器端设备能力信息通过所述 DM客户端发送给所述 DS客 户端。 具体包括步驟 705和 706。
步骤 705, DM服务器通过交互命令和管理命令, 配置 Server DS MO, 并给 DM客户端返回 Server DS MO所对应的全部或者部分节点数据。
步驟 706 ~ 707, DM客户端给 DM服务器返回状态信息以确认完成后, 从接收到的全部或者部分节点数据中获取服务器端设备能力信息下发给 DS 客户端。
对于 DM客户端和 DM服务器之间的交互, 即步骤 702、 705还可以釆用 如图 8所示方式实现:
参见图 8, DM客户端根据接收到的请求, 发起初始会话连接, 请求服 务器端设备能力信息, DM服务器通过客户端配置(CP, Client Provisioning ) 或其他协议, 或预先约定好的格式如 XML格式,或通过 WAP Push, 或短信, 或彩信的方式将所请求的服务器端设备能力信息下发给 DM客户端。
如果 DS客户端是通过设备能力操作会话的方式向 DS服务器发送设备能 力协商请求的,对于同步全部的设备能力信息的情况,其与现有的数据同步 流程中的设备能力信息同步的过程是一致的, 只是将其单独提出, 而再不作 为数据同步中的一个步驟。 此外,为了实现部分设备能力信息的协商,采用至少以下几种方式之一: ( 1 )根据数据类型协商相关设备能力信息; 一般情况下, 设备能力信 息包含一些公用的信息,例如软件版本号等; 另外还包含一些数据类型特定 的信息,例如特定于电话本的字段等; 用户使用的客户端在不同的场合经常 需要同步不同的数据类型: 电话本、 日程、 短消息等。 可以使用此同步数据 的 MIME类型来告知对端协商的设备能力信息的范围。
( 2 )使用 U I指明待协商的设备能力信息, 即客户端和服务器的设备 能力信息在网络上也保存有一份, 设备能力信息可以被保存在 XML文档, 使用 U I可以指向整个文档、某个片断、特定的元素或者属性值; 釆用 HTTP 或者 XCAP ( XML Configuration and Access Protocol )协议实现对此文档的 访问。 其中 XCAP是基于 HTTP的一种协议 , 通过 HTTP GET和 HTTP PUT命 令来获取和修改 XML文档信息。 其可以根据 URI访问 XML文档, 其访问行 为包括: 获取、 更新、 删除整个 XML文档, 或者获取、 更新、 删除某个特 定的节点或者属性。
( 3 )使用表达式指明待协商的设备能力信息; 使用表达式可以指示特 定的设备能力, 例如指明所有 MIME相关的设备能力信息, 或所有值类型为 整型的设备能力信息等。
DS客户端向 DS服务器发送设备能力协商请求, 附加的参数指明协商设 备能力信息的方式, 方向参数则指明是仅 DS客户端向 DS服务器发送设备能 力信息、还是仅 DS服务器向 DS客户端发送设备能力信息,或者双方都发送。
对于仅发送发生变化部分的设备能力信息时, 可以使用 "添加"、 "更 新"、 "删除"、 "查询 "命令等, 要求对方增加、 替换或者删除等方式来实现 部分设备能力信息的协商。 对于使用 U I和表达式的方式, 可以将发生变 更的 URI或者表达式对应的设备能力信息发送到对端, 来替换原有的设备 能力信息来实现部分设备能力信息的协商。
假设张三的设备能力信息如下:
<设备能力信息 >
<生产厂家>华为技术有限公司 </生产厂家>
<型号 >3G- 001</型号 > <软件版本号 >2.0</软件版本号 >
<硬件版本号>1.221</硬件版本号 >
<设备编号> 1218182THD000001 -2</设备编号>
<设备类型>?0入</设备类型>
<支持大对象同步 启用 = "是, 7>
<支持的最大修改数 />
<数据存储库 >
<:¾ii:>./contacts</地址 >
<显示名 >Phonebook</显示名 >
<最大的 GUID长度 >32</最大的 GUID长度 >
<首选的可接收数据 >
<类型 >通讯录 text/vcard</类型 > <版本 >3.0</版本 >
</首选的可接收数据 >
<首选的可发送数据 >
<类型 >通讯录 text/x-vcard</类型 > <版本>3.0</版本>
</首选的可发送数据 >
<支持的同步数据能力 >
<类型 >通讯录 text/vcard</类型 > <版本 >3.0</版本 >
〈属性〉
<属性名 >BEGIN</属性名 > <属性值 >VC AR </属性值 >
</属性〉
</支持的同步数据能力 >
<支持的同步类型>
<同步类型 >1</同步类型>
<同步类型 >2</同步类型> <同步类型 >7</同步类型>
</支持的同步类型>
</数据存储库 >
</设备能力信息 >
那么, 在 DS客户端在第一次和 DS服务器进行交互时, 将上述设备能 力信息通过 Put命令上传给 DS服务器; 而服务器保存该信息。 只要设备能 力信息没有改变, 以后每次的数据同步都不需要进行设备能力信息的协商。
如果某段时间后, 用户在 DS客户端做了如下修改:
A、 将支持大对象改为禁用
<支持大对象同步 启用 = "否" >
B、 增加了对第三种同步类型的支持
<支持的同步类型>
<同步类型 >1</同步类型>
<同步类型 >2</同步类型>
<同步类型 >7</同步类型>
<同步类型 >3</同步类型>
</支持的同步类型>
则 DS客户端采用如下的命令将所做的修改发送给服务器, 以便服务 器做相应的更新操作。
A修改:
<更新 >
<级别 >属性 </级别 >
<路径>/设备能力信息 /支持大对象同步 /@启用 </路径 > <程度 >仅更新 </程度 >
<数据>否</数据〉
</更新〉
B修改:
<添力口 >
<级别 >元素 </级别 > <路径 >/设备能力信息 /支持的同步类型 /同步类型 </路径 > <数据 >3</数据〉
</添力口 >
下面说明 DS服务器主动发起的情况。
图 9是应用本发明的另一设备能力信息协商的流程示意图。 本图是以
DS服务器端主动发起进行说明。
步骤 901 , DS服务器向 DS客户端发起设备能力信息协商请求, 请求 客户端上艮设备能力信息;
现有技术中 DS服务器要求 DS客户端发起某种同步, 都是通过 DS服 务器向 DS客户端发送通知, 要求 DS客户端主动发起与 DS服务器指定的 同步类型对应的同步请求的。 例如当 DS服务器希望发起双向同步时, DS 服务器在发送的通知中, 使用状态码 206指明, DS客户端在随后发起的同 步请求中, 使用状态码 200发起双向同步。 在本实施方式中, 参考此机制, 当 DS服务器希望发起设备能力协商请求时, 可以向 DS客户端发送通知, 携带状态码 231 , 随后 DS客户端向 DS服务器发送的操作请求中携带状态 码 230, 表示发起设备能力协商请求。
步骤 902, DS客户端根据接收到的请求, 与发起请求的服务器进行相 互认证, 认证通过后执行步驟 903, 如果认证未通过则直接结束。 本步骤中 的认证操作也可以不执行。
步骤 903 , DS客户端将自身的设备能力信息上报给 DS服务器。
在图 9实现的基础上, DS客户端还可以进一步请求服务器端的设备能 力信息。
上述 DS服务器端主动发起的请求可以是通过 DM协议的方式发送的; 也可以是通过设备能力操作会话的方式发送的。 同样, DS客户端进一步发 起的请求可以是通过 DM协议方式发送的; 也可以是通过设备能力操作会 话的方式发送的。
在 DM协议的方式下, 上述 DS服务器主动发起的设备能力信息协商 的过程如图 10所示:
步骤 1001 , DS服务器向 DM服务器发送获取客户端设备能力信息的 请求;
步骤 1002, DM服务器根据接收到的请求, 向 DM客户端发送操作通 知, 要求 DM客户端发起设备管理流程并上报客户端设备能力信息。
步骤 1003 ~ 1004, DM客户端根据接收到的请求, 与 DS客户端之间 完成认证后,允许 DM客户端读取此用于存储客户端设备能力信息的 Client DS MO。 这两步也可以不执行, 即可以不执行认证操作。
步骤 1005, DM客户端获取 Client DS MO, 发起设备管理流程, 将该 MO通知给 DM服务器。
此步驟的具体实现方式与图 5中步骤 502 ~ 504的实现方式相同, 当然 也可以采用图 6中的实现方式, 此处不再赘述。
步驟 1006, DM服务器将接收到的客户端设备能力信息通知给 DS服 务器。
在 DM协议方式下, DS客户端请求服务器端设备能力信息的过程与图 7所示方式完全相同, 此处不再赘述。
在采用设备能力操作会话的方式下, 其实现过程与现有实现方式基本 相同, 仅是将该设备能力协商的过程完全独立出来而已。
对于以上所有涉及 DM方式的实施方式, 其 DS客户端和 DM客户端 之间, 以及 DS服务器和 DM服务器之间为任意的接口, 例如, WSI ( Web Service Interface )、 文件接口、 或者共享同一个文件, 其 DM客户端和 DM 服务器之间为 OMA设备管理协议 ( OMA Device Management )0
以上所述 DS客户端, DS服务器, DM客户端和 DM服务器均为逻辑 实体, 其中 DS客户端和 DM客户端可以在相同或不同的物理实体上; DS 服务器和 DM服务器可以在相同或不同的物理实体上。
对于以上所有实施方式, 所述客户端的设备能力信息, 和所述服务器 端的设备能力信息可以是全部的设备能力信息, 或是当前同步交互中所需 的设备能力信息, 还可以是较前一次发生变化的设备能力信息。 管理对象 所对应的全部或者部分节点的数据包括但不限于管理对象树的子树数据、 子树结构、 或节点属性、 或上述任意组合。
由于 Client DS MO和 Server DS MO的结构是类似的,下面仅以 Client DS MO为例进行说明, 对于 Server DS MO也同样适用。
参见图 11 ,其是客户端管理树结构示意图。 图中右半部分 "同步相关信 息"及其下的子节点是本发明新增加的 Client DS MO。 当然, 具体需要那些 信息, 如何进行分类等, 可根据实际需要确定, 此处仅为一示意而已。 参 见图 12, 其是基于图 11"同步相关信息"的一具体实施方式。
对于采用 DM方式实现的方法, 其需要 DS客户端、 DM客户端、 DM 服务器以及 DS服务器配合完成。
参见图 13 ,本发明同步系统第一实施方式包括 DS客户端, DS服务器, DM客户端和 DM服务器。 其中, DM服务器, 提供对终端设备的管理、 诊断和维护功能。 它通过 OTA ( Over the Air ) 方式对终端设备进行管理, 管理操作包括终端设备参数设置、 固件更新、 软件安装和升级、 设备的错 误和事件信息的收集和处理等功能。 终端设备包括手机终端、 掌上电脑、 笔记本电脑、 嵌入式设备、 车载系统等, 同时不排除任何其它移动设备。 DM客户端, 安装在终端设备上的客户端, 用于和 DM服务器进行交互完 成相关的管理操作。 DS服务器, 接收 DS客户端的同步请求和同步数据, 完成数据同步操作, 并保存服务器端数据。 DS客户端, 安装在终端设备上 的同步客户端, 和 DS服务器交互完成数据同步操作, 并保存客户端数据。 以上是各个逻辑实体在现有技术中已经具备的功能, 下面说明其在本发明 中新增加的功能。
该系统中的 DS客户端, 还用于向 DM客户端发送设备能力信息协商 请求, 或接收来自 DM客户端的服务器端设备能力信息, 或与 DM客户端 之间进行认证操作。
DM客户端, 还用于从已定义的 DM管理树中获取用于存储客户端设 备能力信息的 Client DS MO, 在 OMA设备管理协议的控制下与 DM服务 器进行通信;或者,将来自 DM服务器的服务器端设备能力信息或 Server DS MO中的服务器端设备能力信息发送给 DS客户端。
DM服务器, 还用于将来自 DM客户端的 Client DS MO中客户端端设 备能力信息发送给 DS服务器; 或者, 获取服务器端设备能力信息, 直接 将服务器端设备能力信息发送给 DM客户端, 或将包含服务器端设备能力 信息的 Server DS MO发送给 DM客户端。
DS服务器,还用于接收来自 DM服务器的客户端设备能力信息, 或通 过 DM服务器请求 DS客户端的设备能力信息, 或将自身的设备能力信息 传送给 DM服务器。
上述 DS客户端, DS服务器, DM客户端和 DM服务器均为逻辑实体, 其中 DS客户端和 DM客户端可以在相同或不同的物理实体上; DS服务器 和 DM服务器可以在相同或不同的物理实体上。
参阅图 14, 本发明同步系统第二实施方式包括同步服务器和同步客户 息或状态标识、 或设备能力信息未改变状态标识时, 跳过设备能力信息协 商而在所述同步服务器和同步客户端之间直接进行同步操作。
以上可以看出, 上述实施方式通过对是否保存有设备能力信息或状态 标识、 或设备能力信息未改变状态标识进行确认, 在确定本次会话不需要 设备能力信息协商时, 跳过设备能力信息协商过程, 既简化同步协议, 提 高同步效率; 又避免因为设备能力信息协商流程的变更而导致的同步流程 的变更, 进而避免经常性修改数据同步规范的技术问题。
在另一实施方式中, 所述同步服务器进一步包括接收单元和同步单元。 所述接收单元用于接收来自同步客户端的数据同步请求, 触发所述同步单 元进行同步操作。
在另一实施方式中,所述同步服务器还进一步包括接收单元、协商单元 以及协商控制单元。 所述接收单元用于接收来自同步客户端的设备能力信 息协商请求; 所述协商单元用于在接收到所述设备能力信息协商请求并返 回响应信息后, 在所述同步之前执行设备能力信息协商操作; 所述协商控 制单元用于根据所述是否进行设备能力信息协商的信息、 控制所述协商单 元进行或不进行设备能力信息协商。
上述两个实施方式可以结合成为一个实施方式,即接收单元既接收来自 同步客户端的数据同步请求, 也接收来自同步客户端的设备能力信息协商 请求。
参阅图 15, 本发明同步设备第一实施方式包括: 配置单元, 用于保存 已协商的设备能力信息或状态标识、 或设备能力信息未改变状态标识; 同 步触发单元, 用于在确认保存有所述已协商设备能力信息或状态标识、 或 设备能力信息未改变状态标识时, 跳过设备能力信息协商过程而直接触发 同步操作。
本实施方式可以取得本发明同步系统第二实施方式类似的技术效果。 所述同步设备可以是同步服务器或客户端、终端。在另一个实施方式中, 所述同步设备进一步包括同步单元, 用于在同步触发单元触发下进行同步 操作。
参阅图 16, 本发明同步服务器第二实施方式包括:
请求接收单元,用于在会话中接收携带要求进行设备能力信息协商参数 的操作请求;
会话类型确定单元,用于根据该操作请求携带的要求进行设备能力信息 协商参数确定本次会话为设备能力信息协商会话;
协商单元,用于在确定本次会话为设备能力信息协商会话后进行设备能 力信息协商;
会话控制单元, 用于保存所述设备能力信息协商结果并结束本次会话。 以上可以看出,上述实施方式通过会话类型确定单元对操作请求类型的 判断, 确定本次会话是设备能力信息协商会话, 与现有技术同步会话相区 另, j, 然后采用会话控制单元保存协商结果, 以利于下次同步时跳过设备能 力信息协商过程, 既筒化同步协议, 提高同步效率; 又避免因为设备能力 信息协商流程的变更而导致的同步流程的变更, 进而避免经常性修改数据 同步规范的技术问题。
在其他实施方式中,所述本发明同步服务器第二实施方式还包括状态寄 存器和协商控制单元, 所述状态寄存器用于保存是否进行设备能力信息协 商的信息, 所述协商控制单元用于根据所述是否进行设备能力信息协商的 信息控制所述协商单元进行或不进行设备能力信息协商。
参阅图 17, 本发明 DM服务器第一实施方式包括:
请求接收单元, 用于在会话中接收携带要求 DM服务器获取的客户端 同步管理对象标识的操作请求; 会话类型确定单元,用于根据该操作请求确定本次会话为设备能力信息 协商会话;
协商单元,用于在确定本次会话为设备能力信息协商会话后根据所述客 户端同步管理对象标识下发具体的操作命令, 并接收上报的客户端设备能 力信息;
转发单元, 用于将接收到的所述客户端设备能力信息发送给同步服务 器。
本实施方式可以取得本发明 DM服务器第一实施方式类似的技术效果。 参阅图 18, 本发明 DM客户端第一实施方式包括:
请求接收单元, 用于在会话中接收所述同步客户端设备能力信息请求; 设备能力信息获取单元,用于读取已设置的同步客户端同步管理对象所 对应的全部或者部分节点的数据, 获得待上报的客户端设备能力信息; 上报单元, 用于向 DM服务器发起操作请求, 所述操作请求包括携带 客户端设备能力信息的初始会话连接请求。
本发明 DM客户端第一实施方式和上述本发明 DM服务器第一实施方 式配合, 实现简化同步协议, 提高同步效率的技术效果。
参阅图 19, 本发明 DM客户端第二实施方式包括:
操作命令请求单元, 用于向 DM服务器发起初始会话连接请求, 并在 该初始会话连接请求中携带要求 DM服务器获取的客户端同步管理对象标 识;
操作命令接收单元,用于接收与所述客户端同步管理对象标识对应的操 作命令;
设备能力信息获取单元,用于根据所述操作命令,读取已设置的同步客 户端同步管理对象所对应的全部或者部分节点的数据, 获得待上报的客户 端设备能力信息;
上报单元, 用于向所述 DM服务器发送所述操作命令的回应信息, 所 述回应信息携带所述客户端设备能力信息。
本发明 DM客户端第一实施方式和上述本发明 DM服务器第一实施方 式配合, 实现筒化同步协议, 提高同步效率的技术效果。 本发明同步服务器第三实施方式包括:
请求接收单元,用于在会话中接收携带要求进行设备能力信息协商参数 的操作请求, 所述参数携带获取所述同步服务器端设备能力信息的信息; 会话类型确定单元,用于根据该操作请求携带的要求进行设备能力信息 协商参数确定本次会话为设备能力信息协商会话;
协商单元,用于在确定本次会话为设备能力信息协商会话后将自身设备 能力信息下发给同步客户端, 通知其保存所述设备能力信息协商结果并结 束本次会话。
本发明同步服务器第三实施方式实现下发设备能力信息到同步客户端 的功能, 和上述本发明同步服务器第一、 二实施方式类似, 实现简化同步 协议, 提高同步效率的技术效果。
参阅图 20, 本发明 DM服务器第二实施方式包括:
请求接收单元,用于在会话中接收携带要求进行设备能力信息协商参数 的操作请求, 所述参数携带获取同步服务器端设备能力信息的信息;
会话类型确定单元,用于根据该操作请求携带的要求进行设备能力信息 协商参数确定本次会话为设备能力信息协商会话;
设备能力信息获取单元,用于在确定本次会话为设备能力信息协商会话 后从所述同步服务器中获取其设备能力信息;
下发单元, 用于将所述同步服务器端设备能力信息通过 DM客户端发 送给同步客户端以保存, 结束本次^ 舌。
本发明 DM服务器笫二实施方式实现下发设备能力信息到同步客户端 的功能, 和上述本发明同步服务器三实施方式类似, 实现简化同步协议, 提高同步效率的技术效果。
以上所述仅为本发明的较佳实施方式而已,并非用于限定本发明的保护 范围。 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进等, 均包含在本发明的保护范围内。

Claims

权 利 要 求
1.一种同步方法, 其特征在于, 包括以下步骤:
在第一设备和第二设备之间发起同步流程;
确认前次设备能力协商后是否保存有设备能力信息或状态标识、或设备 能力信息未改变状态标识;
在保存有所述已协商设备能力信息或状态标识、或设备能力信息未改变 状态标识时, 跳过设备能力信息协商, 进行同步操作。
2.根据权利要求 1所述的方法, 其特征在于,
所述发起的同步流程包括:所述第一设备收到来自第二设备的数据同步 请求;
并且, 所述进行同步操作之前包括: 所述第一设备根据所述数据同步请 求向第二设备返回确认进行同步的响应。
3.根据权利要求 1所述的方法, 其特征在于, 进一步包括:
在确认未保存所述已协商设备能力信息或状态标识、或设备能力信息已 改变状态标识时,所述第一设备向第二设备返回要求执行设备能力信息协商 操作的响应。
4.根据权利要求 3所述的方法, 其特征在于, 在返回响应后进一步包 括: 按照如下方法进行设备能力信息协商:
对全部或部分设备能力信息进行协商; 或
对当前同步交互中才需要的设备能力信息进行协商; 或
根据数据类型协商相关设备能力信息; 或
对使用 URI指明待协商的设备能力信息进行协商; 或
对使用表达式指明待协商的设备能力信息进行协商。
5.根据权利要求 3所述的方法, 其特征在于, 所述执行设备能力信息 协商操作包括:
通过设备能力操作会话的方式或设备管理 DM协议的方式执行设备能 力信息协商操作。
6.—种设备能力信息协商的方法, 其特征在于, 包括: 收到操作请求, 所述操作请求携带要求进行设备能力信息协商的参数; 根据该请求携带的要求进行设备能力信息协商参数确定本次会话为设 备能力信息协商会话;
返回响应, 进行设备能力信息协商;
保存所述设备能力信息协商结果并结束本次会话。
7.根据权利要求 6所述的方法, 其特征在于, 所述收到操作请求的步 骤包括: 通过设备能力操作会话的方式收到所述操作请求。
8.根据权利要求 7所述的方法, 其特征在于,
所述要求进行设备能力信息协商的参数是:协商全部设备能力信息的数 据类型、携带协商相关设备能力信息的数据类型、指明待协商设备能力信息 的 URI、 或指明待协商设备能力信息的表达式的协商方式;
并且, 所述进行设备能力信息协商的步驟是指根据所述参数进行协商。
9.根据权利要求 8所述的方法, 其特征在于, 所述操作请求包含添加、 更新、删除或查询命令, 并且在所述参数是指明待协商设备能力信息的 URI 时, 所述进行设备能力信息协商的方式包括: 根据此 URI并通过 XCAP协 议操作命令获取设备能力信息。
10. 根据权利要求 6所述的方法, 其特征在于, 所述收到操作请求的 步骤包括: 通过设备管理 DM协议的方式收到所述操作请求。
11. 根据权利要求 10所述的方法, 其特征在于,
所述通过设备管理 DM协议的方式收到所述操作请求的步骤之前包括: 发送所述设备能力信息请求给设备管理 DM客户端;
所述 DM客户端在接收到所述设备能力信息请求后发起设备管理流程, 向所述 DM服务器发送所述携带要求进行设备能力信息协商参数的操作请 求, 并通知所述 DM服务器获取设备能力信息;
所述进行设备能力信息协商的步骤包括:
所述 DM服务器将所述所述设备能力信息发送到同步服务器。
12. 根据权利要求 11所述的方法, 其特征在于,
所述发起设备管理流程、 发送所述操作请求并通知 DM服务器获取客 户端设备能力信息的方法包括:
读取已设置的同步客户端同步管理对象所对应的数据,获取待上报的同 步客户端设备能力信息; 向所述 DM服务器发送初始会话连接请求, 并在 该初始会话连接请求中携带所述客户端设备能力信息; 或
向所述 DM服务器发起初始会话连接请求, 并在该初始会话连接请求 中携带要求 DM服务器获取的客户端同步管理对象标识; 所述 DM服务器 根据接收到的客户端同步管理对象标识下发操作命令;根据所述操作命令读 取所述客户端同步管理对象所对应的数据,获取待上 4艮的客户端设备能力信 息; 向 DM服务器发送所述初始会话连接请求的回应信息, 并在该回应信 息中携带所述客户端设备能力信息。
13. 根据权利要求 10所述的方法, 其特征在于,
所述通过设备管理 DM协议的方式收到所述操作请求的步骤之前包括: 所述同步客户端向 DM客户端发送获取所述同步服务器端设备能力信 息请求;
所述 DM客户端根据所述获取同步服务器端设备能力信息请求, 发起 初始会话连接, 向所述 DM服务器发送所述携带要求进行设备能力信息协 商参数的操作请求, 所述参数携带获取所述同步服务器设备能力信息的信 息;
所述进行设备能力信息协商的步骤包括:
所述 DM服务器根据接收到的操作请求从同步服务器中获取所述同步 服务器端设备能力信息, 将所述同步服务器端设备能力信息通过所述 DM 客户端发送给所述同步客户端。
14. 根据权利要求 6所述的方法, 其特征在于, 所述进行设备能力信 息协商之后, 进一步包括: 在已保存设备能力信息、 或设备能力信息未改变 时,设置不再需要进行设备能力信息协商的状态标识,作为下一次同步操作 前不进行设备能力信息协商的判断依据。
15. 根据权利要求 6至 14任一项所述的方法, 其特征在于, 所述进行 设备能力信息协商的方法包括:
对全部或部分设备能力信息进行协商; 对当前同步交互中才需要的设备能力信息进行协商; 或 根据数据类型协商相关设备能力信息; 或
对使用 URI指明待协商的设备能力信息进行协商; 或
对使用表达式指明待协商的设备能力信息进行协商。
16. 一种设备能力信息协商的方法, 其特征在于, 包括:
收到设备能力信息协商请求;
返回自身设备能力信息;
保存协商结果并结束。
17. 根据杈利要求 16所述的方法,其特征在于, 所述返回设备能力信 息的方法包括: 通过 DM协议发送的方式或设备能力操作会话的方式返回 设备能力信息。
18. 一种同步系统, 其特征在于, 包括同步服务器和同步客户端, 所 述同步服务器或同步客户端用于在确认保存有已协商的设备能力信息或状 态标识、或设备能力信息未改变状态标识时,跳过设备能力信息协商而在所 述同步服务器和同步客户端之间直接进行同步操作。
19. 根据权利要求 18所述的系统,其特征在于,所述同步服务器进一 步包括接收单元,用于接收来自同步客户端的数据同步请求,触发所述同步 操作。
20. 根据权利要求 18所述的系统,其特征在于, 所述同步服务器进一 步包括:
接收单元, 用于接收来自同步客户端的设备能力信息协商请求; 协商单元, 用于在接收到所述设备能力信息协商请求并返回响应信息 后, 在所述同步之前执行设备能力信息协商操作。
21. 一种同步设备, 其特征在于, 包括:
配置单元, 用于保存已协商的设备能力信息或状态标识、 或设备能力 信息未改变状态标识;
同步触发单元, 用于在确认保存有所述已协商设备能力信息或状态标 识、 或设备能力信息未改变状态标识时, 跳过设备能力信息协商过程而直 接触发同步操作。
22. 一种同步服务器, 包括:
请求接收单元, 用于在会话中接收携带要求进行设备能力信息协商参 数的操作请求;
会话类型确定单元, 用于根据该操作请求携带的要求进行设备能力信 息协商参数确定本次会话为设备能力信息协商会话;
协商单元, 用于在确定本次会话为设备能力信息协商会话后进行设备 能力信息协商;
会话控制单元, 用于保存所述设备能力信息协商结果并结束本次会话。
23. 根据权利要求 22所述的服务器,其特征在于,进一步包括状态寄 存器和协商控制单元,所述状态寄存器用于保存是否进行设备能力信息协商 的信息,所述协商控制单元用于根据所述是否进行设备能力信息协商的信息 控制所述协商单元进行或不进行设备能力信息协商。
24. 一种 DM服务器, 其特征在于, 包括:
请求接收单元, 用于在会话中接收携带要求 DM服务器获取的客户端 同步管理对象标识的操作请求;
会话类型确定单元, 用于根据该操作请求确定本次会话为设备能力信 息协商会话;
协商单元, 用于在确定本次会话为设备能力信息协商会话后根据所述 客户端同步管理对象标识下发具体的操作命令, 并接收上报的客户端设备 能力信息;
转发单元, 用于将接收到的所述客户端设备能力信息发送给同步服务 器。
25. 一种 DM客户端, 其特征在于, 包括:
请求接收单元, 用于在会话中接收所述同步客户端设备能力信息请求; 设备能力信息获取单元, 用于读取已设置的同步客户端同步管理对象 所对应的全部或者部分节点的数据, 获得待上报的客户端设备能力信息; 上报单元, 用于向 DM服务器发起操作请求, 所述操作请求包括携带 客户端设备能力信息的初始会话连接请求。
26. 一种 DM客户端, 其特征在于, 包括:
操作命令请求单元, 用于向 DM服务器发起初始会话连接请求, 并在 该初始会话连接请求中携带要求 DM服务器获取的客户端同步管理对象标 识;
操作命令接收单元, 用于接收与所述客户端同步管理对象标识对应的 操作命令;
设备能力信息获取单元, 用于根据所述操作命令, 读取已设置的同步 客户端同步管理对象所对应的全部或者部分节点的数据, 获得待上报的客 户端设备能力信息;
上 4艮单元, 用于向所述 DM服务器发送所述操作命令的回应信息, 所 述回应信息携带所述客户端设备能力信息。
27. 一种同步服务器, 其特征在于, 包括:
请求接收单元, 用于在会话中接收携带要求进行设备能力信息协商参 数的操作请求, 所述参数携带获取所述同步服务器端设备能力信息的信息; 会话类型确定单元, 用于根据该操作请求携带的要求进行设备能力信 息协商参数确定本次会话为设备能力信息协商会话;
协商单元, 用于在确定本次会话为设备能力信息协商会话后将自身设 备能力信息下发给同步客户端, 通知其保存所述设备能力信息协商结果并 结束本次会话。
28. 一种 DM服务器, 其特征在于, 包括:
请求接收单元, 用于在会话中接收携带要求进行设备能力信息协商参 数的操作请求, 所述参数携带获取同步服务器端设备能力信息的信息; 会话类型确定单元, 用于根据该操作请求携带的要求进行设备能力信 息协商参数确定本次会话为设备能力信息协商会话;
设备能力信息获取单元, 用于在确定本次会话为设备能力信息协商会 话后从所述同步服务器中获取其设备能力信息;
下发单元, 用于将所述同步服务器端设备能力信息通过 DM客户端发 送给同步客户端以保存, 结束本次会话。
29. 一种同步系统, 其特征在于, 包括: 同步服务器、 同步客户端、 DM客户端和 DM服务器, 所述同步客户端用于和同步服务器交互完成数据同步操作,并保存同步 客户端数据; 或者, 用于向 DM客户端发送设备能力信息协商请求, 或接 收来自 DM客户端的同步服务器端设备能力信息, 或与 DM客户端之间进 行认证操作 ί
所述 DM客户端用于从已定义的 DM管理树中获取用于存储同步客户 端设备能力信息的客户端同步管理对象, 发送携带要求进行设备能力信息 协商参数的操作请求到所述 DM服务器; 或者, 将来自所述 DM服务器的 同步服务器端设备能力信息或服务器同步管理对象中的同步服务器端设备 能力信息发送给所述同步客户端;
所述 DM服务器用于将来自所述 DM客户端的客户端同步管理对象中 客户端端设备能力信息发送给所述同步服务器; 或者, 将来自所述同步服 务器的服务器端设备能力信息直接或作为 良务器同步管理对象发送给所述 DM客户端;
所述同步服务器用于接收来自所述 DM服务器的客户端设备能力信息, 或通过所述 DM服务器请求客户端的设备能力信息, 或将自身的设备能力 信息传送给所述 DM服务器。
30. 一种同步的方法, 其特征在于, 包括以下步骤:
同步客户端向同步服务器发起操作请求;
如果所述的同步服务器确定所接收到的操作请求是数据同步请求,并在 确认保存有设备能力信息或状态标识、 或设备能力信息未改变状态标识后, 执行同步处理;
如果所述的同步服务器确定所接收到的操作请求是设备能力信息协商 请求, 则执行设备能力信息协商操作。
31. 根据权利要求 30所述的方法,其特征在于,如果所述的同步服务 器确定所接收到的操作请求是数据同步请求,并确认未保存有设备能力信息 或状态标识、或设备能力信息未改变状态标识时, 向同步客户端返回要求执 行设备能力信息协商操作的响应,并根据客户端返回的设备能力信息进行设 备能力协商, 并执行同步处理。
PCT/CN2007/001018 2006-03-30 2007-03-29 The method of device capability information negotiation, the method, system and device of synchronization WO2007112673A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP07720592A EP2001160A4 (en) 2006-03-30 2007-03-29 METHOD FOR NEGOTIATING DEVICE CAPABILITY INFORMATION, METHOD, SYSTEM AND SYNCHRONIZATION DEVICE
US12/241,937 US8051186B2 (en) 2006-03-30 2008-09-30 Method for device capability negotiation, method, system and device for synchronization

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2006100709757A CN101047707A (zh) 2006-03-30 2006-03-30 发起设备能力信息协商的方法及系统
CN200610070975.7 2006-03-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/241,937 Continuation US8051186B2 (en) 2006-03-30 2008-09-30 Method for device capability negotiation, method, system and device for synchronization

Publications (1)

Publication Number Publication Date
WO2007112673A1 true WO2007112673A1 (en) 2007-10-11

Family

ID=38563106

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001018 WO2007112673A1 (en) 2006-03-30 2007-03-29 The method of device capability information negotiation, the method, system and device of synchronization

Country Status (4)

Country Link
US (1) US8051186B2 (zh)
EP (1) EP2001160A4 (zh)
CN (1) CN101047707A (zh)
WO (1) WO2007112673A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011045415A2 (en) 2009-10-15 2011-04-21 Guerbet New imaging agents and their use for the diagnostic in vivo of neurodegenerative diseases, notably alzheimer's disease and derivative diseases
CN112148793A (zh) * 2020-09-17 2020-12-29 睿住科技有限公司 数据同步方法、系统及存储介质

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8626128B2 (en) 2011-04-07 2014-01-07 Microsoft Corporation Enforcing device settings for mobile devices
US8010997B2 (en) * 2005-06-30 2011-08-30 Microsoft Corporation Enforcing device settings for mobile devices
US20090070410A1 (en) * 2007-09-12 2009-03-12 International Business Machines Corporation Managing Presence Information Of A Presentity
CN101330319B (zh) * 2007-11-15 2012-02-29 中兴通讯股份有限公司 一种策略同步的方法
US7747784B2 (en) * 2008-03-04 2010-06-29 Apple Inc. Data synchronization protocol
GB0807590D0 (en) * 2008-04-25 2008-06-04 Ominplug Technologies Ltd Data synchronisation
CN101582835A (zh) * 2008-05-13 2009-11-18 华为技术有限公司 一种设备能力交互的方法、系统和装置
KR101545909B1 (ko) * 2008-12-01 2015-08-20 삼성전자주식회사 아이피 티브이의 시청 정보 수집 방법 및 시스템
US20110149086A1 (en) 2009-12-23 2011-06-23 Winbush Iii Amos Camera user content synchronization with central web-based records and information sharing system
US8832061B2 (en) 2010-07-02 2014-09-09 Salesforce.Com, Inc. Optimizing data synchronization between mobile clients and database systems
CN102136933B (zh) 2010-09-30 2013-08-28 华为技术有限公司 设备管理方法、中间件及机器通信平台、设备和系统
EP2676464B1 (en) * 2011-02-14 2020-03-25 Nokia Technologies Oy Seamless wi-fi subscription remediation
KR20120117099A (ko) * 2011-04-14 2012-10-24 삼성전자주식회사 휴대 단말기의 동기화 방법 및 장치
CN102231678A (zh) * 2011-06-27 2011-11-02 华为终端有限公司 设备管理的方法、装置和系统
US20130097116A1 (en) * 2011-10-17 2013-04-18 Research In Motion Limited Synchronization method and associated apparatus
CN102752294B (zh) * 2012-06-19 2015-01-21 中国科学院计算技术研究所 基于设备能力的多终端数据同步方法和系统
WO2015076714A1 (en) * 2013-11-22 2015-05-28 Telefonaktiebolaget L M Ericsson (Publ) Centralised capability discovery
CN104573127B (zh) * 2015-02-10 2019-05-14 北京嘀嘀无限科技发展有限公司 评估数据差异性的方法和系统
US10146916B2 (en) * 2015-11-17 2018-12-04 Microsoft Technology Licensing, Llc Tamper proof device capability store
CN109067848A (zh) * 2018-07-11 2018-12-21 深圳鼎盛电脑科技有限公司 指令执行方法、装置、设备及存储介质
US11218374B2 (en) * 2019-07-30 2022-01-04 Microsoft Technology Licensing, Llc Discovery and resolution of network connected devices

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030081557A1 (en) 2001-10-03 2003-05-01 Riku Mettala Data synchronization
WO2003094435A1 (en) * 2002-04-30 2003-11-13 Nokia Corporation Method and device for management of tree data exchange
WO2003103271A1 (en) 2002-05-31 2003-12-11 Nokia Corporation A system for adaptation of sip messages based on recipient's terminal capabilities and preferences
WO2004023233A2 (en) * 2002-09-03 2004-03-18 Nokia Corporation Method, device and system for synchronizing of data providing for the handling of an interrupted synchronization process
US20040083472A1 (en) 2002-10-21 2004-04-29 Rao Bindu Rama System with required enhancements to syncML DM environment to support firmware updates
US20040171382A1 (en) * 2003-02-28 2004-09-02 Gaurav Mittal Apparatus, and associated method, for retrieving mobile-node device management tree information
WO2005001665A2 (en) * 2003-06-27 2005-01-06 Bitfone Corporation System and method for downloading update packages into a mobile handset in a carrier network
US20050041578A1 (en) 2003-08-18 2005-02-24 Nokia Corporation Setting up communication sessions
EP1592184A2 (en) 2004-04-06 2005-11-02 Samsung Electronics Co., Ltd. Method and system for transmitting data for data synchronization between server and client when data synchronization session was abnormally terminated
US20050256959A1 (en) 2004-04-13 2005-11-17 Magnus Svensson Method of and system for multimedia messaging system interoperability

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI111683B (fi) * 1999-04-30 2003-08-29 Nokia Corp Menetelmä langattoman viestimen ominaisuuksien tallentamiseksi ja informoimiseksi, langaton viestin sekä langaton tiedonsiirtojärjestelmä
US7437484B2 (en) * 2003-12-29 2008-10-14 International Business Machines Corporation Method for optimizing synchronization
WO2005073854A2 (en) * 2004-01-27 2005-08-11 Koninklijke Philips Electronics, N.V. System and method for providing an extended computing capacity
SE0402384D0 (sv) * 2004-10-01 2004-10-01 Ericsson Telefon Ab L M Terminal capability determination subject to call forwarding
US7669121B2 (en) * 2005-01-19 2010-02-23 Microsoft Corporation Transcode matrix

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030081557A1 (en) 2001-10-03 2003-05-01 Riku Mettala Data synchronization
WO2003094435A1 (en) * 2002-04-30 2003-11-13 Nokia Corporation Method and device for management of tree data exchange
WO2003103271A1 (en) 2002-05-31 2003-12-11 Nokia Corporation A system for adaptation of sip messages based on recipient's terminal capabilities and preferences
WO2004023233A2 (en) * 2002-09-03 2004-03-18 Nokia Corporation Method, device and system for synchronizing of data providing for the handling of an interrupted synchronization process
US20040083472A1 (en) 2002-10-21 2004-04-29 Rao Bindu Rama System with required enhancements to syncML DM environment to support firmware updates
US20040171382A1 (en) * 2003-02-28 2004-09-02 Gaurav Mittal Apparatus, and associated method, for retrieving mobile-node device management tree information
WO2005001665A2 (en) * 2003-06-27 2005-01-06 Bitfone Corporation System and method for downloading update packages into a mobile handset in a carrier network
US20050041578A1 (en) 2003-08-18 2005-02-24 Nokia Corporation Setting up communication sessions
EP1592184A2 (en) 2004-04-06 2005-11-02 Samsung Electronics Co., Ltd. Method and system for transmitting data for data synchronization between server and client when data synchronization session was abnormally terminated
US20050256959A1 (en) 2004-04-13 2005-11-17 Magnus Svensson Method of and system for multimedia messaging system interoperability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2001160A4
SYNCML INIATIVE, February 2000 (2000-02-01)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011045415A2 (en) 2009-10-15 2011-04-21 Guerbet New imaging agents and their use for the diagnostic in vivo of neurodegenerative diseases, notably alzheimer's disease and derivative diseases
CN112148793A (zh) * 2020-09-17 2020-12-29 睿住科技有限公司 数据同步方法、系统及存储介质
CN112148793B (zh) * 2020-09-17 2024-02-20 广东睿住智能科技有限公司 数据同步方法、系统及存储介质

Also Published As

Publication number Publication date
EP2001160A9 (en) 2009-03-11
CN101047707A (zh) 2007-10-03
US20090144434A1 (en) 2009-06-04
EP2001160A2 (en) 2008-12-10
EP2001160A4 (en) 2009-04-01
US8051186B2 (en) 2011-11-01

Similar Documents

Publication Publication Date Title
WO2007112673A1 (en) The method of device capability information negotiation, the method, system and device of synchronization
JP5662405B2 (ja) ユーザ装置をプロビジョニングするシステム及び方法
KR100978336B1 (ko) 리모트 액세스
US8943173B1 (en) System and method for using a computer as a bridge for data synchronization between a cellular device and a computer network
EP1924046B1 (en) A system, method and device for negotiating the equipment information
WO2022262465A1 (zh) 基于opc ua的时间敏感网络集中用户配置方法及系统
KR101011216B1 (ko) 데이터 동기
US7602765B2 (en) Method for synchronizing status information of IMPS client
WO2008040224A1 (fr) Procédé, système et appareil de synchronisation de données
US10419535B2 (en) Preconfigured syncML profile categories
EP2467969B1 (en) Method and apparatus for remote management of device
KR100896942B1 (ko) 이동 장치들 및 서비스들을 다루기 위한 통합된 방법 및장치
KR20040106567A (ko) 서로 다른 기능들을 지니는 서로 다른 장치들에서의데이터 동기화를 가능하게 하기 위한 방법 및 장치
KR20100021386A (ko) 홈 네트워크상에서 호 송수신을 위한 시스템 및 방법
JP2007525870A (ja) 装置管理システム内における管理ノードの指定
US20100287253A1 (en) Method, apparatus, and system for data synchronization
WO2010028571A1 (zh) 大数据对象的传输方法、传输系统及发送设备和接收设备
KR20080076835A (ko) 서버와 클라이언트 간의 미전송완료 데이터의 전송 방법
WO2008144992A1 (fr) Procédé et dispositif pour traiter un message de notification
KR20120107022A (ko) 개인 정보 동기화 방법 및 장치
WO2013174060A1 (zh) 基于个人信息管理系统的信息同步方法、装置及通信终端
US7774464B2 (en) Automatic syncML client profile creation for new servers
WO2022067509A1 (zh) 设备升级控制方法、装置、计算机设备及存储介质
WO2013017020A1 (zh) 对可执行节点的操作方法及系统
WO2010043150A1 (zh) 上报设备信息的方法、用户终端和服务器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07720592

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2007720592

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE