Burst heat flow processing method and device, electronic equipment and storage medium

By calculating the total popularity value of the live stream at the edge nodes and determining whether it meets preset conditions, network topology processing is avoided, thus solving the problem of node bandwidth saturation caused by sudden surges in popularity and improving the stability of live streaming and user experience.

CN121397253APending Publication Date: 2026-01-23BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511594149.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-03
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

In live streaming services, sudden surges in traffic can saturate node bandwidth, causing buffering or interruptions for users watching the live stream, thus affecting the user experience.

Method used

By acquiring the popularity value, popularity threshold, and domain name system allocation weight of the live stream at the current edge node, the total popularity value is calculated, and it is timely determined whether the preset sudden conditions are met, thus avoiding network processing of the live stream and reducing the traffic load of the forwarding nodes.

Benefits of technology

It improves the real-time performance of emergency hotspot scheduling, reduces lag and interruptions, and enhances the stability of live streaming and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121397253A_ABST
    Figure CN121397253A_ABST
Patent Text Reader

Abstract

The invention relates to a burst heat flow processing method and device, electronic equipment and a storage medium. A weight is allocated by obtaining a popularity value and a popularity threshold value of a live broadcast stream at a current edge node and a domain name system corresponding to the live broadcast stream. Furthermore, based on the popularity value and the domain name system allocation weight, the total popularity value of the live broadcast stream at different edge nodes is calculated, and then networking processing is not carried out on the request for accessing the live broadcast stream by adopting the domain name under the condition that the total popularity value and the popularity threshold meet a preset emergency condition. Through the method, the cold and hot flow change of the live broadcast flow can be sensed in time, networking processing is not performed under the condition that the preset emergency condition is met, the flow borne by the forwarded node can be reduced, the problem that the forwarded node is full in the case of emergency heat flow can be prevented, the emergency heat flow can be processed in time, and the efficiency is improved. The real-time performance of burst heat flow scheduling is improved, the situation of lagging or interruption is reduced, the live broadcast stability is improved, and thus the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computers, and particularly relates to a burst hot stream processing method and device, electronic equipment and storage medium. BACKGROUND

[0002] In a live broadcast service scenario, as the number of small anchors increases, the number of small anchors with low popularity increases, resulting in an increase in cold streams. However, a content delivery network (CDN) is charged according to total traffic. In the case of a certain total service traffic, the more the number of streams, and each stream will generate a source return cost, resulting in a high source return cost. In this background, a networking method is used to reduce costs.

[0003] Networking refers to forwarding requests for the same live stream to the same node for processing through redirection and other means when multiple requests from different netizens are received. Cold streams and hot streams in a live stream are divided according to the size relationship between anchor popularity and a popularity threshold. Cold streams need to be networked, and hot streams do not need to be networked. In general, hot streams and cold streams have sudden changes. With the instantaneous increase in anchor popularity, the live stream will suddenly change from a cold stream to a hot stream, that is, a burst hot stream is generated.

[0004] In related technologies, the burst hot stream is not handled. Since the burst hot stream is often very large in traffic, the node to be forwarded is difficult to handle such a large amount of traffic, which will cause the node bandwidth to be full, resulting in a pause or interruption when a user watches a live broadcast, poor live broadcast stability, and serious impact on user experience. SUMMARY

[0005] To solve the above technical problems, the present disclosure provides a burst hot stream processing method, device, electronic equipment and storage medium, which can handle burst hot streams in a timely manner, improve the real-time performance of burst hot stream scheduling, reduce the occurrence of pauses or interruptions, and improve live broadcast stability.

[0006] In a first aspect, an embodiment of the present disclosure provides a burst hot stream processing method applied to an edge node, and the method comprises the following steps. obtaining a popularity value of a live stream at a current edge node, a popularity threshold, and a domain name system allocation weight corresponding to the live stream, wherein the domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes; calculating a total popularity value of the live stream on different edge nodes based on the popularity value and the domain name system allocation weight; in a case where the total popularity value and the popularity threshold meet a preset burst condition, not performing networking processing on a request for accessing the live stream using the domain name.

[0007] In some embodiments, the acquiring the domain name system allocation weight corresponding to the live stream comprises: sending, to the edge node, an acquisition request of the domain name system allocation weight; receiving the domain name system allocation weight issued by the edge node.

[0008] In some embodiments, the calculating the total heat value of the live stream at different edge nodes based on the heat value and the domain name system allocation weight comprises: determining, based on the domain name system allocation weight, a ratio of a proportion coefficient of a domain name corresponding to the live stream allocated at the current edge node to a total proportion coefficient; performing calculation based on the heat value and the ratio to obtain the total heat value of the live stream at different edge nodes.

[0009] In some embodiments, the not performing network processing on the request for accessing the live stream by using the domain name in the case that the total heat value and the heat threshold value satisfy the preset burst condition comprises: stopping forwarding, to a target node, the request for accessing the live stream by using the domain name in the case that the total heat value is greater than or equal to the heat threshold value, the target node being a node forwarded when the network processing is performed on the request for accessing the live stream by using the domain name.

[0010] In some embodiments, the heat threshold value is used to divide heat types of different live streams based on the total heat value of the live stream, and the heat types of the different live streams are used to determine whether to perform network processing on the live stream.

[0011] In some embodiments, the method further comprises: allowing the network processing on the request for accessing the live stream by using the domain name in the case that the total heat value and the heat threshold value do not satisfy the preset burst condition.

[0012] In some embodiments, the allowing the network processing on the request for accessing the live stream by using the domain name in the case that the total heat value and the heat threshold value do not satisfy the preset burst condition comprises: forwarding, to a target node, the request for accessing the live stream by using the domain name in the case that the total heat value is less than the heat threshold value, the target node being used to perform network processing on the request for accessing the live stream by using the domain name.

[0013] In a second aspect, the embodiments of the present disclosure provide a burst heat flow processing device, applied to an edge node, the device comprising: The acquisition module is configured to acquire a heat value of a live streaming at a current edge node, a heat threshold value, and a domain name system (DNS) allocation weight corresponding to the live streaming, wherein the DNS allocation weight is used to represent a proportion of a domain name corresponding to the live streaming allocated on different edge nodes. The calculation module is configured to calculate a total heat value of the live streaming on different edge nodes based on the heat value and the DNS allocation weight. The processing module is configured to, in a case where the total heat value and the heat threshold value satisfy a preset burst condition, not perform network processing on a request for accessing the live streaming by using the domain name.

[0014] In a third aspect, an electronic device is provided, and the electronic device includes: a memory; a processor; and a computer program; The computer program is stored in the memory and is configured to be executed by the processor to implement the method of the first aspect.

[0015] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program. The computer program is executed by a processor to implement the method of the first aspect.

[0016] In a fifth aspect, a computer program product is provided, and the computer program product includes a computer program or instructions. The computer program or instructions are executed by a processor to implement the method of the first aspect.

[0017] The methods, apparatus, electronic devices, and storage media for handling sudden hot flows provided in this disclosure acquire the popularity value, popularity threshold, and domain name system (DNS) allocation weight of the live stream at the current edge node. The DNS allocation weight characterizes the proportion of the domain name corresponding to the live stream allocated across different edge nodes. Further, based on the popularity value and the DNS allocation weight, the total popularity value of the live stream across different edge nodes is calculated. Then, if the total popularity value and the popularity threshold meet preset sudden flow conditions, requests to access the live stream using the specified domain name are not processed for network configuration. Compared to existing technologies, the embodiments of this disclosure calculate the total popularity value of the live stream across different edge nodes based on the popularity value of the live stream at the current edge node and the domain name system allocation weight. This allows for the determination of the live stream's popularity status, timely detection of changes in the live stream's hot and cold flows, and the elimination of network processing when preset emergency conditions are met. This reduces the traffic load on the forwarded nodes, preventing the problem of the forwarded nodes becoming overloaded during sudden hot flows. It also enables timely handling of sudden hot flows, improves the real-time performance of sudden hot flow scheduling, reduces stuttering or interruptions, enhances live stream stability, and ultimately improves the user experience. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart of a method for handling sudden heat flow provided in an embodiment of this disclosure; Figure 2 A flowchart of a sudden heat flow handling method provided in another embodiment of this disclosure; Figure 3 A flowchart of a sudden heat flow handling method provided in another embodiment of this disclosure; Figure 4 This is a schematic diagram of the structure of the sudden heat flow treatment device provided in the embodiments of this disclosure; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0021] In order to enable a more clear understanding of the above-mentioned purposes, features and advantages of the present disclosure, the schemes of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0022] In the following description, a large number of specific details are set forth in order to facilitate a thorough understanding of the present disclosure, but the present disclosure can also be implemented in other manners different from those described herein; obviously, the embodiments described in the specification are only a part of the embodiments of the present disclosure, and not all the embodiments.

[0023] In the live service scenario, as the number of small anchors increases, the small anchor heat is small, resulting in more cold streams. However, the content delivery network (CDN) is charged according to the total traffic, and in the case of a certain total service traffic, the more the number of streams, and each stream will generate a source cost, resulting in a high source cost. Under this background, a networking method is used to reduce the cost.

[0024] Networking refers to forwarding the same live stream requests from different netizens to the same node for processing through redirection and other means when multiple requests are received. The cold stream and the hot stream in the live stream are divided according to the size relationship between the anchor heat and the heat threshold, and the cold stream needs to be networked, and the hot stream does not need to be networked. Usually, the hot stream and the cold stream have a sudden change, and with the instantaneous increase of the anchor heat, the live stream will suddenly change from the cold stream to the hot stream, that is, a burst of hot stream is generated.

[0025] In the related art, the burst of hot stream cannot be perceived in time, and the perception has a certain hysteresis, so that the real-time performance of the regulation and control is poor, and the processing of the burst of hot stream is insufficient. Since the burst of hot stream is often very large in traffic, and the node to be forwarded is difficult to handle such a large amount of traffic, it will cause the node bandwidth to be full, resulting in a user watching live streaming with a pause or interruption, poor live streaming stability, and seriously affecting the user experience.

[0026] To solve the problem, the present disclosure provides a burst of hot stream processing method, which will be introduced in combination with specific embodiments.

[0027] Figure 1 A burst of hot stream processing method is provided for the embodiments of the present disclosure. The execution subject of the method is an electronic device, which can be an edge node such as an edge server. The edge server can be a single server, a server cluster, a distributed cluster, or a centralized cluster. The method can be applied to the scene of processing the burst of hot stream.

[0028] It can be understood that the burst of hot stream processing method provided by the embodiments of the present disclosure can also be applied in other scenes.

[0029] The burst heat flow processing method shown below will be introduced, which can be applied to electronic devices, and the edge node is exemplified by electronic devices. The specific steps of the method include the following: Figure 1 The burst heat flow processing method shown below will be introduced, which can be applied to electronic devices, and the edge node is exemplified by electronic devices. The specific steps of the method include the following: S101, obtain the heat value of the live stream in the current edge node, the heat threshold value and the domain name system allocation weight corresponding to the live stream.

[0030] The domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes.

[0031] In this step, the edge node will obtain the heat value of the live stream in the current edge node, the heat threshold value and the domain name system allocation weight corresponding to the live stream. Optionally, the heat value of the live stream in the current edge node can be obtained from the heat counter on the current edge node. Optionally, the heat threshold value can be obtained from the heat configuration parameter, and the heat threshold value can be 100, which can be set by the user, without limitation.

[0032] The domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes, for example, the domain name corresponding to a live stream is allocated on two edge nodes, X edge node and Y edge node, and the domain name system allocation weight is X edge node: Y edge node = 1:2.

[0033] S102, based on the heat value and the domain name system allocation weight, calculate the total heat value of the live stream in different edge nodes.

[0034] In this step, after obtaining the heat value of the live stream at the current edge node and the domain name system allocation weight corresponding to the live stream, the edge node calculates the total heat value of the live stream at different edge nodes based on the heat value and the domain name system allocation weight. Since the user traffic during live streaming is guided through the domain name system (DNS), the heat value of the live stream at the current edge node is distributed with the domain name system allocation weight. When the number of viewers of the live stream increases, the total heat of the live stream increases, and the heat value of the live stream at the current edge node also increases. Therefore, the heat value of the live stream at the current edge node is linearly related to the domain name system allocation weight. Thus, the total heat value of the live stream at different edge nodes can be calculated based on the heat value and the domain name system allocation weight. In this embodiment, the heat value of the live stream at the current edge node and the domain name system allocation weight can be used to calculate the total heat value of the live stream at different edge nodes by the edge node without the real-time intervention of the center node. Compared with the total heat value aggregated by the real-time intervention of the center node, the disclosed embodiment can quickly perceive the cold and hot flow changes of the live stream, perceive the total heat value faster, and thus improve the real-time performance of the regulation.

[0035] S103, if the total heat value and the heat threshold value meet the preset burst condition, the request for accessing the live stream using the domain name is not subjected to networking processing.

[0036] In this step, after obtaining the total heat value of the live stream at different edge nodes, the edge node determines whether the total heat value and the heat threshold value meet the preset burst condition. In some optional embodiments, if the total heat value is greater than or equal to the heat threshold value, it is determined that the preset burst condition is met. When the edge node determines that the total heat value and the heat threshold value meet the preset burst condition, the request for accessing the live stream using the domain name is not subjected to networking processing, thereby reducing the traffic accepted by the forwarded node, preventing the problem that the forwarded node is full during the burst hot flow, processing the burst hot flow in time, improving the real-time performance of the burst hot flow scheduling, reducing the occurrence of lag or interruption, improving the stability of live streaming, and thus improving the user experience.

[0037] Optionally, when the total heat value of the live stream is less than the heat threshold value, the live stream is subjected to networking; and when the total heat value of the live stream is greater than or equal to the heat threshold value, the live stream is not subjected to networking.

[0038] In some embodiments, the heat threshold is used to divide the heat types of different live streams based on the total heat value of the live streams, and the heat types of the different live streams are used to determine whether to network the live streams. Optionally, the heat types at least include a cold stream type and a hot stream type, and can also include other types, which are not limited herein. When the total heat value of a live stream is less than the heat threshold, the heat type of the live stream is determined to be the cold stream type; when the total heat value of the live stream is greater than or equal to the heat threshold, the heat type of the live stream is determined to be the hot stream type. The cold stream type of the live stream needs to be networked, and the hot stream type of the live stream does not need to be networked. In this embodiment, the heat types of the live streams can be divided in real time by the total heat value of the live streams and the heat threshold, and whether to network the live streams can be determined in real time, which can prevent the problem that the nodes being forwarded are full when a hot stream bursts, can handle the hot stream that bursts in time, and improves the real-time performance of the hot stream that bursts.

[0039] In the embodiments of the present disclosure, the heat value of a live stream at a current edge node, a heat threshold, and a domain name system allocation weight corresponding to the live stream are obtained, wherein the domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes. Further, based on the heat value and the domain name system allocation weight, the total heat value of the live stream on different edge nodes is calculated, and then in the case that the total heat value and the heat threshold meet a preset burst condition, a request for accessing the live stream using the domain name is not processed by networking. Compared with the prior art, in the embodiments of the present disclosure, the total heat value of the live stream on different edge nodes is calculated based on the heat value of the live stream at the current edge node and the domain name system allocation weight, the heat value of the live stream can be known, the cold and hot stream changes of the live stream can be sensed in time, and then in the case that the preset burst condition is met, the networking processing is not performed, thereby the traffic of the nodes being forwarded can be reduced, the problem that the nodes being forwarded are full when a hot stream bursts can be prevented, the hot stream that bursts can be handled in time, the real-time performance of the hot stream that bursts can be improved, the situation of lag or interruption can be reduced, the stability of live streaming can be improved, and the user experience can be improved.

[0040] Figure 2 The flow chart of the burst hot stream processing method provided by another embodiment of the present disclosure is shown in FIG. 8, and the method includes the following steps: Figure 2 S201, obtaining the heat value of a live stream at a current edge node, a heat threshold, and a domain name system allocation weight corresponding to the live stream.

[0041] The domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes.

[0042] ​Specifically, the implementation process and principle of S201 and S101 are consistent, which will not be repeated here.

[0043] In some embodiments, the domain name system allocation weight corresponding to the live stream is obtained, including steps a and b: Step a, sending a request for obtaining the domain name system allocation weight to the scheduling server; In this step, the edge node sends a request for obtaining the domain name system allocation weight corresponding to the live stream to the scheduling server. Optionally, the request includes the domain name corresponding to the live stream and the IP address of the live stream, which is not limited. The scheduling server receives the request for obtaining the domain name system allocation weight sent by the edge node, and further queries the domain name system allocation weight based on the request and sends the domain name system allocation weight to the edge node.

[0044] Step b, receiving the domain name system allocation weight sent by the scheduling server.

[0045] In this step, the edge node receives the domain name system allocation weight sent by the scheduling server.

[0046] S202, determining the ratio of the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node to the total proportion coefficient based on the domain name system allocation weight.

[0047] In this step, after obtaining the domain name system allocation weight, the edge node determines the ratio of the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node to the total proportion coefficient based on the domain name system allocation weight. For example, the domain name system allocation weight is 1:2 for the current edge node: Z edge node, wherein the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node is 1, the total proportion coefficient is 1+2=3, and the ratio of the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node to the total proportion coefficient is calculated to be 1 / 3.

[0048] S203, calculating based on the heat value and the ratio to obtain the total heat value of the live stream in different edge nodes.

[0049] In this step, after obtaining the ratio of the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node to the total proportion coefficient, the edge node calculates based on the heat value and the ratio to obtain the total heat value of the live stream in different edge nodes. Specifically, the heat value and the ratio are operated by division, that is, the heat value is divided by the ratio, and the result of the calculation is determined as the total heat value of the live stream in different edge nodes. For example, the heat value of the live stream in the current edge node is 60, the ratio is 1 / 3, and the total heat value is calculated as 60 ÷ (1 / 3) = 180. The total heat value of the live stream in different edge nodes can be calculated by the edge node according to the embodiments of the disclosure, without the real-time intervention of the center node. Compared with the total heat value summarized by the real-time intervention of the center node, the cold and hot flow changes of the live stream can be perceived faster, the speed of perceiving the total heat value is faster, and thus the real-time performance of the regulation and control can be improved.

[0050] In some embodiments, Figure 2 The steps S202 and S203 shown can be used as Figure 1 a specific implementation of the step S102 shown.

[0051] S204, in a case where the total heat value is greater than or equal to the heat threshold value, stopping forwarding, to a target node, a request for accessing the live stream by using the domain name.

[0052] The target node is a node that forwards the request for accessing the live stream by using the domain name when performing network processing on the request.

[0053] In some embodiments, Figure 2 The step S204 shown can be used as Figure 1 a specific implementation of the step S103 shown.

[0054] In this step, after obtaining the total heat value of the live stream in different edge nodes, the edge node judges whether the total heat value is greater than or equal to the heat threshold value. When the total heat value is greater than or equal to the heat threshold value, the edge node stops forwarding, to a target node, a request for accessing the live stream by using the domain name, thereby reducing the traffic borne by the forwarded node, preventing the problem that the forwarded node is full in a burst of hot flow, and improving the stability of live streaming.

[0055] The embodiment of the present disclosure obtains the heat value of a live stream at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live stream, wherein the domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes. Further, the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node is determined based on the domain name system allocation weight, and the total heat value of the live stream on different edge nodes is calculated based on the heat value and the proportion. Further, in the case that the total heat value is greater than or equal to the heat threshold value, the request for accessing the live stream using the domain name is stopped from being forwarded to a target node. Through this method, the total heat value of the live stream can be calculated, and it is determined whether the total heat value is greater than or equal to the heat threshold value. Further, in the case that the total heat value is greater than or equal to the heat threshold value, the request for accessing the live stream using the domain name is stopped from being forwarded to the target node, so that the cold and hot flow changes of the live stream can be sensed in time, and further, the networking processing is not performed in the case that the preset burst condition is met, thereby reducing the traffic accepted by the forwarded node and preventing the problem that the forwarded node is full in the case of a burst hot flow, and the stability of live streaming is improved.

[0056] Figure 3 The burst hot flow processing method flowchart provided by another embodiment of the present disclosure is shown in FIG. 3, and the method comprises the following steps: Figure 3 S301, obtaining the heat value of a live stream at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live stream.

[0057] The domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes.

[0058] Specifically, the implementation process and principle of S301 and S101 are the same, and will not be repeated here.

[0059] S302, calculating the total heat value of the live stream on different edge nodes based on the heat value and the domain name system allocation weight.

[0060] Specifically, the implementation process and principle of S302 and S102 are the same, and will not be repeated here.

[0061] S303, in the case that the total heat value and the heat threshold value meet a preset burst condition, not performing networking processing on the request for accessing the live stream using the domain name.

[0062] Specifically, the implementation process and principle of S303 and S103 are the same, and will not be repeated here.

[0063] ​S304, in a case where the total heat value and the heat threshold value do not satisfy the preset burst condition, allowing a request for accessing the live stream by using the domain name to be processed by networking.

[0064] In this step, the edge node determines whether the preset burst condition is satisfied based on the total heat value and the heat threshold value. When the total heat value and the heat threshold value do not satisfy the preset burst condition, the edge node allows the request for accessing the live stream by using the domain name to be processed by networking. In a case where the preset burst condition is not satisfied, the total heat value is less than the heat threshold value. By determining whether the total heat value and the heat threshold value satisfy the preset burst condition, when the preset burst condition is not satisfied, the request is allowed to be processed by networking, which can reduce the live stream source return cost and maximize the benefit.

[0065] In some embodiments, in a case where the total heat value and the heat threshold value do not satisfy the preset burst condition, the request for accessing the live stream by using the domain name is allowed to be processed by networking, including: in a case where the total heat value is less than the heat threshold value, forwarding the request for accessing the live stream by using the domain name to a target node, the target node being configured to process the request for accessing the live stream by using the domain name by networking.

[0066] In this embodiment, after obtaining the total heat value of the live stream, the edge node determines whether the total heat value is less than the heat threshold value. When it is determined that the total heat value is less than the heat threshold value, the edge node forwards the request for accessing the live stream by using the domain name to a target node. The target node is configured to process the request for accessing the live stream by using the domain name by networking. Further, the target node processes the request for accessing the live stream by using the domain name by networking. In a case where the total heat value is less than the heat threshold value, the target node forwards the request to the target node, and the target node processes the request by networking, thereby reducing the live stream source return cost and maximizing the benefit.

[0067] The embodiment of the present disclosure acquires a heat value of a live streaming at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live streaming, wherein the domain name system allocation weight is used to represent a proportion of allocation of a domain name corresponding to the live streaming on different edge nodes. Further, based on the heat value and the domain name system allocation weight, a total heat value of the live streaming on different edge nodes is calculated. Then, in a case where the total heat value and the heat threshold value satisfy a preset burst condition, a request for accessing the live streaming by using the domain name is not subjected to networking processing; in a case where the total heat value and the heat threshold value do not satisfy the preset burst condition, the request for accessing the live streaming by using the domain name is allowed to be subjected to networking processing. Compared with the prior art, the embodiment of the present disclosure judges whether the total heat value and the heat threshold value satisfy the preset burst condition, when the preset burst condition is satisfied, networking processing is not performed, thereby being capable of reducing the traffic borne by the forwarded node, and preventing the problem that the forwarded node is full when a burst heat flow occurs; when the preset burst condition is not satisfied, networking processing is allowed to be performed, thereby being capable of reducing the live streaming source cost and maximizing the benefit.

[0068] The schemes provided by the embodiments of the present disclosure can be used alone, and can also be used in combination without conflict. For example, S204, in a case where the total heat value is greater than or equal to the heat threshold value, stopping forwarding the request for accessing the live streaming by using the domain name to the target node, and S304, in a case where the total heat value and the heat threshold value do not satisfy the preset burst condition, allowing the request for accessing the live streaming by using the domain name to be subjected to networking processing, can be used in combination.

[0069] Figure 4 A structural schematic diagram of a burst heat flow processing device provided by an embodiment of the present disclosure is provided. The burst heat flow processing device can be an edge node as described in the above embodiments, or the burst heat flow processing device can be a component or assembly in the edge node. The burst heat flow processing device provided by the embodiment of the present disclosure can execute the processing flow provided by the burst heat flow processing method embodiment, such as Figure 4As shown, the burst heat flow processing device 50 applied to an edge node, comprising: an acquisition module 51, a calculation module 52, a processing module 53; wherein the acquisition module 51 is configured to acquire the heat value of the live stream at the current edge node, the heat threshold value and the domain name system allocation weight corresponding to the live stream, wherein the domain name system allocation weight is used to represent the proportion of the domain name corresponding to the live stream allocated on different edge nodes; the calculation module 52 is configured to calculate the total heat value of the live stream at different edge nodes based on the heat value and the domain name system allocation weight; the processing module 53 is configured to not perform networking processing on the request for accessing the live stream using the domain name in the case that the total heat value and the heat threshold value meet the preset burst condition.

[0070] Optionally, when the acquisition module 51 acquires the domain name system allocation weight corresponding to the live stream, it is specifically configured to: send an acquisition request of the domain name system allocation weight to a scheduling server; receive the domain name system allocation weight issued by the scheduling server.

[0071] Optionally, when the calculation module 52 calculates the total heat value of the live stream at different edge nodes based on the heat value and the domain name system allocation weight, it is specifically configured to: determine the proportion of the proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node based on the domain name system allocation weight, and the proportion coefficient accounts for the ratio of the total proportion coefficient; calculate based on the heat value and the ratio to obtain the total heat value of the live stream at different edge nodes.

[0072] Optionally, when the processing module 53 does not perform networking processing on the request for accessing the live stream using the domain name in the case that the total heat value and the heat threshold value meet the preset burst condition, it is specifically configured to: stop forwarding the request for accessing the live stream using the domain name to the target node in the case that the total heat value is greater than or equal to the heat threshold value, and the target node is the node forwarded when the request for accessing the live stream using the domain name is processed by networking.

[0073] Optionally, the heat threshold value is used to divide the heat types of different live streams based on the total heat value of the live stream, and the heat types of different live streams are used to determine whether to perform networking on the live stream.

[0074] Optionally, the processing module 53 is further configured to: allow the request for accessing the live stream using the domain name to be processed by networking in the case that the total heat value and the heat threshold value do not meet the preset burst condition.

[0075] Optionally, when the processing module 53 allows network processing of requests to access the live stream using the domain name if the total popularity value and the popularity threshold do not meet the preset burst conditions, it is specifically used to: forward the request to access the live stream using the domain name to the target node if the total popularity value is less than the popularity threshold, wherein the target node is used to perform network processing on the request to access the live stream using the domain name.

[0076] Figure 4 The sudden heat flow treatment device shown in the embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and will not be repeated here.

[0077] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this disclosure. See below for details. Figure 5 It shows a schematic diagram of a structure suitable for implementing the electronic device 600 in the embodiments of this disclosure. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0078] like Figure 5 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603 to implement the burst heat flow handling method as described in the embodiments of this disclosure. The RAM 603 also stores various programs and data required for the operation of the electronic device 600. The processing device 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0079] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0080] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program in accordance with embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program comprising program code for executing the methods illustrated by the flowcharts, thereby implementing the burst heat flow processing method as described above. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-described functions defined in the methods of embodiments of the present disclosure are performed.

[0081] It should be noted that the computer-readable medium described above in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer-readable program code is carried. Such a propagated data signal can take a variety of forms, including but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to, wire, cable, RF (radio frequency), or the like, or any suitable combination thereof.

[0082] In some embodiments, the client, server, or both can communicate using any known or future developed network protocols, such as the HyperText Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (for example, a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and peer-to-peer networks (for example, ad hoc peer-to-peer networks), as well as any current or future developed network.

[0083] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device and can be accessed via the electronic device.

[0084] The computer-readable medium described above carries one or more programs that, when executed by the electronic device, cause the electronic device to: Obtain a heat value of a live streaming at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live streaming, wherein the domain name system allocation weight is used to represent a proportion of allocation of a domain name corresponding to the live streaming on different edge nodes; Based on the heat value and the domain name system allocation weight, calculate a total heat value of the live streaming on different edge nodes; In a case where the total heat value and the heat threshold value satisfy a preset burst condition, do not perform network processing on a request for accessing the live streaming using the domain name.

[0085] Optionally, when the one or more programs are executed by the electronic device, the electronic device can further perform other steps described in the above embodiments.

[0086] Computer program code for carrying out operations of the present disclosure can be written in any one or more programming languages, including object oriented programming languages such as Java, Smalltalk, C++, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network ("LAN") or a wide area network ("WAN"), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0087] The computer program product of the first aspect can include one or more non-transitory computer-readable media storing instructions that, when executed, cause one or more processors to perform the operations of the method of the first aspect. The computer program product of the first aspect can include a computer-readable medium storing instructions that, when executed, cause one or more processors to perform the operations of the method of the first aspect.

[0088] The units described in the embodiments of the present disclosure can be implemented by software, or by hardware, or by a combination of software and hardware. In some cases, the names of the units do not constitute a limitation on the units themselves.

[0089] The functions described in this document can be implemented in part or in whole in hardware, firmware, software, or any combination thereof. For example, the functions can be implemented in hardware, such as through one or more ASICs modified in entirety for a particular design, or through one or more ASICs having some circuits modified. Said one or more ASICs can comprise one or more processors operating in a vacuum, in air, in a liquid, or in some other medium. In software, the functions can be stored as one or more instructions and / or data on non-transitory computer-readable storage medium or media including, without limitation, memory 104, 204, 304, 404, 504, 604, 704, 804, 904, 1004, 1104, 1204, 1304, and / or 1404 in the aforementioned system, server or device, etc. In that case, the computer-readable storage medium or media can include RAM, ROM, programmable ROM (e.g., EEPROM or flash memory), erasable programmable ROM, electrically erasable programmable ROM, random access memory (e.g., DRAM, SRAM, etc.), read-only memory (e.g., PROM, etc.), tape, floppy disk, CD-ROM, DVD, video game console, etc. The aforementioned media can be tangible and non-transitory. Herein, "non-transitory computer-readable storage medium" can also be referred to as a "tangible computer-readable medium".

[0090] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium can include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0091] The above description merely illustrates the preferred embodiments of the disclosure and a principle for applying the technologies. It is understood by those skilled in the art that the disclosed scope of the disclosure is not limited to the technical solutions formed by the specific combinations of the technical features described above, and should also cover other technical solutions formed by the combinations of the technical features described above or their equivalent features without departing from the disclosed concept. For example, the technical solutions formed by the mutual replacement of the above-described features and the technical features with similar functions disclosed in the disclosure (but not limited to) can be used.

[0092] Further, although operations are depicted in a particular, sequential order, this should not be understood as requiring or implying that the operations are performed in the order illustrated or sequentially. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, although specific implementation details are included for the purpose of providing a thorough disclosure, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0093] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A method of burst flow processing, characterized by, The method applied to an edge node comprises: obtaining a heat value of a live stream at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live stream, wherein the domain name system allocation weight is used to represent a proportion of a domain name corresponding to the live stream allocated on different edge nodes; based on the heat value and the domain name system allocation weight, calculating a total heat value of the live stream on different edge nodes; in a case where the total heat value and the heat threshold value satisfy a preset burst condition, not performing network processing on a request for accessing the live stream by using the domain name.

2. The method of claim 1, wherein, obtaining the domain name system allocation weight corresponding to the live stream comprises: sending, to an edge node, a request for obtaining the domain name system allocation weight; receiving the domain name system allocation weight issued by the edge node.

3. The method of claim 1, wherein, The calculation of the total heat value of the live stream on different edge nodes based on the heat value and the domain name system allocation weight comprises: determining a proportion coefficient of the domain name corresponding to the live stream allocated on the current edge node based on the domain name system allocation weight, and determining a ratio of the proportion coefficient to a total proportion coefficient; based on the heat value and the ratio, calculating the total heat value of the live stream on different edge nodes.

4. The method of claim 1, wherein, In a case where the total heat value is greater than or equal to the heat threshold value, stopping forwarding, to a target node, a request for accessing the live stream by using the domain name, the target node being a node forwarded when network processing is performed on the request for accessing the live stream by using the domain name. The heat threshold value is used to divide heat types of different live streams based on a total heat value of a live stream, and the heat types of the different live streams are used to determine whether to perform network processing on the live stream.

5. The method according to any one of claims 1-4, characterized in that, The method further comprises:

6. The method of claim 1, wherein, in a case where the total heat value and the heat threshold value do not satisfy the preset burst condition, allowing network processing to be performed on the request for accessing the live stream by using the domain name. In a case where the total heat value is less than the heat threshold value, forwarding, to a target node, a request for accessing the live stream by using the domain name, the target node being used to perform network processing on the request for accessing the live stream by using the domain name.

7. The method of claim 6, wherein, The device applied to an edge node comprises: an obtaining module, configured to obtain a heat value of a live stream at a current edge node, a heat threshold value, and a domain name system allocation weight corresponding to the live stream, wherein the domain name system allocation weight is used to represent a proportion of a domain name corresponding to the live stream allocated on different edge nodes; 8. A burst flow processing device, characterized by a calculation module, configured to calculate, based on the heat value and the domain name system allocation weight, a total heat value of the live stream on different edge nodes; ​ ​ The processing module is configured to, when the total heat value and the heat threshold value satisfy a preset burst condition, not perform network processing on a request for accessing the live stream by using the domain name.

9. An electronic device, comprising: Comprises: a memory; a processor; and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Network content resource scheduling method, domain name scheduling server and electronic equipment

    CN111614736A

  • Resource on-demand scheduling method and device, computing equipment and storage medium

    CN115914759A

  • Dynamic configuration method and system of live broadcast scheduling mode and computing equipment

    CN117714718A

  • Method, apparatus, medium and program product for processing live stream data

    CN118921499A