WO2010028571A1 - 大数据对象的传输方法、传输系统及发送设备和接收设备 - Google Patents

大数据对象的传输方法、传输系统及发送设备和接收设备 Download PDF

Info

Publication number
WO2010028571A1
WO2010028571A1 PCT/CN2009/073500 CN2009073500W WO2010028571A1 WO 2010028571 A1 WO2010028571 A1 WO 2010028571A1 CN 2009073500 W CN2009073500 W CN 2009073500W WO 2010028571 A1 WO2010028571 A1 WO 2010028571A1
Authority
WO
WIPO (PCT)
Prior art keywords
data object
big data
interruption
receiving
receiving device
Prior art date
Application number
PCT/CN2009/073500
Other languages
English (en)
French (fr)
Inventor
刘海涛
宋悦
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010028571A1 publication Critical patent/WO2010028571A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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 present invention relates to the field of communications technologies, and in particular, to a method for transmitting a big data object, a transmission system, and a transmitting device and a receiving device. Background technique
  • the Open Mobile Alliance (OMA) DM (Device Management) VI.2 (hereinafter referred to as the DM specification) is a unified specification for device management established by the OMA DM Working Group (WG).
  • the DM system provides a low-cost solution for third-party management and setting of environment and configuration information in wireless network terminal devices (such as mobile terminals and functional objects in terminals) to solve these network devices encountered during use.
  • the problem Software and firmware installation and upgrade through over-the-air (OTA), and provide more personalized and personalized services to enhance the user experience.
  • the third party may be the information management department of the mobile operator, the service provider or the partner.
  • the so-called big data object that is, the length of the data object exceeds the maximum capacity of the message packet in a certain protocol, which is changed for different protocols and different bearer modes. If the length of the data object exceeds the maximum capacity of a packet, the DM protocol divides the data object into several blocks, each of which can be transmitted with one packet and, when transmitted, uses information other than the last block.
  • the ⁇ MoreData/> element in the package informs the recipient that the data object has not been sent yet.
  • the session process is interrupted during the sending process of each block of the data object, the data object needs to be retransmitted during the subsequent session. Retransmit the entire number due to the receiver receiving some data during the interruption According to the object, there will undoubtedly be a waste of wireless resources, but there is no suitable technical solution to solve this problem. Summary of the invention
  • the sending device transmits a large data object to the receiving device in a block manner
  • the transmitting device Determining whether the big data object has changed before and after the interruption, if no change occurs, the transmitting device transmits the remaining portion of the big data object to the receiving device according to the received data length recorded by the receiving device.
  • the receiving device receives a big data object from the sending device in a block mode
  • Receiving a device records a data length of the big data object that has been received
  • the session process is re-initiated, and it is determined whether the big data object changes before and after the interruption. If no change occurs, the receiving device indicates the data according to the data length of the big data object that has been received. The transmitting device transmits the remaining portion of the big data object.
  • a sending module configured to transmit a big data object to the receiving device in a block manner
  • a receiving device provided by an embodiment of the present invention includes:
  • a receiving module configured to receive a big data object from the sending device in a block mode
  • a storage module configured to record a data length of the big data object that has been received
  • a session initiating module configured to re-initiate a session process after the receiving process is interrupted; the determining module is configured to determine whether the big data object changes before and after the interruption, and if the change does not occur, notify the sending device to send the The remaining part of the data of the big data object.
  • a transmission system for a big data object which includes a sending device and a receiving device, where
  • the sending device is configured to transmit a big data object to the receiving device in a block manner, and after the interruption of the transmission process, re-initiate the session process and determine whether the big data object changes before and after the interruption, if not And changing, the remaining part of the big data object is sent to the receiving device according to the received data length recorded by the receiving device;
  • the receiving device is configured to receive the big data object, and record a data length of the large data object that has been received.
  • Another transmission system of a big data object provided by the embodiment of the present invention includes a transmitting device and a receiving device, where
  • the transmitting device is configured to transmit a big data object to the receiving device in a block mode; after the interruption of the transmission process, send the remaining part of the big data object according to an instruction of the receiving device Giving the receiving device;
  • the receiving device is configured to receive the big data object, and record a data length of the big data object that has been received; when the transmission process is interrupted, re-initiate the session process and determine that the big data object is interrupted Whether there is a change before or after, if there is no change, the transmitting device is instructed to transmit the remaining portion of the big data object according to the data length of the big data object that has been received.
  • DM device management
  • DS data synchronization
  • FIG. 1 is an OMADM architecture applied to an embodiment of the present invention
  • FIG. 2 is a flowchart of a session establishment phase in an embodiment of the present invention.
  • FIG. 3 is a flowchart of a management session phase according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of message interaction when a SyncML client and a server are synchronized according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a specific method according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a number added in a MO according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an MO according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a sending device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a receiving device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a system according to an embodiment of the present invention. detailed description
  • FIG. 1 is an OMA DM architecture applied to an embodiment of the present invention.
  • the DM agent (101) on the terminal device 100 is used to interpret and execute the management commands issued by the DM server (DM Server) 200.
  • the DM management tree 102 stored on the terminal device can be regarded as an interface for the DM server 200 to manage the terminal device through the DM protocol, including some basic management objects (MO); the DM server 200 manages the DM through The management object on the tree 102 operates to achieve the purpose of controlling the terminal management object.
  • the operation commands include Get (Re), Exec (Exec), Copy (Delete), Delete, etc.
  • the DM management tree and management objects are composed of nodes, such as root nodes, internal nodes, and leaf nodes.
  • the nodes have their own framework attributes.
  • the Framework property of a node includes the access type (AccessType), the default value (DefaultValue), the number of occurrences (Occurrence), the node type (DFType), etc., which are used to identify the characteristics of a node.
  • AccessType access type
  • DefaultValue the default value
  • Occurrence the number of occurrences
  • DFType node type
  • DFType describes its Common Internet Mail Extensions (MIME) type for leaf nodes
  • MOI Management Object Identifier
  • node there is a type of unnamed node in the management tree, which acts as a placeholder. When a server or terminal instantiates it, it will be named. This type of node is called an X node.
  • OMA DM technology generally consists of two phases, the first of which is called initialization or boot (bootstrap), which allows a device to transition from an empty state with no parameter configuration to a state where a management session can be initiated to the DM server.
  • boot The terminal that has been Bootstrap can be further Bootstrap so that the device can initiate a session to the new DM server.
  • device and user application settings information can be configured during the Bootstrap process.
  • the second phase of the DM is the management phase, at which the server can manage or provision the terminal devices.
  • the DM management phase can be further divided into two phases: a session establishment phase and a management session phase, wherein the process of the session establishment phase is as shown in FIG. 2, wherein the packet 0 carries the notification message initiated by the server; the packet 1 is sent by the terminal.
  • Initialization package which includes authentication information and device information;
  • Data packet 2 is an initialization package sent by the server, which includes authentication information, initial management operations, or user interaction commands.
  • the process of managing the session phase is shown in Figure 3. As shown, the data packet 3 is used to respond to the command sent by the server in the previous step; the data packet 4 is used to end the session or issue other instructions.
  • Modern society is an information society. Users can receive and send information anytime, anywhere, and can use a handheld device to execute applications on the device anytime, anywhere.
  • the results of this data interaction and execution application need to be stored in the handheld device and also need to be consistent with this type of data in other data devices.
  • the address book is stored in the personal digital assistant (PDA).
  • PDA personal digital assistant
  • the same address book is stored in the office and in the home PC or notebook. It is hoped that the information in these devices can be maintained. Consistently, when the data on one of the devices changes, the data in other devices can be manipulated to make corresponding changes, which is data synchronization.
  • the goal of the Universal Synchronization Protocol is universal.
  • the synchronization ends can be any type of network device.
  • the data of the synchronous operation can be any kind of network data.
  • Any type of mobile device includes a handheld computer, a PDA, a mobile phone, an automated computer, and a desktop computer.
  • a user can access and operate the same data set through different devices.
  • the SYNCML Synchronization Protocol is a new common standard that was created to achieve this goal. It was developed by SyncML, a data synchronization forum organized by companies such as IBM, Lotus, Motorola, Nokia, and Palm Inc. Since the release of SyncML 1.0 in December 2000, nearly 700 global companies have announced their support for the agreement.
  • the SyncML synchronization protocol is a set of protocols. It mainly consists of four parts: the framework of the SyncML data synchronization protocol, the SyncML synchronization protocol, the SyncML representation protocol, and the SyncML transmission method.
  • the SyncML synchronization protocol mainly defines the data flow during the session of the data synchronization operation, the handshake process of the two parties, the type of the data synchronization operation, etc.
  • the SyncML representation protocol mainly involves the data types and command formats supported by the synchronization, and can be used in various networks. SyncML message format for transmission; SyncML messages can be transmitted over any wired and wireless network connection.
  • SyncML protocol In the transmission binding of SyncML protocol, it can be defined in Hyper-Text Transfer Protocol based on hypertext transfer protocol, HTTP(), Wireless Session Protocol (WSP), Object Exchange Protocol (OBEX), three protocols for network connection transmission SyncML packages and messages, these three transport protocols basically cover all remote and short-range connections.
  • the interaction process between the SyncML client and the SyncML server is defined in the SyncML synchronization protocol.
  • the defined data synchronization type includes two-way synchronization, the client initiates one-way synchronization, and the server initiates one-way synchronization and slow synchronization, and server advertisement. Synchronization, etc.
  • Figure 4 illustrates the message interaction when the SyncML client and server are synchronized.
  • the SyncML client can send a SyncML message containing the client data modification information to the SyncML server.
  • the server synchronizes the data stored in the server according to the data in the SyncML message, and responds the modification result information to the SyncML client.
  • the SyncML client and server in Figure 4 are defined as follows:
  • SyncML client refers to the device that contains the synchronous client agent and sends its modification information to the server first, and the client must be able to receive the response message from the SyncML server. Although the SyncML client always sends the modification information first, in some cases, the server side can also initiate the synchronization process.
  • the SyncML client can usually be a cell phone, PC or PDA device.
  • SyncML server A device that contains a synchronization service proxy and a synchronization engine. It usually waits for the SyncML client to initiate a synchronization process and sends the client modification information to the server.
  • the server is responsible for receiving the modification information of the client and performing synchronous analysis. If the transport layer supports server-side commands, the SyncML server can also initiate the synchronization process.
  • a typical server device or PC can be a SyncML server.
  • Fingerprint technology can identify data elements through data fingerprinting. For example, by digesting a data element, you get a digital fingerprint of the data element. Digital fingerprints can be generated only by the terminal or by both parties. The purpose of the fingerprint is to determine if the data has changed. Because if the data is modified, the fingerprints will be inconsistent. If the fingerprints match, the data has not changed. If the fingerprints are different, it indicates that the data has been modified. In this way, by comparing fingerprints, you can save traffic and avoid sending unnecessary data. In the embodiment of the present invention, the digital fingerprint can be used to perform resume transmission.
  • a method for transmitting a big data object includes the following steps: Step 501: During a session managed by the device, the sending device transmits a big data object to the receiving device in a block manner.
  • Step 502 After the interruption of the transmission process, restart the session process.
  • Step 503 Determine whether the big data object changes before and after the interruption, if no change occurs, the sending device sends the remaining part of the big data object to the receiving according to the received data length recorded by the receiving device. device.
  • the session process may be re-initiated by the sending device, or the session process may be re-initiated by the receiving device.
  • step 503 it may be determined by the sending device whether the big data object changes before and after the interruption; or the receiving device may determine whether the big data object changes before and after the interruption.
  • the determination may be made according to the digital fingerprint of the big data object, or may be determined according to the length of the file before and after the interruption of the big data object.
  • Another method for transmitting a big data object according to an embodiment of the present invention includes the following steps:
  • Step 601 The receiving device receives a big data object from the sending device in a block mode during the session of the device management.
  • Step 602 The receiving device records the data length of the big data object that has been received.
  • Step 603 After the interruption of the transmission process, restart the session process, and determine whether the big data object changes before and after the interruption, if not And changing, the receiving device instructing the sending device to send the remaining part of the big data object according to the data length of the big data object that has been received.
  • the session process may be re-initiated by the sending device, or the session process may be re-initiated by the receiving device.
  • the sending device may determine whether the big data object changes before and after the interruption; or the receiving device determines whether the big data object is changed before and after the interruption. Change.
  • the determination may be made according to the digital fingerprint of the big data object, or may be determined according to the file length before and after the interruption of the big data object.
  • Step 701 The sending device sends a big data object to the receiving device in a block manner, where when the first block is sent, The digital fingerprint of the big data object is sent to the receiving device.
  • Step 702 The receiving device receives the data block of the big data object, and records the data fingerprint and the received data while storing the data block.
  • Step 703 The transmission process is interrupted, and the receiving device or the sending device re-initiates a session process.
  • the sending device or the receiving device determines whether the digital fingerprint is consistent before and after the interruption of the big data object.
  • Step 704 if the digital fingerprint of the big data object is consistent before and after the interruption, indicating that the big data object does not change on the sending device before and after the interruption, and the sending device according to the data length that the receiving device has received. Transmitting the remaining portion of the big data object to the receiving device;
  • Step 705 If the digital fingerprint of the big data object is inconsistent before and after the interruption, it indicates that the big data object has changed, and the sending device needs to resend the entire big data object.
  • the sending device when sending the big data object, the sending device needs to first block the big data object to meet the capacity limitation of the information packet, and generate a corresponding digital fingerprint for the data object. And determining whether the big data object changes before and after the interruption, and the information packet of the first data block of the big data object that is sent may be in the following format: ⁇ Command>
  • the size field is used to mark the data length of the big data object; the Fingerprint field is used to mark the digital fingerprint of the big data object, and the field is optional, whether to send the digital fingerprint of the big data object. It is determined by the transmitting device that, even if the digital fingerprint is not transmitted, whether the big data object has changed before and after the transmission interruption can be determined according to the data length of the big data object.
  • the receiving device may save an identifier RLength, which is an integer data, and is used to record the data length that the big data object has received currently.
  • the Schema format for this value can be similar to:
  • the identifier and the received data part, the digital fingerprint and the size element can be saved in the Management Object (MO).
  • MO Management Object
  • the new tree structure in the MO can be seen in Figure 8, where the meanings of the nodes are as follows: :
  • This node is used to temporarily store the received content of the data object.
  • the node is used to save the data length of the received part of the data object.
  • This node is used to hold the digital fingerprint of the data object.
  • the receiving device may report the saved digital fingerprint and the received data length to the sending device.
  • the sending device compares with the latest digital fingerprint of the data object. If it is consistent, it indicates that the big data object does not change before and after the interruption, and the sending device may send the remaining part of the big data object to the receiving device according to the length of the received data; , indicating that the big data object has changed before and after the interruption.
  • the sending device may send the latest digital fingerprint of the data object to the receiving device. After receiving the device, the receiving device compares it with the digital fingerprint saved by itself. Sending the length of the received data to the sending device, the sending device sends the remaining part of the data to the receiving device according to the data length; if not, it indicates that the big data object occurred before and after the interruption. Variety. The following description is based on two scenarios according to whether the big data object changes before and after the interruption. Scenario 1: The situation of big data objects changing before and after the interruption
  • the terminal device may temporarily store the corresponding data in the MO, and the MO structure may be as shown in FIG. 9.
  • the server re-initiates a new session, which can be handled in two cases: (1) The server sends a new digital fingerprint to the terminal device, and the terminal device receives the comparison and finds that the digital fingerprint before and after the interruption is inconsistent. It is to say that the data object has changed, so the terminal device does not send Rlength, but requests the server to resend the entire data object, and the data in the MO is also cleared. At this time, the server will repeat the original sending process, re-partition the data objects and transmit them one by one. Or:
  • the server sends a new file length to the terminal device. After receiving the terminal device, the terminal device compares with the length of the original stored file, and finds that the data object changes before and after the interruption. Therefore, the terminal device does not send Rlength, but requests the server to resend. The entire data object, and the data in the MO will also be emptied. At this time, the server will repeat the original sending process, re-blocking the data objects and transmitting them one by one.
  • the digital fingerprint or file length is compared and found to be inconsistent, indicating that the data object has changed.
  • the server will resend the entire data object, and the data in the MO will be emptied.
  • the server will repeat the original sending process, re-blocking the data objects and transmitting them one by one.
  • Scenario 2 The data object has not changed before and after the interruption.
  • the preconditions are the same as those described in scenario one above.
  • the Flower.jpg file on the server did not change during the interruption.
  • the client terminal device initiates a new session, which can be handled in two cases:
  • the server may re-initiate a new session, and send a new digital fingerprint or a new file length to the terminal device, and the digital fingerprint is saved by the terminal device. Or the file length is compared and found to be consistent.
  • the server is required to send the remaining 4780 bytes to the terminal device.
  • the terminal device After receiving the subsequent 3 data blocks, the terminal device can reassemble all the data blocks and submit them, corresponding to the MO. The data will also be emptied.
  • the embodiment of the present invention further provides a sending device.
  • the method may include:
  • the sending module 11 is configured to transmit a big data object to the receiving device in a block mode; the session initiating module 12 is configured to re-initiate the session process after the interruption of the transmission process; the determining module 13 is configured to determine before and after the interruption Whether the big data object changes, if no change occurs, instructing the sending module to send the remaining part of the big data object to the receiving device according to the received data length recorded by the receiving device.
  • a receiving device which may include: a receiving module 16 configured to receive a big data object from a sending device in a block mode; and a storage module 17 configured to record the received device.
  • the data initiating module 18 is configured to: when the receiving process is interrupted, re-initiate the session process; the determining module 19 is configured to determine whether the big data object changes before and after the interruption, if not And changing, notifying the sending device to send the remaining part of the data of the big data object.
  • an embodiment of the present invention provides a transmission system for a big data object, including a sending device 800 and a receiving device 900, where
  • the sending device 800 is configured to transmit a big data object to the receiving device in a block mode; after the interruption of the transmission process, according to an instruction of the receiving device, the remaining part of the big data object Sent to the receiving device;
  • the receiving device 900 is configured to receive the big data object, and record a data length of the big data object that has been received; when the transmission process is interrupted, re-initiate the session process and determine that the big data object is Whether there is a change before and after the interruption, if no change occurs, the transmitting device is instructed to transmit the remaining portion of the big data object according to the data length of the big data object that has been received.
  • the sending device 800 is configured to transmit a big data object to the receiving device in a block manner, and after the interruption of the transmission process, re-initiate the session process and determine whether the big data object changes before and after the interruption, if not If a change occurs, transmitting the remaining portion of the big data object to the receiving device according to the received data length recorded by the receiving device;
  • the receiving device 900 is configured to receive the big data object, and record a data length of the big data object that has been received.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Description

大数据对象的传输方法、 传输系统及发送设备和接收设备 本申请要求了 2008年 9月 11 日提交的、 申请号为 200810216201.X、 发 明名称为"大数据对象的传输方法、传输系统及发送设备和接收设备"的中国申 请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域, 尤其涉及一种大数据对象的传输方法、 传输 系统及发送设备和接收设备。 背景技术
开放移动联盟 ( Open Mobile Alliance, OMA )的 DM (Device Management, 设备管理) VI .2 (以下简称 DM规范), 是 OMA DM工作组( WG )制定的设 备管理的统一规范。 DM 系统提供了一种低成本方案, 用于第三方管理和设 置无线网络终端设备(比如手机终端及终端中的功能对象) 中的环境和配置 信息, 以解决这些网络设备在使用过程中遇到的问题。 通过无线网络 (over the air, OTA)方式进行软件和固件的安装、 升级等操作, 并提供更加人性化和个 性化的服务, 来提高用户体验。 其中, 第三方可以是移动运营商, 业务提供 商或者合作方的信息管理部门。
然而, 无论是在设备管理过程中, 还是数据同步过程中, 经常涉及到大 数据对象的传输问题。 所谓的大数据对象即数据对象的长度超过了某个协议 中消息包的最大容量, 这是针对不同的协议、 不同的承载方式而变化的。 如 果数据对象的长度超过了一个信息包的最大容量, 那么 DM协议会把数据对 象分为几块, 每块都可以用一个信息包传输, 并在发送时, 使用除了最后一 块之外的其它信息包里面的 <MoreData/> 元素来通知接收方数据对象还没有 发送完整。 按照现有的会话流程, 如果在数据对象的各个分块的发送过程中, 会话过程发生中断, 那么在后续发起的会话过程中, 还需要对该数据对象重 新进行传输。 由于中断时接收方已经接收了部分数据, 因此重新传输整个数 据对象无疑会造成无线资源的浪费, 但目前还没有合适的技术方案来解决这 个问题。 发明内容
本发明的目的在于提供一种大数据对象的传输方法、 传输系统及发送设 备和接收设备, 可以实现大数据对象的断点续传。
本发明实施例提供的一种大数据对象的传输方法, 包括:
在设备管理的会话过程中, 发送设备以分块方式向接收设备传输一个大 数据对象;
当所述传输过程发生中断后, 重新发起会话过程;
判断中断前后所述大数据对象是否发生改变, 如果没有发生改变, 则发 送设备根据所述接收设备记录的已接收数据长度, 将所述大数据对象的剩余 部分数据发送给所述接收设备。
本发明实施例提供的另一种大数据对象的传输方法, 包括:
在设备管理的会话过程中, 接收设备以分块方式接收来自发送设备的一 个大数据对象;
接收设备记录已经接收的所述大数据对象的数据长度;
当所述接收过程发生中断后, 重新发起会话过程, 判断中断前后所述大 数据对象是否发生改变, 如果没有发生改变, 则接收设备根据已经接收的所 述大数据对象的数据长度, 指示所述发送设备对所述大数据对象的剩余部分 进行发送。
本发明实施例提供的一种发送设备, 包括:
发送模块, 用于以分块方式向接收设备传输一个大数据对象;
会话发起模块, 用于当所述传输过程发生中断后, 重新发起会话过程; 判断模块, 用于判断中断前后所述大数据对象是否发生改变,如果没有发 生改变, 则指示所述发送模块, 根据接收设备记录的已接收数据长度, 将所 述大数据对象的剩余部分数据发送给所述接收设备。 本发明实施例提供的一种接收设备, 包括:
接收模块, 用于以分块方式接收来自发送设备的一个大数据对象; 存储模块, 用于记录已经接收的所述大数据对象的数据长度;
会话发起模块, 用于当所述接收过程发生中断后, 重新发起会话过程; 判断模块, 用于判断中断前后所述大数据对象是否发生改变, 如果没有 发生改变, 则通知所述发送设备发送所述大数据对象的剩余部分数据。
本发明实施例提供的一种大数据对象的传输系统, 包括发送设备和接收 设备, 其中,
所述发送设备, 用于以分块方式向接收设备传输一个大数据对象, 当所 述传输过程发生中断后, 重新发起会话过程并判断所述大数据对象在中断前 后是否发生变化, 如果没有发生变化, 则根据接收设备记录的已接收数据长 度, 将所述大数据对象的剩余部分数据发送给所述接收设备;
所述接收设备, 用于接收所述大数据对象, 并记录已经接收的所述大数 据对象的数据长度。
本发明实施例提供的另一种大数据对象的传输系统, 包括发送设备和接 收设备, 其中,
所述发送设备, 用于以分块方式向所述接收设备传输一个大数据对象; 当所述传输过程发生中断后, 根据所述接收设备的指示, 将所述大数据对象 的剩余部分数据发送给所述接收设备;
所述接收设备, 用于接收所述大数据对象, 并记录已经接收的所述大数 据对象的数据长度; 当所述传输过程发生中断后, 重新发起会话过程并判断 所述大数据对象在中断前后是否发生变化, 如果没有发生变化, 则根据已经 接收的所述大数据对象的数据长度, 指示所述发送设备对所述大数据对象的 剩余部分进行发送。
本发明的有益效果:
通过实施本发明的实施例, 可以在设备管理( DM )或数据同步( DS )的 会话流程中, 对发生传输中断的大数据对象进行续传, 从而可以节省无线资 源, 减少流量。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例中所需要 使用的附图作简单地介绍, 显然描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根 据这些附图获得其他的附图。
图 1为本发明实施例所应用的 OMADM架构;
图 2为本发明实施例中会话建立阶段的流程;
图 3为本发明实施例管理会话阶段的流程;
图 4 为本发明实施例 SyncML客户端和服务器同步时消息交互的情况; 图 5为本发明实施例提供的一种方法流程图;
图 6为本发明实施例提供的另一种方法流程图;
图 7为本发明实施例提供的一种具体方法流程图;
图 8为本发明实施例的 MO中新增的数结构示意图;
图 9为本发明实施例中的 MO的结构示意图;
图 10为本发明实施例中发送设备组成示意图;
图 11为本发明实施例中接收设备组成示意图;
图 12为本发明实施例的系统组成示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然所描述的实施例仅仅是本发明一部分实施例, 而不 是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员所获得的所 有其他实施例, 都属于本发明保护的范围。
附图 1为本发明实施例所应用的 OMA DM架构。 其中, 终端设备 100上的 DM代理(DM Agent ) 101 , 用于解释和执行 DM服务器(DM Server ) 200下发的管理命令。 终端设备上存储的 DM管理 树 102可以被认为是一个 DM服务器 200通过 DM协议对终端设备进行管理 的接口,其中包括一些基本管理对象(Management Object, MO );所述 DM服 务器 200通过对 DM管理树 102上的管理对象进行操作, 从而达到控制终端 管理对象的目的。 操作命令包括获取(Get )、 替换(Replace ), 执行(Exec )、 复制 (Copy )、 删除(Delete )等。
DM管理树、 管理对象是由节点组成的, 例如根节点、 内部节点和叶子节 点, 节点有属于自己的框架 ( Framework )属性。 一个节点的 Framework属性 包括访问类型( AccessType )、默认值( DefaultValue )、 出现次数( Occurrence )、 节点类型 (DFType )等, 用于标识一个节点的特征。 其中 DFType对于叶子 节点来说描述其通用因特网邮件扩展 ( Multipurpose Internet Mail Extensions , MIME )类型, 而对于内部节点来说描述其管理对象标识 (MOI )或为空值。
另外, 在管理树中还存在着一类未命名的节点, 起到占位符的作用, 当 服务器或终端对它进行实例化时, 它才会被命名, 这类节点叫做 X节点。
OMA DM技术一般包括两个阶段, 其中第一个阶段称为初始化或引导 ( Bootstrap ), 该阶段使一个设备从没有参数配置的空状态转换到可以向 DM 服务器发起管理会话的状态。 已经被 Bootstrap 的终端还可以进一步被 Bootstrap, 以使该设备可以向新的 DM服务器发起会话。 除了基本的连接信 息外, 设备和用户应用设置信息也可以在 Bootstrap过程中进行配置。
DM的第二个阶段即为管理阶段,在此阶段服务器就可以对终端设备进行 管理或信息的供应 ( Provisioning )。 DM管理阶段又可以分为两个阶段: 会话 建立阶段和管理会话阶段, 其中会话建立阶段的流程如图 2所示, 其中, 数 据包 0携带了服务器发起的通知消息; 数据包 1为终端发送的初始化包, 其 中包括了认证信息和设备信息; 数据包 2 为服务器发送的初始化包, 其中包 括了认证信息、 初始管理操作或用户交互命令。 管理会话阶段的流程如图 3 所示, 其中, 数据包 3用于对上一步服务器下发指令的响应; 数据包 4用于 结束会话或者下发其他指令。
现代社会是信息社会。 用户可以随时随地进行信息的接收和发送, 可以 随时随地用一台手持设备执行设备中的应用程序。 而这种数据交互和执行应 用程序的结果需要存储到手持设备中, 也需要与其他数据设备中这种类型的 数据保持一致。 比如, 在手机中和个人数字助理 (Personal Digital Assistant, PDA)中都存有通讯录, 在办公室和家里的 PC机或者笔记本也都存有相同的 通讯录, 人们希望这些设备中的信息能保持一致, 当其中一个设备上的数据 变化时, 可以操作其他设备中的数据做相应的改变, 这就是数据同步。
通用同步协议的目标是普遍适用。 同步两端可以是任何一种类型的网络 设备, 在任一种网络上面, 同步操作的数据可以是任何一种网络数据。 任一 种移动设备包括掌上电脑、 PDA、 移动电话、 自动计算机和桌面计算机。 同 时一个用户可以通过不同的设备进行访问、 操作同样的数据集合。 SYNCML 同步协议就是为了实现这个目标而应运而生的一个新的通用标准, 它由 IBM、 Lotus , Motorola, Nokia, Palm Inc 等公司组织发起成立的数据同步论坛组 织—— SyncML发起制定的。 自 2000年 12月 SyncML 1.0发布以来, 已经有 近 700家的全球的公司宣布支持该协议。
SyncML同步协议是一套协议集, 它主要包括 4个部分: SyncML数据同 步协议的框架结构、 SyncML同步协议、 SyncML表示协议、 SyncML的传输 方式。 SyncML同步协议主要定义数据同步操作的会话过程中的数据流程, 同 步双方的握手过程,数据同步操作的类型等等; SyncML表示协议主要涉及同 步所支持的数据类型、 命令格式, 能够在各种网络传输的 SyncML消息格式; SyncML消息可以在任何一种有线和无线的网络连接上传输,在 SyncML协议 的传输绑定中, 定义了可以在基于超文本传输协议 Hyper-Text Transfer Protocol, HTTP(), 无线会话协议 (Wireless Session Portocol , WSP), 对象交 换协议 (Object Exchange Protocol , OBEX)三种协议的网络连接上传输的 SyncML包和消息, 这三种传输协议基本上涵盖了所有的远程和短程连接。 在 SyncML同步协议中定义了在 SyncML客户端和 SyncML服务器之间 消息的交互过程, 同时定义的数据同步类型包括双向同步, 客户端发起单向 同步, 服务器端发起单向同步及慢同步、 服务器通告同步等。 图 4 说明了 SyncML客户端和服务器同步时消息交互情况。 SyncML客户端可以发送包含 客户数据修改信息的 SyncML消息给 SyncML服务器, 服务器根据 SyncML 消息中的数据同步服务器中存储的数据, 把修改结果信息回应给 SyncML客 户端。
图 4中的 SyncML客户端和服务器定义如下:
SyncML客户端:是指包含了同步客户代理并首先把其修改信息发给服务 器的设备, 而且客户端必须能接收来自 SyncML服务器端的应答消息。 尽管 总是 SyncML客户端先发送修改信息, 但在某种情况下, 服务器端也要能发 起同步过程。 SyncML客户端通常可以是手机、 PC或 PDA设备。
SyncML服务器: 是指包含了同步服务代理和同步引擎的设备, 通常要等 待 SyncML客户端发起同步过程, 并把客户修改信息发送到服务器。 服务器 负责接收客户端的修改信息并进行同步分析。 如果传输层支持服务器端的命 令, SyncML服务器也可以主动发起同步过程。 一般的服务器设备或 PC都可 以成为 SyncML服务器。
指紋技术通过数据指紋可以实现对数据元素进行标识。 比如, 通过对某 个数据元素作摘要, 得到数据元素的数字指紋。 数字指紋可以只由终端产生, 也可以由双方产生。 指紋的用途是用于判别数据是否发生了变化。 因为若修 改了数据, 指紋就会不一致。 如果指紋一致, 表明数据没有改变, 如果指紋 不一样, 表明数据有修改。 这样, 通过比较指紋可以节省流量, 避免发送一 些不必要的数据。 而在本发明实施例中, 数字指紋可以用来进行断点续传。
本发明实施例提供的一种大数据对象的传输方法, 请参见图 5 所示, 包 括步骤: 步骤 501、在设备管理的会话过程中,发送设备以分块方式向接收设备传 输一个大数据对象;
步骤 502、 当所述传输过程发生中断后, 重新发起会话过程;
步骤 503、判断中断前后所述大数据对象是否发生改变, 如果没有发生改 变, 则发送设备根据所述接收设备记录的已接收数据长度, 将所述大数据对 象的剩余部分数据发送给所述接收设备。
其中, 步骤 502 中, 当所述传输过程发生中断后, 可以由发送设备重新 发起会话过程, 也可以由接收设备重新发起会话过程。
其中, 步骤 503 中, 可以由发送设备判断中断前后所述大数据对象是否 发生改变; 也可以由接收设备判断中断前后所述大数据对象是否发生改变。 在判断中断前后所述大数据对象是否发生改变时, 可以根据所述大数据对象 的数字指紋进行判断, 也可以根据所述大数据对象在中断前后的文件长度进 行判断。
本发明实施例提供的另一种大数据对象的传输方法, 请参见图 6 所示, 包括步骤:
步骤 601、在设备管理的会话过程中,接收设备以分块方式接收来自发送 设备的一个大数据对象;
步骤 602、 接收设备记录已经接收的所述大数据对象的数据长度; 步骤 603、 当所述传输过程发生中断后, 重新发起会话过程, 判断中断前 后所述大数据对象是否发生改变, 如果没有发生改变, 则接收设备根据已经 接收的所述大数据对象的数据长度, 指示所述发送设备对所述大数据对象的 剩余部分进行发送。
其中, 步骤 603 中, 当所述传输过程发生中断后, 可以由发送设备重新 发起会话过程, 也可以由接收设备重新发起会话过程。 在判断中断前后所述 大数据对象是否发生改变时, 可以由发送设备判断中断前后所述大数据对象 是否发生改变; 也可以由接收设备判断中断前后所述大数据对象是否发生改 变。 而且, 在判断中断前后所述大数据对象是否发生改变时, 可以根据所述 大数据对象的数字指紋进行判断, 也可以根据所述大数据对象在中断前后的 文件长度进行判断。
下边具体描述所述方法实施例, 请参见图 7所示, 具体包括如下过程: 步骤 701、发送设备以分块方式向接收设备发送一个大数据对象, 其中在 发送第一个分块时, 将所述大数据对象的数字指紋发送给所述接收设备; 步骤 702、接收设备接收所述大数据对象的数据分块, 在存储所述数据分 块的同时, 记录数据指紋和已经接收到的数据长度;
步骤 703、 所述传输过程中断, 所述接收设备或者发送设备重新发起会话 过程; 所述发送设备或接收设备判断所述大数据对象在中断前后, 数字指紋 是否一致;
步骤 704, 如果所述大数据对象的数字指紋在中断前后一致, 说明中断前 后所述大数据对象在所述发送设备上没有发生变化, 所述发送设备根据所述 接收设备已经接收的数据长度, 将所述大数据对象的剩余部分数据发送给所 述接收设备;
步骤 705 , 如果所述大数据对象的数字指紋在中断前后不一致, 则说明所 述大数据对象已经发生了变化, 所述发送设备需要重新发送整个大数据对象。
在所述步骤 701 中, 所述发送设备在发送所述大数据对象时, 需要先对 所述大数据对象进行分块, 以满足信息包的容量限制, 并且针对该数据对象 生成相应的数字指紋, 用于判断所述大数据对象在中断前后是否发生变化, 这时发送的所述大数据对象的第一个数据分块的信息包可以为如下格式: <Command>
<Meta>
<Size>...</Size>
<Fingerprint>...</Fingerprint>
</Meta>
<Item>
<Data>...</Data> <MoreData/>
</Item>
</Command>
其中, 所述 size 字段用来标记所述大数据对象的数据长度; 所述 Fingerprint字段用来标记所述大数据对象的数字指紋, 这个字段为可选项, 是 否发送所述大数据对象的数字指紋由所述发送设备决定, 因为即使不发送数 字指紋, 也可以根据所述大数据对象的数据长度判断所述大数据对象在传输 中断的前后是否发生了变化。 在所述步骤 702 中, 接收设备接收所述大数据对象的数据分块后, 可以 保存一个标识 RLength, 是整型数据, 用来记录所述大数据对象当前已经接收 到的数据长度。 该值的 Schema格式可以类似于:
<xs: element name ="RLength" type ="xs:int" minOccurs="0" />
该标识与已经接收的数据部分, 数字指紋以及 size元素, 都可以保存于 管理对象(Management Object, MO )中, 这时 MO中新增的树结构可以参见 图 8所示, 其中各节点含义如下:
<x>/Temp
Figure imgf000012_0001
该节点用于暂存数据对象的已接收内容。
<x>/Size
Figure imgf000012_0002
该节点用于保存数据对象的总长度 t
<x>/Rlength
Figure imgf000012_0003
节点用于保存数据对象已接收部分的数据长度。
<x>/Fingerprint
Figure imgf000012_0004
该节点用于保存数据对象的数字指紋。
在所述步骤 703中, 可以分为如下两种情况: 1、 如果是接收设备重新发起会话流程, 那么接收设备可以主动向发送设 备上报保存的数字指紋和已经接收的数据长度, 发送设备接收到以后, 与所 述数据对象的最新的数字指紋进行比对, 如果一致, 则表明中断前后, 所述 大数据对象没有发生变化, 则发送设备可以根据所述已经接收的数据长度, 将所述大数据对象的剩余部分数据发送给所述接收设备; 如果不一致, 则表 明所述大数据对象在中断前后发生了变化。
2、 如果是发送设备重新发起会话流程, 那么发送设备可以将所述数据对 象的最新的数字指紋发给接收设备, 接收设备收到后, 将其与自己保存的数 字指紋进行比对, 如果一致, 就把已经接收的数据长度上报给所述发送设备, 则发送设备根据该数据长度, 将剩余部分的数据发送给所述接收设备; 如果 不一致, 则表明所述大数据对象在中断前后发生了变化。 下边按照中断前后大数据对象是否发生变化, 分两个场景进行描述。 场景一: 中断前后大数据对象发生变化的情况
假定现在有一台终端设备(接收设备) 与服务器 (发送设备)之间建立 了一个设备管理会话, 其中每个信息包最大的大小规定不能超过 3000字节, 现在服务器要下发一个屏保文件: Flower.jpg ( 12780字节)给所述终端设备, 由于文件尺寸大于信息包的最大尺寸,因此服务器需要把 Flower.jpg文件分为 7个数据块, 每个数据块 2000字节, 同时根据哈希 (HASH ) 算法为该文件 生成一个数字指紋: 0xAlE43111B77566FD, 那么服务器所发送的包含第一个 数据块的信息包格式可以如下所示:
<Add>
<Meta>
<Type>application/vnd.omads-file+xml</Type>
<Size>12780</Size>
<Version>20050909T094007Z</Version>
</Meta>
<Item>
<Target>
<LocURI>Flower.jpg</LocURI>
</Target>
<Fingerprint> 0xAlE43111B77566FD </Fingerprint> <Data>
<!—第一个数据块 ― >
</Data>
<MoreData/>
</Item>
</Add>
所述终端设备收到所述信息包后, 可以把相应的数据暂存于 MO中, MO 结构可以如图 9所示。
随着陆续接收到后续的数据块, 所述 MO中的 Temp和 Rlength两个节点 的值也会相应发生变化。 H没已经收到 4个数据块, 这时 Rlength=8000。 此 时传输中断了。 中断期间服务器上的 Flower.jpg文件发生了变化, 长度变为: 13005字节, 数字指紋变为 0x81E431FlB7056923。
然后由服务器重新发起新的会话, 这时可以分为两种情况来处理: ( 1 )服务器发送新的数字指紋给终端设备, 终端设备收到后通过比对发 现中断前后的数字指紋不一致, 也就是说明所述数据对象发生了变化, 因此 终端设备不发送 Rlength, 而是要求服务器重新发送整个数据对象, 而 MO中 的数据也会清空。 这时服务器将会重复原来的发送流程, 对数据对象重新分 块并逐个传输。 或者:
( 2 )服务器发送新的文件长度给终端设备, 终端设备收到后与原来储存 的文件长度比对, 发现数据对象在中断前后发生了变化, 因此终端设备不发 送 Rlength, 而是要求服务器重新发送整个数据对象, 而 MO中的数据也会清 空。 这时服务器将会重复原来的发送流程, 对数据对象重新分块并逐个传输。
当然, 在中断前后数据对象发生变化的场景下, 也可以由客户端终端设 备主动发起新的会话, 主动上报保存的数字指紋和已接收长度 Rlength = 8000 给服务器, 服务器收到后, 与最新的数字指紋或者文件长度进行比对, 发现 不一致, 说明所述数据对象发生了变化, 这时服务器将重新发送整个数据对 象, 而 MO中的数据也会清空。 这时服务器将会重复原来的发送流程, 对数 据对象重新分块并逐个传输。
场景二: 中断前后数据对象没有发生变化。 前提条件同上述场景一的描述。不过中断期间服务器上的 Flower.jpg文件 没有变化。
然后客户端终端设备主动发起新的会话, 这时也可分为两种情况来处理:
( 1 )客户端设备主动上报保存的数字指紋和已接收长度 Rlength = 8000 给服务器, 服务器收到后, 与最新的数字指紋进行比对, 发现一致, 于是服 务器就把剩余的 4780字节发送给终端设备, 终端设备收到后续 3个数据块后 就可以把所有数据块重新组装在一起, 并提交, 相应 MO中的数据也会被清 空。 或者,
( 2 )客户端设备主动上报保存的文件长度和已接收长度 Rlength = 8000 给服务器, 服务器收到后, 与最新的文件长度进行比对, 发现一致, 于是服 务器就把剩余的 4780字节发送给终端设备, 终端设备收到后续 3个数据块后 就可以把所有数据块重新组装在一起, 并提交, 相应 MO中的数据也会被清 空。
当然, 在中断前后数据对象没有发生变化的场景下, 也可以由服务器重 新发起新的会话, 向终端设备发送新的数字指紋或者新的文件长度, 由终端 设备收到后与原来保存的数字指紋或者文件长度进行比对, 发现一致, 要求 服务器把剩余的 4780字节发送给终端设备, 终端设备收到后续 3个数据块后 就可以把所有数据块重新组装在一起, 并提交, 相应 MO中的数据也会被清 空。
基于上述方法实施例, 本发明实施例还提供了一种发送设备, 参见图 10, 可以包括:
发送模块 11 , 用于以分块方式向接收设备传输一个大数据对象; 会话发起模块 12, 用于当所述传输过程发生中断后, 重新发起会话过程; 判断模块 13, 用于判断中断前后所述大数据对象是否发生改变, 如果没 有发生改变, 则指示所述发送模块, 根据接收设备记录的已接收数据长度, 将所述大数据对象的剩余部分数据发送给所述接收设备。 参见图 11 , 本发明实施例还提供了一种接收设备, 可以包括: 接收模块 16 , 用于以分块方式接收来自发送设备的一个大数据对象; 存储模块 17 , 用于记录已经接收的所述大数据对象的数据长度; 会话发起模块 18, 用于当所述接收过程发生中断后, 重新发起会话过程; 判断模块 19, 用于判断中断前后所述大数据对象是否发生改变, 如果没 有发生改变, 则通知所述发送设备发送所述大数据对象的剩余部分数据。
参见图 12 , 本发明实施例提供了一种大数据对象的传输系统, 包括发送 设备 800和接收设备 900 , 其中,
所述发送设备 800 , 用于以分块方式向所述接收设备传输一个大数据对 象; 当所述传输过程发生中断后, 根据所述接收设备的指示, 将所述大数据 对象的剩余部分数据发送给所述接收设备;
所述接收设备 900, 用于接收所述大数据对象, 并记录已经接收的所述大 数据对象的数据长度; 当所述传输过程发生中断后, 重新发起会话过程并判 断所述大数据对象在中断前后是否发生变化, 如果没有发生变化, 则根据已 经接收的所述大数据对象的数据长度, 指示所述发送设备对所述大数据对象 的剩余部分进行发送。
或者,
所述发送设备 800, 用于以分块方式向接收设备传输一个大数据对象, 当 所述传输过程发生中断后, 重新发起会话过程并判断所述大数据对象在中断 前后是否发生变化, 如果没有发生变化, 则根据接收设备记录的已接收数据 长度, 将所述大数据对象的剩余部分数据发送给所述接收设备;
所述接收设备 900, 用于接收所述大数据对象, 并记录已经接收的所述大 数据对象的数据长度。
通过实施本发明的实施例, 可以在数据同步 (DS ) 的会话流程中, 对发 生传输中断的大数据对象进行续传, 从而可以节省无线资源, 减少流量。
需要说明的是, 本领域普通技术人员可以理解实现上述实施例方法中的 全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 该的程 序可存储于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各 方法的实施例的流程。 其中, 该的存储介质可为磁碟、 光盘、 只读存储记忆
RAM )等。
以上是对本发明具体实施例的说明, 在具体的实施过程中可对本发明的 方法进行适当的改进, 以适应具体情况的具体需要。 因此可以理解, 根据本 发明的具体实施方式只是起示范作用, 并不用以限制本发明的保护范围。

Claims

权 利 要 求 书
1、 一种大数据对象的传输方法, 其特征在于, 包括:
在设备管理的会话过程中, 发送设备以分块方式向接收设备传输一个大数 据对象;
当所述传输过程发生中断后, 重新发起会话过程;
判断中断前后所述大数据对象是否发生改变, 如果没有发生改变, 则发送 设备根据所述接收设备记录的已接收数据长度, 将所述大数据对象的剩余部分 数据发送给所述接收设备。
2、 如权利要求 1所述的传输方法, 其特征在于, 当所述传输过程发生中断 后, 所述判断中断前后所述大数据对象是否发生改变之前, 所述方法还包括: 接收所述接收设备发送的存储的所述大数据对象的数字指紋及所述已接收 数据长度;
所述判断中断前后所述大数据对象是否发生改变具体为:
发送设备根据所述存储的所述大数据对象的数字指紋与最新的所述大数据 对象的数字指紋是否一致, 判断中断前后所述大数据对象是否发生改变; 若一 致, 则所述大数据对象未发生改变, 反之, 所述大数据对象发生改变。
3、 如权利要求 1所述的传输方法, 其特征在于, 当所述传输过程发生中断 后, 所述判断中断前后所述大数据对象是否发生改变之前, 所述方法还包括: 接收所述接收设备发送的存储的所述大数据对象的数据长度及所述已接收 数据长度;
所述判断中断前后所述大数据对象是否发生改变具体为:
发送设备根据所述存储的所述大数据对象的数据长度与最新的所述大数据 对象的数据长度是否一致, 判断中断前后所述大数据对象是否发生改变; 若一 致, 则所述大数据对象未发生改变, 反之, 所述大数据对象发生改变。
4、 一种大数据对象的传输方法, 其特征在于, 包括: 在设备管理的会话过程中, 接收设备以分块方式接收来自发送设备的一个 大数据对象;
接收设备记录已经接收的所述大数据对象的数据长度;
当所述接收过程发生中断后, 重新发起会话过程;
判断中断前后所述大数据对象是否发生改变, 如果没有发生改变, 则接收 设备根据已经接收的所述大数据对象的数据长度, 指示所述发送设备发送所述 大数据对象的剩余部分数据。
5、 如权利要求 4所述的传输方法, 其特征在于, 在所述传输过程发生中断 之前, 所述方法还包括:
存储所述发送设备发送的所述大数据对象的数字指紋;
当所述传输过程发生中断后, 所述判断中断前后所述大数据对象是否发生 改变之前, 所述方法还包括:
接收所述发送设备发送的最新的所述大数据对象的数字指紋;
所述判断中断前后所述大数据对象是否发生改变具体为:
根据所述存储的所述大数据对象的数字指紋与最新的所述大数据对象的数 字指紋是否一致, 判断中断前后所述大数据对象是否发生改变; 若一致, 则所 述大数据对象未发生改变, 反之, 所述大数据对象发生改变。
6、 如权利要求 4所述的传输方法, 其特征在于, 在所述传输过程发生中断 之前, 所述方法还包括:
存储所述发送设备发送的所述大数据对象的数据长度;
当所述传输过程发生中断后, 所述判断中断前后所述大数据对象是否发生 改变之前, 所述方法还包括:
接收所述发送设备发送的最新的所述大数据对象的数据长度;
所述判断中断前后所述大数据对象是否发生改变具体为:
根据所述存储的所述大数据对象的数据长度与最新的所述大数据对象的数 据长度是否一致, 判断中断前后所述大数据对象是否发生改变; 若一致, 则所 述大数据对象未发生改变, 反之, 所述大数据对象发生改变。
7、 一种发送设备, 其特征在于, 包括:
发送模块, 用于以分块方式向接收设备传输一个大数据对象;
会话发起模块, 用于当所述传输过程发生中断后, 重新发起会话过程; 判断模块, 用于判断中断前后所述大数据对象是否发生改变,如果没有发生 改变, 则指示所述发送模块, 根据接收设备记录的已接收数据长度, 将所述大 数据对象的剩余部分数据发送给所述接收设备。
8、 一种接收设备, 其特征在于, 包括:
接收模块, 用于以分块方式接收来自发送设备的一个大数据对象; 存储模块, 用于记录已经接收的所述大数据对象的数据长度;
会话发起模块, 用于当所述接收过程发生中断后, 重新发起会话过程; 判断模块, 用于判断中断前后所述大数据对象是否发生改变, 如果没有发 生改变, 则指示所述发送设备发送所述大数据对象的剩余部分数据。
9、 一种大数据对象的传输系统, 其特征在于, 包括发送设备和接收设备, 其中,
所述发送设备, 用于以分块方式向接收设备传输一个大数据对象, 当所述 传输过程发生中断后, 重新发起会话过程并判断所述大数据对象在中断前后是 否发生变化, 如果没有发生变化, 则根据接收设备记录的已接收数据长度, 将 所述大数据对象的剩余部分数据发送给所述接收设备;
所述接收设备, 用于接收所述大数据对象, 并记录所述大数据对象的所述 已接收数据长度。
10、 一种大数据对象的传输系统, 其特征在于, 包括发送设备和接收设备, 其中,
所述发送设备, 用于以分块方式向所述接收设备传输一个大数据对象; 当 所述传输过程发生中断后, 根据所述接收设备的指示, 将所述大数据对象的剩 余部分数据发送给所述接收设备; 所述接收设备, 用于以分块方式接收所述大数据对象, 并记录已经接收的 所述大数据对象的数据长度; 当所述传输过程发生中断后, 重新发起会话过程 并判断所述大数据对象在中断前后是否发生变化, 如果没有发生变化, 则根据 已经接收的所述大数据对象的数据长度, 向所述发送设备发送所述指示。
PCT/CN2009/073500 2008-09-11 2009-08-25 大数据对象的传输方法、传输系统及发送设备和接收设备 WO2010028571A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810216201 CN101674263A (zh) 2008-09-11 2008-09-11 大数据对象的传输方法、传输系统及发送设备和接收设备
CN200810216201.X 2008-09-11

Publications (1)

Publication Number Publication Date
WO2010028571A1 true WO2010028571A1 (zh) 2010-03-18

Family

ID=42004797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073500 WO2010028571A1 (zh) 2008-09-11 2009-08-25 大数据对象的传输方法、传输系统及发送设备和接收设备

Country Status (2)

Country Link
CN (1) CN101674263A (zh)
WO (1) WO2010028571A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363271A (zh) * 2014-10-28 2015-02-18 广东欧珀移动通信有限公司 文件断点续传方法及装置

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986659B (zh) * 2010-10-27 2014-04-16 青岛普加智能信息有限公司 数据实时传输的方法及系统
CN102456052B (zh) * 2010-11-02 2013-04-10 江苏大学 一种嵌入式设备与数据库数据同步方法
CN102801754A (zh) * 2011-05-24 2012-11-28 英业达集团(天津)电子技术有限公司 一种断点续传的方法及系统
CN103684712B (zh) * 2012-09-14 2017-04-05 百度在线网络技术(北京)有限公司 文件快速恢复重传的方法、装置及网盘
CN103401767B (zh) * 2013-08-19 2016-08-31 北京时代亿信科技股份有限公司 邮件附件处理方法及装置
CN103516790A (zh) * 2013-09-16 2014-01-15 北京电视台 从办公网到生产网的音视频文件传输方法和系统
CN103516789B (zh) * 2013-09-16 2019-04-26 北京电视台 从办公网到生产网的传输数据的管理方法和系统
CN105100133A (zh) * 2014-04-25 2015-11-25 广州市动景计算机科技有限公司 资源下载方法及装置
CN104243202A (zh) * 2014-08-25 2014-12-24 中兴通讯股份有限公司 参数配置的数据处理方法、装置及参数配置方法、装置
CN105338090A (zh) * 2015-11-12 2016-02-17 浪潮软件集团有限公司 一种基于WebSocket的断点续传方法及装置
CN113068177B (zh) * 2021-03-23 2023-01-10 中国联合网络通信集团有限公司 数据传输控制方法、装置及终端设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124415A1 (en) * 2005-11-29 2007-05-31 Etai Lev-Ran Method and apparatus for reducing network traffic over low bandwidth links
CN101064910A (zh) * 2006-04-24 2007-10-31 维豪信息技术有限公司 一种基于呼叫控制的端对端断点续传方法
CN101179393A (zh) * 2006-12-14 2008-05-14 腾讯科技(深圳)有限公司 一种实现文件断点续传的方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124415A1 (en) * 2005-11-29 2007-05-31 Etai Lev-Ran Method and apparatus for reducing network traffic over low bandwidth links
CN101064910A (zh) * 2006-04-24 2007-10-31 维豪信息技术有限公司 一种基于呼叫控制的端对端断点续传方法
CN101179393A (zh) * 2006-12-14 2008-05-14 腾讯科技(深圳)有限公司 一种实现文件断点续传的方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363271A (zh) * 2014-10-28 2015-02-18 广东欧珀移动通信有限公司 文件断点续传方法及装置
CN104363271B (zh) * 2014-10-28 2018-01-16 广东欧珀移动通信有限公司 文件断点续传方法及装置

Also Published As

Publication number Publication date
CN101674263A (zh) 2010-03-17

Similar Documents

Publication Publication Date Title
WO2010028571A1 (zh) 大数据对象的传输方法、传输系统及发送设备和接收设备
RU2390952C2 (ru) Определение узлов управления в системе управления устройством
US7570668B2 (en) Data synchronization
US8073432B2 (en) Data synchronization
US20060190608A1 (en) Method for the obtaining of deployment components to electronic devices
US11102017B2 (en) Robust event handling in an electronic subscriber identity module (eSIM) notification service
WO2007112673A1 (en) The method of device capability information negotiation, the method, system and device of synchronization
JP2006314135A (ja) マルチメディア・メッセージ・サービス実施方法、マルチメディア・メッセージ・システム、マルチメディア・メッセージ・システムのサーバ、およびマルチメディア端末
WO2007003103A1 (en) A method for sharing data and a method for recovering the backup data
CN1565101A (zh) 在服务器的请求消息具有最大长度的同步系统中由服务器发起同步的方法
WO2008040224A1 (fr) Procédé, système et appareil de synchronisation de données
JP4923155B2 (ja) コンテンツの送受信の停止及び再開方法
WO2008144992A1 (fr) Procédé et dispositif pour traiter un message de notification
WO2009076866A1 (zh) 一种远程控制终端的方法、系统和装置
MX2007001440A (es) Metodo para transmitir datos de alta o de baja especificos de la aplicacion y sistema, servidor, y terminal de comunicacion para el mismo.____________________________________________________.
US7734728B2 (en) Addressing a management object
CN110771117B (zh) 一种采用面向id的网络的会话层通信
US8745270B2 (en) Communication device and method of handling large object in device management
WO2010124571A1 (zh) 节点信息获取方法、客户端、服务器
WO2017185368A1 (zh) 一种信令传输方法和设备
WO2013017020A1 (zh) 对可执行节点的操作方法及系统
WO2010124567A1 (zh) 大对象传输方法、服务器
CN113420001B (zh) 数据共享方法及边缘计算设备
WO2022165787A1 (zh) 参数配置方法、装置、设备及存储介质
Lakshmeshwar et al. Suspend and Resume Feature for OMA DM Large Object Delivery

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: 09812637

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09812637

Country of ref document: EP

Kind code of ref document: A1