WO2012155679A1 - 一种基于内容分发网络的数据处理方法及装置 - Google Patents

一种基于内容分发网络的数据处理方法及装置 Download PDF

Info

Publication number
WO2012155679A1
WO2012155679A1 PCT/CN2012/072914 CN2012072914W WO2012155679A1 WO 2012155679 A1 WO2012155679 A1 WO 2012155679A1 CN 2012072914 W CN2012072914 W CN 2012072914W WO 2012155679 A1 WO2012155679 A1 WO 2012155679A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
saved
edge node
current
terminal
Prior art date
Application number
PCT/CN2012/072914
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 WO2012155679A1 publication Critical patent/WO2012155679A1/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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data processing method and apparatus based on a content distribution network. Background technique
  • IPTV Internet Protocol TV
  • IP Internet Protocol
  • IPTV Internet Protocol
  • Digital media business services wherein terminals include televisions, computers, and other forms of terminals.
  • the IPTV can provide a network personal video recording service (NPVR) service, and the terminal can record the data of the content such as the television program and the content on the network side through the NPVR service, and the terminal needs to obtain the recorded data.
  • NPVR network personal video recording service
  • the network side provides a NPVR service service to a terminal by using a content delivery network (CDN).
  • CDN content delivery network
  • the CDN network includes a central node, and a plurality of edge nodes connected to the central node, where the central node It is used to manage the several edge nodes and back up data on the several edge nodes, and the edge nodes are used to provide service services to the terminal.
  • the central node and the edge node simultaneously record and save the data of the content such as the television program, and the edge node saves the recorded data for a short period of time, and the central node saves the recorded data for a second time length.
  • the specific process of the NPVR service service provided by the network side to the terminal by using the CDN network in the prior art is: when the terminal needs to obtain the NPVR service service, the terminal sends a subscription request for ordering the NPVR service to the home edge node, and the edge node receives the subscription request according to the received
  • the identification information of the ordered data carried in the subscription request provides the terminal with the saved data of the identification information.
  • terminals in the same area are usually attributed to one or several edge nodes, and data in terminals in the same area are generally of the same interest, and data of terminals in different areas are interested in data. difference.
  • the terminal of area A belongs to edge node a
  • the terminal of area B belongs to edge node b
  • the terminal of area A is interested in data 1
  • the terminal of area B is interested in data 2, so in practice
  • the data 1 saved in the edge node a will be requested to be ordered for a long period of time.
  • the data 2 saved in the edge node b will also be requested to be ordered for a long period of time, and the edge node Data 2 saved in a, and data 1 saved in edge node b are rarely requested to be ordered.
  • each edge node saves the first time length of each recorded data is the same, and the first time length is short, and the second time length of the central node saves the recorded data is longer. . Since the terminals in different areas have different degrees of interest in different data, if the edge node deletes a certain level of data of interest, if the terminal belonging to the edge node subscribes the data again, it can only go to the central node. Ordering, this will increase the load on the central node.
  • each edge node saves each recorded data for a first time length
  • the central node saves the recorded data for a second time length, due to edge node a and edge node b.
  • the first time length of the saved data 1 and data 2 is one week, so after one week of saving the data 1 by the edge node a, the saved data 1 is deleted, and if the terminal of the area A orders the data 1 again, It can only be ordered from the central node. If the second time length of the data 1 stored in the central node has not been reached, the central node provides the data 1 to the terminal of the area A. Similarly, the terminal of the area B is at the edge node b. After you save the data 2 for one week, you must order the data 2, and you can only order it in the central node. This will cause the central node to be overloaded. Summary of the invention
  • Embodiments of the present invention provide a data processing method and apparatus based on a content distribution network, which are used by To solve the problem that the central node load is large when the NPVR service is implemented based on the CDN network in the prior art.
  • a data processing method based on a content distribution network includes: when an edge node in a content distribution network arrives at a set storage time length of the saved data, determining whether the current subscription number corresponding to the saved data is Is 0;
  • the edge node deletes the saved data
  • the edge node continues to save the data until the current subscription number corresponding to the data is 0, and the saved data is deleted.
  • a data processing device based on a content distribution network includes: a determining module, configured to determine, when the set storage time length of the saved data arrives, whether the current number of subscriptions corresponding to the saved data is 0 ;
  • a processing module configured to delete the saved data if the determination result is yes, otherwise, continue to save the data until the current subscription number corresponding to the data is 0, and delete the saved data.
  • An embodiment of the present invention provides a data processing method and apparatus based on a content distribution network.
  • an edge storage node determines whether the current subscription number corresponding to the saved data is 0, and if so, deletes The saved data, otherwise the data will continue to be saved until the current order number corresponding to the data is 0, and the saved data is deleted.
  • the edge node does not delete the data when the current subscription number corresponding to the data is not 0, so the edge node may extend the interest level for the data with higher degree of interest. The time of the higher data, so that the terminal can order data to the central node for a long period of time, reducing the load on the central node.
  • FIG. 1 is a schematic diagram of a data processing process based on a content distribution network according to an embodiment of the present invention
  • FIG. 2 is a detailed process diagram of data processing based on a content distribution network according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a data processing apparatus based on a content distribution network according to an embodiment of the present invention. detailed description
  • the degree of interest of the terminal to a certain data stored in the edge node is mainly represented by the fact that the certain data saved in the edge node is requested by the terminal for a long period of time. Conversely, if the terminal is less interested in a certain data stored in the edge node, the certain data will rarely be requested by the terminal. Therefore, the edge node in the embodiment of the present invention appropriately lengthens the length of time for storing the data according to a certain rule, so that the terminal does not have to subscribe to the data in the central node for a long period of time, and directly obtains the edge node to which the terminal belongs.
  • the data can be used to reduce the load on the central node to a certain extent.
  • FIG. 1 is a schematic diagram of a data processing process of a content distribution network according to an embodiment of the present disclosure, which specifically includes the following steps:
  • the edge node in the content distribution network determines whether the current order number corresponding to the saved data is 0 when the set storage time length of the saved data arrives. If yes, execute S102; otherwise, execute S103.
  • the data saved by the edge node is: a TV program of a TV station on May 13th, 2011 at 7:00 ⁇ 7:30, assuming that the setting is saved for one week, the edge node is on the afternoon of May 20, 2011. 7: 30, that is, when the set storage time length of the data arrives, it is determined whether the current order number corresponding to the data is 0.
  • the edge node continues to save the data until the current subscription number corresponding to the data is 0, and the saved data is deleted.
  • the edge node if the edge node reaches the set storage time length of saving the data, it is determined that the current subscription number corresponding to the data is not 0, indicating that the terminal is currently ordering the data, that is, the If the degree of interest of the data is high, the edge node continues to save the data until the current order number corresponding to the data is 0, and the saved data is deleted.
  • the edge node when the edge node reaches the set storage time length of the saved data, if it is determined that the current order number corresponding to the data is 0, the data is deleted, otherwise the data is continued to be saved until the current subscription corresponding to the data.
  • the number of people is 0, the data is deleted, because the terminal is more interested in a certain data stored in the edge node, the main data stored in the edge node is requested by the terminal for a long time. Therefore, the edge node may extend the time for storing the data of higher interest according to the degree of interest of the terminal to the saved data, that is, in the process of the edge node continuing to save the data, the terminal may not have to subscribe to the central node. Data, the data can be ordered directly at the edge node, thereby reducing the load on the central node.
  • the edge node in order to accurately determine the current number of subscribers corresponding to each data saved in the edge node, the edge node saves the subscription request sent by the terminal to subscribe to the data in the process of saving data, and then saves The current number of subscribers corresponding to the data is increased by one. If the unsubscribe request for unsubscribing the data sent by the terminal is received, the current number of subscribers corresponding to the saved data is decremented by one.
  • the process of saving the data is specifically: a process in which the edge node saves the data within a set storage time period in which the data is saved, and the edge node arrives at the set storage time length, and determines the current subscription corresponding to the data. When the number of people is not 0, the process of saving the data continues. And the edge node sets the current number of subscribers corresponding to each data initially saved to 0.
  • the edge node receives the subscription of the data sent by the terminal.
  • the process of adding the current number of subscribers corresponding to the saved data to the specific one is as follows: the edge node searches for the identifier information in the saved data according to the identification information of the data that is carried in the received subscription request. The data is obtained according to the obtained data, and the current order number corresponding to the saved data is obtained, and the current order number corresponding to the obtained data is incremented by 1 and saved.
  • the process of subtracting the current number of subscriptions corresponding to the saved data by the edge node is specifically that the edge node carries the retreat according to the received unsubscribe request.
  • the identification information of the data is set, and the data corresponding to the identification information is searched for in the saved data, and the current number of subscriptions corresponding to the saved data is obtained according to the found data, and the current number of subscriptions corresponding to the obtained data is obtained. Subtract 1 and save.
  • the data stored in the edge node is damaged to ensure the quality of the provided service service, and the edge node saves the data, and may also notify the central node in the content distribution network. Save the data. That is, the central node backs up the data stored in the edge node.
  • the edge node may also notify the central node in the content distribution network to delete the saved data when the set storage time length of saving the data arrives.
  • FIG. 2 is a schematic diagram of a detailed process of data processing based on a content distribution network according to an embodiment of the present invention, which specifically includes the following steps:
  • S201 The edge node in the content distribution network saves the data, and sets the current order number corresponding to the saved data to 0, and executes S202 and S203 at the same time.
  • S207 The edge node continues to save the data until the current subscription number corresponding to the data is 0, and the saved data is deleted.
  • the edge node when the edge node reaches the set storage time length of the saved data, if it is determined that the current order number corresponding to the data is 0, the data is deleted, otherwise the data is continued to be saved until the current subscription corresponding to the data.
  • the number of people is 0, the data is deleted, because the terminal is more interested in a certain data stored in the edge node, the main data stored in the edge node is requested by the terminal for a long time. Therefore, the edge node may extend the time for storing the data of higher interest according to the degree of interest of the terminal to the saved data, that is, in the process of the edge node continuing to save the data, the terminal may not have to subscribe to the central node. Data, the data can be ordered directly at the edge node, thereby reducing the load on the central node.
  • FIG. 3 is a schematic diagram showing the structure of a data processing apparatus based on a content distribution network according to an embodiment of the present disclosure, which specifically includes:
  • the determining module 301 is configured to determine, when the set storage time length of the saved data arrives, whether the current order number corresponding to the saved data is 0;
  • the processing module 302 is configured to: if the determination result is yes, delete the saved data; otherwise, continue to save the data until the current order number corresponding to the data is 0, and delete the saved data.
  • the determining module 301 is specifically configured to: in the process of saving the data, if receiving a subscription request for ordering the data sent by the terminal, the current subscription corresponding to the saved data If the number of people is increased by 1, if the unsubscribe request for unsubscribing the data sent by the terminal is received, the current order number corresponding to the saved data is decremented by one.
  • the determining module 301 is specifically configured to: according to the received identification information of the data that is carried in the subscription request, search for the data corresponding to the identifier information in the saved data, according to the found location.
  • the data acquires the current number of subscribers corresponding to the saved data, and adds 1 to the current number of subscribers corresponding to the obtained data.
  • the determining module 301 is specifically configured to: according to the received identifier information of the unsubscribed data carried in the unsubscribed request, search for the data corresponding to the identifier information in the saved data, according to the found The data of the current subscription number corresponding to the saved data is obtained, and the current number of subscribers corresponding to the acquired data is decremented by one and saved.
  • the device further includes: a notification module 303, configured to notify a central node in the content distribution network to delete the saved data when the set save time length of saving the data arrives.
  • a notification module 303 configured to notify a central node in the content distribution network to delete the saved data when the set save time length of saving the data arrives.
  • the above-described data distribution apparatus based on the content distribution network may be located in the edge node.
  • the embodiment of the present invention provides a data processing method and apparatus based on a content distribution network.
  • the edge node does not delete the data when the current subscription number corresponding to the data is not 0, so the edge node may extend the interest level for the data with higher degree of interest. The time of the higher data, so that the terminal can order data to the central node for a long period of time, reducing the load on the central node.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种基于内容分发网络的数据处理方法及装置,用以解决现有技术中基于CDN实现NPVR业务时中心节点负荷大的问题。该方法边缘节点在保存数据的设定保存时间长度到达时,判断保存的该数据对应的当前订购人数是否为0,若是,则删除保存的该数据,否则继续保存该数据,直至该数据对应的当前订购人数为0时,删除保存的该数据。由于本发明实施例中边缘节点针对保存的数据,在该数据对应的当前订购人数不为0时,不删除该数据,因此对于感兴趣程度较高的数据,边缘节点可以延长保存该感兴趣程度较高的数据的时间,从而终端可以在很长的一段时间内不必到中心节点订购数据,减小了中心节点的负荷。

Description

一种基于内容分发网络的数据处理方法及装置 技术领域
本发明涉及通信技术领域, 尤其涉及一种基于内容分发网络的数据处 理方法及装置。 背景技术
交互式网络电视( IPTV, Internet Protocol TV )是一种基于互联网的多 媒体通信技术, 利用宽带网的基础设施, 通过互联网协议 (IP, Internet Protocol ) 向终端提供包括电视节目在内的多种交互式数字媒体业务服务, 其中, 终端包括电视机、 计算机以及其他形式的终端。 并且, IPTV可以提 供网络个人录像 ( NPVR, Network Personal Video Recorder )业务服务, 终 端通过 NPVR业务, 可以将感兴趣的电视节目等内容的数据录制下来并保 存在网络侧, 当终端要获取录制的数据时, 终端从网络侧获取录制的数据。
在现有技术中, 网络侧利用内容分发网络 ( CDN , Content Delivery Network )向终端提供 NPVR业务服务,通常 CDN网络包括一个中心节点, 以及与该中心节点相连的若干个边缘节点, 其中, 中心节点用于管理该若 干个边缘节点, 并备份该若干个边缘节点上的数据, 边缘节点用于向终端 提供业务服务。 并且, 中心节点和边缘节点同时对电视节目等内容的数据 进行录制并保存, 边缘节点保存录制的数据的第一时间长度较短, 而中心 节点保存录制的数据的第二时间长度较长。
现有技术中网络侧利用 CDN网络向终端提供 NPVR业务服务的具体过 程为: 当终端需要获得 NPVR业务服务时, 该终端向归属的边缘节点发送 订购 NPVR业务的订购请求, 边缘节点根据接收到的该订购请求中携带的 订购的数据的标识信息, 向该终端提供保存的该标识信息的数据。 在实际应用场景中, 通常是同一个区域内的终端归属于某一个或某几 个边缘节点, 相同区域内的终端所感兴趣的数据往往大体上相同, 而不同 区域的终端所感兴趣的数据有所差别。 例如, 区域 A的终端都归属于边缘 节点 a, 区域 B的终端都归属于边缘节点 b, 区域 A的终端对于数据 1比较 感兴趣, 而区域 B的终端对于数据 2比较感兴趣, 因此在实际应用中, 边 缘节点 a中保存的数据 1会在很长的一段时间内被请求订购, 同样的, 边 缘节点 b中保存的数据 2也会在很长的一段时间内被请求订购, 而边缘节 点 a中保存的数据 2, 以及边缘节点 b中保存的数据 1则很少被请求订购。
但是, 在现有技术中, 每个边缘节点保存每个录制的数据的第一时间 长度都是相同的, 并且该第一时间长度较短, 中心节点保存录制的数据的 第二时间长度较长。 由于不同区域的终端对不同数据的感兴趣程度不同, 如果边缘节点删除了某个感兴趣程度较高的数据, 则若归属于该边缘节点 的终端再要订购该数据, 只能到中心节点中订购, 这样会增大中心节点的 负荷。
继续沿用上例进行说明, 假设每个边缘节点保存每个录制的数据的第 一时间长度为一周, 中心节点保存录制的数据的第二时间长度为一个月, 由于边缘节点 a和边缘节点 b中保存的数据 1和数据 2的第一时间长度都 为一周, 因此在边缘节点 a保存数据 1的一周时间之后, 将保存的该数据 1 删除, 如果区域 A的终端再要订购该数据 1 , 则只能到中心节点中订购, 若中心节点中保存的数据 1 的第二时间长度还未达到, 则由中心节点向区 域 A的终端提供该数据 1 , 同样的, 区域 B的终端在边缘节点 b保存数据 2 的一周时间之后再要订购数据 2, 也只能到中心节点中订购, 这样就会造成 中心节点的负荷过大。 发明内容
本发明实施例提供一种基于内容分发网络的数据处理方法及装置, 用 以解决现有技术中基于 CDN网络实现 NPVR业务时中心节点负荷大的问 题。
本发明实施例提供的一种基于内容分发网络的数据处理方法, 包括: 内容分发网络中的边缘节点在保存数据的设定保存时间长度到达时, 判断保存的所述数据对应的当前订购人数是否为 0;
若判断结果为是, 则所述边缘节点删除保存的所述数据;
否则, 所述边缘节点继续保存所述数据, 直至所述数据对应的当前订 购人数为 0时, 删除保存的所述数据。
本发明实施例提供的一种基于内容分发网络的数据处理装置, 包括: 判断模块, 用于在保存数据的设定保存时间长度到达时, 判断保存的 所述数据对应的当前订购人数是否为 0;
处理模块, 用于若判断结果为是, 则删除保存的所述数据, 否则, 继 续保存所述数据, 直至所述数据对应的当前订购人数为 0 时, 删除保存的 所述数据。
本发明实施例提供一种基于内容分发网络的数据处理方法及装置, 边 缘节点在保存数据的设定保存时间长度到达时, 判断保存的该数据对应的 当前订购人数是否为 0,若是,则删除保存的该数据,否则继续保存该数据, 直至该数据对应的当前订购人数为 0 时, 删除保存的该数据。 由于本发明 实施例中边缘节点针对保存的数据, 在该数据对应的当前订购人数不为 0 时, 不删除该数据, 因此对于感兴趣程度较高的数据, 边缘节点可以延长 保存该感兴趣程度较高的数据的时间, 从而终端可以在很长的一段时间内 不必到中心节点订购数据, 减小了中心节点的负荷。 附图说明
图 1为本发明实施例提供的基于内容分发网络的数据处理过程示意图; 图 2 为本发明实施例提供的基于内容分发网络的数据处理详细过程示 意图;
图 3 为本发明实施例提供的基于内容分发网络的数据处理装置结构示 意图。 具体实施方式
在本发明实施例中, 终端对边缘节点中保存的某个数据的感兴趣程度 较高主要表现为, 边缘节点中保存的该某个数据会在很长的一段时间内被 终端请求订购。 相反, 如果终端对边缘节点中保存的某个数据的感兴趣程 度较低, 则该某个数据会很少被终端请求订购。 因此, 本发明实施例中的 边缘节点根据一定的规则, 适当的延长保存数据的时间长度, 使终端在很 长一段时间内不必到中心节点中订购该数据, 直接在该终端归属的边缘节 点获取数据即可, 可以在一定程度上减轻中心节点的负荷。
下面结合说明书附图, 对本发明实施例进行详细描述。
图 1为本发明实施例提供的基于内容分发网络的数据处理过程示意图, 具体包括以下步驟:
S 101: 内容分发网络中的边缘节点在保存数据的设定保存时间长度到 达时,判断保存的该数据对应的当前订购人数是否为 0,若是,则执行 S102, 否则执行 S103。
例如,边缘节点保存的数据为:某电视台 2011年 5月 13日下午 7: 00~7: 30的电视节目, 假设该设定保存时间长度为一周, 则边缘节点在 2011年 5 月 20 日下午 7: 30, 也即该数据的设定保存时间长度到达时, 判断该数据 对应的当前订购人数是否为 0。
S102: 边缘节点删除保存的该数据。
在本发明实施例中, 若该数据对应的当前订购人数为 0, 则说明当前没 有任何终端订购边缘节点中保存的该数据, 也即说明该数据的感兴趣程度 较低, 则删除该数据。 S103 : 边缘节点继续保存该数据, 直至该数据对应的当前订购人数为 0 时, 删除保存的该数据。
在本发明实施例中, 若边缘节点在保存该数据的设定保存时间长度到 达时, 判断该数据对应的当前订购人数不为 0, 则说明当前还有终端正在订 购该数据, 也即说明该数据的感兴趣程度较高, 则边缘节点继续保存该数 据, 直至该数据对应的当前订购人数为 0时, 删除保存的该数据。
在上述过程中, 当边缘节点在保存数据的设定保存时间长度到达时, 若判断该数据对应的当前订购人数为 0, 则删除该数据, 否则继续保存该数 据, 直至该数据对应的当前订购人数为 0, 删除该数据, 由于终端对边缘节 点中保存的某个数据的感兴趣程度较高主要表现为, 边缘节点中保存的该 某个数据会在很长的一段时间内被终端请求订购, 因此, 边缘节点可以根 据终端对保存的数据的感兴趣程度, 延长保存感兴趣程度较高的数据的时 间, 也即在边缘节点继续保存该数据的过程中, 终端可以不必到中心节点 订购该数据, 直接在该边缘节点订购该数据即可, 从而减小了中心节点的 负荷。
在本发明实施例中, 为了准确的确定边缘节点中保存的每个数据对应 的当前订购人数, 边缘节点在保存数据的过程中, 若接收到终端发送的订 购该数据的订购请求, 则将保存的该数据对应的当前订购人数加 1 , 若接收 到终端发送的退订该数据的退订请求, 则将保存的该数据对应的当前订购 人数减 1。 其中, 保存该数据的过程具体为, 边缘节点在保存该数据的设定 保存时间长度内保存该数据的过程, 以及边缘节点在该设定保存时间长度 到达时, 且判断该数据对应的当前订购人数不为 0 时, 继续保存该数据的 过程。 并且边缘节点将初始保存的每个数据对应的当前订购人数都设置为 0。
具体的, 在上述过程中, 边缘节点接收到终端发送的订购该数据的订 购请求时, 将保存的该数据对应的当前订购人数加 1 的过程具体为, 边缘 节点根据接收到的订购请求中携带的订购的该数据的标识信息, 在保存的 数据中查找该标识信息对应的数据, 根据查找到的该数据获取保存的该数 据对应的当前订购人数, 并将获取到的该数据对应的当前订购人数加 1 并 保存。
相应的, 边缘节点接收到终端发送的退订该数据的退订请求时, 将保 存的该数据对应的当前订购人数减 1 的过程具体为, 边缘节点根据接收到 的退订请求中携带的退订的该数据的标识信息, 在保存的数据中查找该标 识信息对应的数据, 根据查找到的该数据获取保存的该数据对应的当前订 购人数, 并将获取到的该数据对应的当前订购人数减 1并保存。
在本发明实施例中, 为了避免一些突发情况使边缘节点中保存的数据 损坏, 以保证提供的业务服务的质量, 边缘节点保存数据的过程中, 也可 以通知内容分发网络中的中心节点相应的保存该数据。 也即, 中心节点备 份边缘节点中保存的数据。
当然, 为了进一步减轻中心节点的负荷, 节省中心节点的存储资源, 边缘节点也可以在保存该数据的设定保存时间长度到达时, 通知内容分发 网络中的中心节点将保存的该数据删除。
图 2 为本发明实施例提供的基于内容分发网络的数据处理详细过程示 意图, 具体包括以下步驟:
S201 : 内容分发网络中的边缘节点保存数据, 并将保存的该数据对应 的当前订购人数置 0, 同时执行 S202和 S203。
S202: 当边缘节点接收到终端发送的订购该数据的订购请求时, 将保 存的该数据对应的当前订购人数加 1。
S203 : 当边缘节点接收到终端发送的退订该数据的退订请求时, 将保 存的该数据对应的当前订购人数减 1。 S204: 判断保存该数据的设定保存时间长度是否到达, 若是, 则进行
5205 , 否则返回 S202和 S203。
S205: 判断保存的该数据对应的当前订购人数是否为 0, 若是, 则进行
5206, 否则进行 S207。
S206: 边缘节点删除保存的该数据。
S207: 边缘节点继续保存该数据, 直至该数据对应的当前订购人数为 0 时, 删除保存的该数据。
在上述过程中, 当边缘节点在保存数据的设定保存时间长度到达时, 若判断该数据对应的当前订购人数为 0, 则删除该数据, 否则继续保存该数 据, 直至该数据对应的当前订购人数为 0, 删除该数据, 由于终端对边缘节 点中保存的某个数据的感兴趣程度较高主要表现为, 边缘节点中保存的该 某个数据会在很长的一段时间内被终端请求订购, 因此, 边缘节点可以根 据终端对保存的数据的感兴趣程度, 延长保存感兴趣程度较高的数据的时 间, 也即在边缘节点继续保存该数据的过程中, 终端可以不必到中心节点 订购该数据, 直接在该边缘节点订购该数据即可, 从而减小了中心节点的 负荷。
图 3 为本发明实施例提供的基于内容分发网络的数据处理装置结构示 意图, 具体包括:
判断模块 301 , 用于在保存数据的设定保存时间长度到达时, 判断保存 的所述数据对应的当前订购人数是否为 0;
处理模块 302, 用于若判断结果为是, 则删除保存的所述数据, 否则, 继续保存所述数据, 直至所述数据对应的当前订购人数为 0 时, 删除保存 的所述数据。
所述判断模块 301 具体用于, 在保存所述数据的过程中, 若接收到终 端发送的订购所述数据的订购请求, 则将保存的所述数据对应的当前订购 人数加 1 , 若接收到终端发送的退订所述数据的退订请求, 则将保存的所述 数据对应的当前订购人数减 1。
所述判断模块 301 具体用于, 根据接收到的所述订购请求中携带的订 购的所述数据的标识信息, 在保存的数据中查找所述标识信息对应的所述 数据, 根据查找到的所述数据获取保存的所述数据对应的当前订购人数, 将获取到的所述数据对应的当前订购人数加 1并保存。
所述判断模块 301 具体用于, 根据接收到的所述退订请求中携带的退 订的所述数据的标识信息, 在保存的数据中查找所述标识信息对应的所述 数据, 根据查找到的所述数据获取保存的所述数据对应的当前订购人数, 将获取到的所述数据对应的当前订购人数减 1并保存。
所述装置还包括: 通知模块 303 , 用于在保存所述数据的设定保存时间 长度到达时通知所述内容分发网络中的中心节点将保存的所述数据删除。
具体的上述基于内容分发网络的数据处理装置可以位于边缘节点中。 本发明实施例提供一种基于内容分发网络的数据处理方法及装置, 在 保存数据的设定保存时间长度到达时, 判断保存的该数据对应的当前订购 人数是否为 0, 若是, 则删除保存的该数据, 否则继续保存该数据, 直至该 数据对应的当前订购人数为 0 时, 删除保存的该数据。 由于本发明实施例 中边缘节点针对保存的数据, 在该数据对应的当前订购人数不为 0 时, 不 删除该数据, 因此对于感兴趣程度较高的数据, 边缘节点可以延长保存该 感兴趣程度较高的数据的时间, 从而终端可以在很长的一段时间内不必到 中心节点订购数据, 减小了中心节点的负荷。
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种基于内容分发网络的数据处理方法, 其特征在于, 包括: 内容分发网络中的边缘节点在保存数据的设定保存时间长度到达时, 判断保存的所述数据对应的当前订购人数是否为 0;
若判断结果为是, 则所述边缘节点删除保存的所述数据;
否则, 所述边缘节点继续保存所述数据, 直至所述数据对应的当前订 购人数为 0时, 删除保存的所述数据。
2、 如权利要求 1所述的方法, 其特征在于, 所述边缘节点保存所述数 据对应的当前订购人数, 具体包括:
所述边缘节点在保存所述数据的过程中, 若接收到终端发送的订购所 述数据的订购请求, 则将保存的所述数据对应的当前订购人数加 1 ;
若接收到终端发送的退订所述数据的退订请求, 则将保存的所述数据 对应的当前订购人数减 1。
3、 如权利要求 2所述的方法, 其特征在于, 若所述边缘节点接收到终 端发送的订购所述数据的订购请求, 则将保存的所述数据对应的当前订购 人数加 1 , 具体包括:
所述边缘节点根据接收到的所述订购请求中携带的订购的所述数据的 标识信息, 在保存的数据中查找所述标识信息对应的所述数据;
根据查找到的所述数据获取保存的所述数据对应的当前订购人数, 将 获取到的所述数据对应的当前订购人数加 1并保存。
4、 如权利要求 2所述的方法, 其特征在于, 若所述边缘节点接收到终 端发送的退订所述数据的退订请求, 则将保存的所述数据对应的当前订购 人数减 1 , 具体包括:
所述边缘节点根据接收到的所述退订请求中携带的退订的所述数据的 标识信息, 在保存的数据中查找所述标识信息对应的所述数据; 根据查找到的所述数据获取保存的所述数据对应的当前订购人数, 将 获取到的所述数据对应的当前订购人数减 1并保存。
5、如权利要求 1至 4任一所述的方法,其特征在于, 所述方法还包括: 所述边缘节点在保存所述数据的设定保存时间长度到达时通知所述内 容分发网络中的中心节点将保存的所述数据删除。
6、 一种基于内容分发网络的数据处理装置, 其特征在于, 包括: 判断模块, 用于在保存数据的设定保存时间长度到达时, 判断保存的 所述数据对应的当前订购人数是否为 0;
处理模块, 用于若判断结果为是, 则删除保存的所述数据, 否则, 继 续保存所述数据, 直至所述数据对应的当前订购人数为 0 时, 删除保存的 所述数据。
7、 如权利要求 6所述的装置, 其特征在于, 所述判断模块具体用于, 在保存所述数据的过程中, 若接收到终端发送的订购所述数据的订购请求, 则将保存的所述数据对应的当前订购人数加 1 ,若接收到终端发送的退订所 述数据的退订请求, 则将保存的所述数据对应的当前订购人数减 1。
8、 如权利要求 7所述的装置, 其特征在于, 所述判断模块具体用于, 根据接收到的所述订购请求中携带的订购的所述数据的标识信息, 在保存 的数据中查找所述标识信息对应的所述数据, 根据查找到的所述数据获取 保存的所述数据对应的当前订购人数, 将获取到的所述数据对应的当前订 购人数加 1并保存。
9、 如权利要求 7所述的装置, 其特征在于, 所述判断模块具体用于, 根据接收到的所述退订请求中携带的退订的所述数据的标识信息, 在保存 的数据中查找所述标识信息对应的所述数据, 根据查找到的所述数据获取 保存的所述数据对应的当前订购人数, 将获取到的所述数据对应的当前订 购人数减 1并保存。
10、 如权利要求 6至 9任一所述的装置, 其特征在于, 所述装置还包 括:
通知模块, 用于在保存所述数据的设定保存时间长度到达时通知所述 内容分发网络中的中心节点将保存的所述数据删除。
PCT/CN2012/072914 2011-05-19 2012-03-23 一种基于内容分发网络的数据处理方法及装置 WO2012155679A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101302965A CN102195986A (zh) 2011-05-19 2011-05-19 一种基于内容分发网络的数据处理方法及装置
CN201110130296.5 2011-05-19

Publications (1)

Publication Number Publication Date
WO2012155679A1 true WO2012155679A1 (zh) 2012-11-22

Family

ID=44603373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072914 WO2012155679A1 (zh) 2011-05-19 2012-03-23 一种基于内容分发网络的数据处理方法及装置

Country Status (2)

Country Link
CN (1) CN102195986A (zh)
WO (1) WO2012155679A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612298A (zh) * 2015-10-22 2017-05-03 中国科学院声学研究所 一种基于大规模网络节点的内容分发方法及系统
CN111950872A (zh) * 2020-07-30 2020-11-17 深圳市高德信通信股份有限公司 一种cdn资源调度系统
CN112383792A (zh) * 2020-11-12 2021-02-19 咪咕视讯科技有限公司 直播内容同步处理方法、电子设备及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195986A (zh) * 2011-05-19 2011-09-21 南京中兴新软件有限责任公司 一种基于内容分发网络的数据处理方法及装置
CN104243425B (zh) * 2013-06-19 2018-09-04 深圳市腾讯计算机系统有限公司 一种在内容分发网络中进行内容管理的方法、装置及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040074403A (ko) * 2003-02-18 2004-08-25 주식회사 케이티 Cdn 통합 서비스 제공시스템 및 방법
CN101119225A (zh) * 2006-07-31 2008-02-06 西门子通信技术(北京)有限公司 一种网络访问的统计方法及其系统
CN101179494A (zh) * 2007-12-03 2008-05-14 浙江大学 面向网络多媒体传输服务的资源分发方法
CN102195986A (zh) * 2011-05-19 2011-09-21 南京中兴新软件有限责任公司 一种基于内容分发网络的数据处理方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MXPA02007308A (es) * 2000-01-28 2004-11-12 Williams Comm Llc Sistema y metodo para determinar un servidor optimo en una red distribuida para dar servicio a flujos de contenido.
CN100556038C (zh) * 2005-10-28 2009-10-28 中兴通讯股份有限公司 一种基于外部条件触发节点动作的内容分发方法
CN101123602A (zh) * 2006-08-11 2008-02-13 郑州威科姆电子科技有限公司 基于网络电视系统的内容调度方法
CN101127883A (zh) * 2007-09-06 2008-02-20 中兴通讯股份有限公司 网络电视系统及用于该系统的录播内容调度方法
CN101489108B (zh) * 2009-01-20 2011-06-15 深圳市同洲电子股份有限公司 节目内容处理的方法、系统及设备
CN101668177B (zh) * 2009-09-24 2013-05-01 中兴通讯股份有限公司 多媒体内容的管理方法和装置
CN101883012B (zh) * 2010-07-09 2012-04-18 四川长虹电器股份有限公司 一种对网络边缘节点中存储资源的处理方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040074403A (ko) * 2003-02-18 2004-08-25 주식회사 케이티 Cdn 통합 서비스 제공시스템 및 방법
CN101119225A (zh) * 2006-07-31 2008-02-06 西门子通信技术(北京)有限公司 一种网络访问的统计方法及其系统
CN101179494A (zh) * 2007-12-03 2008-05-14 浙江大学 面向网络多媒体传输服务的资源分发方法
CN102195986A (zh) * 2011-05-19 2011-09-21 南京中兴新软件有限责任公司 一种基于内容分发网络的数据处理方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612298A (zh) * 2015-10-22 2017-05-03 中国科学院声学研究所 一种基于大规模网络节点的内容分发方法及系统
CN106612298B (zh) * 2015-10-22 2019-08-06 中国科学院声学研究所 一种基于大规模网络节点的内容分发方法及系统
CN111950872A (zh) * 2020-07-30 2020-11-17 深圳市高德信通信股份有限公司 一种cdn资源调度系统
CN112383792A (zh) * 2020-11-12 2021-02-19 咪咕视讯科技有限公司 直播内容同步处理方法、电子设备及存储介质
CN112383792B (zh) * 2020-11-12 2023-04-18 咪咕视讯科技有限公司 直播内容同步处理方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN102195986A (zh) 2011-09-21

Similar Documents

Publication Publication Date Title
US20220053225A1 (en) Image Sampling from Multicast Streams
US10154294B2 (en) Cloud based location shifting service
US9137494B2 (en) Systems and methods to order a content item deliverable via a television service
CN100428796C (zh) 视频点播方法、系统、服务器和终端
US10368118B2 (en) System and apparatus for managing video content recordings
US9596095B2 (en) Optimized near-simultaneous distribution of multimedia content
WO2012034373A1 (zh) 实现多终端断点续播节目的方法、装置及系统
EP3777101B1 (en) Group enhanced content delivery
WO2012155679A1 (zh) 一种基于内容分发网络的数据处理方法及装置
KR20110076831A (ko) 분산 네트워크 pvr 시스템 및 그 서비스 방법
US8537992B2 (en) System and method for recording communication activities
WO2011097991A1 (zh) 三屏融合中基于交互式网络电视的实现方法及系统
US11212575B2 (en) Methods and apparatus for initiating a playback pause operation on one device and resuming playback on another playback device
US20120124145A1 (en) Connecting message media with shared digital media
WO2011140837A1 (zh) 一种融合业务系统及其实现方法
CN105917659B (zh) 服务提供商网络中的节目记录的混合存储
CN102833579B (zh) 一种网络个人录像业务实现的方法及装置
WO2016165521A1 (zh) 一种视频上线的提醒方法、装置及系统
CN101521666A (zh) 用于内容的实况传送的方法、以及控制设备和关联的设备
JP2014171107A (ja) データ処理システム、方法、及びプログラム、並びにデータ配信システム
KR20150036026A (ko) 데이터 스트림을 브로드캐스팅하기 위한 적어도 하나의 서비스 및 적어도 두 개의 단말기를 포함하는 시스템에 데이터 스트림을 할당하기 위한 방법

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

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

Country of ref document: EP

Kind code of ref document: A1