WO2018086575A1 - Method and device for controlling media resource - Google Patents

Method and device for controlling media resource Download PDF

Info

Publication number
WO2018086575A1
WO2018086575A1 PCT/CN2017/110382 CN2017110382W WO2018086575A1 WO 2018086575 A1 WO2018086575 A1 WO 2018086575A1 CN 2017110382 W CN2017110382 W CN 2017110382W WO 2018086575 A1 WO2018086575 A1 WO 2018086575A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
media
media resource
cdn
policy server
Prior art date
Application number
PCT/CN2017/110382
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 WO2018086575A1 publication Critical patent/WO2018086575A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • 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/80Responding to QoS

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling media resources.
  • the video on demand service can be based on a Content Delivery Network (CDN) system.
  • CDN Content Delivery Network
  • the CDN system can reduce the number of links on the Internet that may affect the speed and stability of data transmission, making content transmission faster and more stable.
  • the CDN system can real-time according to the network traffic and the connection of multiple service nodes, the load status, and the distance between the service node and the user and the user access time.
  • Comprehensive information such as response time redirects the user's request to the service node closest to the user.
  • the CDN system allows users to get the content they need, solve the network congestion and improve the response speed of users visiting the website.
  • the edge server is installed in the front-end equipment room or the front-end equipment room.
  • the layout of the edge server may lead to high construction costs, the network is easily congested and the terminal resources cannot be fully utilized.
  • a method and device for controlling media resources are proposed, which can improve the utilization of terminal hardware resources and reduce the construction cost of the CDN system.
  • a method of controlling media resources including:
  • the content distribution network CDN resource policy server searches for resource information of the media resource requested by the user equipment in the resource list;
  • the CDN resource policy server sends a media resource request to multiple cable modems CM according to the media resource;
  • the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, so that the target CM sends the media resource to the user equipment.
  • the resource list includes a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe the media of the CDN resource policy server.
  • Access path information that controls MAC address and resource storage;
  • the media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
  • the CDN resource policy server sends a media resource request to multiple CMs according to the media resource, including:
  • the CDN resource policy server forwards the media resource request to the plurality of CMs by using a cable modem terminal system CMTS, where the media resource request includes: the resource identifier, the resource name, the resource description, The resource type and the resource location;
  • the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, including:
  • the CDN resource policy server selects a target CM with the lowest resource usage rate as the sending server of the media resource according to the media resource response sent by the plurality of CMs, and sends the media resource confirmation message to the target CM.
  • the method further includes:
  • the CDN resource policy server sends a resource query request to the plurality of CMs, receives a response of the resource query request sent by the multiple CMs, and updates the resource list; Returning to the step of executing the resource information of the media resource requested by the user equipment in the resource list by the CDN resource policy server.
  • a method of controlling media resources including:
  • the cable modem CM receives a media resource request sent by the content distribution network CDN resource policy server according to the media resource;
  • a media resource control device includes:
  • the query module is configured to: in the resource list, search for resource information of the media resource requested by the user equipment;
  • a first sending module configured to: if the media resource is in the resource list, send a media resource request to multiple cable modems CM according to the media resource;
  • the receiving module is configured to receive a media resource response sent by the multiple CMs, select a target CM according to the media resource response, and send a media resource confirmation message to the target CM, so that the target CM sends the target CM to the user equipment. Said media resources.
  • the resource list includes a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe the media of the CDN resource policy server.
  • Access path information that controls MAC address and resource storage;
  • the media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
  • the first sending module is configured to: forward the media resource request to the multiple CMs by using a cable modem terminal system CMTS, where the media resource request includes: the resource identifier, the a resource name, the resource description, the resource type, and the resource location;
  • the receiving module is configured to: select, according to the media resource response sent by the multiple CMs, a target CM with the lowest resource usage rate as a sending server of the media resource, and send the media resource confirmation message to the target CM.
  • the device further includes:
  • the second sending module is configured to: after searching for the resource information of the media resource requested by the user equipment in the resource list, if the resource information is not in the resource list, send the information to the multiple CMs
  • the source query request receives the response of the resource query request sent by the plurality of CMs, updates the resource list, and returns a step of performing the resource information of the media resource requested by the user equipment in the resource list.
  • a media resource control device includes:
  • a receiving module configured to receive a media resource request sent by the content distribution network CDN resource policy server according to the media resource
  • a sending module configured to send a media resource response to the CDN resource policy server, so that the CDN resource policy server selects a cable modem CM according to the media resource response, and sends a media resource confirmation message to the CM;
  • the second receiving module is configured to receive the media resource confirmation message and send the media resource to the user equipment.
  • a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above.
  • a content distribution network CDN resource policy server comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method performed by the CDN resource policy server described above.
  • a cable modem CM comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of CM execution described above.
  • FIG. 1 is a schematic flowchart of a method for controlling a media resource according to an embodiment
  • FIG. 2 is a schematic flowchart of a method for controlling a media resource according to another embodiment
  • FIG. 3 is a schematic flowchart of a method for controlling a media resource according to another embodiment
  • FIG. 4 is a schematic structural diagram of a media resource control apparatus according to an embodiment
  • FIG. 5 is a schematic structural diagram of a media resource control apparatus according to another embodiment
  • FIG. 6 is a schematic structural diagram of a CDN system according to another embodiment
  • FIG. 7 is a schematic diagram of a hardware structure of a CDN resource policy server according to an embodiment
  • FIG. 8 is a schematic structural diagram of hardware of a CM according to an embodiment.
  • FIG. 1 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
  • the method for controlling a media resource includes the following steps.
  • step 101 the CDN resource policy server queries the resource list.
  • the resource list may include a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify a media resource, and the resource name is used to describe a resource name, and the resource description is used to describe Describe resource content, the resource type is used to describe a classification of the resource, and the resource location is used to describe a Media Access Control (MAC) address of the CDN resource policy server and path information of the resource storage.
  • MAC Media Access Control
  • the user equipment sends a media resource request;
  • the user equipment refers to a device that can connect to the Internet, including a computer, a tablet PAD, a mobile phone, a television, and a network set top box.
  • the media resource includes at least one of video, audio, and pictures.
  • the media resource request of the user equipment is sent to the Cable Modem Terminal Systems (CMTS) via a Cable Modem (CM) and forwarded to the CDN Resource Policy Server via the CMTS.
  • CMTS Cable Modem Terminal Systems
  • CM Cable Modem
  • step 102 the CDN resource policy server determines whether the media resource requested by the user equipment is in the resource list.
  • step 103 if the CDN resource policy server determines that the media resource is in the resource list, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource.
  • the sending, by the CDN resource policy server, the media resource request to the multiple CMs according to the media resource includes: the CDN resource policy server includes the media according to the media resources requested by the user equipment in the CM.
  • the CM of the resource sends a media resource request.
  • the CDN resource policy server sends a media resource request to multiple CMs according to the media resource, including:
  • the CDN resource policy server forwards the media resource request to the multiple CMs by using a CMTS, where the media resource request includes: the resource identifier, the resource name, the resource description, the resource type, and The resource location.
  • the CM after receiving the resource query request sent by the CDN resource policy server, the CM sends a resource query response to the CDN resource policy server, where the resource query response includes whether the CM (CDN edge server) has the resource requested by the CDN resource policy server. feedback of. If the CM (CDN Edge Server) does not have the resources requested by the CDN Resource Policy Server, the CDN Resource Policy Server may request resources from the content provider's front-end server.
  • the CDN resource policy server sends a media resource request to multiple CMs according to the media resource.
  • the same media resource may be on multiple CMs (CDN edge servers), and the CDN resource policy server may send all CMs with the requested media resources ( The CDN Edge Server sends a media resource request, which can be forwarded via the CMTS.
  • the CDN resource policy server receives a media resource response sent by the multiple CMs, and the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. So that the target CM sends the media resource to the user equipment.
  • the media resource response may include: a CM resource usage, a resource identifier of the media resource, the resource name, the resource description, the resource type, and the resource location.
  • the resource location of the media resource describes a MAC address of the CDN resource policy server and path information of the media resource storage.
  • CM resource usage refers to the case where other devices use CM resources.
  • the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, including:
  • the CDN resource policy server selects a target CM with the lowest resource usage rate as the sending server of the media resource according to the media resource response sent by the plurality of CMs, and sends the media resource confirmation message to the target CM.
  • FIG. 2 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
  • the method for controlling a media resource includes the following steps.
  • step 201 the CDN resource policy server queries the resource list.
  • step 202 the CDN resource policy server determines whether the media resource is in the resource list.
  • step 203 if the CDN resource policy server determines that the media resource is in the resource list, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource.
  • step 204 if the CDN resource policy server determines that the media resource is not in the resource list, the CDN resource policy server sends a resource query request to the multiple CMs, and receives the resource query request sent by the multiple CMs. In response, the list of resources is updated and returns to step 202.
  • the CDN resource policy server receives a media resource response sent by the multiple CMs, and the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. So that the target CM sends the media resource to the user equipment.
  • FIG. 3 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
  • the method for controlling a media resource includes the following steps.
  • step 301 the CM receives a media resource request sent by the CDN resource policy server according to the media resource.
  • the CM sends a media resource response to the CDN resource policy server, so that the CDN resource policy server selects the CM according to the media resource response, and sends a media resource confirmation message to the CM.
  • step 303 the media resource confirmation message is received, and the media resource is sent to the user equipment.
  • FIG. 4 is a schematic structural diagram of a media resource control apparatus according to an embodiment.
  • the media resource control device can be set in the CDN resource policy server.
  • the query module 401 is set to query the resource list.
  • the resource list may include a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe a MAC of the CDN resource policy server. Path information for the address and resource storage.
  • the determining module 402 is configured to determine whether the media resource is in the resource list.
  • the first sending module 403 is configured to: if the media resource is in the resource list, send a media resource request to multiple CMs according to the media resource.
  • the first sending module 403 is configured to:
  • the media resource request includes: the resource identifier, the resource name, the resource description, the resource type, and the resource location.
  • the receiving module 404 is configured to receive a media resource response sent by the multiple CMs, select a target CM according to the media resource response, and send a media resource confirmation message to the target CM, so that the target of the media resource confirmation message is received.
  • the CM sends the media resource to the user equipment.
  • the media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and the The resource location of the property.
  • the receiving module 404 is configured to:
  • the CM with the lowest resource usage rate as the target CM (the target CM as the sending server of the media resource), and sending the media resource confirmation message to the target CM.
  • the device further includes: a second sending module 405.
  • the second sending module 405 is configured to: after determining whether the media resource is in the resource list, if the media resource is not in the resource list, send a resource query request to the multiple CMs, and receive the multiple CM sending The resource query request response, update the resource list, and return to execute to determine whether the media resource is in the resource list.
  • the above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • FIG. 5 is a schematic structural diagram of a media resource control apparatus according to an embodiment of the present invention.
  • the media resource control apparatus may be disposed in a CM.
  • the apparatus includes: a receiving module 501 and a sending module 502.
  • the receiving module 501 is configured to receive a media resource request sent by the CDN resource policy server according to the media resource.
  • the sending module 502 is configured to send a media resource response to the CDN resource policy server, so that the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. After receiving the media resource confirmation message, the target CM sends the media resource to the user equipment.
  • FIG. 6 is a schematic structural diagram of a CDN system according to an embodiment.
  • the system includes: a CMTS 601, a CDN resource policy server 602 configured to set resource policies and resource scheduling, a CM 603 configured to provide network access functions for user equipment, an Internet 604, and a user equipment 605.
  • the CMTS 601 is connected to the Internet 604, the CMTS 601 is connected to the CDN resource policy server 602, the CMTS 601 is connected to the CM 603, and the CM 603 is connected to the user equipment 605.
  • the CDN resource policy server 602 queries the resource list to determine whether the media resource is in the resource list. If the CDN resource policy server 602 determines that the media resource is in the resource list, the CDN resource policy server 602 sends a media resource request to the plurality of CMs 603 according to the media resource, and receives the media resource response sent by the multiple CMs. The target CM 603 is selected according to the media resource response, and the media resource confirmation message is sent to the target CM 603, so that the target CM 603 that receives the media resource confirmation message sends the media resource to the user equipment 605.
  • the target CM 603 receives the media resource request sent by the CDN resource policy server 602 according to the media resource, and sends a media resource response to the CDN resource policy server 602. If the target CM 603 receives the media resource confirmation message, the target CM 603 sends the media resource to the user equipment 605.
  • the CDN resource policy server includes:
  • At least one processor 70 is exemplified by a processor 70 in FIG. 7; a memory 71; and a communication interface 72 and a bus 73.
  • the processor 70, the memory 71, and the communication interface 72 can complete communication with each other through the bus 73.
  • Communication interface 72 can transmit data and signals.
  • the processor 70 can invoke the logic instructions in the memory 71 to perform the method performed by the CDN resource policy server in the above embodiments.
  • logic instructions in the memory 71 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 71 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to a method executed by the CDN resource policy server in the above embodiment.
  • the processor 70 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 71, that is, the method performed by the CDN resource policy server in the above embodiment.
  • the memory 71 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 71 may include a high speed random access memory, and may also include a nonvolatile memory.
  • CM includes:
  • At least one processor 80 which is exemplified by a processor 80 in FIG. 8; a memory 81; and a communication interface 82 and a bus 83.
  • the processor 80, the memory 81, and the communication interface 82 can complete communication with each other through the bus 83.
  • Communication interface 82 can transmit data and signals.
  • the processor 80 can call the logic instructions in the memory 81 to perform the method performed by the CM in the above embodiment.
  • logic instructions in the memory 81 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 81 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to the method executed by the CM in the above embodiment.
  • the processor 80 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 81, that is, the method of the CM execution in the above embodiment.
  • the memory 81 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 81 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the method and device for controlling the media resources can improve the utilization of the hardware resources of the terminal and reduce the construction cost of the CDN system.

Abstract

A method for controlling media resource comprises: a content distribution network (CDN) resource policy server determines whether a media resource is in a resource list; if the media resource is in the resource list, the CDN resource policy server sends a media resource request to a plurality of cable modems (CMs) according to the media resource; the CDN resource policy server receives media resource responses sent by the plurality of CMs; and the CDN resource policy server selects a target CM according to the media resource responses for sending a media resource acknowledgement message, so that the target CM sends the media resource to a user equipment. Also disclosed is a device for controlling a media resource.

Description

媒体资源的控制方法及装置Media resource control method and device 技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种媒体资源的控制方法及装置。The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling media resources.
背景技术Background technique
随着双向网络业务在广播电视行业中的发展,视频点播等业务已经成为在广电领域中的一项常规业务。视频点播业务可以基于内容分发网络(Content Delivery Network,CDN)***。该CDN***能够减少互联网上有可能影响数据传输速度和稳定性的环节,使内容传输的更快、更稳定。通过在网络中放置多个节点服务器构成互联网中的一层智能虚拟网络,CDN***能够实时地根据网络流量和多个服务节点的连接、负载状况以及服务节点与用户之间的距离和用户访问时的响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上。CDN***使用户可就近取得所需内容,解决网络拥挤的状况,提高用户访问网站的响应速度。With the development of two-way network services in the broadcast television industry, services such as video on demand have become a regular service in the field of broadcasting and television. The video on demand service can be based on a Content Delivery Network (CDN) system. The CDN system can reduce the number of links on the Internet that may affect the speed and stability of data transmission, making content transmission faster and more stable. By placing multiple node servers in the network to form a layer of intelligent virtual network in the Internet, the CDN system can real-time according to the network traffic and the connection of multiple service nodes, the load status, and the distance between the service node and the user and the user access time. Comprehensive information such as response time redirects the user's request to the service node closest to the user. The CDN system allows users to get the content they need, solve the network congestion and improve the response speed of users visiting the website.
相关技术中的CDN***中,边缘服务器架设在前端机房或者分前端机房。边缘服务器的布局方式可能导致建设成本高,网络容易拥塞且无法充分利用终端资源。In the CDN system of the related art, the edge server is installed in the front-end equipment room or the front-end equipment room. The layout of the edge server may lead to high construction costs, the network is easily congested and the terminal resources cannot be fully utilized.
发明内容Summary of the invention
提出一种媒体资源的控制方法及装置,能够提高终端硬件资源的利用率并减少CDN***的构建成本。A method and device for controlling media resources are proposed, which can improve the utilization of terminal hardware resources and reduce the construction cost of the CDN system.
一种媒体资源的控制方法,包括:A method of controlling media resources, including:
内容分发网络CDN资源策略服务器在资源列表中查找用户设备请求的媒体资源的资源信息;The content distribution network CDN resource policy server searches for resource information of the media resource requested by the user equipment in the resource list;
若所述资源信息在所述资源列表中,则所述CDN资源策略服务器根据所述媒体资源向多个线缆调制解调器CM发送媒体资源请求;And if the resource information is in the resource list, the CDN resource policy server sends a media resource request to multiple cable modems CM according to the media resource;
所述CDN资源策略服务器接收所述多个CM发送的媒体资源响应;以及 Receiving, by the CDN resource policy server, a media resource response sent by the plurality of CMs;
所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送所述媒体资源。The CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, so that the target CM sends the media resource to the user equipment.
可选的,所述资源列表包括资源标识、资源名称、资源描述、资源类型和资源位置;所述资源标识用于唯一标识媒体资源;所述资源位置用于描述所述CDN资源策略服务器的媒体访问控制MAC地址和资源存储的路径信息;以及Optionally, the resource list includes a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe the media of the CDN resource policy server. Access path information that controls MAC address and resource storage;
所述媒体资源响应包括:CM资源使用情况、所述媒体资源的资源标识、所述媒体资源的资源名称、所述媒体资源的资源描述、所述媒体资源的资源类型和所述媒体资源的资源位置。The media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
可选的,所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求,包括:Optionally, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource, including:
所述CDN资源策略服务器通过线缆调制解调器终端***CMTS向所述多个CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置;The CDN resource policy server forwards the media resource request to the plurality of CMs by using a cable modem terminal system CMTS, where the media resource request includes: the resource identifier, the resource name, the resource description, The resource type and the resource location;
所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,包括:The CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, including:
所述CDN资源策略服务器根据所述多个CM发送的媒体资源响应选择资源使用率最低的目标CM作为媒体资源的发送服务器,并向所述目标CM发送所述媒体资源确认消息。The CDN resource policy server selects a target CM with the lowest resource usage rate as the sending server of the media resource according to the media resource response sent by the plurality of CMs, and sends the media resource confirmation message to the target CM.
可选的,所述CDN资源策略服务器在所述资源列表中查找用户设备请求的媒体资源的资源信息之后,所述方法还包括:Optionally, after the CDN resource policy server searches for the resource information of the media resource requested by the user equipment in the resource list, the method further includes:
若所述资源信息不在所述资源列表中,所述CDN资源策略服务器向所述多个CM发送资源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列表;并返回执行所述CDN资源策略服务器在所述资源列表中查找用户设备请求的媒体资源的资源信息的步骤。If the resource information is not in the resource list, the CDN resource policy server sends a resource query request to the plurality of CMs, receives a response of the resource query request sent by the multiple CMs, and updates the resource list; Returning to the step of executing the resource information of the media resource requested by the user equipment in the resource list by the CDN resource policy server.
一种媒体资源的控制方法,包括:A method of controlling media resources, including:
线缆调制解调器CM接收内容分发网络CDN资源策略服务器根据媒体资源发送的媒体资源请求; The cable modem CM receives a media resource request sent by the content distribution network CDN resource policy server according to the media resource;
所述CM向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择所述CM,并向所述CM发送媒体资源确认消息;以及Sending, by the CM, a media resource response to the CDN resource policy server, so that the CDN resource policy server selects the CM according to the media resource response, and sends a media resource confirmation message to the CM;
接收所述媒体资源确认消息,向用户设备发送与所述媒体资源请求对应的媒体资源。Receiving the media resource confirmation message, and sending a media resource corresponding to the media resource request to the user equipment.
一种媒体资源的控制装置,包括:A media resource control device includes:
查询模块,设置为在资源列表中查找用户设备请求的媒体资源的资源信息;The query module is configured to: in the resource list, search for resource information of the media resource requested by the user equipment;
第一发送模块,设置为若所述媒体资源在所述资源列表中,则根据所述媒体资源向多个线缆调制解调器CM发送媒体资源请求;以及a first sending module, configured to: if the media resource is in the resource list, send a media resource request to multiple cable modems CM according to the media resource;
接收模块,设置为接收所述多个CM发送的媒体资源响应,根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送所述媒体资源。The receiving module is configured to receive a media resource response sent by the multiple CMs, select a target CM according to the media resource response, and send a media resource confirmation message to the target CM, so that the target CM sends the target CM to the user equipment. Said media resources.
可选的,所述资源列表包括资源标识、资源名称、资源描述、资源类型和资源位置;所述资源标识用于唯一标识媒体资源;所述资源位置用于描述所述CDN资源策略服务器的媒体访问控制MAC地址和资源存储的路径信息;以及Optionally, the resource list includes a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe the media of the CDN resource policy server. Access path information that controls MAC address and resource storage;
所述媒体资源响应包括:CM资源使用情况、所述媒体资源的资源标识、所述媒体资源的资源名称、所述媒体资源的资源描述、所述媒体资源的资源类型和所述媒体资源的资源位置。The media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
可选的,所述第一发送模块,设置为:通过线缆调制解调器终端***CMTS向所述多个CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置;以及Optionally, the first sending module is configured to: forward the media resource request to the multiple CMs by using a cable modem terminal system CMTS, where the media resource request includes: the resource identifier, the a resource name, the resource description, the resource type, and the resource location;
所述接收模块设置为:根据所述多个CM发送的媒体资源响应选择资源使用率最低的目标CM作为媒体资源的发送服务器,并向所述目标CM发送所述媒体资源确认消息。The receiving module is configured to: select, according to the media resource response sent by the multiple CMs, a target CM with the lowest resource usage rate as a sending server of the media resource, and send the media resource confirmation message to the target CM.
可选的,所述的装置,还包括:Optionally, the device further includes:
第二发送模块,设置为在所述资源列表中查找用户设备请求的媒体资源的资源信息之后,若所述资源信息不在所述资源列表中,向所述多个CM发送资 源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列表,并返回执行所述所述在所述资源列表中查找用户设备请求的媒体资源的资源信息的步骤。The second sending module is configured to: after searching for the resource information of the media resource requested by the user equipment in the resource list, if the resource information is not in the resource list, send the information to the multiple CMs The source query request receives the response of the resource query request sent by the plurality of CMs, updates the resource list, and returns a step of performing the resource information of the media resource requested by the user equipment in the resource list.
一种媒体资源的控制装置,包括:A media resource control device includes:
接收模块,设置为接收内容分发网络CDN资源策略服务器根据媒体资源发送的媒体资源请求;以及a receiving module, configured to receive a media resource request sent by the content distribution network CDN resource policy server according to the media resource;
发送模块,设置为向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择线缆调制解调器CM,并向所述CM发送媒体资源确认消息;以及a sending module, configured to send a media resource response to the CDN resource policy server, so that the CDN resource policy server selects a cable modem CM according to the media resource response, and sends a media resource confirmation message to the CM;
第二接收模块,设置为接收所述媒体资源确认消息,向用户设备发送媒体资源。The second receiving module is configured to receive the media resource confirmation message and send the media resource to the user equipment.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一项的方法。A computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above.
一种内容分发网络CDN资源策略服务器,包括:A content distribution network CDN resource policy server, comprising:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述CDN资源策略服务器执行的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method performed by the CDN resource policy server described above.
一种线缆调制解调器CM,包括:A cable modem CM comprising:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述CM执行的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of CM execution described above.
附图说明DRAWINGS
图1是一实施例提供的一种媒体资源的控制方法的流程示意图; 1 is a schematic flowchart of a method for controlling a media resource according to an embodiment;
图2是另一实施例提供的一种媒体资源的控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a media resource according to another embodiment;
图3是另一实施例提供的一种媒体资源的控制方法的流程示意图;3 is a schematic flowchart of a method for controlling a media resource according to another embodiment;
图4是一实施例提供的一种媒体资源的控制装置的结构示意图;FIG. 4 is a schematic structural diagram of a media resource control apparatus according to an embodiment; FIG.
图5是另一实施例提供的一种媒体资源的控制装置的结构示意图;FIG. 5 is a schematic structural diagram of a media resource control apparatus according to another embodiment; FIG.
图6是另一实施例提供的一种CDN***的结构示意图;FIG. 6 is a schematic structural diagram of a CDN system according to another embodiment; FIG.
图7是一实施例提供的CDN资源策略服务器的硬件结构示意图;以及FIG. 7 is a schematic diagram of a hardware structure of a CDN resource policy server according to an embodiment;
图8是一实施例提供的CM的硬件结构示意图。FIG. 8 is a schematic structural diagram of hardware of a CM according to an embodiment.
具体实施方式detailed description
图1是一实施例提供的一种媒体资源的控制方法的流程示意图。FIG. 1 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
如图1所示,所述媒体资源的控制方法包括如下步骤。As shown in FIG. 1, the method for controlling a media resource includes the following steps.
步骤101中,CDN资源策略服务器查询资源列表。In step 101, the CDN resource policy server queries the resource list.
其中,所述资源列表可以包括资源标识、资源名称、资源描述、资源类型和资源位置,所述资源标识用于唯一标识媒体资源,所述资源名称用于描述资源名称,所述资源描述用于描述资源内容,所述资源类型用于描述资源的分类,以及所述资源位置用于描述所述CDN资源策略服务器的媒体访问控制(MediaAccessControl,MAC)地址和资源存储的路径信息。The resource list may include a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify a media resource, and the resource name is used to describe a resource name, and the resource description is used to describe Describe resource content, the resource type is used to describe a classification of the resource, and the resource location is used to describe a Media Access Control (MAC) address of the CDN resource policy server and path information of the resource storage.
可选的,用户设备发送媒体资源请求;用户设备是指可以连接互联网的设备,包括电脑、平板电脑PAD、手机、电视以及网络机顶盒。媒体资源包括视频、音频以及图片中的至少一种。Optionally, the user equipment sends a media resource request; the user equipment refers to a device that can connect to the Internet, including a computer, a tablet PAD, a mobile phone, a television, and a network set top box. The media resource includes at least one of video, audio, and pictures.
用户设备的媒体资源请求经过缆调制解调器(Cable Modem,CM)发送给线缆调制解调器终端***(Cable Modem Terminal Systems,CMTS),经过CMTS转发给CDN资源策略服务器。The media resource request of the user equipment is sent to the Cable Modem Terminal Systems (CMTS) via a Cable Modem (CM) and forwarded to the CDN Resource Policy Server via the CMTS.
步骤102中,所述CDN资源策略服务器判断用户设备请求的媒体资源是否在所述资源列表中。In step 102, the CDN resource policy server determines whether the media resource requested by the user equipment is in the resource list.
步骤103中,若所述CDN资源策略服务器判断媒体资源在所述资源列表中,则所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求。 In step 103, if the CDN resource policy server determines that the media resource is in the resource list, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource.
可选的,所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求包括,所述CDN资源策略服务器根据哪些CM中包括用户设备请求的媒体资源,向多个包含所述媒体资源的CM发送媒体资源请求。Optionally, the sending, by the CDN resource policy server, the media resource request to the multiple CMs according to the media resource includes: the CDN resource policy server includes the media according to the media resources requested by the user equipment in the CM. The CM of the resource sends a media resource request.
可选地,所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求,包括:Optionally, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource, including:
所述CDN资源策略服务器通过CMTS向所述多个CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置。The CDN resource policy server forwards the media resource request to the multiple CMs by using a CMTS, where the media resource request includes: the resource identifier, the resource name, the resource description, the resource type, and The resource location.
可选的,CM接收到CDN资源策略服务器发送的资源查询请求后,发送资源查询响应给CDN资源策略服务器,所述资源查询响应包括CM(CDN边缘服务器)是否有CDN资源策略服务器所请求的资源的反馈。如果CM(CDN边缘服务器)没有CDN资源策略服务器所请求的资源,CDN资源策略服务器可以向内容提供商的前端服务器请求资源。Optionally, after receiving the resource query request sent by the CDN resource policy server, the CM sends a resource query response to the CDN resource policy server, where the resource query response includes whether the CM (CDN edge server) has the resource requested by the CDN resource policy server. feedback of. If the CM (CDN Edge Server) does not have the resources requested by the CDN Resource Policy Server, the CDN Resource Policy Server may request resources from the content provider's front-end server.
CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求,同样的媒体资源可能在于多个CM(CDN边缘服务器)上,CDN资源策略服务器可以向所有具有所请求的媒体资源的CM(CDN边缘服务器)发送媒体资源请求,所述媒体资源请求可经由CMTS转发。The CDN resource policy server sends a media resource request to multiple CMs according to the media resource. The same media resource may be on multiple CMs (CDN edge servers), and the CDN resource policy server may send all CMs with the requested media resources ( The CDN Edge Server sends a media resource request, which can be forwarded via the CMTS.
步骤104中,所述CDN资源策略服务器接收所述多个CM发送的媒体资源响应,所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送媒体资源。In step 104, the CDN resource policy server receives a media resource response sent by the multiple CMs, and the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. So that the target CM sends the media resource to the user equipment.
其中,所述媒体资源响应可以包括:CM资源使用情况、所述媒体资源的资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置。The media resource response may include: a CM resource usage, a resource identifier of the media resource, the resource name, the resource description, the resource type, and the resource location.
可选的,所述媒体资源的资源位置描述所述CDN资源策略服务器的MAC地址和所述媒体资源存储的路径信息。Optionally, the resource location of the media resource describes a MAC address of the CDN resource policy server and path information of the media resource storage.
CM资源使用情况是指其它设备使用CM资源的情况。CM resource usage refers to the case where other devices use CM resources.
可选地,所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,包括: Optionally, the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, including:
所述CDN资源策略服务器根据所述多个CM发送的媒体资源响应选择资源使用率最低的目标CM作为媒体资源的发送服务器,并向所述目标CM发送所述媒体资源确认消息。The CDN resource policy server selects a target CM with the lowest resource usage rate as the sending server of the media resource according to the media resource response sent by the plurality of CMs, and sends the media resource confirmation message to the target CM.
图2是一实施例提供的一种媒体资源的控制方法的流程示意图。FIG. 2 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
如图2所示,所述媒体资源的控制方法包括以下步骤。As shown in FIG. 2, the method for controlling a media resource includes the following steps.
步骤201中,CDN资源策略服务器查询资源列表。In step 201, the CDN resource policy server queries the resource list.
步骤202中,所述CDN资源策略服务器判断媒体资源是否在所述资源列表中。In step 202, the CDN resource policy server determines whether the media resource is in the resource list.
步骤203中,若所述CDN资源策略服务器判断媒体资源在所述资源列表中,则所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求。In step 203, if the CDN resource policy server determines that the media resource is in the resource list, the CDN resource policy server sends a media resource request to multiple CMs according to the media resource.
步骤204中,若所述CDN资源策略服务器判断媒体资源不在所述资源列表中,所述CDN资源策略服务器向所述多个CM发送资源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列表,并返回执行步骤202。In step 204, if the CDN resource policy server determines that the media resource is not in the resource list, the CDN resource policy server sends a resource query request to the multiple CMs, and receives the resource query request sent by the multiple CMs. In response, the list of resources is updated and returns to step 202.
步骤205中,所述CDN资源策略服务器接收所述多个CM发送的媒体资源响应,所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送媒体资源。In step 205, the CDN resource policy server receives a media resource response sent by the multiple CMs, and the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. So that the target CM sends the media resource to the user equipment.
图3是一实施例提供的一种媒体资源的控制方法的流程示意图。FIG. 3 is a schematic flowchart diagram of a method for controlling a media resource according to an embodiment.
如图3所示,所述媒体资源的控制方法包括以下步骤。As shown in FIG. 3, the method for controlling a media resource includes the following steps.
步骤301中,CM接收CDN资源策略服务器根据所述媒体资源发送的媒体资源请求。In step 301, the CM receives a media resource request sent by the CDN resource policy server according to the media resource.
步骤302中,所述CM向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择所述CM,并向所述CM发送媒体资源确认消息。In step 302, the CM sends a media resource response to the CDN resource policy server, so that the CDN resource policy server selects the CM according to the media resource response, and sends a media resource confirmation message to the CM.
步骤303中,接收所述媒体资源确认消息,向用户设备发送媒体资源。In step 303, the media resource confirmation message is received, and the media resource is sent to the user equipment.
图4是一实施例提供的一种媒体资源的控制装置的结构示意图。媒体资源的控制装置可设置于CDN资源策略服务器中。媒体资源的控制装置包括查询模 块401、判断模块402、第一发送模块403以及接收模块404。FIG. 4 is a schematic structural diagram of a media resource control apparatus according to an embodiment. The media resource control device can be set in the CDN resource policy server. Media resource control device Block 401, determination module 402, first transmission module 403, and reception module 404.
查询模块401设置为查询资源列表。The query module 401 is set to query the resource list.
其中,所述资源列表可以包括资源标识、资源名称、资源描述、资源类型和资源位置,所述资源标识用于唯一标识媒体资源,以及所述资源位置用于描述所述CDN资源策略服务器的MAC地址和资源存储的路径信息。The resource list may include a resource identifier, a resource name, a resource description, a resource type, and a resource location, where the resource identifier is used to uniquely identify the media resource, and the resource location is used to describe a MAC of the CDN resource policy server. Path information for the address and resource storage.
判断模块402设置为判断媒体资源是否在所述资源列表中。The determining module 402 is configured to determine whether the media resource is in the resource list.
第一发送模块403设置为若所述媒体资源在所述资源列表中,则根据所述媒体资源向多个CM发送媒体资源请求。The first sending module 403 is configured to: if the media resource is in the resource list, send a media resource request to multiple CMs according to the media resource.
可选地,所述第一发送模块403设置为:Optionally, the first sending module 403 is configured to:
通过CMTS向所述CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置。And forwarding, by the CMTS, the media resource request to the CM, where the media resource request includes: the resource identifier, the resource name, the resource description, the resource type, and the resource location.
接收模块404设置为接收所述多个CM发送的媒体资源响应,根据所述媒体资源响应选择目标CM,向所述目标CM发送媒体资源确认消息,以使得接收到所述媒体资源确认消息的目标CM向用户设备发送媒体资源。The receiving module 404 is configured to receive a media resource response sent by the multiple CMs, select a target CM according to the media resource response, and send a media resource confirmation message to the target CM, so that the target of the media resource confirmation message is received. The CM sends the media resource to the user equipment.
可选地,所述媒体资源响应包括:CM资源使用情况、所述媒体资源的资源标识、所述媒体资源的资源名称、所述媒体资源的资源描述、所述媒体资源的资源类型和所述媒体资源的资源位置。Optionally, the media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and the The resource location of the property.
可选地,所述接收模块404设置为:Optionally, the receiving module 404 is configured to:
根据所述多个CM发送的媒体资源响应选择资源使用率最低的CM作为目标CM(所述目标CM作为媒体资源的发送服务器),并向所述目标CM发送所述媒体资源确认消息。And selecting, according to the media resource response sent by the plurality of CMs, the CM with the lowest resource usage rate as the target CM (the target CM as the sending server of the media resource), and sending the media resource confirmation message to the target CM.
可选地,所述装置还包括:第二发送模块405。Optionally, the device further includes: a second sending module 405.
第二发送模块405设置为在判断媒体资源是否在所述资源列表中之后,若所述媒体资源不在所述资源列表中,向所述多个CM发送资源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列表,并返回执行判断媒体资源是否在所述资源列表中。 The second sending module 405 is configured to: after determining whether the media resource is in the resource list, if the media resource is not in the resource list, send a resource query request to the multiple CMs, and receive the multiple CM sending The resource query request response, update the resource list, and return to execute to determine whether the media resource is in the resource list.
以上技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行上述实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
图5是一发明实施例提供的一种媒体资源的控制装置的结构示意图,该媒体资源的控制装置可设置于CM中。FIG. 5 is a schematic structural diagram of a media resource control apparatus according to an embodiment of the present invention. The media resource control apparatus may be disposed in a CM.
如图5所示,所述装置包括:接收模块501以及发送模块502。As shown in FIG. 5, the apparatus includes: a receiving module 501 and a sending module 502.
接收模块501设置为接收CDN资源策略服务器根据媒体资源发送的媒体资源请求。The receiving module 501 is configured to receive a media resource request sent by the CDN resource policy server according to the media resource.
发送模块502设置为向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息。其中,所述目标CM接收到所述媒体资源确认消息后,向用户设备发送媒体资源。The sending module 502 is configured to send a media resource response to the CDN resource policy server, so that the CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM. After receiving the media resource confirmation message, the target CM sends the media resource to the user equipment.
图6是一实施例提供的一种CDN***的结构示意图。FIG. 6 is a schematic structural diagram of a CDN system according to an embodiment.
如图6所示,所述***包括:CMTS601、设置为设置资源策略和资源调度的CDN资源策略服务器602、设置为为用户设备提供网络接入功能的CM603、互联网604和用户设备605。As shown in FIG. 6, the system includes: a CMTS 601, a CDN resource policy server 602 configured to set resource policies and resource scheduling, a CM 603 configured to provide network access functions for user equipment, an Internet 604, and a user equipment 605.
所述CMTS601与所述互联网604连接,所述CMTS601与所述CDN资源策略服务器602连接,所述CMTS601与所述CM603连接,以及所述CM603与所述用户设备605连接。The CMTS 601 is connected to the Internet 604, the CMTS 601 is connected to the CDN resource policy server 602, the CMTS 601 is connected to the CM 603, and the CM 603 is connected to the user equipment 605.
所述CDN资源策略服务器602查询资源列表,判断媒体资源是否在所述资源列表中。若所述CDN资源策略服务器602判断媒体资源在所述资源列表中,则所述CDN资源策略服务器602根据媒体资源向多个CM603发送媒体资源请求,接收所述多个CM603发送的媒体资源响应,根据所述媒体资源响应选择目标CM603,并向目标CM603发送媒体资源确认消息,以使得接收到所述媒体资源确认消息的目标CM603向用户设备605发送媒体资源。 The CDN resource policy server 602 queries the resource list to determine whether the media resource is in the resource list. If the CDN resource policy server 602 determines that the media resource is in the resource list, the CDN resource policy server 602 sends a media resource request to the plurality of CMs 603 according to the media resource, and receives the media resource response sent by the multiple CMs. The target CM 603 is selected according to the media resource response, and the media resource confirmation message is sent to the target CM 603, so that the target CM 603 that receives the media resource confirmation message sends the media resource to the user equipment 605.
所述目标CM603接收CDN资源策略服务器602根据所述媒体资源发送的媒体资源请求,向所述CDN资源策略服务器602发送媒体资源响应。如果目标CM603接收到所述媒体资源确认消息,目标CM603向用户设备605发送媒体资源。The target CM 603 receives the media resource request sent by the CDN resource policy server 602 according to the media resource, and sends a media resource response to the CDN resource policy server 602. If the target CM 603 receives the media resource confirmation message, the target CM 603 sends the media resource to the user equipment 605.
一实施例提供了一种CDN资源策略服务器的硬件结构示意图。参见图7,该CDN资源策略服务器包括:An embodiment provides a hardware structure diagram of a CDN resource policy server. Referring to Figure 7, the CDN resource policy server includes:
至少一个处理器(processor)70,图7中以一个处理器70为例;存储器(memory)71;还可以包括通信接口(Communications Interface)72和总线73。其中,处理器70、存储器71以及通信接口72可以通过总线73完成相互间的通信。通信接口72可以传输数据和信号。处理器70可以调用存储器71中的逻辑指令,以执行上述实施例中CDN资源策略服务器执行的方法。At least one processor 70 is exemplified by a processor 70 in FIG. 7; a memory 71; and a communication interface 72 and a bus 73. The processor 70, the memory 71, and the communication interface 72 can complete communication with each other through the bus 73. Communication interface 72 can transmit data and signals. The processor 70 can invoke the logic instructions in the memory 71 to perform the method performed by the CDN resource policy server in the above embodiments.
此外,上述的存储器71中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 71 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器71作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如上述实施例中CDN资源策略服务器执行的方法对应的程序指令或模块。处理器70通过运行存储在存储器71中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中CDN资源策略服务器执行的方法。The memory 71 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to a method executed by the CDN resource policy server in the above embodiment. The processor 70 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 71, that is, the method performed by the CDN resource policy server in the above embodiment.
存储器71可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器71可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 71 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 71 may include a high speed random access memory, and may also include a nonvolatile memory.
一实施例提供了一种CM的硬件结构示意图。参见图8,该CM包括:An embodiment provides a hardware structure diagram of a CM. Referring to Figure 8, the CM includes:
至少一个处理器(processor)80,图8中以一个处理器80为例;存储器(memory)81;还可以包括通信接口(Communications Interface)82和总线83。其中,处理器80、存储器81以及通信接口82可以通过总线83完成相互间的通信。通信接口82可以传输数据和信号。处理器80可以调用存储器81中的逻辑指令,以执行上述实施例中CM执行的方法。 At least one processor 80, which is exemplified by a processor 80 in FIG. 8; a memory 81; and a communication interface 82 and a bus 83. The processor 80, the memory 81, and the communication interface 82 can complete communication with each other through the bus 83. Communication interface 82 can transmit data and signals. The processor 80 can call the logic instructions in the memory 81 to perform the method performed by the CM in the above embodiment.
此外,上述的存储器81中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 81 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器81作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如上述实施例中CM执行的方法对应的程序指令或模块。处理器80通过运行存储在存储器81中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中CM执行的方法。The memory 81 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, such as a program instruction or a module corresponding to the method executed by the CM in the above embodiment. The processor 80 executes the function application and the data processing by executing a software program, an instruction or a module stored in the memory 81, that is, the method of the CM execution in the above embodiment.
存储器81可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器81可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 81 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal, and the like. Further, the memory 81 may include a high speed random access memory, and may also include a nonvolatile memory.
工业实用性Industrial applicability
媒体资源的控制方法及装置,能够提高终端硬件资源的利用率并减少CDN***的构建成本。 The method and device for controlling the media resources can improve the utilization of the hardware resources of the terminal and reduce the construction cost of the CDN system.

Claims (11)

  1. 一种媒体资源的控制方法,包括:A method of controlling media resources, including:
    内容分发网络CDN资源策略服务器在资源列表中查找用户设备请求的媒体资源的资源信息;The content distribution network CDN resource policy server searches for resource information of the media resource requested by the user equipment in the resource list;
    若所述资源信息在所述资源列表中,则所述CDN资源策略服务器根据所述媒体资源向多个线缆调制解调器CM发送媒体资源请求;And if the resource information is in the resource list, the CDN resource policy server sends a media resource request to multiple cable modems CM according to the media resource;
    所述CDN资源策略服务器接收所述多个CM发送的媒体资源响应;以及Receiving, by the CDN resource policy server, a media resource response sent by the plurality of CMs;
    所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送所述媒体资源。The CDN resource policy server selects a target CM according to the media resource response, and sends a media resource confirmation message to the target CM, so that the target CM sends the media resource to the user equipment.
  2. 根据权利要求1所述的方法,其中,所述资源列表包括资源标识、资源名称、资源描述、资源类型和资源位置;所述资源标识用于唯一标识媒体资源;所述资源位置用于描述所述CDN资源策略服务器的媒体访问控制MAC地址和资源存储的路径信息;以及The method of claim 1, wherein the resource list comprises a resource identifier, a resource name, a resource description, a resource type, and a resource location; the resource identifier is used to uniquely identify a media resource; The media access control MAC address of the CDN resource policy server and the path information of the resource storage;
    所述媒体资源响应包括:CM资源使用情况、所述媒体资源的资源标识、所述媒体资源的资源名称、所述媒体资源的资源描述、所述媒体资源的资源类型和所述媒体资源的资源位置。The media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
  3. 根据权利要求2所述的方法,其中,所述CDN资源策略服务器根据所述媒体资源向多个CM发送媒体资源请求,包括:The method of claim 2, wherein the CDN resource policy server sends a media resource request to the plurality of CMs according to the media resource, including:
    所述CDN资源策略服务器通过线缆调制解调器终端***CMTS向所述多个CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置;The CDN resource policy server forwards the media resource request to the plurality of CMs by using a cable modem terminal system CMTS, where the media resource request includes: the resource identifier, the resource name, the resource description, The resource type and the resource location;
    所述CDN资源策略服务器根据所述媒体资源响应选择目标CM,并向所述 目标CM发送媒体资源确认消息,包括:The CDN resource policy server selects a target CM according to the media resource response, and The target CM sends a media resource confirmation message, including:
    所述CDN资源策略服务器根据所述多个CM发送的媒体资源响应选择资源使用率最低的目标CM作为媒体资源的发送服务器,并向所述目标CM发送所述媒体资源确认消息。The CDN resource policy server selects a target CM with the lowest resource usage rate as the sending server of the media resource according to the media resource response sent by the plurality of CMs, and sends the media resource confirmation message to the target CM.
  4. 根据权利要求1至3任意一项所述的方法,所述CDN资源策略服务器在所述资源列表中查找用户设备请求的媒体资源的资源信息之后,所述方法还包括:The method according to any one of claims 1 to 3, after the CDN resource policy server searches for the resource information of the media resource requested by the user equipment in the resource list, the method further includes:
    若所述资源信息不在所述资源列表中,所述CDN资源策略服务器向所述多个CM发送资源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列表;并返回执行所述CDN资源策略服务器在所述资源列表中查找用户设备请求的媒体资源的资源信息的步骤。If the resource information is not in the resource list, the CDN resource policy server sends a resource query request to the plurality of CMs, receives a response of the resource query request sent by the multiple CMs, and updates the resource list; Returning to the step of executing the resource information of the media resource requested by the user equipment in the resource list by the CDN resource policy server.
  5. 一种媒体资源的控制方法,包括:A method of controlling media resources, including:
    线缆调制解调器CM接收内容分发网络CDN资源策略服务器根据媒体资源发送的媒体资源请求;The cable modem CM receives a media resource request sent by the content distribution network CDN resource policy server according to the media resource;
    所述CM向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择所述CM,并向所述CM发送媒体资源确认消息;以及Sending, by the CM, a media resource response to the CDN resource policy server, so that the CDN resource policy server selects the CM according to the media resource response, and sends a media resource confirmation message to the CM;
    接收所述媒体资源确认消息,向用户设备发送与所述媒体资源请求对应的媒体资源。Receiving the media resource confirmation message, and sending a media resource corresponding to the media resource request to the user equipment.
  6. 一种媒体资源的控制装置,包括:A media resource control device includes:
    查询模块,设置为在资源列表中查找用户设备请求的媒体资源的资源信息;The query module is configured to: in the resource list, search for resource information of the media resource requested by the user equipment;
    第一发送模块,设置为若所述媒体资源在所述资源列表中,则根据所述媒 体资源向多个线缆调制解调器CM发送媒体资源请求;以及a first sending module, configured to: if the media resource is in the resource list, according to the media The physical resource sends a media resource request to the plurality of cable modems CM;
    接收模块,设置为接收所述多个CM发送的媒体资源响应,根据所述媒体资源响应选择目标CM,并向所述目标CM发送媒体资源确认消息,以使所述目标CM向用户设备发送所述媒体资源。The receiving module is configured to receive a media resource response sent by the multiple CMs, select a target CM according to the media resource response, and send a media resource confirmation message to the target CM, so that the target CM sends the target CM to the user equipment. Said media resources.
  7. 根据权利要求6所述的装置,其中,所述资源列表包括资源标识、资源名称、资源描述、资源类型和资源位置;所述资源标识用于唯一标识媒体资源;所述资源位置用于描述所述CDN资源策略服务器的媒体访问控制MAC地址和资源存储的路径信息;以及The apparatus according to claim 6, wherein the resource list comprises a resource identifier, a resource name, a resource description, a resource type, and a resource location; the resource identifier is used to uniquely identify a media resource; The media access control MAC address of the CDN resource policy server and the path information of the resource storage;
    所述媒体资源响应包括:CM资源使用情况、所述媒体资源的资源标识、所述媒体资源的资源名称、所述媒体资源的资源描述、所述媒体资源的资源类型和所述媒体资源的资源位置。The media resource response includes: a CM resource usage, a resource identifier of the media resource, a resource name of the media resource, a resource description of the media resource, a resource type of the media resource, and a resource of the media resource. position.
  8. 根据权利要求7所述的装置,其中,所述第一发送模块设置为:通过线缆调制解调器终端***CMTS向所述多个CM转发所述媒体资源请求,其中,所述媒体资源请求包括:所述资源标识、所述资源名称、所述资源描述、所述资源类型和所述资源位置;以及The apparatus according to claim 7, wherein the first transmitting module is configured to: forward the media resource request to the plurality of CMs through a cable modem termination system CMTS, wherein the media resource request comprises: a resource identifier, the resource name, the resource description, the resource type, and the resource location;
    所述接收模块设置为:根据所述多个CM发送的媒体资源响应选择资源使用率最低的目标CM作为媒体资源的发送服务器,并向所述目标CM发送所述媒体资源确认消息。The receiving module is configured to: select, according to the media resource response sent by the multiple CMs, a target CM with the lowest resource usage rate as a sending server of the media resource, and send the media resource confirmation message to the target CM.
  9. 根据权利要求6至8任意一项所述的装置,还包括:The apparatus according to any one of claims 6 to 8, further comprising:
    第二发送模块,设置为在所述资源列表中查找用户设备请求的媒体资源的资源信息之后,若所述资源信息不在所述资源列表中,向所述多个CM发送资源查询请求,接收所述多个CM发送的资源查询请求的响应,更新所述资源列 表,并返回执行所述所述在所述资源列表中查找用户设备请求的媒体资源的资源信息的步骤。The second sending module is configured to: after searching for the resource information of the media resource requested by the user equipment in the resource list, if the resource information is not in the resource list, send a resource query request to the multiple CMs, and receive the Responding to a resource query request sent by multiple CMs, updating the resource column And returning to the step of performing the resource information of the media resource requested by the user equipment in the resource list.
  10. 一种媒体资源的控制装置,包括:A media resource control device includes:
    接收模块,设置为接收内容分发网络CDN资源策略服务器根据媒体资源发送的媒体资源请求;以及a receiving module, configured to receive a media resource request sent by the content distribution network CDN resource policy server according to the media resource;
    发送模块,设置为向所述CDN资源策略服务器发送媒体资源响应,以使得所述CDN资源策略服务器根据所述媒体资源响应选择线缆调制解调器CM,并向所述CM发送媒体资源确认消息;以及a sending module, configured to send a media resource response to the CDN resource policy server, so that the CDN resource policy server selects a cable modem CM according to the media resource response, and sends a media resource confirmation message to the CM;
    第二接收模块,设置为接收所述媒体资源确认消息,向用户设备发送媒体资源。The second receiving module is configured to receive the media resource confirmation message and send the media resource to the user equipment.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-5.
PCT/CN2017/110382 2016-11-10 2017-11-10 Method and device for controlling media resource WO2018086575A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610998952.6A CN106533760B (en) 2016-11-10 2016-11-10 Method and device for constructing CDN system in CM network
CN201610998952.6 2016-11-10

Publications (1)

Publication Number Publication Date
WO2018086575A1 true WO2018086575A1 (en) 2018-05-17

Family

ID=58351865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/110382 WO2018086575A1 (en) 2016-11-10 2017-11-10 Method and device for controlling media resource

Country Status (2)

Country Link
CN (1) CN106533760B (en)
WO (1) WO2018086575A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485921A (en) * 2021-06-30 2021-10-08 网易(杭州)网络有限公司 File system test method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533760B (en) * 2016-11-10 2019-12-27 深圳创维数字技术有限公司 Method and device for constructing CDN system in CM network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111764A1 (en) * 2006-03-29 2007-10-04 Thomson Licensing Video over cable modem
CN101119359A (en) * 2006-08-01 2008-02-06 中兴通讯股份有限公司 Policy based service load balancing method
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN201491019U (en) * 2009-08-25 2010-05-26 北京原力创新科技有限公司 Network video system supporting multiple terminals
CN106533760A (en) * 2016-11-10 2017-03-22 深圳创维数字技术有限公司 Method and apparatus for constructing CDN system in CM network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010135333A1 (en) * 2009-05-19 2010-11-25 Beaumaris Networks Inc. Methods, apparatus and computer readable medium for managed adaptive bit rate for bandwidth reclamation
CN102098551A (en) * 2009-12-09 2011-06-15 华为技术有限公司 Processing method and system of stream media service
CN104902340A (en) * 2014-03-04 2015-09-09 中辉世纪传媒发展有限公司 Peer-node global server load balance media content delivery method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111764A1 (en) * 2006-03-29 2007-10-04 Thomson Licensing Video over cable modem
CN101119359A (en) * 2006-08-01 2008-02-06 中兴通讯股份有限公司 Policy based service load balancing method
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN201491019U (en) * 2009-08-25 2010-05-26 北京原力创新科技有限公司 Network video system supporting multiple terminals
CN106533760A (en) * 2016-11-10 2017-03-22 深圳创维数字技术有限公司 Method and apparatus for constructing CDN system in CM network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485921A (en) * 2021-06-30 2021-10-08 网易(杭州)网络有限公司 File system test method, device, equipment and storage medium
CN113485921B (en) * 2021-06-30 2023-08-08 网易(杭州)网络有限公司 File system testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106533760B (en) 2019-12-27
CN106533760A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
JP7252356B2 (en) MOBILE EDGE COMPUTING NODE SELECTION METHOD, APPARATUS AND SYSTEM AND COMPUTER PROGRAM
US11316786B2 (en) Systems and methods for directly responding to distributed network traffic
CN110290506B (en) Edge cloud mobility management method and device
US9838333B2 (en) Software-defined information centric network (ICN)
WO2017177767A1 (en) Service access, and control method and apparatus therefor
JP6301331B2 (en) Service content distribution method and service management platform in heterogeneous network
KR101604970B1 (en) Finding services in a service-oriented architecture(soa) network
KR101959970B1 (en) Contents delivery service method using contents sharing, and cache apparatus therefor
JP5847185B2 (en) Content sharing method and apparatus using group change information in content-centric network environment
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
US10455294B2 (en) Video distribution method and device
CN102084392A (en) System and method of managed content distrubution
CN104754640A (en) Network resource scheduling method and network resource management server
US20160366212A1 (en) P2p-based file transmission control method and p2p communication control device therefor
EP2709337B1 (en) Service data processing method, device and system
US11743319B2 (en) Implementing a queuing system in a distributed network
WO2018086575A1 (en) Method and device for controlling media resource
CN105656978A (en) Resource sharing method and device
US8504655B1 (en) Proxy delegation for content delivery
WO2016180284A1 (en) Service node allocation method, device, cdn management server and system
CN102439946B (en) Data transmission method and device
WO2014015525A1 (en) Method and device for querying for user online state
CN102571963A (en) Content delivery method, device and access network equipment
WO2017045454A1 (en) Method, device and system for realizing terminal access
WO2023001083A1 (en) Service providing method and system, gateway, device, and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1