Networking control method, apparatus, device, storage medium, and product

By adjusting the popularity threshold of the live stream in real time and optimizing the network structure, the problem of unstable network scale was solved, and the balance between network cost and benefit and the maximization of benefits were achieved.

CN121397277BActive Publication Date: 2026-07-21BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Filing Date
2025-11-03
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing technologies, the networking methods for live streaming cannot adjust the popularity configuration in real time, resulting in insufficient networking during peak hours and excessive networking during off-peak hours, leading to an imbalance between cost and benefit.

Method used

By acquiring the current popularity threshold, target network size, and actual network size of the live stream, the popularity threshold can be adjusted to achieve real-time control of the network size and optimize the network structure.

Benefits of technology

It achieves stability at the network scale, ensures a balance between cost and benefit, and maximizes the benefits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121397277B_ABST
    Figure CN121397277B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a networking control method, device, equipment, storage medium and product. By obtaining a current heat threshold corresponding to a live stream, a target networking magnitude and a current actual networking magnitude, wherein the heat threshold is used to determine whether to network the live stream based on the heat of the live stream, and the networking magnitude is used to represent the carrying capacity of the constructed networking for the live stream. Further, in the case that the target networking magnitude and the current actual networking magnitude meet a preset adjustment condition, the current heat threshold is adjusted to generate a target heat threshold, and the target heat threshold is used to regulate and control the networking magnitude of the networking processing the live stream. Compared with the prior art, the embodiment of the present disclosure can adjust the heat threshold in real time, thereby optimizing the networking structure in real time, thereby reducing the occurrence of insufficient or excessive networking magnitude, keeping the networking magnitude stable, thereby ensuring that the cost and benefit are not imbalanced, and maximizing the benefit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a network control method, apparatus, device, storage medium, and product. Background Technology

[0002] In live streaming scenarios, the increasing number of smaller streamers, coupled with their lower popularity, leads to a rise in "cold streams." However, content delivery networks (CDNs) are billed based on total traffic. Given a fixed total traffic volume, the more streams there are, the higher the origin pull cost becomes, as each stream incurs origin pull costs. Therefore, a networking approach was adopted to reduce these costs.

[0003] Networking refers to redirecting multiple requests for the same live stream from different users to the same node using methods such as redirection. The live stream is divided into "cold stream" and "hot stream" based on the streamer's popularity and the size of the popularity configuration. The current division method results in different distribution characteristics of the live stream at different times. Typically, there are more cold streams during the afternoon off-peak hours and more hot streams during the evening peak hours. Cold streams require networking, while hot streams do not. This networking method leads to insufficient network size during peak hours (insufficient network scale) and excessive network size during off-peak hours (excessive network scale), making the network scale very unstable and resulting in a cost-benefit imbalance. Summary of the Invention

[0004] To address the aforementioned technical issues, this disclosure provides a network control method, apparatus, equipment, storage medium, and product to adjust the heat configuration in real time, thereby stabilizing the network scale, ensuring that cost and benefit are not imbalanced, and maximizing benefits.

[0005] In a first aspect, embodiments of this disclosure provide a network control method, the method comprising: The current popularity threshold, target network size, and current actual network size corresponding to the live stream are obtained. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream. When the target network size and the current actual network size meet the preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold. The target popularity threshold is used to regulate the network size of the network processing the live stream.

[0006] In some embodiments, adjusting the current popularity threshold to generate a target popularity threshold when the target network size and the current actual network size meet preset adjustment conditions includes: If the current actual network size is less than the target network size, the current popularity threshold is increased based on a preset increase ratio to obtain the target popularity threshold.

[0007] In some embodiments, adjusting the current popularity threshold to generate a target popularity threshold when the target network size and the current actual network size meet preset adjustment conditions includes: If the current actual network size is greater than the target network size, the current popularity threshold is lowered based on a preset reduction ratio to obtain the target popularity threshold.

[0008] In some embodiments, the target popularity threshold is used to regulate the network size of the network processing the live stream. Specifically, the target popularity threshold is used to classify different popularity types of live streams, and the different popularity types of live streams are used to reconstruct the network processing the live stream, so as to regulate the network size of the network processing the live stream.

[0009] In some embodiments, the method further includes: If the target network size and the current actual network size do not meet the preset adjustment conditions, the current popularity threshold will not be adjusted.

[0010] In some embodiments, the target network size is the same as the current actual network size.

[0011] Secondly, embodiments of this disclosure provide a networking control device, the device comprising: The acquisition module is used to acquire the current popularity threshold, target network size, and current actual network size corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream. The control module is used to adjust the current popularity threshold and generate a target popularity threshold when the target network size and the current actual network size meet preset adjustment conditions. The target popularity threshold is used to regulate the network size of the network processing the live stream.

[0012] Thirdly, embodiments of this disclosure provide an electronic device, including: Memory; Processor; and Computer programs; The computer program is stored in the memory and configured to be executed by the processor to implement the method as described in the first aspect.

[0013] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method as described in the first aspect.

[0014] Fifthly, embodiments of this disclosure also provide a computer program product comprising a computer program or instructions that, when executed by a processor, implement the method described in the first aspect.

[0015] The networking control method, apparatus, device, storage medium, and product provided in this disclosure acquire the current popularity threshold, target networking level, and current actual networking level corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the networking level characterizes the capacity of the constructed network to handle the live stream. Furthermore, when the target networking level and the current actual networking level meet preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold, which is used to regulate the networking level of the network processing the live stream. Compared to existing technologies, this disclosure, by regulating based on the target popularity threshold, allows for real-time adjustment of the popularity threshold. Whether the live stream needs networking changes accordingly, enabling real-time optimization of the networking structure. This reduces the occurrence of insufficient or excessive networking levels, ensuring stable networking levels and maintaining a cost-benefit balance, thereby maximizing benefits. Attached Figure Description

[0016] 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.

[0017] 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.

[0018] Figure 1 A flowchart of the networking control method provided in this embodiment of the disclosure; Figure 2 A flowchart of a networking control method provided in another embodiment of this disclosure; Figure 3 A flowchart of a networking control method provided in another embodiment of this disclosure; Figure 4 This is a schematic diagram of the overall network architecture provided in the embodiments of this disclosure; Figure 5This is a schematic diagram of the network control device provided in an embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0019] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0020] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0021] In live streaming scenarios, the increasing number of smaller streamers, coupled with their lower popularity, leads to a rise in "cold streams." However, Content Delivery Networks (CDNs) are billed based on total traffic. Given a fixed total traffic volume, the more streams there are, the higher the origin pull cost becomes, as each stream incurs origin pull costs. Therefore, a networking approach was adopted to reduce these costs.

[0022] Networking refers to redirecting multiple requests for the same live stream from different users to the same node using methods such as redirection. The distinction between "cold streams" and "hot streams" in a live stream is based on the relationship between the streamer's popularity and the available popularity settings. The popularity of a live stream varies at different times; typically, there are more cold streams during the afternoon off-peak hours and more hot streams during the evening peak hours. Cold streams require networking, while hot streams do not.

[0023] However, the current networking scheme cannot sense traffic fluctuations, cannot adjust the heat configuration in real time, and therefore cannot adjust the ratio of cold flow to hot flow. This results in fewer networks during peak hours (insufficient network scale) and more networks during off-peak hours (excessive network scale), making the network scale very unstable and leading to an imbalance between cost and benefit.

[0024] To address this issue, this disclosure provides a network control method, which will be described below with reference to specific embodiments.

[0025] Figure 1This is a flowchart of a network control method provided in an embodiment of this disclosure. The execution subject of this method is an electronic device, which can be a scheduling server. The scheduling server can be a single server, a server cluster, a distributed cluster, or a centralized cluster. This method can be applied to scenarios for controlling the network topology, and also to scenarios for real-time adjustment of heat thresholds.

[0026] It is understood that the networking control method provided in this disclosure can also be applied in other scenarios.

[0027] The following is about Figure 1 The network control method shown is introduced below. This method can be applied to electronic devices. Taking an electronic device as a scheduling server as an example, the specific steps of this method are as follows: S101. Obtain the current popularity threshold, target network size, and current actual network size corresponding to the live stream.

[0028] The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream.

[0029] In this step, such as Figure 4 As shown, the scheduling server obtains the current popularity threshold, target network size, and current actual network size corresponding to the live stream. Optionally, the current popularity threshold can be obtained from the current popularity configuration parameters. Before any adjustment to the popularity threshold, the current popularity threshold is the default popularity threshold, such as 100.

[0030] The popularity threshold is used to determine whether to network the live stream based on its popularity, which can be determined based on the number of concurrent online users. Optionally, when the popularity of the live stream is less than the popularity threshold, the live stream should be networked; when the popularity of the live stream is greater than or equal to the popularity threshold, the live stream should not be networked. The network scale is used to characterize the carrying capacity of the constructed network for the live stream, and the carrying capacity can be determined based on the number of nodes, the total number of cold streams, the number of user requests processed, etc.

[0031] In some embodiments, edge nodes monitor the current actual network size of the live stream in real time. For example, if the current network size is 50G, the scheduling server can read the current actual network size from the edge node corresponding to the live stream.

[0032] S102. If the target network size and the current actual network size meet the preset adjustment conditions, adjust the current heat threshold to generate the target heat threshold.

[0033] In this step, after obtaining the target network size and the current actual network size, the scheduling server determines whether the current situation meets the preset adjustment conditions based on the target network size and the current actual network size. In some optional implementations, if the current actual network size is different from the target network size, it is determined that the current situation meets the preset adjustment conditions. In other optional implementations, if the current actual network size is not within the range of the target network size ± error value, it is determined that the current situation meets the preset adjustment conditions. The error value is 5% of the target network size. For example, if the target network size is 100G, the error value is 100G × 5% = 5G, and the range of the target network size ± error value is 95G~105G. When the scheduling server determines that the target network size and the current actual network size meet the preset adjustment conditions, it will adjust the current heat threshold to generate a target heat threshold.

[0034] Optionally, the target popularity threshold is used to regulate the network size of the network processing the live stream. Since regulation is based on the target popularity threshold, compared to a constant popularity configuration, this embodiment of the disclosure can achieve real-time adjustment of the popularity threshold (i.e., popularity configuration). That is, the popularity threshold changes in real time, and whether the live stream needs network configuration also changes accordingly. This allows for real-time optimization of the network structure, thereby reducing the occurrence of insufficient or excessive network size and ensuring a stable network size.

[0035] In some embodiments, the target popularity threshold is used to regulate the network size of the network processing the live stream. Specifically, the target popularity threshold is used to classify different popularity types of live streams, and the different popularity types of live streams are used to reconstruct the network processing the live streams to regulate the network size of the network processing the live streams. Optionally, the popularity types include at least cold stream types and hot stream types, and may also include other types, which are not limited here. When the popularity of a live stream is less than the target popularity threshold, the popularity type of the live stream is determined to be a cold stream type; when the popularity of a live stream is greater than or equal to the target popularity threshold, the popularity type of the live stream is determined to be a hot stream type. Cold stream types of live streams need to be networked, while hot stream types of live streams do not need to be networked. This embodiment can reclassify the popularity types of different live streams through the target popularity threshold, and then reconstruct the network processing the live streams based on the different popularity types of live streams, optimize the network structure, adjust the network ratio of live streams, and keep the network size stable.

[0036] Specifically, such as Figure 4As shown, the Live Stream Popularity Proxy (SDR) component can monitor the popularity values ​​of each live stream on the current edge node. The scheduling server sends the target popularity threshold to the SDR. Then, the SDR receives the target popularity threshold from the scheduling server, compares the popularity value of each live stream with the target popularity threshold, and classifies the popularity type of each live stream. Further, for any live stream, if the popularity type of the live stream is not a popular stream, the SDR performs a hash calculation based on the identifier (e.g., ID) of the live stream to obtain the target server node in the network used to process the live stream. An example target server node can be an edge node such as a CDN node or an edge server. Then, the SDR sends the Internet Protocol address corresponding to the target server node of the live stream to the request processing (ivory) component. Then, the request processing component receives the Internet Protocol address corresponding to the target server node of the live stream, and redirects the user request of the live stream to the target server node of the live stream based on the Internet Protocol address. This can reconstruct the network for processing the live stream, thereby enabling the control of the network scale of the network for processing the live stream.

[0037] In some embodiments, SDR uploads the popularity values ​​of each live stream on the current node to the Live Stream Popularity Center (SDC) component for storage, facilitating the scheduling server's query of historical popularity data. SDC aggregates the popularity values ​​of each live stream on the current node to obtain the total popularity value of all live streams on the current node, and then sends the total popularity value back to SDR.

[0038] This embodiment of the disclosure obtains the current popularity threshold, target network size, and current actual network size corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size characterizes the carrying capacity of the constructed network for the live stream. Furthermore, when the target network size and the current actual network size meet preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold. This target popularity threshold is used to regulate the network size of the network processing the live stream. Compared to existing technologies, this embodiment of the disclosure, by regulating based on the target popularity threshold, can adjust the popularity threshold in real time. Whether the live stream needs network configuration changes accordingly, thereby optimizing the network structure in real time. This reduces the occurrence of insufficient or excessive network size, keeping the network size stable, ensuring an imbalance between cost and benefit, and maximizing benefits.

[0039] Figure 2 A flowchart of a networking control method provided in another embodiment of this disclosure is shown below. Figure 2 As shown, the method includes the following steps: S201. Obtain the current popularity threshold, target network size, and current actual network size corresponding to the live stream.

[0040] The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream.

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

[0042] S202. When the current actual network size is less than the target network size, the current popularity threshold is increased based on a preset increase ratio to obtain the target popularity threshold.

[0043] In this step, after obtaining the target network size and the current actual network size, the scheduling server determines whether the current actual network size is less than the target network size. If the current actual network size is less than the target network size, the scheduling server will increase the current popularity threshold based on a preset increase ratio to obtain the target popularity threshold. Because the current actual network size is less than the target network size, it indicates that the current actual network size is insufficient, so the network size needs to be increased, that is, the number of live streams to be networked needs to be increased. At this instant, the popularity of the live stream is temporarily constant, so the current popularity threshold needs to be increased to obtain the target popularity threshold. The target popularity threshold is used to regulate the network size of the network processing the live stream. When the popularity of the live stream is less than the target popularity threshold, the live stream needs to be networked, thereby increasing the number of live streams to be networked, adjusting the network ratio of the live streams, that is, optimizing the network structure, and realizing the regulation of the network size.

[0044] In some embodiments, the current popularity threshold can be adjusted upwards based on a smoothing algorithm. The smoothing algorithm can be a moving average algorithm or other smoothing algorithms, without limitation. Optionally, the preset adjustment ratio can be 5%, 10%, or other values, without specific limitation here.

[0045] S203. When the current actual network size is greater than the target network size, the current popularity threshold is lowered based on a preset reduction ratio to obtain the target popularity threshold.

[0046] In this step, the scheduling server determines whether the current actual network size is greater than the target network size. If the current actual network size is greater than the target network size, the scheduling server lowers the current popularity threshold based on a preset reduction ratio to obtain the target popularity threshold. Since the current actual network size is greater than the target network size, it indicates that the current actual network size is excessive, requiring a reduction in the network size, i.e., reducing the number of live streams to be networked. At this instant, the popularity of the live stream is temporarily constant, so the current popularity threshold needs to be lowered to obtain the target popularity threshold. The target popularity threshold is used to regulate the network size of the network processing the live stream. When the popularity of the live stream is greater than the target popularity threshold, the live stream no longer needs to be networked, thus reducing the number of live streams to be networked, adjusting the network ratio of the live streams, optimizing the network structure, and achieving regulation of the network size.

[0047] In some embodiments, the current popularity threshold can be lowered based on a smoothing algorithm. The smoothing algorithm can be a moving average algorithm or other smoothing algorithms, without limitation. Optionally, the preset reduction ratio can be 5%, 10%, or other values, without specific limitation here.

[0048] This embodiment of the disclosure obtains the current popularity threshold, target network size, and current actual network size corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size characterizes the carrying capacity of the constructed network for the live stream. Further, if the current actual network size is less than the target network size, the current popularity threshold is increased based on a preset upward adjustment ratio to obtain the target popularity threshold; if the current actual network size is greater than the target network size, the current popularity threshold is decreased based on a preset downward adjustment ratio to obtain the target popularity threshold. The target popularity threshold is used to regulate the network size of the network processing the live stream. Using this method, embodiments of this disclosure can determine whether the adjustment conditions are met, and then adjust the current popularity threshold in real time to obtain the target popularity threshold. Furthermore, the number of live streams to be networked can be adjusted, thereby adjusting the network ratio of live streams, which optimizes the network structure and realizes the control of the network scale. This can make the network scale tend to be stable, thereby ensuring that the cost and benefits are not unbalanced and maximizing the benefits.

[0049] Figure 3 A flowchart of a networking control method provided in another embodiment of this disclosure is shown below. Figure 3 As shown, the method includes the following steps: S301. Obtain the current popularity threshold, target network size, and current actual network size corresponding to the live stream.

[0050] The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream.

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

[0052] S302. If the target network size and the current actual network size meet the preset adjustment conditions, adjust the current heat threshold to generate the target heat threshold.

[0053] The target popularity threshold is used to regulate the network size of the network processing the live stream.

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

[0055] S303. If the target network size and the current actual network size do not meet the preset adjustment conditions, the current popularity threshold will not be adjusted.

[0056] In this step, the scheduling server determines whether preset adjustment conditions are met based on the target network size and the current actual network size. If the target network size and the current actual network size do not meet the preset adjustment conditions, the scheduling server does not adjust the current popularity threshold and maintains the current popularity threshold. Specifically, the case where the preset adjustment conditions are not met is that the target network size and the current actual network size are the same. By determining whether the target network size and the current actual network size meet the preset adjustment conditions, and by not making adjustments when the preset adjustment conditions are not met, there is no need to optimize the network structure, thus ensuring that the network size remains stable and reducing the probability of cost-benefit imbalance.

[0057] This embodiment of the disclosure obtains the current popularity threshold, target network size, and current actual network size corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size characterizes the carrying capacity of the constructed network for the live stream. Further, if the target network size and the current actual network size meet preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold, which is used to regulate the network size of the network processing the live stream. Conversely, if the target network size and the current actual network size do not meet the preset adjustment conditions, the current popularity threshold is not adjusted. Compared to existing technologies, this disclosure's embodiments determine whether the target network size and the current actual network size meet preset adjustment conditions. When the preset adjustment conditions are met, the popularity threshold can be adjusted in real time, and whether the live stream needs network configuration also changes accordingly. This allows for real-time optimization of the network structure, reducing the occurrence of insufficient or excessive network size, thus maintaining a stable network size and ensuring an unbalanced cost-benefit ratio. When the preset adjustment conditions are not met, no adjustments are made, maintaining the current network structure, thereby ensuring continued stability of the network size and reducing the probability of a cost-benefit imbalance. In any situation, network size stability can be maintained, maximizing benefits.

[0058] Figure 5 This is a schematic diagram of the network control device provided in the embodiments of this disclosure. The network control device can be a scheduling server as described in the above embodiments, or it can be a component or part of the scheduling server. The network control device provided in the embodiments of this disclosure can execute the processing flow provided in the embodiments of the network control method, such as... Figure 5 As shown, the network control device 50 includes: an acquisition module 51 and a control module 52; wherein, the acquisition module 51 is used to acquire the current popularity threshold, the target network size, and the current actual network size corresponding to the live stream, wherein the popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream; the control module 52 is used to adjust the current popularity threshold to generate a target popularity threshold when the target network size and the current actual network size meet preset adjustment conditions, and the target popularity threshold is used to regulate the network size of the network processing the live stream.

[0059] Optionally, when the control module 52 adjusts the current popularity threshold to generate the target popularity threshold under the condition that the target network size and the current actual network size meet the preset adjustment conditions, it is specifically used to: when the current actual network size is less than the target network size, adjust the current popularity threshold upward based on the preset upward adjustment ratio to obtain the target popularity threshold.

[0060] Optionally, when the control module 52 adjusts the current popularity threshold to generate the target popularity threshold under the condition that the target network size and the current actual network size meet the preset adjustment conditions, it is specifically used to: when the current actual network size is greater than the target network size, adjust the current popularity threshold based on a preset reduction ratio to obtain the target popularity threshold.

[0061] Optionally, the target popularity threshold is used to regulate the network size of the network processing the live stream. Specifically, the target popularity threshold is used to classify different popularity types of live streams, and the different popularity types of live streams are used to reconstruct the network processing the live stream, so as to regulate the network size of the network processing the live stream.

[0062] Optionally, the control module 52 is further configured to: not adjust the current heat threshold when the target network size and the current actual network size do not meet the preset adjustment conditions.

[0063] Optionally, the target network size is the same as the current actual network size.

[0064] Figure 5 The networking control 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 described again here.

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

[0066] like Figure 6As 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 networking control 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.

[0067] 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 6 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.

[0068] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts, thereby implementing the network control method as described above. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined in the methods of embodiments of this disclosure.

[0069] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0070] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0071] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0072] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: The current popularity threshold, target network size, and current actual network size corresponding to the live stream are obtained. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream. When the target network size and the current actual network size meet the preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold. The target popularity threshold is used to regulate the network size of the network processing the live stream.

[0073] Optionally, when one or more of the above-described procedures are executed by the electronic device, the electronic device may also perform other steps described in the above embodiments.

[0074] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0075] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0076] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0077] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0078] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0079] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0080] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0081] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A network control method, characterized in that, The method includes: The current popularity threshold, target network size, and current actual network size corresponding to the live stream are obtained. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream. When the target network size and the current actual network size meet the preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold. The target popularity threshold is used to control the network size of the network processing the live stream; the target popularity threshold is used to classify different popularity types of live streams. When the target network size and the current actual network size meet preset adjustment conditions, the current popularity threshold is adjusted to generate a target popularity threshold, including: If the current actual network size is less than the target network size, the current popularity threshold is increased based on a preset increase ratio to obtain the target popularity threshold; or, If the current actual network size is greater than the target network size, the current popularity threshold is lowered based on a preset reduction ratio to obtain the target popularity threshold.

2. The method according to claim 1, characterized in that, The target popularity threshold is used to regulate the network size of the network processing the live stream. Specifically, the popularity types of different live streams are used to reconstruct the network processing the live stream in order to regulate the network size of the network processing the live stream.

3. The method according to claim 1, characterized in that, The method further includes: If the target network size and the current actual network size do not meet the preset adjustment conditions, the current popularity threshold will not be adjusted.

4. The method according to claim 3, characterized in that, The target network size is the same as the current actual network size.

5. A network control device, characterized in that, include: The acquisition module is used to acquire the current popularity threshold, target network size, and current actual network size corresponding to the live stream. The popularity threshold is used to determine whether to network the live stream based on its popularity, and the network size is used to characterize the carrying capacity of the constructed network for the live stream. The control module is used to adjust the current popularity threshold and generate a target popularity threshold when the target network size and the current actual network size meet preset adjustment conditions. The target popularity threshold is used to regulate the network size of the network processing the live stream; the target popularity threshold is used to classify different popularity types of live streams. When the target network size and the current actual network size meet preset adjustment conditions, the control module adjusts the current heat threshold. Specifically, when generating the target heat threshold, it is used for: If the current actual network size is less than the target network size, the current popularity threshold is increased based on a preset increase ratio to obtain the target popularity threshold; or, If the current actual network size is greater than the target network size, the current popularity threshold is lowered based on a preset reduction ratio to obtain the target popularity threshold.

6. An electronic device, characterized in that, include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and configured to be executed by the processor to implement the method as described in any one of claims 1-4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-4.

8. A computer program product, characterized in that, The computer program product includes a computer program or instructions that, when executed by a processor, implement the method as described in any one of claims 1-4.