WO2016180284A1 - Service node allocation method, device, cdn management server and system - Google Patents

Service node allocation method, device, cdn management server and system Download PDF

Info

Publication number
WO2016180284A1
WO2016180284A1 PCT/CN2016/081303 CN2016081303W WO2016180284A1 WO 2016180284 A1 WO2016180284 A1 WO 2016180284A1 CN 2016081303 W CN2016081303 W CN 2016081303W WO 2016180284 A1 WO2016180284 A1 WO 2016180284A1
Authority
WO
WIPO (PCT)
Prior art keywords
cdn
user terminal
server
determining
service node
Prior art date
Application number
PCT/CN2016/081303
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 WO2016180284A1 publication Critical patent/WO2016180284A1/en

Links

Images

Classifications

    • 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/40Support for services or applications

Definitions

  • the present application relates to the field of communications, for example, to a service node allocation method, apparatus, content distribution network CDN management server and system.
  • IPTV Internet Protocol Television
  • OTT Over The Top
  • CDN Content Delivery Network
  • a plurality of media servers are usually used to form a CDN to provide services for an end user, multiple nodes are hierarchically distributed, and each user is designated to provide a service node; the CDN caches content in different places, and loads the load.
  • Techniques such as equalization redirect user requests to a better cache server (eg, the nearest cache server) to obtain content, thereby enabling the user to view content on the node to which the preferred cache server belongs.
  • the request router (Request Router, RR for short) mechanism is one of the key factors in CDN network planning.
  • the CDN RR server utilizes redirection scheduling techniques to schedule user requests to better servers.
  • the present application provides a service node allocation method, apparatus, CDN management server and system.
  • the application provides a service node allocation method, including:
  • the login request is used to request access to the multimedia service system; and determining, according to a preset algorithm, a selected service node of the service node of the content distribution network (CDN) serving the user terminal; Transmitting the signaling address of the selected serving node to the user terminal.
  • CDN content distribution network
  • the method further includes: determining that the access mode requested by the user terminal carried in the login request is a non-CDN RR access mode.
  • the method further includes:
  • the determining, by the service node of the CDN, the selected service node that provides the service for the user terminal includes: determining that the load of the CDN RR server is not lower than the first preset value, Determining the selected service node serving the user terminal in a service node of the CDN.
  • the method further includes: determining that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
  • the method further includes:
  • the method further includes:
  • determining the selected serving node that serves the user terminal in the serving node of the CDN includes: determining that the load of the CDN RR server is higher than the The second preset value, or in the case of the CDN RR server failure, determining the selected service node serving the user terminal among the service nodes of the CDN.
  • the application also provides a service node allocation device, including:
  • a receiving module configured to receive a login request of the user terminal, where the login request is used to request access to the multimedia service system; and the computing module is configured to determine, in the service node of the content distribution network (CDN), the user according to a preset algorithm
  • the terminal provides a selected service node of the service; the first sending module is configured to send the signaling address of the selected serving node to the user terminal.
  • the device further includes: a first determining module, configured to determine that the access mode requested by the user terminal carried in the login request is a non-CDN RR access mode.
  • a first determining module configured to determine that the access mode requested by the user terminal carried in the login request is a non-CDN RR access mode.
  • the device further includes: a first determining module, configured to determine whether a load of the CDN RR server is lower than a first preset value; and a second sending module configured to determine that the load of the CDN RR server is low And sending, in the case of the first preset value, a signaling address of the CDN RR server to the user terminal.
  • a first determining module configured to determine whether a load of the CDN RR server is lower than a first preset value
  • a second sending module configured to determine that the load of the CDN RR server is low And sending, in the case of the first preset value, a signaling address of the CDN RR server to the user terminal.
  • the calculating module is configured to determine, in the case that the load of the CDN RR server is not lower than the first preset value, determine, in the service node of the CDN, the service provided by the user terminal Describe the selected service node.
  • the device further includes: a second determining module, configured to determine that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
  • a second determining module configured to determine that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
  • the device further includes: a second determining module, configured to determine whether the load of the CDN RR server is higher than a second preset value; and the third sending module is configured to determine that the load of the CDN RR server is not When the second preset value is higher, the signaling address of the CDN RR server is sent to the user terminal.
  • a second determining module configured to determine whether the load of the CDN RR server is higher than a second preset value
  • the third sending module is configured to determine that the load of the CDN RR server is not When the second preset value is higher, the signaling address of the CDN RR server is sent to the user terminal.
  • the second determining module is configured to determine whether the CDN RR server is faulty; and the third sending module is configured to: if it is determined that the CDN RR server is not faulty, The signaling address of the CDN RR server is sent to the user terminal.
  • the calculating module is configured to: when it is determined that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, determine that the service node of the CDN is The user terminal provides the selected service node of the service.
  • the application also provides a content distribution network CDN management server, comprising: the above service node allocation device.
  • the present application further provides a multimedia service system, including: the content distribution network CDN management server, the content service request routing CDN RR server, the service node, and the user terminal, and the CDN RR server is configured to log in to the user terminal. Redirecting to a selected one of the service nodes; the service node, configured to provide multimedia services.
  • the present application also provides a computer storage medium storing computer executable instructions arranged to perform the above method.
  • the application also provides an apparatus comprising:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, and when executed by the one or more processors, do the following:
  • a receiving user terminal is used to request a login request for accessing the multimedia service system; according to a preset algorithm, a selected service node of the service node of the content distribution network (CDN) serving the user terminal is determined; The manner in which the signaling address of the service node is sent to the user terminal solves the problem of large load pressure on the CDN RR server and reduces the load pressure on the CDN RR server.
  • CDN content distribution network
  • FIG. 1 is a flow chart of a service node allocation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a service node allocating apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram 1 of an optional structure of a service node allocating device according to an embodiment of the present invention
  • FIG. 4 is a second schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of an optional structure of a service node allocating apparatus according to an embodiment of the present invention.
  • FIG. 6 is a fourth schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a multimedia service system according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a multimedia service system according to an alternative embodiment of the present invention.
  • FIG. 9 is a flowchart of a multimedia access service request method according to an alternative embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing the hardware structure of an apparatus for performing a service node allocation method according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a service node allocation method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 receiving a login request of the user terminal, where the login request is used to request access to the multimedia service system;
  • Step S104 Determine, according to a preset algorithm, a selected service node in the service node of the CDN that provides a service for the user terminal;
  • Step S106 Send the signaling address of the selected serving node to the user terminal.
  • the method for directly calculating and determining the selected serving node for the user terminal and transmitting the signaling address of the selected serving node to the user terminal is adopted in the content distribution network, so that the user terminal can according to the received signaling address.
  • the selected service node may be a service node whose performance such as the idle value of the CPU and the IO throughput can satisfy the user terminal.
  • the above steps can be used to redirect the login request through the CDN RR server, which solves the problem of large load pressure on the CDN RR server and reduces the load pressure on the CDN RR server.
  • the user terminal can directly acquire the multimedia service from the selected service node without being redirected by the CDN RR server, the interaction process is reduced, thereby improving the processing efficiency of the content distribution network.
  • the above steps may be performed by the CDN management server or by a module belonging to the CDN management server.
  • the CDN management server is the management center of the CDN network.
  • the CDN management server may determine, according to requirements, whether to process the login request of the user terminal in the manner of step S104 to step S106.
  • the CDN management server may indicate that the user terminal adopts the CDN RR access mode when the load of the CDN RR server is low.
  • the CDN management server determines whether the load of the CDN RR server is lower than the first preset value; When the load of the CDN RR server is lower than the first preset value, the signaling address of the CDN RR server is sent to the user terminal.
  • the user terminal accesses by using a CDN RR access mode.
  • step S104 to step S106 are performed, so that the user terminal continues to use the non-CDN RR access mode for access.
  • the user terminal can access in the CDN RR access mode or the non-CDN RR access mode according to the load condition of the CDN RR server.
  • the manner in which the access mode is selected by the user terminal may also be adopted.
  • the user's login request may carry the access mode selected by the user terminal.
  • the CDN management server may further parse the login request, and resolve the request to the user terminal carried in the login request.
  • step S104 is performed.
  • the CDN management server can still flexibly specify the access mode of the user terminal according to the load condition of the CDN RR.
  • the CDN management server may determine, according to requirements, whether to process the login request of the user terminal in the manner of step S104 to step S106. For example, the CDN management server determines whether the load of the CDN RR server is higher than a second preset value, or whether the CDN RR server is faulty; and determines that the load of the CDN RR server is not higher than a second preset value, or the CDN RR server In the case of no failure, the signaling address of the CDN RR server is sent to the user terminal.
  • the user terminal after receiving the signaling address of the CDN RR server, the user terminal accesses by using a CDN RR access mode.
  • step S104 to step S106 are performed, so that the user terminal continues to adopt the non-CDN RR connection. Enter mode to access.
  • the CDN management server can still flexibly specify the access mode of the user terminal according to the load condition of the CDN RR.
  • a service node allocating device is also provided in the embodiment to implement the above-mentioned embodiments and optional embodiments.
  • the descriptions of the modules involved in the device will be described below.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments can be implemented in software, hardware, or an implementation of a combination of software and hardware, is also possible and conceived.
  • the apparatus includes: a receiving module 22, a calculating module 24, and a first sending module 26, wherein the receiving module 22 is configured to receive
  • the user terminal is configured to request a login request to access the multimedia service system;
  • the calculation module 24 is coupled to the receiving module 22, and configured to determine, according to a preset algorithm, a selected service node of the CDN serving node serving the user terminal;
  • the transmitting module 26 is coupled to the computing module 24 and arranged to transmit the signaling address of the selected serving node to the user terminal.
  • FIG. 3 is a schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a first determining module 32 coupled to the receiving module 22 and the computing module 24 The access mode requested by the user terminal carried in the login request is set to be a non-CDN RR access mode.
  • FIG. 4 is a second schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention.
  • the device further includes: a first determining module 42 coupled to the first determining module 32 or the receiving module. 22, and coupled to the computing module 24, configured to determine whether the load of the CDN RR server is lower than the first preset value; the second sending module 44, coupled to the first determining module 42, is configured to determine the load of the CDN RR server When the value is lower than the first preset value, the signaling address of the CDN RR server is sent to the user terminal.
  • the calculating module 24 is configured to determine, in the case that the load of the CDN RR server is not lower than the first preset value, the selected service node serving the user terminal in the service node of the CDN.
  • FIG. 5 is a third schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 5, the device further includes: a second determining module 52 coupled to the receiving module 22 and the computing module 24 The access mode requested by the user terminal carried in the login request is set to the CDN RR access mode.
  • FIG. 6 is a schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 6 , the device further includes:
  • the apparatus further includes: a second determining module 62 coupled to the second determining module 52 or the receiving module 22, and coupled to the computing module 24, configured to determine whether the load of the CDN RR server is
  • the second sending module 64 is coupled to the second determining module 62, and is configured to: if it is determined that the load of the CDN RR server is not higher than the second preset value, The signaling address of the CDN RR server is sent to the user terminal.
  • the second determining module 62 is configured to determine whether the CDN RR server is faulty; the fourth sending module, the third sending module 64 is configured to determine that the CDN RR server is not faulty, Sending a signaling address of the CDN RR server to the user terminal.
  • the calculating module 24 is configured to determine, in the case that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, determining the service provided by the CDN to the user terminal. Service node.
  • the embodiment further provides a CDN management server, comprising: the foregoing service node allocating device.
  • FIG. 7 is a schematic structural diagram of a multimedia service system according to an embodiment of the present invention.
  • the multimedia service system includes: a CDN management server 72, a CDN RR server 74, The service node 76 and the user terminal 78, wherein the CDN RR server 72 is arranged to redirect the login request of the user terminal to a selected one of the service nodes; the service node 76 is arranged to provide multimedia services.
  • a plurality of functional units in the embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the present invention provides a system and method for improving user access to a multimedia service system, and the method relates to a multimedia service field in a telecommunication network such as an IPTV, a mobile streaming media system, or a mobile phone download.
  • a multimedia service field in a telecommunication network such as an IPTV, a mobile streaming media system, or a mobile phone download.
  • the optional optional embodiment of the present application aims to provide a new user access mode to mitigate the CDN RR server in a multimedia service system of a large-scale end user (ie, user terminal) and a node (ie, a service node).
  • the load pressure thus enhances the robustness of the CDN to provide multimedia services to users.
  • a CDN management module (corresponding to the above-mentioned CDN management server or the above-mentioned service node allocating device) establishes a channel between the CDN node and manages the CDN node; and establishes a channel between the CDN management module and the CDN RR and The CDN RR is managed; the CDN node can periodically report the performance status of the node to the CDN management module; the CDN RR can periodically report the heartbeat message to the CDN management module; the CDN management module can periodically forward the CDN node status information to the CDN RR;
  • the user terminal (for example, the set top box STB) initiates a login request to the CDN management module, and the CDN management module selects a corresponding service node signaling address or a signaling address of the CDN RR according to the user access mode to the user;
  • the CDN management module determines the running status of the CDN RR. When the status of the CDN RR is normal, the signaling address of the CDN RR is returned to the user, and each subsequent request is sent by the subsequent user. For the CDN RR, the CDN RR selects the appropriate service node to provide services to the user. If the CDN RR status is abnormal, the non-CDN RR access mode is selected; if the non-CDN RR access mode is selected, the CDN management module selects the selected serving node to return the signaling address of the selected serving node to the user according to the algorithm. The user directly logs in to the node for service, and then directly performs services on the node.
  • the new user access mode on the one hand, the load pressure of the CDN RR can be alleviated.
  • the new user access mode can continue to be Users provide access services to ensure the robustness of the system.
  • the new user access mode directly connects the user to the selected server for service, and then directly performs services on the server, which can improve the speed of the user accessing the media service.
  • An optional embodiment of the present application further provides an improved user access multimedia service system for implementing the foregoing method, the system comprising a CDN node, a CDN management module, and a CDN RR module (corresponding to the above CDN RR server);
  • CDN node a server configured to store content and provide content services.
  • a CDN node can serve as a source node and a target node, and content is distributed from the source node to the target node;
  • CDN management module configured to manage the status of the CDN node and the status of the CDN RR and process multimedia service requests;
  • CDN RR module set to handle user access to the multimedia service system; according to the type of service requested by the user, the redirection scheduling technology is used to dispatch the user's request to the selected server.
  • Step 1 The CDN management module establishes a channel with the CDN node, and manages and processes the multimedia service request for the CDN node and the CDN RR.
  • the CDN target node periodically reports the node status information of the CDN target node to the CDN management module; the CDN RR module is timed. Reporting a heartbeat message to the CDN management module;
  • Step 2 The user terminal device initiates a user login request to the CDN management module, and the CDN management module determines the user access mode; if the CDN RR user access mode, determines whether the CDN RR status is normal, and if yes, returns a CDN RR message. The address is given to the user, and the process ends. If the CDN RR status is abnormal, the user transfers to the non-CDN RR mode access; if it is the non-CDN RR mode user access mode, the CDN management module selects the current selection according to the selected algorithm. The signaling address of the service node to the user;
  • Step 3 The user terminal device initiates a multimedia service service request according to the returned address. If the returned address is the signaling address of the service node, the user directly performs multimedia service on the node; if it is the address of the CDN RR, the user The CDN RR management module initiates a multimedia service request, and the CDN RR management module uses the redirection scheduling technology to schedule the user's request to the corresponding service node for multimedia service.
  • FIG. 8 is a schematic structural diagram of a multimedia service system according to an alternative embodiment of the present application, which is a modification of FIG. 7. As shown in FIG. 8, the present embodiment provides a system for improving service access in a multimedia service system, including a CDN management server, a plurality of node servers, a CDN RR management server, and a user terminal device.
  • a CDN management server including a CDN management server, a plurality of node servers, a CDN RR management server, and a user terminal device.
  • the CDN management module and the CDN node may establish a channel by using a Transmission Control Protocol (TCP); the CDN management module and the CDN RR module establish a channel by using a TCP protocol; and the user terminal device adopts a hypertext transfer protocol ( HTTP) accesses the CDN management module; the user terminal device interacts with the CDN node and the CDN RR through Real Time Streaming Protocol (RTSP).
  • TCP Transmission Control Protocol
  • HTTP hypertext transfer protocol
  • RTSP Real Time Streaming Protocol
  • FIG. 9 is a flowchart of a method for requesting a multimedia access service according to an alternative embodiment of the present application. As shown in FIG. 9, the process includes the following steps:
  • Step S901 the CDN node periodically sends node performance data to the CDN management module.
  • Step S902 the CDN management module forwards the CDN node performance data to the CDN RR module.
  • Step S903 the CDN RR periodically sends a heartbeat message to the CDN management module.
  • Step S904 the user terminal (for example, the STB) initiates a user login access request (corresponding to the above login request) to the CDN management module;
  • Step S905 the CDN management module determines the address of the CDN RR (ie, the signaling address of the CDN RR) according to the access mode of the user, or determines the address of the selected CDN service node according to a preset algorithm (ie, the selected CDN service node) Signaling address);
  • Step S906 the CDN management module returns the service address of the login access request to the user (ie, CDN RR) Address or the address of the selected CDN service node);
  • Step S907 the user initiates a multimedia service request.
  • Step S908 the CDN RR returns the address of the selected CDN service node according to the redirect scheduling technology and the load balancing technology;
  • Step S909 the CDN RR returns the address of the CDN service node to the user
  • Step S910 the user initiates a multimedia service request.
  • step S911 the CDN service node provides a multimedia service to the user.
  • the communication protocol adopted between multiple modules may adopt different interaction protocols in the implementation.
  • the system and method for improving user access to the multimedia service system by using the innovative architecture of the new user access mode provided by the optional embodiment of the present application can be extended to other service areas.
  • a user access mode is newly added, and the user is bound to the selected node by using the management platform to perform the service, and the user logs in to the node.
  • the subsequent request service does not need to initiate a redirection request, and the service can be directly performed on the binding node, thereby improving the speed at which the user accesses the multimedia service.
  • the management platform can flexibly configure the user's access policy to share the pressure of the redirected server, and the new access mode (user access mode) can continue to provide access to the user when the redirect server cannot perform services. service.
  • the embodiment further provides a software for executing the technical solutions described in the foregoing embodiments and optional embodiments.
  • the embodiment further provides a storage medium in which the above software is stored, and the storage medium includes, but is not limited to, an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • the modules or steps of the present application described above may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by computing devices.
  • the executed program code is implemented such that they can be stored in a storage device by a computing device, and the steps shown or described can be performed in an order different than that herein, or they can be fabricated into an integrated circuit module. Or by making multiple modules or steps among them into a single integrated circuit module.
  • the application is not limited to any particular combination of hardware and software.
  • the embodiment of the invention further provides a hardware structure diagram of a device for performing a service node allocation method.
  • the device includes:
  • One or more processors 100, one processor 100 is taken as an example in FIG. 10;
  • the device may also include an input device 102 and an output device 103.
  • the processor 100, the memory 101, the input device 102, and the output device 103 in the device may be connected by a bus or other means, and the connection through the bus is taken as an example in FIG.
  • the memory 101 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, such as a program instruction/module corresponding to the service node allocation method in the embodiment of the present invention.
  • the processor 100 executes the function application and data processing of the server by executing software programs, instructions, and modules stored in the memory 101, that is, implementing the service node allocation method in the foregoing method embodiments.
  • the memory 101 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 device, and the like. Further, the memory 101 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage device. In some examples, memory 101 can include memory remotely located relative to processor 100, which can be connected to the terminal device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 102 can be configured to receive input numeric or character information and to generate and use with the terminal User settings and key signal inputs related to function control.
  • the output device 103 may include a display device such as a display screen.
  • the one or more modules are stored in the memory 101, and when executed by the one or more processors 100, perform the steps of the above method embodiments.
  • the embodiment of the invention solves the problem that the CDN request routing server has a large load pressure in the related art, and reduces the load pressure of the CDN request routing server.

Abstract

A service node allocation method, device, CDN management server and system. The method comprises: receiving a login request of a user terminal, the login request requesting access to a multimedia service system; determining, according to a preset algorithm, a selected service node for providing a service for the user terminal in service nodes of a content delivery network (CDN); and transmitting a signaling address of the selected service node to the user terminal.

Description

服务节点分配方法、装置、CDN管理服务器及系统Service node allocation method, device, CDN management server and system 技术领域Technical field
本申请涉及通信领域,例如涉及一种服务节点分配方法、装置、内容分发网络CDN管理服务器及系统。The present application relates to the field of communications, for example, to a service node allocation method, apparatus, content distribution network CDN management server and system.
背景技术Background technique
随着宽带网的快速发展,极大地催生了许多新的互联网业务,如网络协议电视(Internet Protocol Television,简称为IPTV)业务、互联网视频、越顶传球(Over The Top,简称为OTT)等业务。同时,这些多媒体业务对带宽的要求极高,伴随着多媒体业务的迅猛发展,正在快速吞噬着带宽。对于这些多媒体业务如果没有内容分发网络(Content Delivery Network,简称为CDN),则每个用户都需要有一条从接入侧到骨干网的高带宽链路,高带宽链路的成本很高,质量也难以保证。With the rapid development of broadband networks, many new Internet services have been created, such as Internet Protocol Television (IPTV) services, Internet video, Over The Top (OTT), etc. business. At the same time, these multimedia services have extremely high bandwidth requirements, and with the rapid development of multimedia services, bandwidth is rapidly being swallowed up. For these multimedia services, if there is no Content Delivery Network (CDN), each user needs to have a high-bandwidth link from the access side to the backbone network. The cost of the high-bandwidth link is high and the quality is high. It is also difficult to guarantee.
多媒体业务系统中,通常采用多个媒体服务器(即节点)组成CDN为终端用户提供服务,多个节点采用层级分布,并为每个用户指定提供服务的节点;CDN在不同地点缓存内容,通过负载均衡等技术将用户请求重定向到较优的缓存服务器(例如最近的缓存服务器)上获取内容,从而让用户能够在所述较优的缓存服务器归属的节点上观看内容。内容服务的请求路由(Request Router,简称为RR)机制是CDN网络规划中关键的因素之一。为了实现全局负载均衡,CDN RR服务器利用重定向调度技术来把用户的请求调度到较优的服务器上。In a multimedia service system, a plurality of media servers (ie, nodes) are usually used to form a CDN to provide services for an end user, multiple nodes are hierarchically distributed, and each user is designated to provide a service node; the CDN caches content in different places, and loads the load. Techniques such as equalization redirect user requests to a better cache server (eg, the nearest cache server) to obtain content, thereby enabling the user to view content on the node to which the preferred cache server belongs. The request router (Request Router, RR for short) mechanism is one of the key factors in CDN network planning. To achieve global load balancing, the CDN RR server utilizes redirection scheduling techniques to schedule user requests to better servers.
发明人在研究过程中发现,随着终端用户和节点数量的快速增长,CDN RR服务器的负载压力也将越来越大,如何减轻CDN RR的负载压力已经成为CDN网络的新问题。During the research, the inventor found that with the rapid growth of the number of end users and nodes, the load pressure of CDN RR servers will also become larger and larger. How to reduce the load pressure of CDN RR has become a new problem in CDN networks.
针对相关技术CDN RR服务器负载压力大的问题,目前尚未提出有效的解决方案。In view of the high load pressure of related technologies CDN RR servers, no effective solution has been proposed yet.
发明内容Summary of the invention
为了解决上述技术问题,本申请提供了一种服务节点分配方法、装置、CDN管理服务器及系统。In order to solve the above technical problem, the present application provides a service node allocation method, apparatus, CDN management server and system.
本申请提供了一种服务节点分配方法,包括: The application provides a service node allocation method, including:
接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;根据预设算法,确定内容分发网络(CDN)的服务节点中为所述用户终端提供服务的选定服务节点;以及将所述选定服务节点的信令地址发送至所述用户终端。Receiving a login request of the user terminal, the login request is used to request access to the multimedia service system; and determining, according to a preset algorithm, a selected service node of the service node of the content distribution network (CDN) serving the user terminal; Transmitting the signaling address of the selected serving node to the user terminal.
可选地,在接收所述登录请求之后,所述方法还包括:确定所述登录请求中携带的所述用户终端请求的接入模式为非CDN RR接入模式。Optionally, after receiving the login request, the method further includes: determining that the access mode requested by the user terminal carried in the login request is a non-CDN RR access mode.
可选地,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述非CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:Optionally, after determining that the access mode requested by the user terminal carried in the login request is the non-CDN RR access mode, or receiving the user terminal to request access to a multimedia service system. After the login request, the method further includes:
判断CDN RR服务器的负载是否低于第一预设值;在判断到所述CDN RR服务器的负载低于所述第一预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Determining whether the load of the CDN RR server is lower than a first preset value; and determining that the load of the CDN RR server is lower than the first preset value, sending the signaling address of the CDN RR server to The user terminal.
可选地,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点包括:在判断到所述CDN RR服务器的负载未低于所述第一预设值的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。Optionally, the determining, by the service node of the CDN, the selected service node that provides the service for the user terminal includes: determining that the load of the CDN RR server is not lower than the first preset value, Determining the selected service node serving the user terminal in a service node of the CDN.
可选地,在接收所述登录请求之后,所述方法还包括:确定所述登录请求中携带的所述用户终端请求的接入模式为CDN RR接入模式。Optionally, after receiving the login request, the method further includes: determining that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
可选地,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:Optionally, after determining that the access mode requested by the user terminal carried in the login request is the CDN RR access mode, or receiving the user terminal for requesting access to a multimedia service system After the login request, the method further includes:
判断CDN RR服务器的负载是否高于第二预设值;在判断到所述CDN RR服务器的负载未高于所述第二预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Determining whether the load of the CDN RR server is higher than a second preset value; if it is determined that the load of the CDN RR server is not higher than the second preset value, sending the signaling address of the CDN RR server To the user terminal.
可选地,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述非CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:Optionally, after determining that the access mode requested by the user terminal carried in the login request is the non-CDN RR access mode, or receiving the user terminal to request access to a multimedia service system. After the login request, the method further includes:
判断所述CDN RR服务器是否故障;Determining whether the CDN RR server is faulty;
在所述CDN RR服务器未故障的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。可选地,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点包括:在判断到所述CDN RR服务器的负载高于所述 第二预设值,或者,所述CDN RR服务器故障的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。And sending a signaling address of the CDN RR server to the user terminal if the CDN RR server is not faulty. Optionally, determining the selected serving node that serves the user terminal in the serving node of the CDN includes: determining that the load of the CDN RR server is higher than the The second preset value, or in the case of the CDN RR server failure, determining the selected service node serving the user terminal among the service nodes of the CDN.
本申请还提供了一种服务节点分配装置,包括:The application also provides a service node allocation device, including:
接收模块,设置为接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;计算模块,设置为根据预设算法,确定内容分发网络(CDN)的服务节点中为所述用户终端提供服务的选定服务节点;第一发送模块,设置为将所述选定服务节点的信令地址发送至所述用户终端。a receiving module, configured to receive a login request of the user terminal, where the login request is used to request access to the multimedia service system; and the computing module is configured to determine, in the service node of the content distribution network (CDN), the user according to a preset algorithm The terminal provides a selected service node of the service; the first sending module is configured to send the signaling address of the selected serving node to the user terminal.
可选地,所述装置还包括:第一确定模块,设置为确定所述登录请求中携带的所述用户终端请求的接入模式为非CDN RR接入模式。Optionally, the device further includes: a first determining module, configured to determine that the access mode requested by the user terminal carried in the login request is a non-CDN RR access mode.
可选地,所述装置还包括:第一判断模块,设置为判断CDN RR服务器的负载是否低于第一预设值;第二发送模块,设置为在判断到所述CDN RR服务器的负载低于所述第一预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Optionally, the device further includes: a first determining module, configured to determine whether a load of the CDN RR server is lower than a first preset value; and a second sending module configured to determine that the load of the CDN RR server is low And sending, in the case of the first preset value, a signaling address of the CDN RR server to the user terminal.
可选地,所述计算模块,设置为在判断到所述CDN RR服务器的负载未低于所述第一预设值的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。Optionally, the calculating module is configured to determine, in the case that the load of the CDN RR server is not lower than the first preset value, determine, in the service node of the CDN, the service provided by the user terminal Describe the selected service node.
可选地,所述装置还包括:第二确定模块,设置为确定所述登录请求中携带的所述用户终端请求的接入模式为CDN RR接入模式。Optionally, the device further includes: a second determining module, configured to determine that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
可选地,所述装置还包括:第二判断模块,设置为判断CDN RR服务器的负载是否高于第二预设值;第三发送模块,设置为在判断到所述CDN RR服务器的负载未高于所述第二预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Optionally, the device further includes: a second determining module, configured to determine whether the load of the CDN RR server is higher than a second preset value; and the third sending module is configured to determine that the load of the CDN RR server is not When the second preset value is higher, the signaling address of the CDN RR server is sent to the user terminal.
可选地,所述第二判断模块,是设置为判断所述CDN RR服务器是否故障;所述第三发送模块,是设置为在判断到所述CDN RR服务器未故障的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。可选地,所述计算模块,设置为在判断到所述CDN RR服务器的负载高于所述第二预设值,或者,所述CDN RR服务器故障的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。Optionally, the second determining module is configured to determine whether the CDN RR server is faulty; and the third sending module is configured to: if it is determined that the CDN RR server is not faulty, The signaling address of the CDN RR server is sent to the user terminal. Optionally, the calculating module is configured to: when it is determined that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, determine that the service node of the CDN is The user terminal provides the selected service node of the service.
本申请还提供了一种内容分发网络CDN管理服务器,包括:上述服务节点分配装置。 The application also provides a content distribution network CDN management server, comprising: the above service node allocation device.
本申请还提供了一种多媒体业务系统,包括:上述内容分发网络CDN管理服务器、内容服务的请求路由CDN RR服务器、服务节点和用户终端,所述CDN RR服务器,设置为将用户终端的登录请求重定向至所述服务节点中的选定服务节点;所述服务节点,设置为提供多媒体业务。The present application further provides a multimedia service system, including: the content distribution network CDN management server, the content service request routing CDN RR server, the service node, and the user terminal, and the CDN RR server is configured to log in to the user terminal. Redirecting to a selected one of the service nodes; the service node, configured to provide multimedia services.
本申请的还提供了一种计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。The present application also provides a computer storage medium storing computer executable instructions arranged to perform the above method.
本申请还提供了一种设备,包括:The application also provides an apparatus comprising:
一个或多个处理器;One or more processors;
存储器;Memory
一个或多个程序,所述一个或多个程序存储在所述存储器中,当被所述一个或多个处理器执行时,进行如下操作:One or more programs, the one or more programs being stored in the memory, and when executed by the one or more processors, do the following:
接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;Receiving a login request of the user terminal, where the login request is used to request access to the multimedia service system;
根据预设算法,确定内容分发网络CDN的服务节点中为所述用户终端提供服务的选定服务节点;以及Determining, according to a preset algorithm, a selected service node in the service node of the content distribution network CDN serving the user terminal;
将所述选定服务节点的信令地址发送至所述用户终端。通过本申请,采用接收用户终端用于请求接入多媒体业务系统的登录请求;根据预设算法,确定内容分发网络(CDN)的服务节点中为用户终端提供服务的选定服务节点;将选定服务节点的信令地址发送至用户终端的方式,解决了CDN RR服务器负载压力大的问题,减轻了CDN RR服务器的负载压力。Transmitting the signaling address of the selected serving node to the user terminal. Through the application, a receiving user terminal is used to request a login request for accessing the multimedia service system; according to a preset algorithm, a selected service node of the service node of the content distribution network (CDN) serving the user terminal is determined; The manner in which the signaling address of the service node is sent to the user terminal solves the problem of large load pressure on the CDN RR server and reduces the load pressure on the CDN RR server.
附图说明DRAWINGS
此处所说明的附图用来辅助对本申请的理解,构成本申请的一部分,本申请的示意性实施例及说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to be illustrative of the present invention and are intended to be a part of this application. In the drawing:
图1是根据本发明实施例的服务节点分配方法的流程图;1 is a flow chart of a service node allocation method according to an embodiment of the present invention;
图2是根据本发明实施例的服务节点分配装置的结构示意图;2 is a schematic structural diagram of a service node allocating apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的服务节点分配装置的可选结构示意图一;3 is a schematic structural diagram 1 of an optional structure of a service node allocating device according to an embodiment of the present invention;
图4是根据本发明实施例的服务节点分配装置的可选结构示意图二;4 is a second schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention;
图5是根据本发明实施例的服务节点分配装置的可选结构示意图三;FIG. 5 is a third schematic diagram of an optional structure of a service node allocating apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的服务节点分配装置的可选结构示意图四;6 is a fourth schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention;
图7是根据本发明实施例的多媒体业务系统的结构示意图; FIG. 7 is a schematic structural diagram of a multimedia service system according to an embodiment of the present invention; FIG.
图8是根据本发明可选实施例的多媒体业务系统的结构示意图;FIG. 8 is a schematic structural diagram of a multimedia service system according to an alternative embodiment of the present invention; FIG.
图9是根据本发明可选实施例的多媒体接入服务请求方法的流程图;9 is a flowchart of a multimedia access service request method according to an alternative embodiment of the present invention;
图10是根据本发明实施例的执行服务节点分配方法的设备的硬件结构示意图。FIG. 10 is a schematic diagram showing the hardware structure of an apparatus for performing a service node allocation method according to an embodiment of the present invention.
实施方式Implementation
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. Apply some of the embodiments, not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.
本发明实施例提供了一种服务节点分配方法,图1是根据本发明实施例的服务节点分配方法的流程图,如图1所示,该流程包括如下步骤:The embodiment of the present invention provides a service node allocation method. FIG. 1 is a flowchart of a service node allocation method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;Step S102, receiving a login request of the user terminal, where the login request is used to request access to the multimedia service system;
步骤S104,根据预设算法,确定CDN的服务节点中为用户终端提供服务的选定服务节点;Step S104: Determine, according to a preset algorithm, a selected service node in the service node of the CDN that provides a service for the user terminal;
步骤S106,将选定服务节点的信令地址发送至用户终端。Step S106: Send the signaling address of the selected serving node to the user terminal.
通过上述步骤,在内容分发网络中采用直接为用户终端计算并确定选定服务节点,并将选定服务节点的信令地址发送给用户终端的方式,使得用户终端可以根据接收到的信令地址,而直接通过选定服务节点获取多媒体业务,所述选定服务节点可以为CPU的空闲值以及IO吞吐量等性能能够满足用户终端需求的服务节点。可见,采用上述步骤,可以不再通过CDN RR服务器进行登录请求的重定向,解决了CDN RR服务器负载压力大的问题,减轻了CDN RR服务器的负载压力。此外,由于用户终端可以不再经过CDN RR服务器的重定向而直接向选定服务节点获取多媒体业务,减少了交互过程,从而提高了内容分发网络的处理效率。Through the above steps, the method for directly calculating and determining the selected serving node for the user terminal and transmitting the signaling address of the selected serving node to the user terminal is adopted in the content distribution network, so that the user terminal can according to the received signaling address. And obtaining the multimedia service directly through the selected service node, where the selected service node may be a service node whose performance such as the idle value of the CPU and the IO throughput can satisfy the user terminal. It can be seen that the above steps can be used to redirect the login request through the CDN RR server, which solves the problem of large load pressure on the CDN RR server and reduces the load pressure on the CDN RR server. In addition, since the user terminal can directly acquire the multimedia service from the selected service node without being redirected by the CDN RR server, the interaction process is reduced, thereby improving the processing efficiency of the content distribution network.
可选地,上述步骤可以由CDN管理服务器来执行,或者由归属于CDN管理服务器的一个模块来执行。该CDN管理服务器是该CDN网络的管理中心。Alternatively, the above steps may be performed by the CDN management server or by a module belonging to the CDN management server. The CDN management server is the management center of the CDN network.
在本实施例中,将以CDN管理服务器为执行主体对本发明实施例进行说明。 In this embodiment, an embodiment of the present invention will be described with the CDN management server as an execution subject.
可选地,CDN管理服务器可以根据需要确定是否采用步骤S104~步骤S106的方式对用户终端的登录请求进行处理。例如,CDN管理服务器可以在CDN RR服务器的负载较低的情况下,指示用户终端采用CDN RR接入模式,例如:CDN管理服务器判断CDN RR服务器的负载是否低于第一预设值;在判断到CDN RR服务器的负载低于第一预设值的情况下,将CDN RR服务器的信令地址发送给用户终端。可选的,用户终端在接收到CDN RR服务器的信令地址之后,采用CDN RR接入模式进行接入。Optionally, the CDN management server may determine, according to requirements, whether to process the login request of the user terminal in the manner of step S104 to step S106. For example, the CDN management server may indicate that the user terminal adopts the CDN RR access mode when the load of the CDN RR server is low. For example, the CDN management server determines whether the load of the CDN RR server is lower than the first preset value; When the load of the CDN RR server is lower than the first preset value, the signaling address of the CDN RR server is sent to the user terminal. Optionally, after receiving the signaling address of the CDN RR server, the user terminal accesses by using a CDN RR access mode.
可选地,在CDN管理服务器判断到CDN RR服务器的负载未低于第一预设值的情况下,则执行步骤S104~步骤S106,使得用户终端继续采用非CDN RR接入模式进行接入。Optionally, in a case that the CDN management server determines that the load of the CDN RR server is not lower than the first preset value, step S104 to step S106 are performed, so that the user terminal continues to use the non-CDN RR access mode for access.
可见,通过上述的方式,使得用户终端可以根据CDN RR服务器的负载情况,采用CDN RR接入模式或者非CDN RR接入模式进行接入。It can be seen that, in the foregoing manner, the user terminal can access in the CDN RR access mode or the non-CDN RR access mode according to the load condition of the CDN RR server.
在一些实施例中,还可以采用通过用户终端选择接入模式的方式,在这种情况下,用户的登录请求中可以携带有用户终端选择的接入模式。例如,在用户终端选择的接入模式为非CDN RR接入模式的情况下,在步骤S102之后,CDN管理服务器还可以对登录请求进行解析,当解析到登录请求中携带的用户终端请求的接入模式为非CDN RR接入模式的情况下,执行步骤S104。In some embodiments, the manner in which the access mode is selected by the user terminal may also be adopted. In this case, the user's login request may carry the access mode selected by the user terminal. For example, in a case where the access mode selected by the user terminal is the non-CDN RR access mode, after the step S102, the CDN management server may further parse the login request, and resolve the request to the user terminal carried in the login request. In the case where the inbound mode is the non-CDN RR access mode, step S104 is performed.
可选地,在解析到用户终端采用非CDN RR接入模式的情况下,CDN管理服务器仍然可以根据CDN RR的负载情况灵活指定用户终端的接入模式。Optionally, in the case that the user terminal uses the non-CDN RR access mode, the CDN management server can still flexibly specify the access mode of the user terminal according to the load condition of the CDN RR.
可选地,CDN管理服务器可以根据需要确定是否采用步骤S104~步骤S106的方式对用户终端的登录请求进行处理。例如,CDN管理服务器判断CDN RR服务器的负载是否高于第二预设值,或者,CDN RR服务器是否故障;在判断到CDN RR服务器的负载未高于第二预设值,或者,CDN RR服务器未故障的情况下,将CDN RR服务器的信令地址发送给用户终端。Optionally, the CDN management server may determine, according to requirements, whether to process the login request of the user terminal in the manner of step S104 to step S106. For example, the CDN management server determines whether the load of the CDN RR server is higher than a second preset value, or whether the CDN RR server is faulty; and determines that the load of the CDN RR server is not higher than a second preset value, or the CDN RR server In the case of no failure, the signaling address of the CDN RR server is sent to the user terminal.
可选地,用户终端在接收到CDN RR服务器的信令地址之后,采用CDN RR接入模式进行接入。Optionally, after receiving the signaling address of the CDN RR server, the user terminal accesses by using a CDN RR access mode.
可选地,在CDN管理服务器判断到CDN RR服务器的负载高于第二预设值,或者,CDN RR服务器故障的情况下,则执行步骤S104~步骤S106,使得用户终端继续采用非CDN RR接入模式进行接入。Optionally, in a case that the CDN management server determines that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, step S104 to step S106 are performed, so that the user terminal continues to adopt the non-CDN RR connection. Enter mode to access.
可选地,在解析到用户终端采用CDN RR接入模式的情况下,CDN管理服务器仍然可以根据CDN RR的负载情况灵活指定用户终端的接入模式。 Optionally, in the case that the user terminal adopts the CDN RR access mode, the CDN management server can still flexibly specify the access mode of the user terminal according to the load condition of the CDN RR.
在本实施例中还提供了一种服务节点分配装置,用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以用软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。A service node allocating device is also provided in the embodiment to implement the above-mentioned embodiments and optional embodiments. The descriptions of the modules involved in the device will be described below. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments can be implemented in software, hardware, or an implementation of a combination of software and hardware, is also possible and conceived.
图2是根据本发明实施例的服务节点分配装置的结构示意图,如图2所示,该装置包括:接收模块22、计算模块24和第一发送模块26,其中,接收模块22,设置为接收用户终端用于请求接入多媒体业务系统的登录请求;计算模块24,耦合至接收模块22,设置为根据预设算法,确定CDN的服务节点中为用户终端提供服务的选定服务节点;第一发送模块26,耦合至计算模块24,设置为将选定服务节点的信令地址发送至用户终端。2 is a schematic structural diagram of a service node allocating apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a receiving module 22, a calculating module 24, and a first sending module 26, wherein the receiving module 22 is configured to receive The user terminal is configured to request a login request to access the multimedia service system; the calculation module 24 is coupled to the receiving module 22, and configured to determine, according to a preset algorithm, a selected service node of the CDN serving node serving the user terminal; The transmitting module 26 is coupled to the computing module 24 and arranged to transmit the signaling address of the selected serving node to the user terminal.
图3是根据本发明实施例的服务节点分配装置的可选结构示意图一,如图3所示,可选地,装置还包括:第一确定模块32,耦合至接收模块22和计算模块24之间,设置为确定登录请求中携带的用户终端请求的接入模式为非CDN RR接入模式。FIG. 3 is a schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 3, the device further includes: a first determining module 32 coupled to the receiving module 22 and the computing module 24 The access mode requested by the user terminal carried in the login request is set to be a non-CDN RR access mode.
图4是根据本发明实施例的服务节点分配装置的可选结构示意图二,如图4所示,可选地,装置还包括:第一判断模块42,耦合至第一确定模块32或者接收模块22,以及耦合至计算模块24,设置为判断CDN RR服务器的负载是否低于第一预设值;第二发送模块44,耦合至第一判断模块42,设置为在判断到CDN RR服务器的负载低于第一预设值的情况下,将CDN RR服务器的信令地址发送给用户终端。FIG. 4 is a second schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 4, the device further includes: a first determining module 42 coupled to the first determining module 32 or the receiving module. 22, and coupled to the computing module 24, configured to determine whether the load of the CDN RR server is lower than the first preset value; the second sending module 44, coupled to the first determining module 42, is configured to determine the load of the CDN RR server When the value is lower than the first preset value, the signaling address of the CDN RR server is sent to the user terminal.
可选地,计算模块24,设置为在判断到CDN RR服务器的负载未低于第一预设值的情况下,确定CDN的服务节点中为用户终端提供服务的选定服务节点。Optionally, the calculating module 24 is configured to determine, in the case that the load of the CDN RR server is not lower than the first preset value, the selected service node serving the user terminal in the service node of the CDN.
图5是根据本发明实施例的服务节点分配装置的可选结构示意图三,如图5所示,可选地,装置还包括:第二确定模块52,耦合至接收模块22和计算模块24之间,设置为确定登录请求中携带的用户终端请求的接入模式为CDN RR接入模式。FIG. 5 is a third schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 5, the device further includes: a second determining module 52 coupled to the receiving module 22 and the computing module 24 The access mode requested by the user terminal carried in the login request is set to the CDN RR access mode.
图6是根据本发明实施例的服务节点分配装置的可选结构示意图四,如图6所示,可选地,装置还包括:FIG. 6 is a schematic diagram of an optional structure of a service node allocating device according to an embodiment of the present invention. As shown in FIG. 6 , the device further includes:
可选地,所述装置还包括:第二判断模块62,耦合至第二确定模块52或者接收模块22,以及耦合至计算模块24,设置为判断CDN RR服务器的负载是否 高于第二预设值;第三发送模块64,耦合至第二判断模块62,设置为在判断到所述CDN RR服务器的负载未高于所述第二预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Optionally, the apparatus further includes: a second determining module 62 coupled to the second determining module 52 or the receiving module 22, and coupled to the computing module 24, configured to determine whether the load of the CDN RR server is The second sending module 64 is coupled to the second determining module 62, and is configured to: if it is determined that the load of the CDN RR server is not higher than the second preset value, The signaling address of the CDN RR server is sent to the user terminal.
可选地,第二判断模块62,是设置为判断所述CDN RR服务器是否故障;第四发送模块,第三发送模块64,是设置为在判断到所述CDN RR服务器未故障的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。Optionally, the second determining module 62 is configured to determine whether the CDN RR server is faulty; the fourth sending module, the third sending module 64 is configured to determine that the CDN RR server is not faulty, Sending a signaling address of the CDN RR server to the user terminal.
可选地,计算模块24,设置为在判断到CDN RR服务器的负载高于第二预设值,或者,CDN RR服务器故障的情况下,确定CDN的服务节点中为用户终端提供服务的选定服务节点。Optionally, the calculating module 24 is configured to determine, in the case that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, determining the service provided by the CDN to the user terminal. Service node.
本实施例还提供了一种CDN管理服务器,包括:上述服务节点分配装置。The embodiment further provides a CDN management server, comprising: the foregoing service node allocating device.
本实施例还提供了一种多媒体业务系统,图7是根据本发明实施例的多媒体业务系统的结构示意图,如图7所示,该多媒体业务系统包括:CDN管理服务器72、CDN RR服务器74、服务节点76和用户终端78,其中,CDN RR服务器72,设置为将用户终端的登录请求重定向至服务节点中的选定服务节点;服务节点76,设置为提供多媒体业务。The present embodiment further provides a multimedia service system. FIG. 7 is a schematic structural diagram of a multimedia service system according to an embodiment of the present invention. As shown in FIG. 7, the multimedia service system includes: a CDN management server 72, a CDN RR server 74, The service node 76 and the user terminal 78, wherein the CDN RR server 72 is arranged to redirect the login request of the user terminal to a selected one of the service nodes; the service node 76 is arranged to provide multimedia services.
另外,在本发明实施例中的多个功能单元可以集成在一个处理单元中,也可以是每个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, a plurality of functional units in the embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
本可选实施例提供了一种改进用户接入多媒体业务系统的系统和方法,该方法涉及IPTV、移动流媒体系统、手机下载等电信网络中的多媒体业务领域。The present invention provides a system and method for improving user access to a multimedia service system, and the method relates to a multimedia service field in a telecommunication network such as an IPTV, a mobile streaming media system, or a mobile phone download.
本申请可选可选实施例的目的在于在规模较大的终端用户(即用户终端)和节点(即服务节点)的多媒体业务系统中,提供一种新的用户接入模式来减轻CDN RR服务器的负载压力从而提升CDN为用户提供多媒体服务的健壮性。The optional optional embodiment of the present application aims to provide a new user access mode to mitigate the CDN RR server in a multimedia service system of a large-scale end user (ie, user terminal) and a node (ie, a service node). The load pressure thus enhances the robustness of the CDN to provide multimedia services to users.
在本可选实施例中,CDN管理模块(相当于上述CDN管理服务器或者上述服务节点分配装置)与CDN节点之间建立通道并对CDN节点进行管理;CDN管理模块与CDN RR之间建立通道并对CDN RR进行管理;CDN节点可以定时向CDN管理模块上报节点性能状态;CDN RR可以定时向CDN管理模块上报心跳消息;CDN管理模块可以定时将CDN节点状态信息转发给CDN RR; In this alternative embodiment, a CDN management module (corresponding to the above-mentioned CDN management server or the above-mentioned service node allocating device) establishes a channel between the CDN node and manages the CDN node; and establishes a channel between the CDN management module and the CDN RR and The CDN RR is managed; the CDN node can periodically report the performance status of the node to the CDN management module; the CDN RR can periodically report the heartbeat message to the CDN management module; the CDN management module can periodically forward the CDN node status information to the CDN RR;
用户终端(例如机顶盒STB)向CDN管理模块发起登录请求,CDN管理模块根据用户接入模式选择相应的服务节点信令地址或CDN RR的信令地址给用户;The user terminal (for example, the set top box STB) initiates a login request to the CDN management module, and the CDN management module selects a corresponding service node signaling address or a signaling address of the CDN RR according to the user access mode to the user;
若选择CDN RR接入模式,CDN管理模块判断CDN RR的运行状态,当CDN RR的状态正常,则将CDN RR的信令地址返回给用户,后续用户每次发起请求服务时,都将请求发送给CDN RR,由CDN RR选择合适的服务节点给用户提供服务。若CDN RR状态异常,则选择非CDN RR接入模式;若选择的是非CDN RR接入模式,CDN管理模块根据算法,选择选定的服务节点返回选定的服务节点的信令地址给用户,用户直接登录到该节点上进行服务,后续直接在该节点上进行服务。If the CDN RR access mode is selected, the CDN management module determines the running status of the CDN RR. When the status of the CDN RR is normal, the signaling address of the CDN RR is returned to the user, and each subsequent request is sent by the subsequent user. For the CDN RR, the CDN RR selects the appropriate service node to provide services to the user. If the CDN RR status is abnormal, the non-CDN RR access mode is selected; if the non-CDN RR access mode is selected, the CDN management module selects the selected serving node to return the signaling address of the selected serving node to the user according to the algorithm. The user directly logs in to the node for service, and then directly performs services on the node.
通过这样的方式,可以让用户更好地接入多媒体业务系统进行服务。例如,利用新增的用户接入模式,一方面,可以减轻CDN RR的负载压力,另一方面,当CDN RR由于故障无法为用户提供接入服务时,新增的用户接入模式可以继续为用户提供接入服务,保证了系统的健壮性。同时,新增的用户接入模式直接将用户接入到选定服务器进行服务,后续直接在该服务器上进行服务,可提高用户访问媒体服务的速度。In this way, users can better access the multimedia service system for service. For example, with the new user access mode, on the one hand, the load pressure of the CDN RR can be alleviated. On the other hand, when the CDN RR cannot provide access services for the user due to a failure, the new user access mode can continue to be Users provide access services to ensure the robustness of the system. At the same time, the new user access mode directly connects the user to the selected server for service, and then directly performs services on the server, which can improve the speed of the user accessing the media service.
本申请可选实施例还提供了用于实现上述方法的一种改进用户接入多媒体业务系统,该系统包括CDN节点、CDN管理模块、CDN RR模块(相当于上述CDN RR服务器);An optional embodiment of the present application further provides an improved user access multimedia service system for implementing the foregoing method, the system comprising a CDN node, a CDN management module, and a CDN RR module (corresponding to the above CDN RR server);
CDN节点:设置为内容存储以及提供内容服务的服务器,对于内容来说,CDN节点可以作为源节点与目标节点,内容从源节点分发到目标节点;CDN node: a server configured to store content and provide content services. For content, a CDN node can serve as a source node and a target node, and content is distributed from the source node to the target node;
CDN管理模块:设置为管理CDN节点的状态和CDN RR的状态以及处理多媒体业务请求;CDN management module: configured to manage the status of the CDN node and the status of the CDN RR and process multimedia service requests;
CDN RR模块:设置为处理用户接入多媒体业务系统;根据用户的请求服务类型,利用重定向调度技术来把用户的请求调度到选定的服务器上。CDN RR module: set to handle user access to the multimedia service system; according to the type of service requested by the user, the redirection scheduling technology is used to dispatch the user's request to the selected server.
本申请可选实施例提供的利用新增的用户接入模式来改进多媒体业务系统中用户的多媒体接入服务请求的方法,包括以下步骤:The method for improving a multimedia access service request of a user in a multimedia service system by using a new user access mode provided by an optional embodiment of the present application includes the following steps:
步骤1,CDN管理模块与CDN节点建立通道,并对CDN节点和CDN RR进行管理以及处理多媒体业务请求;CDN目标节点定时向所述CDN管理模块上报CDN目标节点的节点状态信息;CDN RR模块定时向所述CDN管理模块上报心跳消息; Step 1: The CDN management module establishes a channel with the CDN node, and manages and processes the multimedia service request for the CDN node and the CDN RR. The CDN target node periodically reports the node status information of the CDN target node to the CDN management module; the CDN RR module is timed. Reporting a heartbeat message to the CDN management module;
步骤2,用户终端设备向所述CDN管理模块发起用户登录请求,CDN管理模块判断用户接入模式;若为CDN RR用户接入模式,判断CDN RR状态是否正常,若正常则返回CDN RR的信令地址给用户,流程结束,若CDN RR状态异常,则用户转入非CDN RR模式接入;若为非CDN RR模式用户接入模式,则所述CDN管理模块根据选定算法选择当前选定的服务节点的信令地址给用户;Step 2: The user terminal device initiates a user login request to the CDN management module, and the CDN management module determines the user access mode; if the CDN RR user access mode, determines whether the CDN RR status is normal, and if yes, returns a CDN RR message. The address is given to the user, and the process ends. If the CDN RR status is abnormal, the user transfers to the non-CDN RR mode access; if it is the non-CDN RR mode user access mode, the CDN management module selects the current selection according to the selected algorithm. The signaling address of the service node to the user;
步骤3,用户终端设备根据返回的地址发起多媒体业务服务请求,若返回的地址为服务节点的信令地址,则用户直接在该节点上进行多媒体服务;若为CDN RR的地址,则用户向所述CDN RR管理模块发起多媒体服务请求,CDN RR管理模块利用重定向调度技术将用户的请求调度到相应的服务节点上进行多媒体服务。Step 3: The user terminal device initiates a multimedia service service request according to the returned address. If the returned address is the signaling address of the service node, the user directly performs multimedia service on the node; if it is the address of the CDN RR, the user The CDN RR management module initiates a multimedia service request, and the CDN RR management module uses the redirection scheduling technology to schedule the user's request to the corresponding service node for multimedia service.
下面结合附图对本申请可选实施例进行说明。The optional embodiments of the present application are described below with reference to the accompanying drawings.
图8是根据本申请可选实施例的多媒体业务系统的结构示意图,该图是图7的一种变形形式。如图8所示,本实施提供了一种改进用户接入多媒体业务系统中进行服务的系统,包括一个CDN管理服务器、多个节点服务器、一个CDN RR管理服务器以及一个用户终端设备。FIG. 8 is a schematic structural diagram of a multimedia service system according to an alternative embodiment of the present application, which is a modification of FIG. 7. As shown in FIG. 8, the present embodiment provides a system for improving service access in a multimedia service system, including a CDN management server, a plurality of node servers, a CDN RR management server, and a user terminal device.
在实施过程中,可选的,CDN管理模块与CDN节点之间可以采用传输控制协议(TCP)建立通道;CDN管理模块与CDN RR模块采用TCP协议建立通道;用户终端设备采用超文本传输协议(HTTP)接入CDN管理模块;用户终端设备与CDN节点以及CDN RR之间通过实时流传输协议(RTSP)交互。In the implementation process, optionally, the CDN management module and the CDN node may establish a channel by using a Transmission Control Protocol (TCP); the CDN management module and the CDN RR module establish a channel by using a TCP protocol; and the user terminal device adopts a hypertext transfer protocol ( HTTP) accesses the CDN management module; the user terminal device interacts with the CDN node and the CDN RR through Real Time Streaming Protocol (RTSP).
图9是根据本申请可选实施例的多媒体接入服务请求方法的流程图,如图9所示,该流程包括以下步骤:FIG. 9 is a flowchart of a method for requesting a multimedia access service according to an alternative embodiment of the present application. As shown in FIG. 9, the process includes the following steps:
步骤S901,CDN节点定时向CDN管理模块发送节点性能数据;Step S901, the CDN node periodically sends node performance data to the CDN management module.
步骤S902,CDN管理模块将CDN节点性能数据转发给CDN RR模块;Step S902, the CDN management module forwards the CDN node performance data to the CDN RR module.
步骤S903,CDN RR定时向CDN管理模块发送心跳消息;Step S903, the CDN RR periodically sends a heartbeat message to the CDN management module.
步骤S904,用户终端(例如,STB)向CDN管理模块发起用户登录接入请求(相当于上述登录请求);Step S904, the user terminal (for example, the STB) initiates a user login access request (corresponding to the above login request) to the CDN management module;
步骤S905,CDN管理模块根据用户的接入模式,确定CDN RR的地址(即CDN RR的信令地址),或者根据预设算法,确定选定CDN服务节点的地址(即选定CDN服务节点的信令地址);Step S905, the CDN management module determines the address of the CDN RR (ie, the signaling address of the CDN RR) according to the access mode of the user, or determines the address of the selected CDN service node according to a preset algorithm (ie, the selected CDN service node) Signaling address);
步骤S906,CDN管理模块返回登录接入请求的服务地址给用户(即CDN RR 的地址或者选定CDN服务节点的地址);Step S906, the CDN management module returns the service address of the login access request to the user (ie, CDN RR) Address or the address of the selected CDN service node);
方式一,在通过CDN RR获取CDN服务节点的情况下Method 1, in the case of obtaining a CDN service node through the CDN RR
步骤S907,用户发起多媒体服务请求;Step S907, the user initiates a multimedia service request.
步骤S908,CDN RR根据重定向调度技术和负载均衡技术返回选定的CDN服务节点的地址;Step S908, the CDN RR returns the address of the selected CDN service node according to the redirect scheduling technology and the load balancing technology;
步骤S909,CDN RR返回CDN服务节点的地址给用户;Step S909, the CDN RR returns the address of the CDN service node to the user;
方式二,在直接通过选定CDN服务节点获取多媒体业务的情况下Method 2, in the case of obtaining multimedia services directly through the selected CDN service node
步骤S910,用户发起多媒体服务请求;Step S910, the user initiates a multimedia service request.
步骤S911,CDN服务节点为用户提供多媒体服务。In step S911, the CDN service node provides a multimedia service to the user.
需要说明的是,在本可选实施例中,多个模块之间采用的通信协议,在实施中可采用不同的交互协议。本申请可选实施例提供的利用新增用户接入模式的创新架构来改进用户接入多媒体业务系统的系统和方法可以扩展应用到其他业务领域。It should be noted that, in this alternative embodiment, the communication protocol adopted between multiple modules may adopt different interaction protocols in the implementation. The system and method for improving user access to the multimedia service system by using the innovative architecture of the new user access mode provided by the optional embodiment of the present application can be extended to other service areas.
综上所述,通过本申请的上述实施例和可选实施例,新增了一种用户接入模式,利用管理平台将用户绑定到选定节点来进行服务,且用户在登录到节点后,后续请求服务时无需再发起重定向请求,可直接在该绑定节点上进行服务,从而提高用户访问多媒体服务的速度。另外,通过管理平台灵活配置用户的接入策略,可以分担重定向服务器的压力,且利用新增的接入模式(用户接入模式)在重定向服务器无法进行服务时可继续为用户提供接入服务。In summary, through the foregoing embodiment and the optional embodiment of the present application, a user access mode is newly added, and the user is bound to the selected node by using the management platform to perform the service, and the user logs in to the node. The subsequent request service does not need to initiate a redirection request, and the service can be directly performed on the binding node, thereby improving the speed at which the user accesses the multimedia service. In addition, the management platform can flexibly configure the user's access policy to share the pressure of the redirected server, and the new access mode (user access mode) can continue to provide access to the user when the redirect server cannot perform services. service.
本实施例还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。The embodiment further provides a software for executing the technical solutions described in the foregoing embodiments and optional embodiments.
本实施例还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘以及可擦写存储器等。The embodiment further provides a storage medium in which the above software is stored, and the storage medium includes, but is not limited to, an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。 It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the objects so used are interchangeable, where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
上述的本申请的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。The modules or steps of the present application described above may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by computing devices. The executed program code is implemented such that they can be stored in a storage device by a computing device, and the steps shown or described can be performed in an order different than that herein, or they can be fabricated into an integrated circuit module. Or by making multiple modules or steps among them into a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的可选实施例而已,并不用于限制本申请。The above description is only an optional embodiment of the present application and is not intended to limit the application.
本发明实施例还提供了一种执行服务节点分配方法的设备的硬件结构示意图。参见图10,该设备包括:The embodiment of the invention further provides a hardware structure diagram of a device for performing a service node allocation method. Referring to Figure 10, the device includes:
一个或者多个处理器100,图10中以一个处理器100为例;One or more processors 100, one processor 100 is taken as an example in FIG. 10;
存储器101。 Memory 101.
所述设备还可以包括:输入装置102和输出装置103。所述设备中的处理器100、存储器101、输入装置102和输出装置103可以通过总线或其他方式连接,图11中以通过总线连接为例。The device may also include an input device 102 and an output device 103. The processor 100, the memory 101, the input device 102, and the output device 103 in the device may be connected by a bus or other means, and the connection through the bus is taken as an example in FIG.
存储器101作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本发明实施例中的服务节点分配方法对应的程序指令/模块。处理器100通过运行存储在存储器101中的软件程序、指令以及模块,从而执行服务器的功能应用以及数据处理,即实现上述方法实施例中的服务节点分配方法。The memory 101 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, such as a program instruction/module corresponding to the service node allocation method in the embodiment of the present invention. The processor 100 executes the function application and data processing of the server by executing software programs, instructions, and modules stored in the memory 101, that is, implementing the service node allocation method in the foregoing method embodiments.
存储器101可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器101可包括相对于处理器100远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 101 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 device, and the like. Further, the memory 101 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage device. In some examples, memory 101 can include memory remotely located relative to processor 100, which can be connected to the terminal device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置102可设置为接收输入的数字或字符信息,以及产生与终端的用 户设置以及功能控制有关的键信号输入。输出装置103可包括显示屏等显示设备。The input device 102 can be configured to receive input numeric or character information and to generate and use with the terminal User settings and key signal inputs related to function control. The output device 103 may include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器101中,当被所述一个或者多个处理器100执行时,执行上述方法实施例的步骤。The one or more modules are stored in the memory 101, and when executed by the one or more processors 100, perform the steps of the above method embodiments.
工业实用性Industrial applicability
本发明实施例解决了相关技术中CDN请求路由服务器负载压力大的问题,减轻了CDN请求路由服务器的负载压力。 The embodiment of the invention solves the problem that the CDN request routing server has a large load pressure in the related art, and reduces the load pressure of the CDN request routing server.

Claims (19)

  1. 一种服务节点分配方法,包括:A service node allocation method includes:
    接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;Receiving a login request of the user terminal, where the login request is used to request access to the multimedia service system;
    根据预设算法,确定内容分发网络CDN的服务节点中为所述用户终端提供服务的选定服务节点;以及Determining, according to a preset algorithm, a selected service node in the service node of the content distribution network CDN serving the user terminal;
    将所述选定服务节点的信令地址发送至所述用户终端。Transmitting the signaling address of the selected serving node to the user terminal.
  2. 根据权利要求1所述的方法,在接收所述登录请求之后,所述方法还包括:The method of claim 1, after receiving the login request, the method further comprising:
    确定所述登录请求中携带的所述用户终端请求的接入模式为非CDN请求路由RR接入模式。Determining that the access mode requested by the user terminal carried in the login request is a non-CDN request routing RR access mode.
  3. 根据权利要求1或2所述的方法,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述非CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:The method according to claim 1 or 2, after determining that the access mode requested by the user terminal carried in the login request is the non-CDN RR access mode, or receiving the user terminal for receiving After the request for accessing the login request of the multimedia service system, the method further includes:
    判断CDN RR服务器的负载是否低于第一预设值;以及Determining whether the load of the CDN RR server is lower than a first preset value;
    在判断到所述CDN RR服务器的负载低于所述第一预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。And determining, in a case that the load of the CDN RR server is lower than the first preset value, sending a signaling address of the CDN RR server to the user terminal.
  4. 根据权利要求3所述的方法,其中,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点包括:The method of claim 3, wherein the determining the selected service node serving the user terminal among the service nodes of the CDN comprises:
    在判断到所述CDN RR服务器的负载未低于所述第一预设值的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。And determining, in the case that the load of the CDN RR server is not lower than the first preset value, determining the selected service node serving the user terminal among the service nodes of the CDN.
  5. 根据权利要求1所述的方法,在接收所述登录请求之后,所述方法还包括:The method of claim 1, after receiving the login request, the method further comprising:
    确定所述登录请求中携带的所述用户终端请求的接入模式为CDN RR接入模式。Determining that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
  6. 根据权利要求1或5所述的方法,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:The method according to claim 1 or 5, after determining that the access mode requested by the user terminal carried in the login request is the CDN RR access mode, or receiving the user terminal for requesting After the login request of the multimedia service system is accessed, the method further includes:
    判断CDN RR服务器的负载是否高于第二预设值;以及在判断到所述CDN RR服务器的负载未高于所述第二预设值的情况下,将所述CDN RR服务器的信 令地址发送给所述用户终端。Determining whether the load of the CDN RR server is higher than a second preset value; and determining that the load of the CDN RR server is not higher than the second preset value, the letter of the CDN RR server The address is sent to the user terminal.
  7. 根据权利要求1或5所述的方法,其中,在确定所述登录请求中携带的所述用户终端请求的接入模式为所述CDN RR接入模式之后,或者,在接收所述用户终端用于请求接入多媒体业务系统的所述登录请求之后,所述方法还包括:The method according to claim 1 or 5, wherein after determining that the access mode requested by the user terminal carried in the login request is the CDN RR access mode, or receiving the user terminal After the request for accessing the login request of the multimedia service system, the method further includes:
    判断所述CDN RR服务器是否故障;以及Determining whether the CDN RR server is faulty;
    在所述CDN RR服务器未故障的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。And sending a signaling address of the CDN RR server to the user terminal if the CDN RR server is not faulty.
  8. 根据权利要求6或7所述的方法,其中,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点包括:The method according to claim 6 or 7, wherein the determining the selected service node serving the user terminal among the service nodes of the CDN comprises:
    在判断到所述CDN RR服务器的负载高于所述第二预设值,或者,所述CDN RR服务器故障的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。Determining, in the case that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty, determining the selection of the service provided by the CDN to the user terminal Service node.
  9. 一种服务节点分配装置,包括:A service node allocating device includes:
    接收模块,设置为接收用户终端的登录请求,所述登录请求用于请求接入多媒体业务系统;a receiving module, configured to receive a login request of the user terminal, where the login request is used to request access to the multimedia service system;
    计算模块,设置为根据预设算法,确定内容分发网络CDN的服务节点中为所述用户终端提供服务的选定服务节点;以及a computing module, configured to determine, according to a preset algorithm, a selected service node in the service node of the content distribution network CDN serving the user terminal;
    第一发送模块,设置为将所述选定服务节点的信令地址发送至所述用户终端。The first sending module is configured to send the signaling address of the selected serving node to the user terminal.
  10. 根据权利要求9所述的装置,所述装置还包括:The apparatus of claim 9 further comprising:
    第一确定模块,设置为确定所述登录请求中携带的所述用户终端请求的接入模式为非CDN请求路由RR接入模式。The first determining module is configured to determine that the access mode requested by the user terminal carried in the login request is a non-CDN request routing RR access mode.
  11. 根据权利要求9或10所述的装置,所述装置还包括:The device according to claim 9 or 10, further comprising:
    第一判断模块,设置为判断CDN RR服务器的负载是否低于第一预设值;以及a first determining module, configured to determine whether a load of the CDN RR server is lower than a first preset value;
    第二发送模块,设置为在判断到所述CDN RR服务器的负载低于所述第一预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。 The second sending module is configured to send the signaling address of the CDN RR server to the user terminal if it is determined that the load of the CDN RR server is lower than the first preset value.
  12. 根据权利要求11所述的装置,其中,所述计算模块,设置为在判断到所述CDN RR服务器的负载未低于所述第一预设值的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。The device according to claim 11, wherein the calculating module is configured to determine, in a service node of the CDN, that the load of the CDN RR server is not lower than the first preset value. Said selected service node that the user terminal provides for service.
  13. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    第二确定模块,设置为确定所述登录请求中携带的所述用户终端请求的接入模式为CDN RR接入模式。The second determining module is configured to determine that the access mode requested by the user terminal carried in the login request is a CDN RR access mode.
  14. 根据权利要求9或13所述的装置,其中,所述装置还包括:The device according to claim 9 or 13, wherein the device further comprises:
    第二判断模块,设置为判断CDN RR服务器的负载是否高于第二预设值;The second determining module is configured to determine whether the load of the CDN RR server is higher than a second preset value;
    第三发送模块,设置为在判断到所述CDN RR服务器的负载未高于所述第二预设值的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。The third sending module is configured to send the signaling address of the CDN RR server to the user terminal if it is determined that the load of the CDN RR server is not higher than the second preset value.
  15. 根据权利要求14所述的装置,所述第二判断模块,是设置为判断所述CDN RR服务器是否故障;The apparatus according to claim 14, wherein the second determining module is configured to determine whether the CDN RR server is faulty;
    所述第三发送模块,是设置为在判断到所述CDN RR服务器未故障的情况下,将所述CDN RR服务器的信令地址发送给所述用户终端。The third sending module is configured to send the signaling address of the CDN RR server to the user terminal if it is determined that the CDN RR server is not faulty.
  16. 根据权利要求14或15所述的装置,其中,所述计算模块,设置为在判断到所述CDN RR服务器的负载高于所述第二预设值,或者,所述CDN RR服务器故障的情况下,确定CDN的服务节点中为所述用户终端提供服务的所述选定服务节点。The device according to claim 14 or 15, wherein the calculation module is configured to determine that the load of the CDN RR server is higher than the second preset value, or the CDN RR server is faulty. The selected service node serving the user terminal in the service node of the CDN is determined.
  17. 一种内容分发网络CDN管理服务器,包括:如权利要求9至16中任一项所述的服务节点分配装置。A content distribution network CDN management server comprising: the service node allocating device according to any one of claims 9 to 16.
  18. 一种多媒体业务系统,包括:如权利要求17所述的内容分发网络CDN管理服务器、内容服务的请求路由CDN RR服务器、服务节点和用户终端,其中,A multimedia service system, comprising: a content distribution network CDN management server according to claim 17, a request routing CDN RR server of a content service, a service node, and a user terminal, wherein
    所述CDN RR服务器,设置为将用户终端的登录请求重定向至所述服务节点中的选定服务节点;The CDN RR server is configured to redirect a login request of the user terminal to a selected one of the service nodes;
    所述服务节点,设置为提供多媒体业务。The service node is configured to provide multimedia services.
  19. 一种计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-8任一项的方法。 A computer storage medium storing computer executable instructions arranged to perform the method of any of claims 1-8.
PCT/CN2016/081303 2015-05-08 2016-05-06 Service node allocation method, device, cdn management server and system WO2016180284A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510233219.0A CN106209952B (en) 2015-05-08 2015-05-08 Service node distribution method and device, CDN management server and system
CN201510233219.0 2015-05-08

Publications (1)

Publication Number Publication Date
WO2016180284A1 true WO2016180284A1 (en) 2016-11-17

Family

ID=57248670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081303 WO2016180284A1 (en) 2015-05-08 2016-05-06 Service node allocation method, device, cdn management server and system

Country Status (2)

Country Link
CN (1) CN106209952B (en)
WO (1) WO2016180284A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120717A (en) * 2018-09-26 2019-01-01 中国平安人寿保险股份有限公司 Reverse proxy method, apparatus and storage medium, distributed system
CN112988126A (en) * 2021-01-28 2021-06-18 网宿科技股份有限公司 CDN service customization method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803967A (en) * 2017-02-13 2017-06-06 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of live data
CN109257242B (en) * 2017-07-13 2020-06-26 中国电信股份有限公司 Service identification method and device and packet data network gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001197A (en) * 2006-12-31 2007-07-18 华为技术有限公司 Transmission method, system and correlated equipment of media flow
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
US20110173345A1 (en) * 2009-08-17 2011-07-14 Akamai Technologies, Inc. Method and system for HTTP-based stream delivery
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461740C (en) * 2007-06-05 2009-02-11 华为技术有限公司 Customer end node network topological structure method and stream media distributing system
CN101997822A (en) * 2009-08-26 2011-03-30 中国移动通信集团公司 Streaming media content delivery method, system and equipment
WO2014176990A1 (en) * 2013-10-11 2014-11-06 中兴通讯股份有限公司 Node allocation method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101001197A (en) * 2006-12-31 2007-07-18 华为技术有限公司 Transmission method, system and correlated equipment of media flow
US20110173345A1 (en) * 2009-08-17 2011-07-14 Akamai Technologies, Inc. Method and system for HTTP-based stream delivery
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120717A (en) * 2018-09-26 2019-01-01 中国平安人寿保险股份有限公司 Reverse proxy method, apparatus and storage medium, distributed system
CN109120717B (en) * 2018-09-26 2023-07-25 中国平安人寿保险股份有限公司 Reverse proxy method, device, storage medium and distributed system
CN112988126A (en) * 2021-01-28 2021-06-18 网宿科技股份有限公司 CDN service customization method and system

Also Published As

Publication number Publication date
CN106209952B (en) 2020-09-29
CN106209952A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US9674252B2 (en) System and method for efficient delivery of repetitive multimedia content
US9037657B2 (en) Systems and methods for peer-to-peer bandwidth allocation
US10601698B2 (en) Techniques for managing telemetry data for content delivery and/or data transfer networks
WO2017096846A1 (en) Method, apparatus and system for obtaining live broadcast
US9204180B2 (en) Method, server and terminal for audio and video on demand
US9432452B2 (en) Systems and methods for dynamic networked peer-to-peer content distribution
US9497035B2 (en) Method, device, and system for playing media based on P2P
KR102110421B1 (en) System and method for delivering an audio-visual content to a client device
CN104836821A (en) Method, device and equipment for network acceleration based on router
CN103731487A (en) Download method, device, system and router for resource file
US20200021859A1 (en) Multicast implementation method and related network device
WO2016180284A1 (en) Service node allocation method, device, cdn management server and system
US20160381127A1 (en) Systems and methods for dynamic networked peer-to-peer content distribution
US20150271226A1 (en) Transport accelerator implementing a multiple interface architecture
JP2016525256A (en) Method and apparatus for providing redundant data access
Dogga et al. Edge-based transcoding for adaptive live video streaming
CN105872044A (en) Streaming media multi-level cache network acceleration system and method based on WebRTC
CN103826139A (en) CDN system, watching server and streaming media data transmission method
US11936753B2 (en) Graceful shutdown of supernodes in an internet proxy system
US20210227034A1 (en) A method and system for transmitting streaming media resources
CN107113332A (en) The server side prediction of media client stable state
US20150304445A1 (en) System and methods thereof for delivery of popular content using a multimedia broadcast multicast service
WO2014015525A1 (en) Method and device for querying for user online state
Shi et al. CoLEAP: Cooperative learning-based edge scheme with caching and prefetching for DASH video delivery
Li et al. Content distribution for mobile Internet: A cloud-based approach

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

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

Country of ref document: EP

Kind code of ref document: A1