CN103379097B - CDN business automatic configuration system and method - Google Patents
CDN business automatic configuration system and method Download PDFInfo
- Publication number
- CN103379097B CN103379097B CN201210115481.1A CN201210115481A CN103379097B CN 103379097 B CN103379097 B CN 103379097B CN 201210115481 A CN201210115481 A CN 201210115481A CN 103379097 B CN103379097 B CN 103379097B
- Authority
- CN
- China
- Prior art keywords
- cdn
- cdn node
- configuration information
- node
- repeater
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域 technical field
本发明涉及互联网技术领域,尤其涉及一种CDN业务自动配置系统及方法。The invention relates to the technical field of the Internet, in particular to a CDN service automatic configuration system and method.
背景技术 Background technique
随着业务的增加,CDN(Content Delivery Network,内容分发网络)系统异构增大,且CDN节点分散在全国各地,同时覆盖多个运营商。由于运营商之间的直接互通性较差,因此如何实现对跨地域、跨运营商的数据安全可靠传输成为亟待解决的问题。With the increase of business, the heterogeneity of CDN (Content Delivery Network, content distribution network) system increases, and the CDN nodes are scattered all over the country, covering multiple operators at the same time. Due to the poor direct interoperability between operators, how to achieve safe and reliable data transmission across regions and operators has become an urgent problem to be solved.
现有技术对于跨机房问题的解决方法主要有两种:一种是采用多线机房;另一种是一个运营商建立一套自动上线系统。此外,现有技术对于节点异构的解决方法是:由人工根据节点的异构生成不同版本的配置,执行时人工分开处理。In the prior art, there are mainly two solutions to the cross-computer room problem: one is to use a multi-line computer room; the other is to establish an automatic online system by an operator. In addition, the solution to node heterogeneity in the prior art is: manually generate configurations of different versions according to the heterogeneity of nodes, and manually process them separately during execution.
现有技术存在的问题是:The problem that prior art exists is:
1、一个机房实现多线机房的成本非常高,而且机房运维成本也非常高。1. The cost of implementing a multi-line computer room in one computer room is very high, and the operation and maintenance cost of the computer room is also very high.
2、如果一个运营商建立一套自动上线系统,则运维人员需要管理多套系统,运维复杂。2. If an operator establishes an automatic online system, the operation and maintenance personnel need to manage multiple systems, which makes the operation and maintenance complicated.
3、由人工处理节点间的异构,配置维护困难,且容易造成运维事故。3. The heterogeneity between nodes is handled manually, which makes configuration and maintenance difficult, and it is easy to cause operation and maintenance accidents.
发明内容 Contents of the invention
本发明旨在至少解决上述技术问题之一。The present invention aims to solve at least one of the above-mentioned technical problems.
为此,本发明的一个目的在于提出一种运维简单的CDN业务自动配置系统,能够实现跨运营商的可靠通信和公网安全通信。Therefore, an object of the present invention is to propose a CDN service automatic configuration system with simple operation and maintenance, which can realize reliable communication across operators and secure communication on the public network.
本发明的另一目的在于提出一种CDN业务自动配置方法。Another object of the present invention is to propose a CDN service automatic configuration method.
为了实现上述目的,根据本发明的第一方面实施例的CDN业务自动配置系统,包括:多个CDN节点群,所述多个CDN节点群中的至少两个CDN节点群属于不同的运营商,且每个所述CDN节点群包括多个CDN节点;多个中继机,每个所述中继机与一个所述CDN节点群相连,且所述中继机与对应的所述CDN节点群属于相同的运营商;以及中控机,所述中控机与所述多个中继机分别通过加密通道相连,且所述中控机用于为CDN业务分配CDN节点并为分配的每个CDN节点生成配置信息,并通过与所述分配的CDN节点相对应的中继机之间的加密通道将所述配置信息发送至所述中继机,以使所述中继机根据所述配置信息对对应的CDN节点进行配置。In order to achieve the above object, the CDN service automatic configuration system according to the embodiment of the first aspect of the present invention includes: a plurality of CDN node groups, at least two CDN node groups in the plurality of CDN node groups belong to different operators, And each of the CDN node groups includes multiple CDN nodes; multiple relay machines, each of the relay machines is connected to one of the CDN node groups, and the relay machines are connected to the corresponding CDN node groups Belonging to the same operator; and a central control machine, the central control machine is connected to the plurality of relay machines through encrypted channels, and the central control machine is used to allocate CDN nodes for CDN services and for each allocated The CDN node generates configuration information, and sends the configuration information to the relay machine through an encrypted channel between the relay machines corresponding to the assigned CDN node, so that the relay machine according to the configuration The information configures the corresponding CDN node.
根据本发明实施例的CDN业务自动配置系统,通过为每个CDN节点群配置一个属于同运营商的中继机,并通过加密通道连接中继机与中控机,相当于中控机到每个CDN节点上都有一个加密通道,由此很好地解决了中控机与CDN节点之间因跨运营商而带来的数据传输不可靠的问题,大大提高了公网信息传播的安全性。此外,由于中控机与中继机之间是公司机房内部的连接,数据传输速度较高,而中继机与CDN节点属于同运营商,数据传输速度也较高,因此本发明也有效地提高了中控机与CDN节点之间的数据传输速度。According to the CDN service automatic configuration system of the embodiment of the present invention, by configuring a relay machine belonging to the same operator for each CDN node group, and connecting the relay machine and the central control machine through an encrypted channel, it is equivalent to the central control machine to each Each CDN node has an encrypted channel, which solves the problem of unreliable data transmission between the central control computer and the CDN node due to cross-operator, and greatly improves the security of public network information dissemination . In addition, because the connection between the central control machine and the relay machine is inside the company's computer room, the data transmission speed is relatively high, and the relay machine and the CDN node belong to the same operator, and the data transmission speed is also high, so the present invention is also effective Improve the data transmission speed between the central control computer and CDN nodes.
为了实现上述目的,根据本发明的第二方面实施例的CDN业务自动配置方法,包括以下步骤:接收CDN业务,并为所述CDN业务生成CDN节点分配信息和配置信息;根据所述CDN节点分配信息对所述CDN业务所对应的CDN节点进行分组,其中,每组所述CDN节点对应不同的运营商;通过加密通道将分组后的所述配置信息分别发送至多个中继机;以及所述中继机根据所述配置信息对对应的CDN节点进行配置。In order to achieve the above object, the CDN service automatic configuration method according to the second aspect of the present invention includes the following steps: receiving the CDN service, and generating CDN node allocation information and configuration information for the CDN service; according to the CDN node allocation The information groups the CDN nodes corresponding to the CDN service, wherein each group of CDN nodes corresponds to different operators; the grouped configuration information is sent to multiple relays through an encrypted channel; and the The relay machine configures the corresponding CDN node according to the configuration information.
根据本发明实施例的CDN业务自动配置方法,通过为每组CDN节点配置一个属于同运营商的中继机,并通过加密通道将分组后的配置信息发送至中继机,相当于中控机到每个CDN节点都有一个加密通道,由此很好地解决了中控机与CDN节点之间因跨运营商而带来的数据传输不可靠的问题,大大提高了公网信息传播的安全性。此外,由于中控机与中继机之间是公司机房内部的连接,数据传输速度较高,而中继机与CDN节点属于同运营商,数据传输速度也较高,因此本发明也有效地提高了中控机与CDN节点之间的数据传输速度。According to the CDN service automatic configuration method of the embodiment of the present invention, a relay machine belonging to the same operator is configured for each group of CDN nodes, and the grouped configuration information is sent to the relay machine through an encrypted channel, which is equivalent to the central control machine There is an encrypted channel to each CDN node, which solves the problem of unreliable data transmission between the central control computer and CDN nodes due to cross-operator, and greatly improves the security of information dissemination on the public network sex. In addition, because the connection between the central control machine and the relay machine is inside the company's computer room, the data transmission speed is relatively high, and the relay machine and the CDN node belong to the same operator, and the data transmission speed is also high, so the present invention is also effective Improve the data transmission speed between the central control computer and CDN nodes.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
附图说明 Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中,The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein,
图1是根据本发明一个实施例的CDN业务自动配置系统的结构示意图;Fig. 1 is a schematic structural diagram of a CDN service automatic configuration system according to an embodiment of the present invention;
图2是根据本发明一个实施例的CDN业务自动配置系统的结构示意图;Fig. 2 is a schematic structural diagram of a CDN service automatic configuration system according to an embodiment of the present invention;
图3是根据本发明一个实施例的CDN业务自动配置方法的流程图;以及Fig. 3 is a flow chart of a CDN service automatic configuration method according to one embodiment of the present invention; and
图4是根据本发明一个实施例的CDN业务自动配置方法的流程图。Fig. 4 is a flowchart of a method for automatically configuring CDN services according to an embodiment of the present invention.
具体实施方式 detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。相反,本发明的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents falling within the spirit and scope of the appended claims.
在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance. In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral Ground connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
下面参考附图描述根据本发明实施例的CDN业务自动配置系统。The CDN service automatic configuration system according to the embodiment of the present invention is described below with reference to the accompanying drawings.
一种CDN业务自动配置系统,包括:多个CDN节点群,多个CDN节点群中的至少两个CDN节点群属于不同的运营商,且每个CDN节点群包括多个CDN节点;多个中继机,每个中继机与一个CDN节点群相连,且中继机与对应的CDN节点群属于相同的运营商;以及中控机,中控机与多个中继机分别通过加密通道相连,且中控机用于为CDN业务分配CDN节点并为分配的每个CDN节点生成配置信息,并通过与分配的CDN节点相对应的中继机之间的加密通道将配置信息发送至中继机,以使中继机根据配置信息对对应的CDN节点进行配置。A CDN service automatic configuration system, comprising: a plurality of CDN node groups, at least two CDN node groups in the plurality of CDN node groups belong to different operators, and each CDN node group includes a plurality of CDN nodes; A relay machine, each relay machine is connected to a CDN node group, and the relay machine and the corresponding CDN node group belong to the same operator; and a central control machine, the central control machine is connected to multiple relay machines through encrypted channels , and the central control machine is used to allocate CDN nodes for CDN services and generate configuration information for each allocated CDN node, and send the configuration information to the relay through the encrypted channel between the relay machines corresponding to the allocated CDN nodes machine, so that the relay machine configures the corresponding CDN node according to the configuration information.
图1是根据本发明一个实施例的CDN业务自动配置系统的结构示意图。Fig. 1 is a schematic structural diagram of a CDN service automatic configuration system according to an embodiment of the present invention.
如图1所示,根据本发明实施例的CDN业务自动配置系统包括:三个CDN节点群110、120、130,三个中继机210、220、230,以及中控机30。As shown in FIG. 1 , the CDN service automatic configuration system according to the embodiment of the present invention includes: three CDN node groups 110 , 120 , 130 , three relay machines 210 , 220 , 230 , and a central control machine 30 .
三个CDN节点群110、120和130分别属于不同的运营商A、B和C,且每个CDN节点群包括多个CDN节点。中继机210、220和230分别与CDN节点群110、120和130相连,且中继机210与CDN节点群110属于相同的运营商,中继机220与CDN节点群120属于相同的运营商,中继机230与CDN节点群130属于相同的运营商。中控机30与中继机210、220和230分别通过加密通道相连。The three CDN node groups 110, 120 and 130 belong to different operators A, B and C respectively, and each CDN node group includes multiple CDN nodes. Relay machines 210, 220 and 230 are respectively connected to CDN node groups 110, 120 and 130, and relay machine 210 and CDN node group 110 belong to the same operator, and relay machine 220 and CDN node group 120 belong to the same operator , the relay machine 230 and the CDN node group 130 belong to the same operator. The central control machine 30 is connected to the relay machines 210, 220 and 230 through encrypted channels respectively.
中控机30为CDN业务分配CDN节点并为分配的每个CDN节点生成配置信息,并通过与分配的CDN节点对应的中继机之间的加密通道将配置信息发送至中继机,以使中继机根据配置信息对对应的CDN节点进行配置。其中,配置信息可包括缓存大小和数据流量等。The central control machine 30 allocates a CDN node for the CDN service and generates configuration information for each allocated CDN node, and sends the configuration information to the relay machine through an encrypted channel between the relay machines corresponding to the allocated CDN node, so that The relay machine configures the corresponding CDN node according to the configuration information. Wherein, the configuration information may include cache size and data traffic, and the like.
例如,中控机30为CDN业务分配的CDN节点包括CDN节点群110和120中的节点,那么首先中控机30为CDN节点群110和120中的每个CDN节点生成相关的配置信息,然后分别通过与CDN节点群110和120之间的加密通道将相关的配置信息发送到中继机210和220,然后,中继机210和220分别将相关的配置信息发送到相应的CDN节点。应理解,上述示例仅为示意性的,并不用于限制本发明。在本发明的其他实施例中,可以包括任意多于两个的数量的CDN节点群和中继机,只要多个CDN节点群中的至少两个CDN节点群属于不同的运营商,以及每个中继机与一个CDN节点群相连,且每个中继机与对应的CDN节点群属于相同的运营商即可。For example, the CDN nodes allocated by the central control machine 30 for CDN services include nodes in the CDN node groups 110 and 120, then first the central control machine 30 generates relevant configuration information for each CDN node in the CDN node groups 110 and 120, and then The relevant configuration information is sent to the relay machines 210 and 220 respectively through encrypted channels with the CDN node groups 110 and 120, and then the relay machines 210 and 220 respectively send the relevant configuration information to the corresponding CDN nodes. It should be understood that the above examples are only illustrative and not intended to limit the present invention. In other embodiments of the present invention, any number more than two CDN node groups and relay machines may be included, as long as at least two CDN node groups among the plurality of CDN node groups belong to different operators, and each The relay machine is connected to a CDN node group, and each relay machine and the corresponding CDN node group belong to the same operator.
根据本发明实施例的CDN业务自动配置系统,通过为每个CDN节点群配置一个属于同运营商的中继机,并通过加密通道连接中继机与中控机,相当于中控机到每个CDN节点上都有一个加密通道,由此很好地解决了中控机与CDN节点之间因跨运营商而带来的数据传输不可靠的问题,大大提高了公网信息传播的安全性。此外,由于中控机与中继机之间是公司机房内部的连接,数据传输速度较高,而中继机与CDN节点属于同运营商,数据传输速度也较高,因此本发明也有效地提高了中控机与CDN节点之间的数据传输速度。According to the CDN service automatic configuration system of the embodiment of the present invention, by configuring a relay machine belonging to the same operator for each CDN node group, and connecting the relay machine and the central control machine through an encrypted channel, it is equivalent to the central control machine to each Each CDN node has an encrypted channel, which solves the problem of unreliable data transmission between the central control computer and the CDN node due to cross-operator, and greatly improves the security of public network information dissemination . In addition, because the connection between the central control machine and the relay machine is inside the company's computer room, the data transmission speed is relatively high, and the relay machine and the CDN node belong to the same operator, and the data transmission speed is also high, so the present invention is also effective Improve the data transmission speed between the central control computer and CDN nodes.
在本发明的一个实施例中,多个CDN节点群还可分别位于不同的地域。由此,可以实现跨地域的中控机与CDN节点之间的可靠安全的数据传输。In an embodiment of the present invention, multiple CDN node groups may also be respectively located in different regions. Thus, reliable and secure data transmission between the cross-regional central control machine and CDN nodes can be realized.
在本发明的一个实施例中,中控机30还可根据配置信息对应的CDN节点所属的CDN节点群对配置信息进行分组,并将分组后的配置信息发送至对应的中继机。由此,通过一次数据传输即可实现属于同一个CDN节点群中的所有CDN节点的配置信息的传送,减少数据传输占用的流量。In an embodiment of the present invention, the central control machine 30 can also group the configuration information according to the CDN node group to which the CDN node corresponding to the configuration information belongs, and send the grouped configuration information to the corresponding relay machine. Thus, the transmission of the configuration information of all CDN nodes belonging to the same CDN node group can be realized through one data transmission, reducing the traffic occupied by data transmission.
在本发明的一些实施例中,中继机还可通过加密通道与对应的CDN节点群中的各个CDN节点相连,并将接收到的配置信息加密后发送至各个CDN节点。由此,可进一步提高数据传输的安全性,此外由于对系统进行统一的加密配置,实现简单。In some embodiments of the present invention, the relay can also be connected to each CDN node in the corresponding CDN node group through an encrypted channel, and encrypt the received configuration information and send it to each CDN node. In this way, the security of data transmission can be further improved, and in addition, due to the unified encryption configuration for the system, the implementation is simple.
根据本发明的一些实施例,各个CDN节点可具有代理模块。代理模块用于对中继机通过加密通道发送的机密后的配置信息进行解密,由此获得配置信息的相关数据。According to some embodiments of the present invention, each CDN node may have a proxy module. The proxy module is used to decrypt the confidential configuration information sent by the relay through the encrypted channel, thereby obtaining relevant data of the configuration information.
图2是根据本发明一个实施例的CDN业务自动配置系统的结构示意图。如图2所示,在图1所示的实施例的基础上,该CDN业务自动配置系统还包括服务器40、配置数据库50和客户端60。Fig. 2 is a schematic structural diagram of a CDN service automatic configuration system according to an embodiment of the present invention. As shown in FIG. 2 , on the basis of the embodiment shown in FIG. 1 , the CDN service automatic configuration system further includes a server 40 , a configuration database 50 and a client 60 .
服务器40与中控机30相连,用于与中控机30通信。配置数据库50与服务器40相连,用于存储各个CDN节点的配置信息。客户端60用于登录服务器40,配置CDN业务的CDN节点分配信息和配置信息并将配置信息发送至服务器40。The server 40 is connected with the central control machine 30 for communicating with the central control machine 30 . The configuration database 50 is connected to the server 40 and is used for storing configuration information of each CDN node. The client 60 is used to log in to the server 40 , configure CDN node allocation information and configuration information of the CDN service, and send the configuration information to the server 40 .
根据本发明实施例的CDN业务自动配置系统,通过设置配置数据库,可以对CDN节点的配置信息进行统一管理,节点的任何配置变更都能反映在配置数据库中,由此运维人员无需关心异构情况,由系统可进行可靠管理,大大降低了操作风险。According to the CDN service automatic configuration system of the embodiment of the present invention, by setting the configuration database, the configuration information of the CDN nodes can be managed in a unified manner, and any configuration changes of the nodes can be reflected in the configuration database, so that the operation and maintenance personnel do not need to care about heterogeneous The situation can be reliably managed by the system, which greatly reduces the operational risk.
在本发明的一个实施例中,服务器40还用于提取客户端60发送的各个CDN节点的配置信息的相同部分以形成各个CDN节点的共用部分及每个CDN节点的异构部分。在本发明的一个实施例中,每个CDN节点的异构部分包括所属CDN节点的信息。由此,当生成新的节点配置文件时,只需对异构部分进行单独修改即可,提高系统的工作效率。In an embodiment of the present invention, the server 40 is also used to extract the same part of the configuration information of each CDN node sent by the client 60 to form a common part of each CDN node and a heterogeneous part of each CDN node. In an embodiment of the present invention, the heterogeneous part of each CDN node includes information about the CDN node it belongs to. Therefore, when generating a new node configuration file, it is only necessary to modify the heterogeneous part separately, thereby improving the working efficiency of the system.
下面参考附图描述根据本发明实施例的CDN业务自动配置方法。The following describes the CDN service automatic configuration method according to the embodiment of the present invention with reference to the accompanying drawings.
一种CDN业务自动配置方法,包括以下步骤:接收CDN业务,并为CDN业务生成CDN节点分配信息和配置信息;根据CDN节点分配信息对CDN业务所对应的CDN节点进行分组,其中每组CDN节点对应不同的运营商;通过加密通道将分组后的配置信息分别发送至多个中继机;以及中继机根据配置信息对对应的CDN节点进行配置。A method for automatically configuring CDN services, comprising the following steps: receiving CDN services, and generating CDN node allocation information and configuration information for the CDN services; grouping CDN nodes corresponding to the CDN service according to the CDN node allocation information, wherein each group of CDN nodes Corresponding to different operators; sending the grouped configuration information to multiple relay machines through an encrypted channel; and the relay machine configures the corresponding CDN nodes according to the configuration information.
图3是根据本发明一个实施例的CDN业务自动配置方法的流程图。Fig. 3 is a flowchart of a method for automatically configuring CDN services according to an embodiment of the present invention.
如图3所示,根据本发明实施例的CDN业务自动配置方法包括下述步骤。As shown in Fig. 3, the CDN service automatic configuration method according to the embodiment of the present invention includes the following steps.
步骤S101,接收CDN业务,并为CDN业务生成CDN节点分配信息和配置信息。Step S101, receiving CDN services, and generating CDN node allocation information and configuration information for the CDN services.
具体地,运维人员可通过web操作接口,为CDN业务生成CDN节点分配信息和每个CDN节点的配置信息,例如缓存大小和数据流量等。Specifically, operation and maintenance personnel can generate CDN node allocation information and configuration information of each CDN node, such as cache size and data traffic, for CDN services through a web operation interface.
步骤S102,根据CDN节点分配信息对CDN业务所对应的CDN节点进行分组,其中每组CDN节点对应不同的运营商。Step S102, group CDN nodes corresponding to CDN services according to CDN node allocation information, wherein each group of CDN nodes corresponds to different operators.
步骤S103,通过加密通道将分组后的配置信息分别发送至多个中继机。Step S103, sending the grouped configuration information to multiple relay machines through an encrypted channel.
步骤S104,中继机根据配置信息对对应的CDN节点进行配置。Step S104, the relay configures the corresponding CDN node according to the configuration information.
具体地,中继机首先对配置信息进行加密并通过加密通道发送至对应的CDN节点,然后对应的CDN节点对加密后的配置信息进行解密并加载。Specifically, the relay machine first encrypts the configuration information and sends it to the corresponding CDN node through an encrypted channel, and then the corresponding CDN node decrypts and loads the encrypted configuration information.
根据本发明实施例的CDN业务自动配置方法,通过为每组CDN节点配置一个属于同运营商的中继机,并通过加密通道将分组后的配置信息发送至中继机,相当于中控机到每个CDN节点都有一个加密通道,由此很好地解决了中控机与CDN节点之间因跨运营商而带来的数据传输不可靠的问题,大大提高了公网信息传播的安全性。此外,由于中控机与中继机之间是公司机房内部的连接,数据传输速度较高,而中继机与CDN节点属于同运营商,数据传输速度也较高,因此本发明也有效地提高了中控机与CDN节点之间的数据传输速度。According to the CDN service automatic configuration method of the embodiment of the present invention, a relay machine belonging to the same operator is configured for each group of CDN nodes, and the grouped configuration information is sent to the relay machine through an encrypted channel, which is equivalent to the central control machine There is an encrypted channel to each CDN node, which solves the problem of unreliable data transmission between the central control computer and CDN nodes due to cross-operator, and greatly improves the security of information dissemination on the public network sex. In addition, because the connection between the central control machine and the relay machine is inside the company's computer room, the data transmission speed is relatively high, and the relay machine and the CDN node belong to the same operator, and the data transmission speed is also high, so the present invention is also effective Improve the data transmission speed between the central control computer and CDN nodes.
图4是根据本发明一个实施例的CDN业务自动配置方法的流程图。Fig. 4 is a flowchart of a method for automatically configuring CDN services according to an embodiment of the present invention.
如图4所示,根据本发明实施例的CDN业务自动配置方法包括下述步骤。As shown in Fig. 4, the CDN service automatic configuration method according to the embodiment of the present invention includes the following steps.
步骤S201,接收CDN业务,并为CDN业务生成CDN节点分配信息和配置信息。Step S201, receiving CDN services, and generating CDN node allocation information and configuration information for the CDN services.
步骤S202,根据CDN节点分配信息对CDN业务所对应的CDN节点进行分组,其中每组CDN节点对应不同的运营商。Step S202, grouping the CDN nodes corresponding to the CDN service according to the CDN node allocation information, wherein each group of CDN nodes corresponds to different operators.
步骤S203,通过加密通道将分组后的配置信息分别发送至多个中继机。Step S203, sending the grouped configuration information to multiple relay machines through an encrypted channel.
步骤S204,中继机根据配置信息对对应的CDN节点进行配置。Step S204, the relay configures the corresponding CDN node according to the configuration information.
步骤S205,提取客户端发送的各个CDN节点的配置信息的相同部分以形成各个CDN节点的共用部分及每个CDN节点的异构部分。Step S205, extracting the same part of the configuration information of each CDN node sent by the client to form a common part of each CDN node and a heterogeneous part of each CDN node.
在本发明的一个实施例中,每个CDN节点的异构部分包括所属CDN节点的信息。由此,当生成新的节点配置文件时,只需对异构部分进行单独修改即可,提供系统的工作效率。In an embodiment of the present invention, the heterogeneous part of each CDN node includes information about the CDN node it belongs to. Therefore, when generating a new node configuration file, only the heterogeneous part needs to be modified separately, which improves the working efficiency of the system.
根据本发明实施例的CDN业务自动配置方法,对CDN节点的异构情况进行统一管理,运维人员不需关心异构情况,大大降低了操作风险。According to the CDN service automatic configuration method of the embodiment of the present invention, the heterogeneous situation of CDN nodes is managed in a unified manner, and the operation and maintenance personnel do not need to care about the heterogeneous situation, which greatly reduces the operation risk.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. and modifications, the scope of the invention is defined by the appended claims and their equivalents.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210115481.1A CN103379097B (en) | 2012-04-18 | 2012-04-18 | CDN business automatic configuration system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210115481.1A CN103379097B (en) | 2012-04-18 | 2012-04-18 | CDN business automatic configuration system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103379097A CN103379097A (en) | 2013-10-30 |
CN103379097B true CN103379097B (en) | 2016-11-23 |
Family
ID=49463661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210115481.1A Active CN103379097B (en) | 2012-04-18 | 2012-04-18 | CDN business automatic configuration system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103379097B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108206847B (en) * | 2016-12-19 | 2020-09-04 | 腾讯科技(深圳)有限公司 | CDN management system, method and device |
CN109428820B (en) * | 2017-08-29 | 2021-12-24 | 贵州白山云科技股份有限公司 | Multi-line routing method and system |
CN110166267B (en) * | 2018-02-13 | 2023-05-30 | 北京京东尚科信息技术有限公司 | Content distribution network configuration method and system, master control server and node server |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557423A (en) * | 2009-05-07 | 2009-10-14 | 北京邮电大学 | System and method for realizing streaming media content service |
CN101834889A (en) * | 2010-04-07 | 2010-09-15 | 北京市农林科学院 | Multimedia Courseware Publishing Method Based on Streaming Media Platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7398398B2 (en) * | 2002-03-16 | 2008-07-08 | Trustedflow Systems, Inc. | Authenticated and metered flow control method |
US9450804B2 (en) * | 2009-09-03 | 2016-09-20 | At&T Intellectual Property I, L.P. | Anycast aware transport for content distribution networks |
-
2012
- 2012-04-18 CN CN201210115481.1A patent/CN103379097B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557423A (en) * | 2009-05-07 | 2009-10-14 | 北京邮电大学 | System and method for realizing streaming media content service |
CN101834889A (en) * | 2010-04-07 | 2010-09-15 | 北京市农林科学院 | Multimedia Courseware Publishing Method Based on Streaming Media Platform |
Also Published As
Publication number | Publication date |
---|---|
CN103379097A (en) | 2013-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7026748B2 (en) | Quantum key relay method and equipment based on centralized control network | |
JP7641276B2 (en) | Method, system, and computer-readable medium for providing a multi-tenant software-defined wide area network (SD-WAN) node | |
US9357410B2 (en) | Wireless network flow monitoring | |
CN110326345B (en) | Method, device and system for configuring network slice | |
US9729314B2 (en) | Method and system of securing group communication in a machine-to-machine communication environment | |
CN103209202B (en) | For transmitting the method and apparatus of data | |
WO2017143611A1 (en) | Method, device and system for processing vxlan packet | |
CN104253767B (en) | A kind of implementation method of virtual burst network and a kind of interchanger | |
CN104780069B (en) | A kind of key-course towards SDN and data Layer communication port self-configuration method and its system | |
CN104468648A (en) | Data processing system and method | |
EP3525396B1 (en) | Method and device for managing network slice instance | |
CN109274570B (en) | VPN construction method and device and computer readable storage medium | |
CN103379184B (en) | The method and system of Network access | |
CN104320258B (en) | A kind of method of cloud computing service access gateway | |
CN106101301A (en) | Distributed virtual DHCP service provides system and method | |
CN103379097B (en) | CDN business automatic configuration system and method | |
KR20130083726A (en) | Virtual machine integration monitoring apparatus and method for cloud system | |
CN102904867A (en) | VPN (virtual private network) authority control method and device | |
CN104601550A (en) | System and method for transmitting reversely quarantined file based on cluster array | |
WO2016050109A1 (en) | Communication method, cloud management server and virtual switch | |
CN100469052C (en) | A data routing distribution method | |
CN103067243A (en) | Communication method and associated equipment | |
CN105684381A (en) | Apparatus and method for lawful interception | |
KR101686995B1 (en) | IPSec VPN Apparatus and system for using software defined network and network function virtualization and method thereof broadcasting | |
CN102917081A (en) | IP (internet protocol) address distribution method for VPN (virtual private network) client, message transmission method, and VPN server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |