Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
The first embodiment,
An embodiment of the present invention provides an information transmission method, as shown in fig. 1, including:
step 101: receiving an information transmission request of source terminal equipment, wherein the information transmission request at least comprises network identification information of the source terminal equipment and related information of information to be uploaded;
step 102: detecting an acquisition request of a target terminal device for information to be uploaded, wherein the acquisition request at least comprises network identification information of the target terminal device and related information of the information to be uploaded which is requested to be acquired;
step 103: and configuring a transmission link for the source terminal equipment and the target terminal equipment at least based on the network identification information of the source terminal equipment and the network identification information of the target terminal equipment, wherein the transmission link is used for transmitting the information at the source terminal equipment and the target terminal equipment.
It should be noted that the server in this embodiment may be a management server applied to the CDN, and by using the foregoing scheme, the problem of acceleration of delivery of dynamic services such as live broadcast in the CDN network can be solved. Each party of the negotiation comprises a CDN global scheduling system, an edge node, a terminal, a CP and the like; the negotiation information comprises a live broadcast address, a network red level, a content level, a live broadcast link IP, a live broadcast priority, a live broadcast bandwidth and the like; the negotiation process is uniformly controlled by the global scheduling system.
Configuring transmission links for the source terminal device and the target terminal device at least based on the network identification information of the source terminal device and the network identification information of the target terminal device, including:
selecting a source edge node and a target edge node for the source terminal device and the target terminal device based on the network identification information of the source terminal device and the network identification information of the target terminal device;
establishing the transmission link via the source edge node and the destination edge node for the source end device and the destination end device.
The method for selecting the source edge node and the target edge node for the source terminal device and the target terminal device may be that the source edge node and the target edge node meeting preset conditions are respectively selected based on a preset edge node management list.
The preset condition may be that the distance from the source terminal device or the target terminal device is less than a preset value; the distance may specifically be a logical distance in the network, and may also be an actual physical distance. The logical distance may refer to the number of hops between the edge node and the end device.
Further, the edge node management list may include at least one of identification information of a sub-network in which the edge node is located, network identification information of the edge node, and location information of the edge node.
In particular, the transmission link may be a link established between the source edge node and the destination edge node via at least one router.
The method further comprises the following steps: determining the priority corresponding to the information to be uploaded based on the related information of the information to be uploaded of the source terminal equipment and/or the network identification information of the source terminal equipment; and allocating transmission bandwidth for the transmission link to be established based on the priority and the required bandwidth of the information to be uploaded.
Based on the related information of the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device, the priority corresponding to the information to be uploaded may be determined in a manner of determining the priority based on a preset live broadcast information table.
As shown in fig. 2, the live broadcast information table may include at least one of location information of a source terminal device that uploads information, a network red level, a content level, a required bandwidth, a live broadcast state, and the like of the source terminal device, and a priority and a transmission bandwidth corresponding to the at least one information.
After selecting the source edge node and the target edge node for the source terminal device and the target terminal device, the method further includes:
and respectively judging whether the source edge node and the target edge node are added in information transmission, and if the source edge node and/or the target edge node are determined not to be added in the information transmission, selecting the source edge node and the target edge node for the source terminal equipment and the target terminal equipment again.
Further, on the basis of the above described scenario, the present embodiment further provides a way to delete the transmission link: and controlling to delete the transmission link when the end of the information transmission between the source terminal equipment and the target terminal equipment is detected.
The method for detecting the end of information transmission between the source terminal device and the target terminal device may include: and the application server side informs the server, and the live broadcast is finished. Specifically, the determining that the live broadcast is ended may be an instruction for initiating live broadcast end by the source terminal device, and then the application server side may directly send the instruction to the server. Therefore, the bandwidth resources in the network are prevented from being fixedly occupied, and the bandwidth resources can be flexibly distributed.
The following describes the scheme provided in this embodiment with reference to fig. 2 and 3:
the negotiation information includes: live broadcast source/destination CDN node IP, live broadcast content identification and the like.
The negotiation mode comprises the following steps: and the live broadcast source terminal IP, the live broadcast content identifier (URL), the live broadcast content priority and the bandwidth required by live broadcast are provided for the CDN global scheduling system by the CP.
And the live broadcast source/host CDN edge node IP and the live broadcast content click rate are automatically acquired by the CDN edge node and reported to a CDN global scheduling system.
As can be seen from fig. 2, the live broadcast information table may further include information such as live broadcast lacation (area, location), specifically, the area where the live broadcast is located, surrounding hot events, live broadcast content identification, and the like; in addition, the level of the network red may include that the identity of the sender who sends the information to be uploaded may be star, man, or ordinary; content levels may include diamonds, gold, silver, etc. In addition, the GSLB information table may perform link establishment based on the network identifier IP of the source terminal device and the IP of the destination terminal device, and information such as content identifier, content priority, and bandwidth. Specifically, as shown in fig. 3, the attribute definition and the corresponding description performed on the network side may be as shown in fig. 3, for example, the source IP may be defined as live _ Video _ Src _ IP, and other attributes and descriptions thereof are the same as those of the source IP, and are not described again here.
Negotiation procedure (as shown in fig. 4):
1. a live broadcast source terminal user initiates a live broadcast request to a CP (live broadcast CP website in the figure) through an APP, and the CP feeds back live broadcast Location, net red level, content level and live broadcast bandwidth information to a CDN global scheduling system (GSLB).
2. The direct broadcast host user requests direct broadcast content from the GSLB, and the GSLB acquires the IP of the host user, the content identification requested by the host user and the content click rate.
And 3, the GSLB checks the table according to the live broadcast information table information to obtain live broadcast source/host IP and CDN edge node IP and QOS priority of a corresponding area, judges whether the edge node is added into the live broadcast, and the like.
And 4, the GSLB judges the optimal return source path according to the CDN source/destination edge node IP (such as the CDN content node in the graph), issues a tunnel link established between the CDN source/destination edge nodes, and sets the tunnel bandwidth, the tunnel priority and the like.
5. The user watches live content over the tunnel link.
6. And the live broadcast source terminal user finishes live broadcast, the CP feeds back live broadcast finishing information to the GSLB, and the GSLB issues a deleted tunnel link.
Therefore, by adopting the scheme, the transmission link can be established for the information to be transmitted based on the network identifiers of the source terminal equipment and the target terminal equipment, so that the two terminal equipments can transmit the information based on the transmission link. Therefore, a use scene distributed according to needs can be provided for the source terminal equipment and the target terminal equipment, the requirements of real-time performance and burstiness in a network are met more flexibly, and the transmission reliability is improved.
Example II,
An embodiment of the present invention provides a server, as shown in fig. 5, including:
a receiving unit 51, configured to receive an information transmission request of a source terminal device, where the information transmission request at least includes network identification information of the source terminal device and related information of information to be uploaded; detecting an acquisition request of a target terminal device for information to be uploaded, wherein the acquisition request at least comprises network identification information of the target terminal device and related information of the information to be uploaded which is requested to be acquired;
a link management unit 52, configured to configure a transmission link for the source terminal device and the destination terminal device based on at least the network identification information of the source terminal device and the network identification information of the destination terminal device, where the transmission link is used to transmit the information between the source terminal device and the destination terminal device.
It should be noted that the server in this embodiment may be a management server applied to the CDN, and by using the foregoing scheme, the problem of acceleration of delivery of dynamic services such as live broadcast in the CDN network can be solved. Each party of the negotiation comprises a CDN global scheduling system, an edge node, a terminal, a CP and the like; the negotiation information comprises a live broadcast address, a network red level, a content level, a live broadcast link IP, a live broadcast priority, a live broadcast bandwidth and the like; the negotiation process is uniformly controlled by the global scheduling system.
Specifically, the receiving unit 51 may be configured to obtain, from the application server side, the information transmission request sent by the source terminal device and the information acquisition request sent by the target terminal device.
The link management unit 52 is configured to select a source edge node and a target edge node for the source terminal device and the target terminal device based on the network identification information of the source terminal device and the network identification information of the target terminal device; establishing the transmission link via the source edge node and the destination edge node for the source end device and the destination end device.
The method for selecting the source edge node and the target edge node for the source terminal device and the target terminal device may be that the source edge node and the target edge node meeting preset conditions are respectively selected based on a preset edge node management list.
The preset condition may be that the distance from the source terminal device or the target terminal device is less than a preset value; the distance may specifically be a logical distance in the network, and may also be an actual physical distance. The logical distance may refer to the number of hops between the edge node and the end device.
Further, the edge node management list may include at least one of identification information of a sub-network in which the edge node is located, network identification information of the edge node, and location information of the edge node.
In particular, the transmission link may be a link established between the source edge node and the destination edge node via at least one router.
The link management unit 52 is configured to determine a priority corresponding to the information to be uploaded based on the relevant information of the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device;
and allocating transmission bandwidth for the transmission link to be established based on the priority and the required bandwidth of the information to be uploaded.
Based on the related information of the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device, the priority corresponding to the information to be uploaded may be determined in a manner of determining the priority based on a preset live broadcast information table.
The live broadcast information table may include at least one of location information of a source terminal device that uploads information, a network red level, a content level, a required bandwidth, a live broadcast state, and the like of the source terminal device, and a priority and a transmission bandwidth corresponding to the at least one of the information.
After selecting the source edge node and the target edge node for the source terminal device and the target terminal device, the link management unit 52 is configured to respectively determine whether the source edge node and the target edge node join in information transmission, and if it is determined that the source edge node and/or the target edge node do not join in the information transmission, select the source edge node and the target edge node for the source terminal device and the target terminal device again.
Further, on the basis of the above described scenario, the present embodiment further provides a way to delete the transmission link: a link management unit 52, configured to detect that information transmission between the source terminal device and the target terminal device is finished, and control to delete the transmission link.
The server may be notified by the application server side in a manner of detecting that the information transmission between the source terminal device and the target terminal device is ended, so that the live broadcast is ended. Specifically, the determining that the live broadcast is ended may be an instruction for initiating live broadcast end by the source terminal device, and then the application server side may directly send the instruction to the server. Therefore, the bandwidth resources in the network are prevented from being fixedly occupied, and the bandwidth resources can be flexibly distributed.
The following describes the scheme provided in this embodiment with reference to fig. 2 and 3:
the negotiation information includes: live broadcast source/destination CDN node IP, live broadcast content identification and the like.
The negotiation mode comprises the following steps: and the live broadcast source terminal IP, the live broadcast content identifier (URL), the live broadcast content priority and the bandwidth required by live broadcast are provided for the CDN global scheduling system by the CP.
And the live broadcast source/host CDN edge node IP and the live broadcast content click rate are automatically acquired by the CDN edge node and reported to a CDN global scheduling system.
Therefore, by adopting the scheme, the transmission link can be established for the information to be transmitted based on the network identifiers of the source terminal equipment and the target terminal equipment, so that the two terminal equipments can transmit the information based on the transmission link. Therefore, a use scene distributed according to needs can be provided for the source terminal equipment and the target terminal equipment, the requirements of real-time performance and burstiness in a network are met more flexibly, and the transmission reliability is improved.
Example III,
An embodiment of the present invention provides an information transmission system, as shown in fig. 6, including:
the source terminal device 61 is configured to send an information transmission request, where the information transmission request at least includes network identification information of the source terminal device and related information of information to be uploaded;
the target terminal device 62 is configured to issue an acquisition request for information to be uploaded, where the acquisition request at least includes network identification information of the target terminal device and related information of the information to be uploaded that is requested to be acquired;
a server 63, configured to configure a transmission link for the source terminal device and the target terminal device based on at least the network identification information of the source terminal device and the network identification information of the target terminal device, where the transmission link is used to transmit the information between the source terminal device and the target terminal device.
It should be noted that the server in this embodiment may be a management server applied to the CDN, and by using the foregoing scheme, the problem of acceleration of delivery of dynamic services such as live broadcast in the CDN network can be solved. Each party of the negotiation comprises a CDN global scheduling system, an edge node, a terminal, a CP and the like; the negotiation information comprises a live broadcast address, a network red level, a content level, a live broadcast link IP, a live broadcast priority, a live broadcast bandwidth and the like; the negotiation process is uniformly controlled by the global scheduling system.
Specifically, the system further comprises:
an application server 64, configured to send an information transmission request sent by a source terminal device to the server;
the server is further configured to determine a priority corresponding to the information to be uploaded based on the information related to the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device in the information transmission request forwarded by the application server; and allocating transmission bandwidth for the transmission link to be established based on the priority and the required bandwidth of the information to be uploaded.
The server is further configured to select a source edge node and a target edge node for the source terminal device and the target terminal device based on the network identification information of the source terminal device and the network identification information of the target terminal device;
establishing the transmission link via the source edge node and the destination edge node for the source end device and the destination end device.
The method for selecting the source edge node and the target edge node for the source terminal device and the target terminal device may be that the source edge node and the target edge node meeting preset conditions are respectively selected based on a preset edge node management list.
The preset condition may be that the distance from the source terminal device or the target terminal device is less than a preset value; the distance may specifically be a logical distance in the network, and may also be an actual physical distance. The logical distance may refer to the number of hops between the edge node and the end device.
Further, the edge node management list may include at least one of identification information of a sub-network in which the edge node is located, network identification information of the edge node, and location information of the edge node.
In particular, the transmission link may be a link established between the source edge node and the destination edge node via at least one router.
The server is further configured to determine a priority corresponding to the information to be uploaded based on the relevant information of the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device;
and allocating transmission bandwidth for the transmission link to be established based on the priority and the required bandwidth of the information to be uploaded.
Based on the related information of the information to be uploaded of the source terminal device and/or the network identification information of the source terminal device, the priority corresponding to the information to be uploaded may be determined in a manner of determining the priority based on a preset live broadcast information table.
The live broadcast information table may include at least one of location information of a source terminal device that uploads information, a network red level, a content level, a required bandwidth, a live broadcast state, and the like of the source terminal device, and a priority and a transmission bandwidth corresponding to the at least one of the information.
After selecting a source edge node and a target edge node for the source terminal device and the target terminal device, respectively judging whether the source edge node and the target edge node join in information transmission, and if determining that the source edge node and/or the target edge node do not join in the information transmission, re-selecting the source edge node and the target edge node for the source terminal device and the target terminal device.
Further, on the basis of the above described scenario, the present embodiment further provides a way to delete the transmission link: and the server is also used for detecting the end of information transmission between the source terminal equipment and the target terminal equipment and controlling the deletion of the transmission link.
The server may be notified by the application server side in a manner of detecting that the information transmission between the source terminal device and the target terminal device is ended, so that the live broadcast is ended. Specifically, the determining that the live broadcast is ended may be an instruction for initiating live broadcast end by the source terminal device, and then the application server side may directly send the instruction to the server. Therefore, the bandwidth resources in the network are prevented from being fixedly occupied, and the bandwidth resources can be flexibly distributed.
The following describes the scheme provided in this embodiment with reference to fig. 2 and 3:
the negotiation information includes: live broadcast source/destination CDN node IP, live broadcast content identification and the like.
The negotiation mode comprises the following steps: and the live broadcast source terminal IP, the live broadcast content identifier (URL), the live broadcast content priority and the bandwidth required by live broadcast are provided for the CDN global scheduling system by the CP.
And the live broadcast source/host CDN edge node IP and the live broadcast content click rate are automatically acquired by the CDN edge node and reported to a CDN global scheduling system.
Therefore, by adopting the scheme, the transmission link can be established for the information to be transmitted based on the network identifiers of the source terminal equipment and the target terminal equipment, so that the two terminal equipments can transmit the information based on the transmission link. Therefore, a use scene distributed according to needs can be provided for the source terminal equipment and the target terminal equipment, the requirements of real-time performance and burstiness in a network are met more flexibly, and the transmission reliability is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a device, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.