WO2014176970A1 - Data synchronization method and digital media server - Google Patents

Data synchronization method and digital media server Download PDF

Info

Publication number
WO2014176970A1
WO2014176970A1 PCT/CN2014/075363 CN2014075363W WO2014176970A1 WO 2014176970 A1 WO2014176970 A1 WO 2014176970A1 CN 2014075363 W CN2014075363 W CN 2014075363W WO 2014176970 A1 WO2014176970 A1 WO 2014176970A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital media
synchronization
data
type
data operation
Prior art date
Application number
PCT/CN2014/075363
Other languages
French (fr)
Chinese (zh)
Inventor
张亮
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014176970A1 publication Critical patent/WO2014176970A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44231Monitoring of peripheral device or external card, e.g. to detect processing problems in a handheld device or the failure of an external recording device

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data synchronization method and a digital media server. Background technique
  • DLNA DIGITAL LIVING NETWORK ALLIANCE
  • DLNA technology is a relatively new business.
  • Products supporting DLNA standards such as TVs, stereos, set-top boxes, mobile phones, tablets (tablets), PCs (personal computers) and other home appliances, can be easily connected via wired or wireless networks. Interoperability and high resource sharing. For the user, there is no need to make complicated settings.
  • UPnP Universal Plug and Play
  • UPnP Universal Plug and Play
  • DLNA Universal Plug and Play
  • UPnP is the core part of the DLNA network protocol suite designed for ease of use. It is the most common way for devices to connect to DLNA networks. It is a common device for devices to communicate over DLNA networks. protocol.
  • UPnP is built on widely accepted and commonly used Internet protocols, and devices from different vendors can work together very easily, enabling content sharing and computing "anytime, anywhere.”
  • UPnP defines the interoperability mechanism between DLNA network devices in terms of addressing, searching, controlling, event, and performance.
  • Multi-screen is seriously out of sync with the data display on the same DMS, that is, when a device pair
  • Embodiments of the present invention provide a data synchronization method and a digital media server to implement real-time synchronization of multi-screen data.
  • An embodiment of the present invention provides a data synchronization method, including:
  • the foregoing method further has the following features: after receiving the data operation requested by the digital media receiver, the method further includes:
  • the address of the digital media receiver and the type of the data operation are recorded in a preset operational correspondence table.
  • the foregoing method further has the following features: determining, according to the type of the data operation, whether to initiate a synchronization operation to another digital media receiver, including:
  • Querying a preset operation classification table according to the type of the data operation If the type corresponding to the type of the data operation is that synchronization is required, a synchronization operation is initiated to another digital media receiver, such as querying the data operation. The nature of the type corresponds to no synchronization, and no synchronization operation is initiated to other digital media receivers.
  • the above method has the following features:
  • the corresponding types of data operations that require synchronization include: addition, deletion, and modification.
  • the embodiment of the invention further provides a digital media server, which includes:
  • a receiving module configured to receive a data operation requested by the digital media receiver; and a synchronization processing module configured to determine whether to initiate a synchronization operation to the other digital media receivers based on the type of the data operation.
  • the foregoing digital media server further has the following features:
  • a recording module configured to record an address of the digital media receiver and a type of the data operation in a preset operation correspondence table.
  • the above digital media server further has the following features:
  • the synchronization processing module is configured to query a preset operation classification table according to the type of the data operation. If the type corresponding to the type of the data operation is queried to require synchronization, a synchronization operation is initiated to another digital media receiver. If the nature of the type of data operation queried is that synchronization is not required, no synchronization operation is initiated to other digital media receivers.
  • the above digital media server further has the following features:
  • the corresponding nature of the synchronization processing module query is the type of data operation that needs to be synchronized, including: adding, deleting, and modifying.
  • the embodiment of the present invention provides a data synchronization method and a digital media server, which can solve the problem that the multi-screen shared DMS data display cannot be synchronized in real time in the home DLNA device interconnection environment, and realize real-time synchronization of multi-screen data.
  • FIG. 1 is a flowchart of a method for data processing according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a DMS according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for data processing according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • Step 11 The DMS receives the data operation requested by the DMR.
  • Step 12 Determine, according to the type of the data operation, whether to initiate a synchronization operation to another DMR.
  • multi-screen real-time synchronization update data can be realized.
  • Step 101 When the DMS is started, the DMS operation classification table and the DMR operation correspondence table are initialized, wherein the initial record of the DMR operation correspondence table is empty, and the record is added only after the DMR performs the actual operation, and the actual operations may include: Types such as deletion, modification, query, and check judgment; DMS operation classification table initialization includes the types of operations that can be supported on the DMS and the nature of the operation types.
  • the types of operations that can be supported on the DMS include: types such as: add, delete, modify, query, and check; the nature of the type of operation, that is, whether the operation requires DMS real-time synchronization update.
  • Table 1 is a DMS operation correspondence table. As shown in Table 1, the DMR records the operation record of a certain data type on the DMS on the DMS. Only when the DMR successfully operates the data on the DMS increases the operation record of the DMR. The operation record of the DMR is added, and when the DMR device is offline, the operation record of the DMR device is deleted.
  • Table 2 shows the operation classification table.
  • the DMS classifies the data services provided by the DMS, records the types of operations that can be performed by the same type of data, and this type of operation requires the DMS to synchronously notify other DMR devices, such as adding, deleting, and modifying.
  • the operation requires DMS real-time synchronization to notify other DMR devices, and the query, check and judgment operations do not require DMS real-time synchronization to notify other DMR devices.
  • Step 102 When the DMR requests a data operation from the DMS, and the DMS checks that it can provide a service to the DMR, the response to the DMR is successful. If the DMR operation request cannot be satisfied, the response to the DMR fails.
  • Step 103 If the DMS responds successfully to the requested DMR, add an operation record to the DMR operation correspondence table, record the address of the DMR, the data type of the operation, and the operation type.
  • Step 104 After recording the DMR operation correspondence table, the DMS needs to query its own operation classification table to confirm whether the DMR operation needs to initiate a DMR real-time data synchronization update operation. If the DMR operation is a query and check. Type, you do not need to initiate real-time data synchronization update operation; otherwise, if the DMR operation is an operation such as adding, deleting, modifying, etc., it is necessary to initiate a real-time data synchronization update operation.
  • Step 105 If a real-time synchronous update operation needs to be initiated, the DMS needs to query the DMR operation correspondence table, query the record with the same data type as the current processing, and find other multi-screen DMR addresses, where the multi-screen DMR refers to multiple terminals or multiple Client
  • the DMR operation record is recorded in the DMR operation correspondence table, but this operation record may record the user-operated collection data, and may also record the user-played play bookmark record data, and may also record the user operation.
  • the synchronous update operation is corresponding to the same type of data. For example, if a user operates the play record record data, it needs to notify other users to play the bookmark data and needs to be updated, and if other users have not operated the bookmark data yet, This user notification.
  • Step 106 The DMS sends an event notification DMR update data according to the queried DMR address
  • Step 107 The multi-screen DMR receives the data update notification, and updates the display of the data according to the actual page display.
  • FIG. 2 is a schematic diagram of a DMS according to an embodiment of the present invention. As shown in FIG. 2, the DMS of this embodiment includes:
  • the synchronization processing module 22 is configured to determine whether to initiate a synchronization operation to other digital media receivers based on the type of data operation.
  • the DMS further includes:
  • the recording module 23 is arranged to record the address of the digital media receiver and the type of the data operation in a preset operational correspondence table.
  • the synchronization processing module is configured to query a preset operation classification table according to the type of the data operation. If the type corresponding to the type of the data operation is queried to be synchronized, the synchronization is initiated to other digital media receivers. Operation, otherwise no synchronization is initiated to other digital media receivers.
  • the type of the data operation queried by the synchronization processing module is a type of data operation to be synchronized, including: adding, deleting, and modifying.
  • the embodiment of the invention provides a data synchronization method and a digital media server, which can solve the problem that the multi-screen shared DMS data display cannot be synchronized in real time in the current home DLNA device interconnection environment, and realize real-time synchronization of multi-screen data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A data synchronization method and a digital media server. The method comprises: receiving a data operation requested by a digital media receiver; and according to the type of the data operation, determining whether to initiate a synchronization operation to other digital media receivers or not.

Description

一种数据同步的方法及数字媒体服务器  Data synchronization method and digital media server
技术领域 Technical field
本发明涉及通讯技术领域, 特别涉及一种数据同步的方法及数字媒体服 务器。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a data synchronization method and a digital media server. Background technique
DLNA ( DIGITAL LIVING NETWORK ALLIANCE , 数字生活网络联盟) 其宗旨是任何地方、 任何时间享受音乐、 图片及视频。 目前, DLNA技术是 一个较为崭新的业务, 支持 DLNA标准的产品, 如电视、 音响、 机顶盒、 手 机、 Pad (平板电脑) 、 PC (个人电脑)等家电产品, 可以通过有线或者无 线网络实现便捷的互联互通, 实现高度的资源共享。 而对于用户来说, 也不 需要进行复杂的设置。  DLNA (DIGITAL LIVING NETWORK ALLIANCE) is designed to enjoy music, pictures and videos anywhere, anytime. At present, DLNA technology is a relatively new business. Products supporting DLNA standards, such as TVs, stereos, set-top boxes, mobile phones, tablets (tablets), PCs (personal computers) and other home appliances, can be easily connected via wired or wireless networks. Interoperability and high resource sharing. For the user, there is no need to make complicated settings.
UPnP ( Universal Plug and Play, 即通用即插即用协议 )是面向易用性设 计的 DLNA网络协议集的核心部分,是设备连入 DLNA网络的最普通的方式, 是设备通过 DLNA网络通信的公共协议。 UPnP建立在被广泛接受和普通适 用的互联网协议之上, 来自不同厂商的设备非常容易就可以工作在一起, 从 而实现 "任何时间, 任何地点" 的内容共享和计算。 UPnP从设备的寻址、 查 找、 控制、 事件、 表现五个方面定义了 DLNA网络设备间互操作机制。  UPnP (Universal Plug and Play) is the core part of the DLNA network protocol suite designed for ease of use. It is the most common way for devices to connect to DLNA networks. It is a common device for devices to communicate over DLNA networks. protocol. UPnP is built on widely accepted and commonly used Internet protocols, and devices from different vendors can work together very easily, enabling content sharing and computing "anytime, anywhere." UPnP defines the interoperability mechanism between DLNA network devices in terms of addressing, searching, controlling, event, and performance.
目前家庭网络技术正在迅速发展, 从而增强和丰富了用户对多种多媒体 服务的体验。 尤其当一种设备作为 DMS ( Digital Media Server, 数字媒体服  Home network technology is rapidly evolving, enhancing and enriching the user experience with multiple multimedia services. Especially when a device is used as a DMS (Digital Media Server, Digital Media Service)
Media Receiver, 数字媒体接收器) , 共享同一设备上的数据展示。 Media Receiver, Digital Media Receiver), which shares data presentations on the same device.
但目前方案存在以下不足:  However, the current program has the following shortcomings:
多屏对于同一 DMS上数据展示的存在严重的不同步,也即当一个设备对 Multi-screen is seriously out of sync with the data display on the same DMS, that is, when a device pair
DMS上的数据进行修改、 增加、 删除等操作后, 不能立即在其他设备上同步 进行展示, 其他设备必须要重新刷新、 请求数据, 才能展示已经变化后的数 据内容。 发明内容 After the data on the DMS is modified, added, deleted, etc., it cannot be immediately synchronized on other devices. Other devices must refresh and request data to display the changed data content. Summary of the invention
本发明实施例提供一种数据同步的方法及数字媒体服务器, 以实现多屏 数据的实时同步。  Embodiments of the present invention provide a data synchronization method and a digital media server to implement real-time synchronization of multi-screen data.
本发明实施例提供了一种数据同步的方法, 包括:  An embodiment of the present invention provides a data synchronization method, including:
接收数字媒体接收器请求的数据操作; 以及  Receiving data operations requested by the digital media receiver;
根据所述数据操作的类型, 确定是否向其他数字媒体接收器发起同步操 作。  Based on the type of data operation, it is determined whether to initiate a synchronization operation to other digital media receivers.
可选地, 上述方法还具有下面特点: 所述接收数字媒体接收器请求的数 据操作后, 还包括:  Optionally, the foregoing method further has the following features: after receiving the data operation requested by the digital media receiver, the method further includes:
将所述数字媒体接收器的地址和所述数据操作的类型记录在预置的操作 对应关系表中。  The address of the digital media receiver and the type of the data operation are recorded in a preset operational correspondence table.
可选地, 上述方法还具有下面特点: 所述根据所述数据操作的类型, 确 定是否向其他数字媒体接收器发起同步操作, 包括:  Optionally, the foregoing method further has the following features: determining, according to the type of the data operation, whether to initiate a synchronization operation to another digital media receiver, including:
根据所述数据操作的类型查询预置的操作分类表, 如查询到所述数据操 作的类型对应的性质为需要同步, 则向其他数字媒体接收器发起同步操作, 如查询到所述数据操作的类型对应的性质为不需要同步, 则不向其他数字媒 体接收器发起同步操作。  Querying a preset operation classification table according to the type of the data operation. If the type corresponding to the type of the data operation is that synchronization is required, a synchronization operation is initiated to another digital media receiver, such as querying the data operation. The nature of the type corresponds to no synchronization, and no synchronization operation is initiated to other digital media receivers.
可选地, 上述方法还具有下面特点:  Optionally, the above method has the following features:
所述对应的性质为需要同步的数据操作的类型包括: 增加、删除和修改。 本发明实施例还提供了一种数字媒体服务器, 其中, 包括:  The corresponding types of data operations that require synchronization include: addition, deletion, and modification. The embodiment of the invention further provides a digital media server, which includes:
接收模块, 其设置成接收数字媒体接收器请求的数据操作; 以及 同步处理模块, 其设置成根据所述数据操作的类型, 确定是否向其他数 字媒体接收器发起同步操作。  a receiving module configured to receive a data operation requested by the digital media receiver; and a synchronization processing module configured to determine whether to initiate a synchronization operation to the other digital media receivers based on the type of the data operation.
可选地, 上述数字媒体服务器还具有下面特点: 还包括:  Optionally, the foregoing digital media server further has the following features:
记录模块, 其设置成将所述数字媒体接收器的地址和所述数据操作的类 型记录在预置的操作对应关系表中。 可选地, 上述数字媒体服务器还具有下面特点: And a recording module configured to record an address of the digital media receiver and a type of the data operation in a preset operation correspondence table. Optionally, the above digital media server further has the following features:
所述同步处理模块是设置成根据所述数据操作的类型查询预置的操作分 类表, 如查询到所述数据操作的类型对应的性质为需要同步, 则向其他数字 媒体接收器发起同步操作, 如查询到所述数据操作的类型对应的性质为不需 要同步, 则不向其他数字媒体接收器发起同步操作。  The synchronization processing module is configured to query a preset operation classification table according to the type of the data operation. If the type corresponding to the type of the data operation is queried to require synchronization, a synchronization operation is initiated to another digital media receiver. If the nature of the type of data operation queried is that synchronization is not required, no synchronization operation is initiated to other digital media receivers.
可选地, 上述数字媒体服务器还具有下面特点:  Optionally, the above digital media server further has the following features:
所述同步处理模块查询的所述对应的性质为需要同步的数据操作的类型 包括: 增加、 删除和修改。  The corresponding nature of the synchronization processing module query is the type of data operation that needs to be synchronized, including: adding, deleting, and modifying.
综上, 本发明实施例提供一种数据同步的方法及数字媒体服务器, 可以 解决目前家庭 DLNA设备互联环境中, 多屏共享 DMS数据展示不能实时同 步的问题, 实现多屏数据的实时同步。 附图概述  In summary, the embodiment of the present invention provides a data synchronization method and a digital media server, which can solve the problem that the multi-screen shared DMS data display cannot be synchronized in real time in the home DLNA device interconnection environment, and realize real-time synchronization of multi-screen data. BRIEF abstract
图 1为本发明实施例的一种数据处理的方法的流程图;  1 is a flowchart of a method for data processing according to an embodiment of the present invention;
图 2为本发明实施例的一种 DMS的示意图。  2 is a schematic diagram of a DMS according to an embodiment of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图 1为本发明实施例的一种数据处理的方法的流程图, 如图 1所示, 本 实施例的方法包括:  FIG. 1 is a flowchart of a method for data processing according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
步骤 11、 DMS接收 DMR请求的数据操作;  Step 11. The DMS receives the data operation requested by the DMR.
步骤 12、 根据所述数据操作的类型, 确定是否向其他 DMR发起同步操 作。  Step 12: Determine, according to the type of the data operation, whether to initiate a synchronization operation to another DMR.
才艮据本实施例的方法可以实现多屏实时同步更新数据。  According to the method of the embodiment, multi-screen real-time synchronization update data can be realized.
下面以一具体实施例对本发明实施例的一种数据处理的方法进行详细的 说明, 包括如下步骤: 步骤 101 : DMS启动时,初始化 DMS操作分类表和 DMR操作对应关系 表, 其中, DMR操作对应关系表初始记录为空, 只有当 DMR进行了实际操 作后再增加记录, 实际的操作可以包括: 增加、 删除、 修改、 查询以及检查 判断等类型; DMS操作分类表初始化即包括把 DMS上能支持的操作类型以 及操作类型的性质。 A method for data processing according to an embodiment of the present invention is described in detail below with reference to a specific embodiment, including the following steps: Step 101: When the DMS is started, the DMS operation classification table and the DMR operation correspondence table are initialized, wherein the initial record of the DMR operation correspondence table is empty, and the record is added only after the DMR performs the actual operation, and the actual operations may include: Types such as deletion, modification, query, and check judgment; DMS operation classification table initialization includes the types of operations that can be supported on the DMS and the nature of the operation types.
DMS上能支持的操作类型例如包括: 增加、 删除、 修改、 查询以及检查 判断等类型; 操作类型的性质, 即此种操作是否需要 DMS实时同步更新。  The types of operations that can be supported on the DMS include: types such as: add, delete, modify, query, and check; the nature of the type of operation, that is, whether the operation requires DMS real-time synchronization update.
表 1为 DMS操作对应关系表, 如表 1所示, 在 DMS上记录 DMR设备 对 DMS上某种数据类型的操作记录, 只有当 DMR成功操作了 DMS上的数 据才增加此 DMR的操作记录, 才增加此 DMR的操作记录, 而当 DMR设备 下线后, 就将此 DMR设备的操作记录删除。  Table 1 is a DMS operation correspondence table. As shown in Table 1, the DMR records the operation record of a certain data type on the DMS on the DMS. Only when the DMR successfully operates the data on the DMS increases the operation record of the DMR. The operation record of the DMR is added, and when the DMR device is offline, the operation record of the DMR device is deleted.
表 1  Table 1
Figure imgf000005_0001
表 2为操作分类表, DMS对于自身提供的数据服务进行分类, 记录下同 类型的数据可执行的操作类型,并且此种操作类型是需要 DMS同步通知其他 DMR设备,比如说增加、删除、修改的操作需要 DMS实时同步通知其他 DMR 设备, 而查询、 检查判断操作不需要 DMS实时同步通知其他 DMR设备。
Figure imgf000005_0001
Table 2 shows the operation classification table. The DMS classifies the data services provided by the DMS, records the types of operations that can be performed by the same type of data, and this type of operation requires the DMS to synchronously notify other DMR devices, such as adding, deleting, and modifying. The operation requires DMS real-time synchronization to notify other DMR devices, and the query, check and judgment operations do not require DMS real-time synchronization to notify other DMR devices.
表 2  Table 2
Figure imgf000005_0002
步骤 102: 当 DMR向 DMS请求数据操作, DMS检查发现自身可以向 DMR提供服务, 则向 DMR响应成功, 如果不能满足 DMR的操作请求, 则 向 DMR响应失败;
Figure imgf000005_0002
Step 102: When the DMR requests a data operation from the DMS, and the DMS checks that it can provide a service to the DMR, the response to the DMR is successful. If the DMR operation request cannot be satisfied, the response to the DMR fails.
步骤 103: 如果 DMS向请求的 DMR响应成功, 则向 DMR操作对应关 系表中, 增加一条操作记录, 记录下 DMR的地址, 操作的数据类型, 操作 类型。  Step 103: If the DMS responds successfully to the requested DMR, add an operation record to the DMR operation correspondence table, record the address of the DMR, the data type of the operation, and the operation type.
步骤 104: DMS在完成增加 DMR操作对应关系表中记录后, 需要查询 自身操作分类表,确认此次 DMR的操作是否需要发起 DMR实时数据同步更 新操作, 如果此次 DMR的操作是查询以及检查判断类型, 则不需要发起实 时数据同步更新操作; 否则如果此次 DMR操作是增加、 删除、 修改等类型 的操作, 需要发起实时数据同步更新操作。  Step 104: After recording the DMR operation correspondence table, the DMS needs to query its own operation classification table to confirm whether the DMR operation needs to initiate a DMR real-time data synchronization update operation. If the DMR operation is a query and check. Type, you do not need to initiate real-time data synchronization update operation; otherwise, if the DMR operation is an operation such as adding, deleting, modifying, etc., it is necessary to initiate a real-time data synchronization update operation.
步骤 105: 如果需要发起实时同步更新操作, DMS需要查询 DMR操作 对应关系表, 查询和本次处理数据类型一样的记录, 找到其他的多屏 DMR 地址, 这里多屏 DMR指多个终端或多个客户端;  Step 105: If a real-time synchronous update operation needs to be initiated, the DMS needs to query the DMR operation correspondence table, query the record with the same data type as the current processing, and find other multi-screen DMR addresses, where the multi-screen DMR refers to multiple terminals or multiple Client
在 DMR操作对应关系表中记录了 DMR的操作记录,但此条操作记录可 能记录的是用户操作的收藏数据, 也有可能记录的是用户操作的播放书签记 录数据, 也有可能记录的是用户操作的查询 VOD ( Video On Demand, 视频 点播) 列表数据。 同步更新操作是对应的同一类型数据而言, 比如, 一个用 户操作了播放书签记录数据, 则需要通知其他用户播放书签数据需要更新, 而如果其他用户当前都没有操作过书签数据, 则不需要向此用户通知。  The DMR operation record is recorded in the DMR operation correspondence table, but this operation record may record the user-operated collection data, and may also record the user-played play bookmark record data, and may also record the user operation. Query VOD (Video On Demand) list data. The synchronous update operation is corresponding to the same type of data. For example, if a user operates the play record record data, it needs to notify other users to play the bookmark data and needs to be updated, and if other users have not operated the bookmark data yet, This user notification.
步骤 106: 根据查询到的 DMR地址, DMS向其发送事件通知 DMR更 新数据;  Step 106: The DMS sends an event notification DMR update data according to the queried DMR address;
步骤 107: 多屏 DMR收到数据更新通知, 根据实际页面展示, 更新数据 的显示。  Step 107: The multi-screen DMR receives the data update notification, and updates the display of the data according to the actual page display.
图 2为本发明实施例的一种 DMS的示意图, 如图 2所示, 本实施例的 DMS包括:  FIG. 2 is a schematic diagram of a DMS according to an embodiment of the present invention. As shown in FIG. 2, the DMS of this embodiment includes:
接收模块 21 , 其设置成接收数字媒体接收器请求的数据操作; 以及 同步处理模块 22, 其设置成根据所述数据操作的类型, 确定是否向其他 数字媒体接收器发起同步操作。 a receiving module 21 configured to receive a data operation requested by the digital media receiver; The synchronization processing module 22 is configured to determine whether to initiate a synchronization operation to other digital media receivers based on the type of data operation.
在一较佳实施例中, 所述 DMS还包括:  In a preferred embodiment, the DMS further includes:
记录模块 23 , 其设置成将所述数字媒体接收器的地址和所述数据操作的 类型记录在预置的操作对应关系表中。  The recording module 23 is arranged to record the address of the digital media receiver and the type of the data operation in a preset operational correspondence table.
其中, 所述同步处理模块是设置成根据所述数据操作的类型查询预置的 操作分类表, 如查询到所述数据操作的类型对应的性质为需同步, 则向其他 数字媒体接收器发起同步操作,否则不向其他数字媒体接收器发起同步操作。  The synchronization processing module is configured to query a preset operation classification table according to the type of the data operation. If the type corresponding to the type of the data operation is queried to be synchronized, the synchronization is initiated to other digital media receivers. Operation, otherwise no synchronization is initiated to other digital media receivers.
其中, 所述同步处理模块查询的所述对应的性质为需同步的数据操作的 类型包括: 增加、 删除和修改。  The type of the data operation queried by the synchronization processing module is a type of data operation to be synchronized, including: adding, deleting, and modifying.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上仅为本发明的较佳实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。  The above is only a preferred embodiment of the present invention, and of course, the present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
本发明实施例提供一种数据同步的方法及数字媒体服务器, 可以解决目 前家庭 DLNA设备互联环境中 多屏共享 DMS数据展示不能实时同步的问 题, 实现多屏数据的实时同步。  The embodiment of the invention provides a data synchronization method and a digital media server, which can solve the problem that the multi-screen shared DMS data display cannot be synchronized in real time in the current home DLNA device interconnection environment, and realize real-time synchronization of multi-screen data.

Claims

权 利 要 求 书 claims
1、 一种数据同步的方法, 包括: 1. A data synchronization method, including:
接收数字媒体接收器请求的数据操作; 以及 Receive data operations requested by the digital media receiver; and
根据所述数据操作的类型, 确定是否向其他数字媒体接收器发起同步操 作。 According to the type of the data operation, it is determined whether to initiate a synchronization operation to other digital media receivers.
2、 如权利要求 1所述的方法, 其中, 所述接收数字媒体接收器请求的数 据操作后, 还包括: 2. The method of claim 1, wherein after receiving the data operation requested by the digital media receiver, it further includes:
将所述数字媒体接收器的地址和所述数据操作的类型记录在预置的操作 对应关系表中。 The address of the digital media receiver and the type of data operation are recorded in a preset operation correspondence table.
3、 如权利要求 2所述的方法, 其中, 所述根据所述数据操作的类型, 确 定是否向其他数字媒体接收器发起同步操作, 包括: 3. The method of claim 2, wherein determining whether to initiate a synchronization operation to other digital media receivers according to the type of the data operation includes:
根据所述数据操作的类型查询预置的操作分类表, 如查询到所述数据操 作的类型对应的性质为需要同步, 则向其他数字媒体接收器发起同步操作, 如查询到所述数据操作的类型对应的性质为不需要同步, 则不向其他数字媒 体接收器发起同步操作。 Query the preset operation classification table according to the type of the data operation. If it is queried that the nature corresponding to the type of the data operation requires synchronization, initiate a synchronization operation to other digital media receivers. If it is queried that the nature of the data operation is required, If the corresponding type does not require synchronization, no synchronization operations will be initiated to other digital media receivers.
4、 如权利要求 3所述的方法, 其中: 4. The method of claim 3, wherein:
所述对应的性质为需要同步的数据操作的类型包括: 增加、删除和修改。 The corresponding types of data operations that require synchronization include: addition, deletion and modification.
5、 一种数字媒体服务器, 包括: 5. A digital media server, including:
接收模块, 其设置成接收数字媒体接收器请求的数据操作; 以及 同步处理模块, 其设置成根据所述数据操作的类型, 确定是否向其他数 字媒体接收器发起同步操作。 The receiving module is configured to receive data operations requested by the digital media receiver; and the synchronization processing module is configured to determine whether to initiate synchronization operations to other digital media receivers based on the type of the data operation.
6、 如权利要求 5所述的数字媒体服务器, 还包括: 6. The digital media server as claimed in claim 5, further comprising:
记录模块, 其设置成将所述数字媒体接收器的地址和所述数据操作的类 型记录在预置的操作对应关系表中。 A recording module configured to record the address of the digital media receiver and the type of data operation in a preset operation correspondence table.
7、 如权利要求 6所述的数字媒体服务器, 其中: 7. The digital media server as claimed in claim 6, wherein:
所述同步处理模块是设置成根据所述数据操作的类型查询预置的操作分 类表, 如查询到所述数据操作的类型对应的性质为需要同步, 则向其他数字 媒体接收器发起同步操作, 如查询到所述数据操作的类型对应的性质为不需 要同步, 则不向其他数字媒体接收器发起同步操作。 The synchronization processing module is configured to query a preset operation classification table according to the type of the data operation. If it is found that the nature corresponding to the type of the data operation requires synchronization, it will query other numbers. The media receiver initiates a synchronization operation. If it is found that the type of the data operation corresponds to a property that does not require synchronization, the synchronization operation will not be initiated to other digital media receivers.
8、 如权利要求 7所述的数字媒体服务器, 其中: 8. The digital media server as claimed in claim 7, wherein:
所述同步处理模块查询的所述对应的性质为需要同步的数据操作的类型 包括: 增加、 删除和修改。 The corresponding properties queried by the synchronization processing module are the types of data operations that require synchronization, including: addition, deletion and modification.
PCT/CN2014/075363 2013-09-16 2014-04-15 Data synchronization method and digital media server WO2014176970A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310423471.9A CN104468652A (en) 2013-09-16 2013-09-16 A method for data synchronization and digital media server
CN201310423471.9 2013-09-16

Publications (1)

Publication Number Publication Date
WO2014176970A1 true WO2014176970A1 (en) 2014-11-06

Family

ID=51843107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075363 WO2014176970A1 (en) 2013-09-16 2014-04-15 Data synchronization method and digital media server

Country Status (2)

Country Link
CN (1) CN104468652A (en)
WO (1) WO2014176970A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648978A (en) * 2016-12-05 2017-05-10 上海斐讯数据通信技术有限公司 Mobile terminal based on DLNA (Digital Living Network Alliance) and data backup system and method
CN109032451A (en) * 2018-08-14 2018-12-18 北京大米科技有限公司 Picture library operation content synchronization system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892585A (en) * 2005-07-08 2007-01-10 联想(北京)有限公司 Screen synchronous switching-over control method
JP2008252422A (en) * 2007-03-30 2008-10-16 Sony Corp Synchronized multi-screen reproduction system, display control terminal, synchronized multi-screen reproduction method, and program
CN102238197A (en) * 2010-04-20 2011-11-09 上海博路信息技术有限公司 Mobile reading multi-screen synchronization method
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9407963B2 (en) * 2004-02-27 2016-08-02 Yahoo! Inc. Method and system for managing digital content including streaming media
CN202309770U (en) * 2011-10-21 2012-07-04 苏州阔地网络科技有限公司 Circusee synchronization system realized on webpage and client side
CN103024025A (en) * 2012-12-07 2013-04-03 康佳集团股份有限公司 Method and system of managing and sharing application information of intelligent device
CN103036722A (en) * 2012-12-13 2013-04-10 方正科技集团股份有限公司 Method for achieving server hot backup in diskless system
CN103118018B (en) * 2013-01-21 2016-02-24 中兴通讯股份有限公司 A kind of media resource synchronous broadcast method based on DLNA and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892585A (en) * 2005-07-08 2007-01-10 联想(北京)有限公司 Screen synchronous switching-over control method
JP2008252422A (en) * 2007-03-30 2008-10-16 Sony Corp Synchronized multi-screen reproduction system, display control terminal, synchronized multi-screen reproduction method, and program
CN102238197A (en) * 2010-04-20 2011-11-09 上海博路信息技术有限公司 Mobile reading multi-screen synchronization method
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method

Also Published As

Publication number Publication date
CN104468652A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US9880806B2 (en) Media playback processing and control method, apparatus, and system
US9773001B2 (en) Method, apparatus, and system for processing media resource playlist in local area network
US10334003B2 (en) Mobile terminal and method for achieving cloud streaming medium file sharing based on DLNA
JP5270608B2 (en) Content reproduction control system, content reproduction control method, content server, portable terminal, and program
WO2013063941A1 (en) Screen sharing method and system for dlna terminal in home network
EP2490404B1 (en) Method and digital media player for mounting a network attached storage device
EP3139573B1 (en) Media processing method and device
CN101964860A (en) Home theater server
CN104683320A (en) Home network multimedia content sharing access control method and device
US20150244755A1 (en) Method, apparatus, and home network system for presenting multiple images, and mobile terminal
WO2014176970A1 (en) Data synchronization method and digital media server
TWI431994B (en) Method and system for playing multimedia file and computer program product using the method
TWI599892B (en) Home network system file management and sharing methods
US9912491B2 (en) System and method for displaying document content using UPnP
US20150046995A1 (en) Media playing system and media playing method for playing media file in different area network groups
KR20140103377A (en) Content server and content providing method of the same
CN105142015A (en) Method of sharing and playing BHD file based on DLNA
US11057669B2 (en) Device and method for managing priorities for the downloading of multimedia contents
WO2016070371A1 (en) Method for mobile terminal and web terminal interconnection and streaming and streaming media playback
WO2014015489A1 (en) Method, system and device for user to access service system or network
KR20070101000A (en) Method and apparatus for classfying contents with digital contents management on dlna network
WO2016070372A1 (en) Method for implementing synchronous display between mobile terminal and web terminal
US11234032B2 (en) Method of managing the right of access to a digital content
KR101262122B1 (en) Mediation Method and Server for Providing Web Contents to UPnP Devices
TW201534114A (en) Multimedia information cross-platform real-time sharing system and method

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

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

Country of ref document: EP

Kind code of ref document: A1