Video stream code rate self-adaption method and device, computer equipment and storage medium

CN118633291APending Publication Date: 2024-09-10CHINA ENTROPY CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202380015618.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-12-30
Filing Date
2023-12-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing video stream bit rate switching method requires the user to manually try multiple times, and the playback effect cannot be expected. The accuracy of the bit rate adjustment is difficult to guarantee, making it difficult to guarantee the smoothness and image quality of the video.

Method used

By monitoring the network conditions and video stream conditions at the receiving end, it is determined whether the bit rate needs to be switched, and the sending end is adjusted according to the bit rate switching request. The bit rate smooth transition strategy and the preset bit rate adaptation strategy are adopted to adjust the video stream in real time. code rate.

Benefits of technology

It realizes the adaptive adjustment of the video stream bit rate, reduces the data stream transmission delay, improves the quality and adaptability of the video stream, and reduces lagging and picture problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633291A
    Figure CN118633291A
Patent Text Reader

Abstract

The invention discloses a video stream code rate adaptive method and device, computer equipment and a storage medium, and relates to the technical field of streaming media. According to the method provided by the invention, the adaptive adjustment of the video stream code rate can be realized, so that the quality of the stream pushing and pulling videos of the sending end and the receiving end is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Video stream rate adaptive method, device, computer equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. patent applications No. 63 / 436111, filed on December 30, 2022, No. 63 / 450100, filed on March 6, 2023, and No. 63 / 546495, filed on October 30, 2023; and claims priority to PCT application No. PCT / CN2022 / 116928, filed on September 3, 2022; and PCT application No. PCT / CN2023 / 102266, filed on June 26, 2023, all of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present invention relates to the technical field of streaming media, and in particular to a method and device for adaptively adjusting the bit rate of a video stream, a computer device, and a non-volatile computer-readable storage medium. Background Art

[0004] Streaming video is a technology for transmitting and sharing video content over a network in real time, also known as video streaming. It allows users to watch videos instantly without downloading them. Streaming video transmits video content in reusable data packets, rather than sending the entire video file one or more times. Common applications for streaming video include video websites, live video conferencing, interactive gaming, and live streaming services.

[0005] Currently, when a client (receiving end) receives a video stream sent by a server (sending end) and starts playing the video stream, a video bit rate is selected by default, which is usually the original bit rate of the video stream. When the client encounters playback freezes during the playback of the video stream, the user is required to manually select a lower bit rate, thereby switching to the lower bit rate to ensure smooth video playback. When the user wants to watch a video with higher picture quality, a higher bit rate is also required to be manually selected. In other words, the current video stream bit rate switching method requires the user to make multiple attempts continuously. The effect of video playback (such as clarity, freezes) after each attempt to switch the bit rate is unpredictable, and the accuracy of the bit rate adjustment is difficult to guarantee.

[0006] Based on this, how to provide a video stream bit rate adaptive method, device, computer equipment and non-volatile computer-readable storage medium that can achieve adaptive adjustment of the video stream bit rate to ensure the quality of the push and pull stream videos at the sending and receiving ends is a problem that urgently needs to be solved by technical personnel in this field.

[0007] Summary of the Invention

[0008] In view of the above-mentioned shortcomings of the existing technology, the purpose of the present invention is to provide a video stream bit rate adaptation method, device, computer equipment and non-volatile computer-readable storage medium, which can realize adaptive adjustment of the video stream bit rate, thereby ensuring the quality of the push and pull stream videos at the sending and receiving ends.

[0009] In order to achieve the above object, the present invention adopts the following technical solutions:

[0010] A video stream bit rate adaptive method, comprising:

[0011] Determining an initial bit rate of a first video stream sent from a transmitting end to a receiving end when played at the receiving end;

[0012] Playing the first video stream at the receiving end based on the initial bit rate, and monitoring a first network condition and a first video stream condition when the first video stream is played;

[0013] Based on the first network condition and the first video stream condition, determining whether the initial bit rate needs to be switched;

[0014] If the initial bit rate needs to be switched, a bit rate switching request of the receiving end is sent to the sending end, and the sending end switches the initial bit rate according to the bit rate switching request, and continues to send the second video stream after the bit rate switching to the receiving end for playback, and monitors the second network status and the second video stream status during the playback of the second video stream in real time;

[0015] Based on the second network status and the second video stream status monitored in real time, the bit rate of the second video stream is adaptively adjusted.

[0016] In a further technical solution, the method for video stream bit rate adaptation, wherein determining the initial bit rate of the first video stream sent from the transmitting end to the receiving end when played at the receiving end, includes:

[0017] Based on the device performance and current network status of the receiving end, an initial bit rate of the first video stream sent from the sending end to the receiving end when played at the receiving end is selected and determined.

[0018] In a further technical solution, the video stream bit rate adaptation method, wherein the first network condition and the second network condition, the network condition includes one or more indicators of network delay, bandwidth, and packet loss rate.

[0019] In a further technical solution, the video stream bit rate adaptation method, wherein the first video stream status and the second video stream status, the video stream status includes one or more indicators of buffering time, resolution, frame rate, real-time status, encoding quality, sound quality, abnormal events, and availability.

[0020] In a further technical solution, the video stream rate adaptation method, wherein the bit rate switching request of the receiving end is sent to the sending end, and the sending end switches the initial bit rate according to the bit rate switching request, and the second video stream after the bit rate switching is continuously sent to the receiving end for playback, monitors the second network status and the second video stream status during the playback of the second video stream in real time, including:

[0021] receiving a bit rate switching request from the receiving end;

[0022] Sending the bit rate switching request to the sending end;

[0023] When the sending end switches the initial bit rate according to the bit rate switching request and continues to send the second video stream after the bit rate switching to the receiving end for playback, the second network status and the second video stream status during the playback of the second video stream are monitored in real time.

[0024] In a further technical solution, the video stream rate adaptation method, wherein, when the sending end switches the initial rate according to the rate switching request and continues to send the second video stream after the rate switching to the receiving end for playback, the second network status and the second video stream status during the playback of the second video stream are monitored in real time, wherein,

[0025] When the transmitting end switches the initial bit rate according to the bit rate switching request, a bit rate smooth transition strategy is executed.

[0026] In a further technical solution, the video stream rate adaptation method, wherein the adaptive adjustment of the bit rate of the second video stream based on the second network status and the second video stream status monitored in real time, includes:

[0027] Based on the second network status and the second video stream status monitored in real time, a preset bit rate adaptation strategy is used to adaptively adjust the bit rate of the second video stream.

[0028] A video stream bit rate adaptive device, comprising:

[0029] A determination module, configured to determine an initial bit rate of a first video stream sent from a transmitting end to a receiving end when the first video stream is played at the receiving end;

[0030] a first monitoring module, configured to play the first video stream at the receiving end based on the initial bit rate, and monitor a first network status and a first video stream status during playback of the first video stream;

[0031] a determination module, configured to determine whether the initial bit rate needs to be switched based on the first network status and the first video stream status;

[0032] a second monitoring module, configured to, if the initial bit rate needs to be switched, send a bit rate switching request from the receiving end to the sending end, switch the initial bit rate at the sending end according to the bit rate switching request, and continue to send the second video stream after the bit rate switching to the receiving end for playback, and monitor in real time the second network status and the second video stream status during playback of the second video stream;

[0033] An adjustment module is used to adaptively adjust the bit rate of the second video stream based on the second network status and the second video stream status monitored in real time.

[0034] A computer device, wherein the computer device comprises at least one processor; and

[0035] a memory communicatively connected to the at least one processor; wherein,

[0036] The memory stores a computer program that can be executed by the at least one processor. When the computer program is executed by the at least one processor, the video stream bit rate adaptation method as described in any one of the above items can be implemented.

[0037] A non-volatile computer-readable storage medium stores a computer program, wherein the computer program, when executed by at least one processor, can implement the video stream rate adaptation method as described in any one of the above.

[0038] Compared with the prior art, the present invention provides a method, device, computer equipment and non-volatile computer-readable storage medium for video stream bit rate adaptation, wherein the method includes: determining the initial bit rate of a first video stream sent from a sending end to a receiving end when the receiving end plays the first video stream; playing the first video stream on the receiving end based on the initial bit rate, and monitoring the first network status and the first video stream status when the first video stream is played; judging whether it is necessary to switch the initial bit rate based on the first network status and the first video stream status; if it is necessary to switch the initial bit rate, sending a bit rate switching request from the receiving end to the sending end, and switching the initial bit rate according to the bit rate switching request at the sending end, and when the second video stream after the bit rate switching continues to be sent to the receiving end for playback, monitoring the second network status and the second video stream status when the second video stream is played in real time; based on the second network status and the second video stream status monitored in real time, adaptively adjusting the bit rate of the second video stream. In this way, the method of the present invention can achieve adaptive adjustment of the video stream bit rate, thereby ensuring the quality of the push and pull stream videos of the sending end and the receiving end. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] FIG1 is a schematic flow chart of a method for video stream bit rate adaptation provided by an embodiment of the present invention.

[0041] FIG2 is a schematic diagram of functional modules of a video stream bit rate adaptation device provided by an embodiment of the present invention.

[0042] FIG3 is a schematic diagram of the hardware structure of a computer device provided by an embodiment of the present invention.

[0043] FIG4 is a schematic diagram of an application scenario of bit rate switching provided by an embodiment of the present invention.

[0044] FIG5 is a schematic diagram of an application scenario of bandwidth control provided by an embodiment of the present invention.

[0045] FIG6 is a schematic diagram of an application scenario of I frame loss in a weak network environment provided by an embodiment of the present invention.

[0046] FIG7 is a flow chart of video compression storage provided by an embodiment of the present invention.

[0047] FIG8 is a schematic diagram of a signaling retransmission process according to an embodiment of the present invention.

[0048] FIG9 is a schematic diagram of adaptive process control of a screenshot plan and a video recording plan provided by an embodiment of the present invention.

[0049] FIG10 is a schematic diagram of a regional architecture provided by an embodiment of the present invention.

[0050] FIG11 is a schematic diagram of a multi-stage cascade of platforms provided by an embodiment of the present invention.

[0051] FIG12 is a schematic diagram of multi-platform interconnection provided by an embodiment of the present invention.

[0052] FIG13 is a schematic diagram of the next generation Internet of Things provided by an embodiment of the present invention.

[0053] Figure 14 is a partial diagram of the streaming media middle platform and multi-mode heterogeneous architecture.

[0054] FIG15 is a flowchart of adaptive playback of video streams in a multi-mode heterogeneous environment. DETAILED DESCRIPTION

[0055] To make the purpose, technical solution and effect of the present invention more clear and distinct, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to illustrate the present invention and are not intended to limit the present invention.

[0056] In the description of the present invention, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps therein is not limited and can be appropriately adjusted as needed.

[0057] Various non-limiting embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0058] Streaming video is a technology for transmitting and sharing video content over a network in real time, also known as video streaming. It allows users to watch videos instantly without downloading them. Streaming video transmits video content in reusable data packets, rather than sending the entire video file one or more times. Common applications for streaming video include video websites, live video conferencing, interactive gaming, and live streaming services.

[0059] Currently, when a client (receiving end) receives a video stream sent by a server (sending end) and starts playing the video stream, a video bit rate is selected by default, which is usually the original bit rate of the video stream. When the client encounters playback freezes during the playback of the video stream, the user is required to manually select a lower bit rate, thereby switching to the lower bit rate to ensure smooth video playback. When the user wants to watch a video with higher picture quality, a higher bit rate is also required to be manually selected. In other words, the current video stream bit rate switching method requires the user to make multiple attempts continuously. The effect of video playback (such as clarity, freezes) after each attempt to switch the bit rate is unpredictable, and the accuracy of the bit rate adjustment is difficult to guarantee.

[0060] Based on this, how to provide a video stream bit rate adaptive method, device, computer equipment and non-volatile computer-readable storage medium that can achieve adaptive adjustment of the video stream bit rate to ensure the quality of the push and pull stream videos at the sending and receiving ends is a problem that urgently needs to be solved by technical personnel in this field.

[0061] Therefore, in order to solve the above problem, referring to FIG1 , an embodiment of the present invention provides a method for video stream bit rate adaptation, wherein the method comprises the steps of:

[0062] S100, determining an initial bit rate of a first video stream sent from a transmitting end to a receiving end when played at the receiving end;

[0063] S200: Play the first video stream at the receiving end based on the initial bit rate, and monitor a first network status and a first video stream status during playback of the first video stream;

[0064] S300: Determine whether the initial bit rate needs to be switched based on the first network status and the first video stream status;

[0065] S400: If the initial bit rate needs to be switched, sending a bit rate switching request from the receiving end to the sending end, switching the initial bit rate at the sending end according to the bit rate switching request, and continuously sending the second video stream after the bit rate switching to the receiving end for playback, while monitoring in real time the second network status and the second video stream status during playback of the second video stream;

[0066] S500: Based on the second network status and the second video stream status monitored in real time, adaptively adjust the bit rate of the second video stream.

[0067] Furthermore, in the video stream bit rate adaptation method, the step S100 of determining the initial bit rate of the first video stream sent from the transmitting end to the receiving end when played at the receiving end includes:

[0068] Based on the device performance and current network status of the receiving end, an initial bit rate of the first video stream sent from the sending end to the receiving end when played at the receiving end is selected and determined.

[0069] In specific implementation, in this embodiment, the initial bit rate of the first video stream sent from the transmitter to the receiver when played at the receiver is selected and determined in advance based on the device performance of the receiver and the current network status, and usually a medium bit rate is selected.

[0070] Furthermore, in the video stream bit rate adaptation method, in step S200, the first video stream is played at the receiving end based on the initial bit rate, and a first network condition and a first video stream condition during playback of the first video stream are monitored;

[0071] In a specific implementation, in this embodiment, after selecting an initial bit rate for the first video stream when it is played at the receiving end, the first video stream is played at the receiving end based on the initial bit rate, and the first network status and the first video stream status during the playback of the first video stream are monitored;

[0072] The first network status includes one or more indicators of network delay, bandwidth, and packet loss rate; the first video stream status includes one or more indicators of buffering time, resolution, frame rate, real-time status, encoding quality, sound quality, abnormal events, and availability;

[0073] Specifically, monitoring the first network status includes:

[0074] 1) Network latency monitoring: By measuring the latency of the first video stream from the sender to the receiver, you can assess the stability and real-time performance of the network. Excessive latency may cause video freezes or an unsmooth image. This can be monitored using the ping command or a professional network latency monitoring tool.

[0075] 2) Bandwidth monitoring: The playback of the first video stream requires sufficient bandwidth support. By monitoring the network bandwidth usage, you can determine whether there is a bandwidth shortage problem. You can use network traffic monitoring tools to monitor bandwidth usage in real time.

[0076] 3) Packet loss rate monitoring: Packet loss refers to the situation where data packets are lost during the transmission of the first video stream due to network congestion or other reasons. By monitoring the packet loss rate of the first video stream, the stability of the network can be judged. Network packet capture tools or professional packet loss rate monitoring tools can be used to monitor packet loss in real time.

[0077] Specifically, monitoring the first video stream status includes:

[0078] 1) Buffering time monitoring: Monitor the buffering time of the first video stream at the receiving end to assess the smoothness of video playback. Excessive buffering time may cause delays in video playback. The buffering time of the first video stream can be recorded at the receiving end and a threshold can be set for monitoring.

[0079] 2) Resolution and frame rate monitoring: The resolution and frame rate of the first video stream have a significant impact on the playback quality. By monitoring the resolution and frame rate of the first video stream, you can determine whether the video can be played with the required quality. You can use video quality monitoring tools to monitor the resolution and frame rate in real time.

[0080] 3) Real-time status monitoring: monitor the real-time status of the first video stream, including connection status, buffering status, playback status, etc. By monitoring these statuses, problems can be discovered in a timely manner and corresponding measures can be taken. The real-time status display can be added to the video playback interface, or video monitoring software can be used for monitoring;

[0081] 4) Encoding quality monitoring: The encoding quality of the first video stream has a significant impact on the playback effect. By monitoring the encoding quality indicators of the first video stream, such as bit rate and compression ratio, you can evaluate the clarity and detail of the video. Video encoding quality analysis tools can be used for monitoring.

[0082] 5) Sound quality monitoring: If the first video stream contains audio, you can also monitor the audio quality. By monitoring indicators such as audio clarity and audio loss rate, you can evaluate the audio playback effect. You can use sound quality monitoring tools for monitoring.

[0083] 6) Abnormal event monitoring: Monitor abnormal events in the first video stream, such as screen jitter, screen freeze, screen noise, etc. These abnormal events may affect the user's viewing experience. Video analysis algorithms or artificial intelligence technologies can be used to detect and monitor abnormal events;

[0084] 7) Availability monitoring: monitoring the availability of the first video stream, including monitoring whether the first video stream is normally accessible, whether there are any interruptions or failures, etc.; monitoring tools or automated scripts may be used to perform regular availability monitoring;

[0085] Furthermore, of course, while monitoring the first network condition and the first video stream condition during the playback of the first video stream, the first external condition during the playback of the first video stream may also be monitored;

[0086] Specifically, monitoring the first external condition includes:

[0087] 1) User feedback monitoring: In addition to technical monitoring of the primary video stream, user feedback can also be collected. Through user feedback, we can understand user evaluations of video quality and problem feedback, and promptly identify and resolve problems.

[0088] 2) Device health monitoring: Monitor the health of the devices that the first video stream relies on, including the hardware devices and network devices at the sending and receiving ends. By monitoring device indicators such as temperature, voltage, and CPU usage, device failures or performance degradation can be detected in a timely manner.

[0089] 3) Geographic location monitoring: If the sender and receiver of the first video stream are located in different geographical locations, the network latency and bandwidth between the different geographical locations can be monitored. By monitoring the differences in geographical locations, it can be determined whether there are video quality issues caused by geographical location;

[0090] 4) Security monitoring: security monitoring of the first video stream, including preventing unauthorized access, monitoring potential attacks or malicious behavior, etc., can be performed using network security monitoring tools and encryption technology to protect the security of the first video stream;

[0091] 5) System log monitoring: Monitor system logs, including operating system logs, application logs, etc. By monitoring system logs, system errors, abnormal events and warnings, as well as problems related to the first video stream can be discovered in a timely manner.

[0092] Furthermore, in the video stream bit rate adaptation method, in step S300, based on the first network condition and the first video stream condition, it is determined whether the initial bit rate needs to be switched;

[0093] In specific implementation, in this embodiment, after monitoring and obtaining the first network status and the first video stream status when the first video stream is played, then based on the first network status and the first video stream status, as well as the preset bit rate switching strategy, it is determined whether the initial bit rate needs to be switched.

[0094] Furthermore, in the video stream bit rate adaptation method, in step S400, if the initial bit rate needs to be switched, a bit rate switching request of the receiving end is sent to the sending end, and the sending end switches the initial bit rate according to the bit rate switching request, and continues to send the second video stream after the bit rate switching to the receiving end for playback, and monitors the second network status and the second video stream status during the playback of the second video stream in real time;

[0095] The step of sending the bit rate switching request of the receiving end to the sending end, switching the initial bit rate at the sending end according to the bit rate switching request, and continuing to send the second video stream after the bit rate switching to the receiving end for playback, and monitoring the second network status and the second video stream status during playback of the second video stream in real time includes:

[0096] receiving a bit rate switching request from the receiving end;

[0097] Sending the bit rate switching request to the sending end;

[0098] When the transmitting end switches the initial bit rate according to the bit rate switching request and continues to send the second video stream after the bit rate switching to the receiving end for playback, real-time monitoring of the second network status and the second video stream status during playback of the second video stream;

[0099] Furthermore, in the video stream rate adaptation method, when the sending end switches the initial rate according to the rate switching request and continues to send the second video stream after the rate switching to the receiving end for playback, the second network status and the second video stream status during the playback of the second video stream are monitored in real time, wherein:

[0100] When the transmitting end switches the initial bit rate according to the bit rate switching request, a bit rate smooth transition strategy is executed.

[0101] In a specific implementation, in this embodiment, when the initial bit rate needs to be switched, a bit rate switching request is received from the receiving end, and the bit rate switching request is sent to the sending end to request the sending end to switch the initial bit rate to an appropriate bit rate. Then, the sending end switches the initial bit rate according to the bit rate switching request based on a preset bit rate switching strategy, and continues to send the second video stream after the bit rate switching to the receiving end for playback. The second network status and the second video stream status during the playback of the second video stream are continuously monitored in real time.

[0102] Regarding the continuous real-time monitoring of the second network status and the second video stream status during playback of the second video stream, the specific monitoring content and monitoring method can refer to the above description of the monitoring of the first network status and the first video stream status during playback of the first video stream, which are described above and will not be repeated here.

[0103] Moreover, in this embodiment, when performing bit rate switching, in order to provide a better viewing experience, the sending end can implement a bit rate smooth transition strategy when switching the initial bit rate according to the bit rate switching request based on the preset bit rate switching strategy; that is, gradually increase or decrease the bit rate to avoid sudden changes in image quality and smoothly switch to the new bit rate.

[0104] Furthermore, in the video stream bitrate adaptation method, step S500 of adaptively adjusting the bitrate of the second video stream based on the second network status and the second video stream status monitored in real time includes:

[0105] Based on the second network status and the second video stream status monitored in real time, a preset bit rate adaptation strategy is used to adaptively adjust the bit rate of the second video stream.

[0106] In specific implementation, in this embodiment, after real-time monitoring of the second network status and the second video stream status during playback of the second video stream, a preset bitrate adaptation strategy is used to adaptively adjust the bitrate of the second video stream based on the second network status and the second video stream status obtained from the real-time monitoring, thereby ensuring the quality of the second video stream during playback;

[0107] The bit rate adaptation strategy of this embodiment is pre-configured, and the specific implementation method is as follows:

[0108] The bitrate adaptation strategy of this embodiment is a preconfigured set of technical strategies designed to adaptively adjust the bitrate of the second video stream in real time based on the second network status and the second video stream status obtained through real-time monitoring. Furthermore, the bitrate can be adjusted based on the performance of the receiving device to ensure the quality of the second video stream during playback, thereby providing an optimal viewing experience.

[0109] The details are as follows, including:

[0110] 1) Bitrate Adaptive Algorithm: This algorithm monitors network conditions and dynamically adjusts the bitrate of the video stream based on metrics such as network bandwidth, latency, and packet loss rate. Common algorithms include ABR (Adaptive Bitrate) algorithms, such as DASH (Dynamic Adaptive Streaming over HTTP) and HLS (HTTP Live Streaming).

[0111] 2) Smooth image quality transition: When switching bitrates, a smooth bitrate transition strategy can be used to provide a better viewing experience and avoid sudden changes in image quality. This can be achieved by gradually increasing or decreasing the bitrate.

[0112] 3) Bitrate Adaptation Algorithm for Smooth Playback: This algorithm is based on the principle of smooth playback and selects an appropriate bitrate based on indicators such as network bandwidth and latency. Common algorithms include BBA (Buffer-Based Adaptation) and RBBA (Rate-Based Buffer Adaptation).

[0113] 4) Segment switching strategy: Video streams are typically segmented into multiple small segments, each with a different bitrate version. Dynamic bitrate adaptation selects the appropriate segment for playback based on network conditions. The ABR algorithm can be used to predict future bandwidth based on network conditions and select the appropriate segment.

[0114] 5) Network status monitoring strategy: During video playback, continuously monitor network status, including bandwidth, latency, and packet loss rate. Network monitoring tools or APIs can be used to obtain these indicators in real time.

[0115] 6) Bitrate switching strategy: Select the appropriate bitrate to switch based on changes in network conditions. When the network bandwidth is high, a higher bitrate can be selected to provide clearer image quality. When the network bandwidth is low or the latency is high, a lower bitrate can be selected to ensure smooth playback.

[0116] 7) Preloading and pre-buffering strategy: To cope with fluctuations in network conditions, a preloading and pre-buffering strategy can be adopted. When the network conditions are good, a certain number of high-bitrate segments can be pre-loaded and video data can be pre-buffered for a certain period of time to cope with instantaneous changes in network conditions.

[0117] 8) Packet loss recovery strategy: During video streaming, data packets may be lost. To cope with packet loss, a packet loss recovery strategy can be adopted, such as forward error correction technology or retransmission-based recovery strategy, to ensure the continuity and integrity of the video.

[0118] 9) Smart device awareness strategy: Modern smart devices often have multiple network interfaces, such as Wi-Fi and mobile networks. Dynamic bitrate adaptation for video streams can leverage device awareness technology to select the appropriate network interface and bitrate based on the device's current network environment and performance.

[0119] 10) Multi-path transmission strategy: Using multiple network paths to transmit video streams simultaneously can improve the reliability and quality of the video. By using multiple network interfaces at the same time, redundant transmission and bandwidth aggregation can be achieved to provide a better viewing experience.

[0120] From the above method embodiments, it can be seen that the video stream bit rate adaptation method provided by the present invention includes: determining the initial bit rate of the first video stream sent from the sending end to the receiving end when the receiving end plays the first video stream; playing the first video stream on the receiving end based on the initial bit rate, and monitoring the first network status and the first video stream status when the first video stream is played; judging whether it is necessary to switch the initial bit rate based on the first network status and the first video stream status; if it is necessary to switch the initial bit rate, sending the bit rate switching request of the receiving end to the sending end, and switching the initial bit rate according to the bit rate switching request at the sending end, and when the second video stream after the bit rate switching continues to be sent to the receiving end for playback, monitoring the second network status and the second video stream status when the second video stream is played in real time; based on the second network status and the second video stream status monitored in real time, adaptively adjusting the bit rate of the second video stream. In this way, the method of the present invention can realize adaptive adjustment of the video stream bit rate, thereby ensuring the quality of the push and pull stream videos of the sending end and the receiving end.

[0121] Specifically, the video stream bit rate adaptation method provided by the present invention has at least the following technical advantages:

[0122] 1) Lower data stream transmission delay;

[0123] 2) Higher data stream transmission quality;

[0124] 3) Stronger adaptability to harsh environments (weak network);

[0125] 4) Ensures the quality of video push and pull on the server and client sides, and reduces issues such as freezes, green screens, and flowery screens.

[0126] It should be understood that although the present application provides method operation steps as described in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative work, and these operation steps are not necessarily performed in the order of the embodiments or flowcharts. The order of steps listed in the embodiments or flowcharts is only one way of executing the steps among many steps and does not represent the only execution order. It should be noted that there is not necessarily a certain order between the above steps. Those of ordinary skill in the art can understand from the description of the embodiments of the present invention that in different embodiments, the above steps may have different execution orders, that is, they may be executed in parallel, or they may be executed in an interchangeable manner, etc. Moreover, at least a portion of the steps in the embodiments or flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but may be executed in turn, alternately or synchronously with other steps or at least a portion of the sub-steps or stages of other steps.

[0127] Of course, in an optional embodiment of the present invention, the following special frame loss processing method may also be used:

[0128] 1) Lost frame recovery: If the frames following the I frame (P frame or B frame) are not lost, you can continue to play these frames and wait for the arrival of the next I frame; this can maintain the continuity of the video, but may cause a decrease in picture quality because P frames and B frames are decoded by referring to the previous I frame.

[0129] 2) Error propagation control: When an I-frame is lost, the error may spread to the following frames. To control error propagation, the video stream can be resynchronized after the I-frame is lost and the decoder buffer can be cleared. Then, the decoder waits for the next I-frame to arrive and restarts decoding and playback.

[0130] 3) Forward Error Correction: Forward error correction (FEC) is a technology that enhances error tolerance by adding redundant information during the video encoding process. In the event of I-frame loss, FEC can be used to recover the lost I-frame. The receiver can use the redundant information to reconstruct the I-frame, thereby maintaining video continuity and quality.

[0131] 4) Request retransmission: If I-frame loss is detected during video transmission, the receiver can send a request to the sender to resend the lost I-frame. After receiving the request, the sender resends the I-frame to ensure video continuity and quality.

[0132] 5) Reconnection: In some cases, if I-frame loss is severe and cannot be recovered by other methods, you can consider reconnecting the video stream; this means closing the current video connection and reestablishing the connection to ensure that the complete video stream is received.

[0133] 6) Reconstructing I-frames: In a video stream, I-frames are usually generated by keyframe encoding, which are the starting point of video decoding. When an I-frame is lost, you can try to use the video encoding algorithm to reconstruct the I-frame. This can be achieved by using the previous decoded frame as a reference to restore the lost I-frame as much as possible.

[0134] 7) Interpolation compensation: When an I frame is lost, an interpolation algorithm can be used to fill in the frames between the lost I frames. This can be achieved by using adjacent decoded frames for interpolation calculation to generate an approximate I frame. Interpolation compensation can provide better continuity and picture quality than the lost frame.

[0135] 8) Retransmission strategy: When an I-frame is lost, a retransmission strategy can be used to request the sender to resend the lost I-frame. After the receiver detects the loss of the I-frame, it sends a retransmission request. After receiving the request, the sender resends the I-frame. This ensures that the complete I-frame is received to maintain video continuity and quality.

[0136] 9) Bitrate switching: When I-frame loss is severe and cannot be recovered, bitrate switching can be considered. By reducing the bitrate of the video stream, the reliance on I-frames can be reduced, thereby reducing the impact of I-frame loss. This may result in a decrease in picture quality, but it can maintain video continuity.

[0137] 10) Error Correction Code: Error correction code is a redundant coding technology that can be used to detect and recover errors in data transmission. When an I frame is lost, error correction code can be used to recover the lost data. This can provide stronger error tolerance to maintain video continuity and quality.

[0138] Of course, in an optional embodiment of the present invention, as shown in FIG4 :

[0139] Application Scenario 1: Automatically switch bitrates when video playback is slow in a weak network environment

[0140] 1) When users play videos in a weak network environment, the client will monitor indicators such as playback bandwidth, video delay, and packet loss rate. The monitoring method can be calculated using network tools and video parameters;

[0141] 2) When playback starts, the initial bit rate B1 is selected, and the client caches the video stream. During the caching process, B4-B5 can decide whether to switch bit rates based on network conditions and buffer filling;

[0142] 3) B2-B3 determines whether bitrate switching is necessary based on changes in network conditions. This decision can be based on predefined strategies, such as the ABR algorithm. Common decision-making criteria include bandwidth, latency, and packet loss rate.

[0143] 4) If the decision is made in B4-B5 that a bitrate switch is required, the receiver sends a request to the transmitter to switch to an appropriate bitrate. The transmitter switches the bitrate according to the request and continues to send the video stream.

[0144] 5) When switching bitrates, a smooth transition strategy can be used to provide a better viewing experience. This means gradually increasing or decreasing the bitrate to avoid sudden changes in image quality. B6-B7 can smoothly switch to the new bitrate.

[0145] 6) During video playback, B7-B8 continuously monitors network conditions and adjusts the bitrate based on real-time network indicators. This allows for dynamic bitrate adaptation to accommodate changes in network conditions.

[0146] 7) When the video playback ends or the user stops watching, stop receiving the video stream and release related resources;

[0147] Application scenario 2: User manually switches the video playback bitrate

[0148] 1) Bitrate switching can also be applied under user's active operation during video playback;

[0149] 2) Compare the bitrate selected by the user and the last playback bitrate; if the bitrate is increased under the current bitrate, the original bitrate is used to calculate the video stream parameter indicators related to the current bitrate for video compression; if the bitrate is reduced under the current bitrate, the video is compressed and transmitted according to the current bitrate;

[0150] 3) When switching bitrates, a smooth transition strategy can be used to provide a better viewing experience. This means gradually increasing or decreasing the bitrate to avoid sudden changes in image quality and smoothly switching to the new bitrate.

[0151] 4) During video playback, the system continuously monitors whether manual switching occurs and adjusts the bitrate based on the real-time switching results. This allows for dynamic bitrate adaptation to accommodate changes in user manual switching.

[0152] 5) When the video playback ends or the user stops watching, stop receiving the video stream and release related resources;

[0153] This embodiment is not only applicable in the field of video playback, but is also practical in other related fields.

[0154] Of course, in an optional embodiment of the present invention, as shown in FIG5 :

[0155] Application scenario: Bandwidth control in any scenario with packet loss

[0156] 1) The sender estimates the peer bandwidth from the streaming data transmission message during playback;

[0157] 2) Estimate whether the bandwidth obtained in step 1 is less than the last sent bandwidth; if the estimated bandwidth is greater than the last sent bandwidth, no processing is performed; if the estimated bandwidth is less than the last sent bandwidth, jump to step 8 according to the calculation result of step 4;

[0158] 3) The client receives the data packet and obtains data such as transmission time and number of packet losses;

[0159] 4) Calculate the packet loss rate based on the relevant data obtained in 3;

[0160] 5) If 2% <= packet loss rate <= 10%, no processing is performed; if the packet loss rate is < 2%, increase the bandwidth by 8% and perform step 6; if the packet loss rate is > 10%, use the adaptive bandwidth algorithm to calculate the bandwidth based on (1-0.5*packet loss rate). If it is greater than the bandwidth in the previous step, use that bandwidth and perform step 6;

[0161] 6) Update the sending bandwidth and notify the sender to reduce the bandwidth;

[0162] This embodiment is not only applicable in the field of video playback, but is also practical in other related fields.

[0163] Of course, in an optional embodiment of the present invention, as shown in FIG6 :

[0164] Application scenario: I frame loss in a weak network environment

[0165] 1) During video streaming or decoding, detect whether I-frame loss occurs by monitoring the type information of the video frame. This can be achieved by checking the frame type identifier in the frame header;

[0166] 2) If I-frame loss is detected, error propagation needs to be controlled to prevent the impact of the loss from spreading to subsequent frames. This can be achieved by clearing the decoder buffer or resetting the decoder state, which ensures that subsequent frames are not affected by the error.

[0167] 3) If there is no loss in the frames after the I frame is lost, you can continue to play these frames and wait for the arrival of the next I frame. This can maintain the continuity of the video, but may cause a decrease in picture quality because P frames and B frames are decoded by referring to the previous I frame;

[0168] 4) If I-frame loss is detected, a request can be sent to the sender to resend the lost I-frame. After receiving the request, the sender resends the I-frame to ensure that the complete I-frame is received. This can maintain the continuity and quality of the video, but may introduce additional delay;

[0169] 5) If the lost I-frame cannot be recovered by other methods, you can try to use the video encoding algorithm to reconstruct the I-frame. This can be achieved by using the previous decoded frame as a reference to restore the lost I-frame as much as possible. The reconstructed I-frame may not be as high quality as the original I-frame, but it can maintain the continuity of the video.

[0170] 6) If the lost I-frame cannot be recovered, an interpolation algorithm can be used to fill in the frames between the lost I-frames. This can be achieved by using adjacent decoded frames for interpolation calculation to generate an approximate I-frame. Interpolation compensation can provide better continuity and picture quality than the lost frame;

[0171] 7) When the video playback ends or the lost I frame cannot be recovered, stop receiving the video stream and release related resources.

[0172] Of course, in an optional embodiment of the present invention, as shown in FIG7 :

[0173] Video compression and storage process, with adaptive bitrate adjustment applied to video recording and storage;

[0174] 1) E1 pulls the video stream from the device for video capture;

[0175] 2) E2 determines the video format and encoding, such as H264, H265, etc.

[0176] 3) E3-E4 adjust the resolution, frame rate, etc. according to the adaptive bitrate described above;

[0177] 4) E6 selects the storage format, mp4, avi, flv, etc.

[0178] 5) E7 selects storage devices, such as disks and hard drives;

[0179] 6) E8 can be accessed after storage.

[0180] Of course, in an optional embodiment of the present invention, as shown in FIG8 : the application scenario and process description act on the entire streaming media access and transmission process, and is not only applicable to streaming media, but can also be used in other related fields; purpose: to confirm that the message is effectively transmitted;

[0181] 1) The sender generates and caches the signaling and assigns a unique number;

[0182] 2) Send a message;

[0183] 3) The receiving end receives the message, processes it, and confirms the final message sequence number;

[0184] 4) Waiting for the feedback message from the receiving confirmation means. If no confirmation message is received within the timeout period, it is confirmed that the information message is lost and retransmitted;

[0185] 5) The receiving end replies with an ACK confirmation message;

[0186] 6) The sender obtains the retransmission message based on the lost signaling number and updates the retransmission count and timeout period;

[0187] 7) Retransmit message;

[0188] 8) The receiving end processes the retransmitted message, determines whether it has been processed, and replies with an ACK confirmation message.

[0189] Of course, in an optional embodiment of the present invention, as shown in FIG9 , it is a schematic diagram of adaptive process control of a screenshot plan and a video recording plan provided in an embodiment of the present invention.

[0190] Of course, in an optional embodiment of the present invention, as shown in FIG10 : a schematic diagram of a regional architecture;

[0191] 1) Streaming media services are available in and not limited to industries such as education, health, government affairs, communications, smart cities, and logistics warehouses;

[0192] 2) The internal service architecture of streaming media includes:

[0193] ① Equipment side: cameras, NVRs, body cameras, individual soldiers and other equipment;

[0194] ② Streaming media services include but are not limited to rights management, PTZ control, user management, signature encryption, security authentication, alarm linkage, real-time playback, operation and maintenance management, quality monitoring and other sub-services;

[0195] ③ Client: Clients include but are not limited to PC, mobile, web, OTT, etc.;

[0196] 3) Encryption and authentication are used throughout the transmission process to maintain control security and data flow security. During signaling transmission, Figures 7 and 8 are used to ensure effective transmission, Figures 4, 5, and 6 are used to ensure stable video playback, and Figure 9 is used for stable recording, screenshots, and storage.

[0197] 4) Accessible via 4G, 5G, Wi-Fi, public and private networks;

[0198] 5) Streaming services are pulled and played based on proximity. For example, if the client is in Shenzhen and the server is deployed in Guangzhou, Dongguan, Shenzhen, or Foshan, the stream will be pulled directly from Shenzhen.

[0199] 6) External services include but are not limited to data intelligence fusion platform and multi-mode heterogeneous IoT perception platform;

[0200] 7) The data intelligent fusion platform collects, cleans, and integrates streaming media data; resources and resource catalogs (device and other information) are stored on this platform; and metadata is integrated to form a streaming media data lake;

[0201] 8) The multi-mode heterogeneous IoT perception platform solves the problems of edge computing and IoT access in the streaming media platform, and connects to peripherals such as sensors and cameras;

[0202] 9) Artificial intelligence business platform and integrated communication platform are scenarios that exist in streaming media applications; the artificial intelligence platform combines multi-mode heterogeneity and data function fusion to obtain original video, image and other information from the streaming media platform for data analysis; the analysis results can also be applied to the streaming media platform, including but not limited to face recognition, regional alarm, etc.

[0203] 10) The converged communication platform uses a streaming media middleware for communication transmission, including one-to-one voice and video, one-to-many presentations, and many-to-many conferences.

[0204] Of course, in an optional embodiment of the present invention, as shown in FIG11 , it is a schematic diagram of a multi-stage cascade of platforms provided in an embodiment of the present invention.

[0205] Of course, in an optional embodiment of the present invention, as shown in FIG12 , it is a schematic diagram of multi-platform interconnection provided by an embodiment of the present invention.

[0206] Of course, in an optional embodiment of the present invention, when the transmitting end sends the video stream to the receiving end, the following dynamic transmission and storage method of the video stream can be adopted to cope with one or more of the following application scenarios: 1) weak network environment scenario; 2) scenario where compression transcoding is required; 3) scenario where storage space compression is required; 4) scenario where there are too many screenshot plans and video plans and resources are limited; 5) static correlation algorithm can be applied to all playback, recording, storage and other scenarios;

[0207] The specific description of the video stream dynamic transmission and storage method is as follows, including:

[0208] 1. Signaling control

[0209] 1) SDP (Session Description Protocol): SDP can include descriptions of parameters such as dynamic bitrate, resolution, frame rate, and playback speed in signaling. The sender can specify different bitrate, resolution, and frame rate options in the SDP and send it to the receiver. The receiver can select the appropriate option for playback based on its own capabilities and needs.

[0210] 2) RTSP (Real-Time Streaming Protocol): RTSP can transmit dynamic parameters through the SET_PARAMETER command. The sender can send the SET_PARAMETER command and carry the values ​​of parameters such as dynamic bit rate, resolution, frame rate, and playback speed. The receiver adjusts the player configuration based on these parameter values ​​to meet different requirements.

[0211] 3) RTMP (Real-Time Messaging Protocol): RTMP can transmit dynamic parameters through AMF (Action Message Format) messages. The sender can send AMF messages containing the values ​​of dynamic parameters such as bit rate, resolution, frame rate, and playback speed. The receiver can parse these parameter values ​​and adjust the player configuration accordingly.

[0212] 4) HLS (HTTP Live Streaming): HLS can transmit dynamic parameters through M3U8 files. The sender can generate M3U8 files with different bit rates, resolutions, and frame rates and transmit them to the receiver. The receiver can select the appropriate bit rate, resolution, and frame rate for playback based on the description information in the M3U8 file.

[0213] 5) DASH (Dynamic Adaptive Streaming over HTTP): DASH can transmit dynamic parameters through MPD (Media Presentation Description) files. The sender can generate MPD files with different bit rates, resolutions, and frame rates and transmit them to the receiver. The receiver can select the appropriate bit rate, resolution, and frame rate for playback based on the description information in the MPD file.

[0214] 2. Signaling retransmission solution

[0215] 1) Retransmission mechanism: In video communication, a TCP-based reliable transmission protocol can be used to implement signaling retransmission. The TCP protocol ensures the reliable transmission of signaling messages. If a signaling message is lost, the sender will automatically retransmit it until the receiver correctly receives the message.

[0216] 2) Timeout mechanism: In order to control the time and number of retransmissions, a timeout mechanism can be set. After sending a signaling message, the sender waits for a certain period of time. If no confirmation message is received from the receiver, the message is considered lost and the retransmission mechanism is triggered. The appropriate timeout period can be set according to the specific situation.

[0217] 3) Sequence number and confirmation mechanism: To ensure the accuracy of retransmission, a sequence number can be added to the signaling message. After receiving the signaling message, the receiver sends an acknowledgment message to the sender to confirm the sequence number of the last signaling message received. If the sender does not receive the acknowledgment message within the timeout period, it retransmits the message.

[0218] 4) Message Cache: To support the retransmission mechanism, the sender can maintain a message cache and save the sent signaling messages in the cache. If the sender needs to retransmit a message, it can directly obtain the message from the cache and resend it;

[0219] 5) Error handling: When the receiving end receives a retransmitted signaling message, it needs to perform error handling to avoid repeatedly processing the same signaling. It can use the sequence number to determine whether it is a repeated signaling message, or use other mechanisms to handle it.

[0220] 3. Screenshot plan, video plan, adaptive process control

[0221] Dynamically adjust the frequency, quality, and resource allocation priority of screenshots and videos based on system resource utilization to achieve system balance and optimization;

[0222] 1) Monitor resource utilization: Regularly monitor system resource utilization, including CPU, memory, storage, etc. You can use system monitoring tools or write custom monitoring programs to obtain resource utilization data;

[0223] 2) Set thresholds: Set reasonable resource utilization thresholds based on system performance and resource constraints. For example, you can set appropriate control measures when CPU utilization exceeds 80%.

[0224] 3) Adaptive process control: Implement adaptive process control strategies based on resource utilization and thresholds. Specific measures may include the following:

[0225] ① Dynamically adjust the screenshot frequency: Automatically adjust the screenshot frequency according to the usage of system resources. When resource utilization is high, reduce the screenshot frequency to reduce the system load; when resource utilization is low, increase the screenshot frequency to improve the screenshot response speed;

[0226] ② Dynamically adjust the video quality: Automatically adjust the video quality based on the usage of system resources. When resource utilization is high, reduce the resolution, frame rate or compression ratio of the video to reduce the system load; when resource utilization is low, improve the video quality to enhance the clarity and fluency of the video.

[0227] ③ Resource allocation priority: Based on resource utilization, reasonable resource priority is assigned to screenshots and videos. Based on system requirements and priority settings, resource allocation for important screenshot and video tasks is prioritized.

[0228] 4) Real-time monitoring and adjustment: During adaptive process control, resource utilization needs to be monitored in real time and dynamically adjusted based on the situation. This can be achieved by setting scheduled tasks or using event triggering mechanisms to periodically monitor resource utilization and implement corresponding controls.

[0229] 5) Buffer management: To balance system resource utilization and response speed, a buffer management mechanism can be introduced. For screenshot and video recording tasks, a buffer of appropriate size can be set to smooth the data flow of screenshots and videos and avoid sudden resource pressure.

[0230] 6) Adaptive Scheduling Algorithm: An adaptive scheduling algorithm can be designed to dynamically adjust the execution order and time slice allocation of screenshot and video recording tasks based on system resource utilization and task priority. For example, a scheduling algorithm based on feedback control can be dynamically adjusted based on real-time resource utilization.

[0231] 7) Asynchronous processing and parallel computing: For screenshot and video recording tasks, asynchronous processing and parallel computing can be used to improve the concurrency and efficiency of the system. By rationally utilizing multi-threading, multi-processing, or distributed computing technologies, parallel processing of screenshot and video recording tasks can be achieved, improving the system's throughput and response speed.

[0232] 8) Resource recycling and release: Timely recycling and release of no longer needed resources can effectively manage system resource utilization. For completed screenshot and video recording tasks, related resources can be released in a timely manner to avoid resource waste and increased system load;

[0233] 9) Real-time logging and monitoring: By recording and monitoring the system's log information in real time, you can keep abreast of the system's operating status and resource utilization. You can use log analysis tools or customized monitoring programs to implement real-time logging and monitoring to support decision-making and adjustments for adaptive process control.

[0234] 4. Static image compression algorithm

[0235] 1) Image compression:

[0236] ①Select a suitable image compression algorithm, such as JPEG, PNG, etc.;

[0237] ②Realize the encoding and decoding functions of the image compression algorithm;

[0238] ③ Adjust the parameters of the compression algorithm to strike a balance between compression rate and image quality;

[0239] 2) Image difference detection:

[0240] ① Design an image difference detection algorithm to determine whether the image has changed;

[0241] ② Compare the difference between the current image and the previous frame image, or the difference between the current image and the reference image;

[0242] ③ Based on the difference threshold, determine whether the image has changed enough to require storage or transmission of video;

[0243] 3)Storing and transmitting videos:

[0244] ① When the image difference detection result shows that the image has changed, the operation of storing and transmitting the video is triggered;

[0245] ② Compress the current image and store it as a video file, or transmit the image data to the target device or server;

[0246] 4) Timed image acquisition and processing:

[0247] ① Set up a scheduled task or event trigger mechanism to regularly collect and process images;

[0248] ②Compress and detect differences in the collected images, and make decisions on whether to store or transmit the video based on the results;

[0249] 5) Real-time monitoring and adjustment:

[0250] ① During the image acquisition and processing process, real-time monitoring of the system's operating status and resource utilization;

[0251] ② Make corresponding adjustments and optimizations based on real-time monitoring results to ensure system stability and performance.

[0252] 6) Focus: Image Difference Judgment

[0253] a. Pixel-level differences

[0254] ①Compare the current image with the previous frame image (or reference image) at the pixel level;

[0255] ②For each pixel, calculate its difference in the two images, you can use Euclidean distance, absolute difference or other difference measurement methods;

[0256] ③ Based on the pixel difference threshold, determine whether there is enough difference to store or transmit the video;

[0257] b. Regional differences

[0258] ① Divide the current image and the previous frame image (or reference image) into multiple regions;

[0259] ②For each region, calculate its difference in the two images, which can be done using pixel-level difference methods or other feature extraction methods;

[0260] ③ Based on the threshold of regional differences, determine whether there is enough difference to store or transmit the video;

[0261] c. Feature extraction and matching

[0262] ① Extract features of the current image and the previous image (or reference image), such as corners, edges, textures, etc.;

[0263] ② Match the extracted features using feature descriptors and matching algorithms, such as SIFT, SURF, ORB, etc.

[0264] ③ Based on the matching results and threshold, determine whether there is enough difference to store or transmit the video;

[0265] d. Deep Learning Methods

[0266] ① Use deep learning models to detect and judge image differences;

[0267] ②Use a pre-trained image classification or object detection model, input the current image and the previous frame image (or reference image) into the model for inference, and obtain the probability of difference or classification result;

[0268] ③ Based on the probability or classification results, determine whether there is enough difference to store or transmit the video.

[0269] 5. Non-key area frame extraction algorithm

[0270] Users can define non-key areas of interest, and take images of the designated areas at a certain interval to achieve video compression. For example, a frame is taken every 3 seconds for non-key areas and every 0.1 seconds for other areas.

[0271] 1) Regional division

[0272] ① Divide the image into multiple areas, including key areas and non-key areas;

[0273] ②Users can specify the location and size of non-key areas through the interface or configuration files;

[0274] 2) Sampling frequency setting

[0275] ① The user can specify the sampling frequency of non-key areas, that is, how often an image is taken; for example, for non-key areas, it is set to take an image every 3 seconds; for other areas, it is set to take an image every 0.1 seconds;

[0276] 3) Extract frames from non-key areas

[0277] ① During each image acquisition, determine the time interval between the current time and the last time a non-key area frame was extracted;

[0278] ② If the time interval is greater than or equal to the set sampling frequency (for example, 3 seconds), the image of the non-key area is collected and stored;

[0279] ③ If the time interval is less than the set sampling frequency, the image acquisition of non-key areas will be skipped;

[0280] 4) Extract frames from other areas

[0281] ① For key areas and other areas, images can be collected and stored at a higher frequency (for example, every 0.1 second);

[0282] ② The image acquisition of these areas can adopt conventional frame extraction methods, such as sampling at time intervals or continuous frames;

[0283] 5) Video Compression

[0284] ① Compress the collected image data and choose a suitable image compression algorithm, such as JPEG, PNG, etc.

[0285] ②The compressed image data can be stored as a video file or transmitted to the target device or server;

[0286] 6) Real-time monitoring and adjustment

[0287] ① During the image acquisition and processing process, real-time monitoring of the frame extraction situation and system operation status of non-key areas;

[0288] ② Make corresponding adjustments and optimizations based on real-time monitoring results to ensure system stability and performance.

[0289] 6. Still image (including global still and local still) playback algorithm

[0290] 1) Image loading

[0291] ① Load static images as video frames;

[0292] ②The static image can be a global static image or a local static image;

[0293] 2) Playback initialization

[0294] ① Initialize the player and set the start time of playback;

[0295] ②Set the frame rate of playback, that is, the number of frames played per second;

[0296] 3)Still image frame interpolation

[0297] ① During playback, if the current time exceeds the time point of the last loaded frame, that is, the playback time exceeds the duration of the image, a static image frame interpolation operation is required;

[0298] ② Determine the difference between the current time and the time point of the last loaded frame;

[0299] ③ According to the difference, select a static image for frame filling. You can choose a global static image or a local static image;

[0300] 4) Time increase

[0301] ① During playback, the time automatically increases with each frame played;

[0302] ② According to the set frame rate, each time a frame is played, the time increases by the corresponding time interval;

[0303] 5) Playback control

[0304] ① Provide playback control functions, such as play, pause, fast forward, fast rewind, etc.;

[0305] ②Control the speed and direction of playback according to user operations;

[0306] 6) Real-time monitoring and adjustment:

[0307] ① During playback, real-time monitoring of the player's operating status and resource utilization;

[0308] ② Make corresponding adjustments and optimizations based on real-time monitoring results to ensure smooth playback and performance.

[0309] Specifically, the video stream dynamic transmission and storage method provided in this embodiment has at least the following technical advantages:

[0310] 1) The video stream can dynamically adjust the resolution, bit rate, and frame rate for real-time playback;

[0311] 2) Ensures real-time playback of key video streams, video storage control, etc.;

[0312] 3) It avoids the phenomenon of picture delay, desynchronization, freeze, green screen and flowery screen in weak network conditions.

[0313] Based on the above embodiment, referring to FIG. 2 , another embodiment of the present invention further provides a video stream rate adaptation device, wherein the device includes:

[0314] A determination module 11 is configured to determine an initial bit rate of a first video stream sent from a transmitting end to a receiving end when the first video stream is played at the receiving end;

[0315] A first monitoring module 12 is configured to play the first video stream at the receiving end based on the initial bit rate, and monitor a first network status and a first video stream status during playback of the first video stream;

[0316] A determination module 13, configured to determine whether the initial bit rate needs to be switched based on the first network status and the first video stream status;

[0317] The second monitoring module 14 is configured to, if the initial bit rate needs to be switched, send a bit rate switching request from the receiving end to the sending end, switch the initial bit rate at the sending end according to the bit rate switching request, and continue to send the second video stream after the bit rate switching to the receiving end for playback, and monitor in real time the second network status and the second video stream status during playback of the second video stream;

[0318] The adjustment module 15 is configured to adaptively adjust the bit rate of the second video stream based on the second network status and the second video stream status monitored in real time.

[0319] The specific implementation method is shown in the above method embodiment, which will not be repeated here.

[0320] Based on the above embodiment, referring to FIG3 , another embodiment of the present invention further provides a computer device, wherein the computer device 10 includes:

[0321] The memory 120 and one or more processors 110 are introduced in FIG3 by taking one processor 110 as an example. The processor 110 and the memory 120 may be connected via a communication bus or other means. FIG3 takes connection via a communication bus as an example.

[0322] The processor 110 is used to implement various control logics of the computer device 10. It can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. In addition, the processor 110 can also be any conventional processor, microprocessor, or state machine. The processor 110 can also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration.

[0323] Memory 120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the computer program corresponding to the video stream rate adaptation method in the embodiments of the present invention. Processor 110 executes the non-volatile software programs, instructions, and modules stored in memory 120 to execute various functional applications and data processing of computer device 10, thereby implementing the video stream rate adaptation method in the above-mentioned method embodiments.

[0324] The memory 120 may include a program storage area and a data storage area. The program storage area may store application programs required for operating the device or at least one function; the data storage area may store data created based on the use of the computer device 10. Furthermore, the memory 120 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 120 may optionally include a memory remotely located relative to the processor 110, and such remote memory may be connected to the computer device 10 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0325] One or more units are stored in the memory 120. When executed by one or more processors 110, the video stream rate adaptation method in any of the above method embodiments can be implemented. For example, steps S100 to S500 of the method described above in FIG. 1 can be implemented.

[0326] Those skilled in the art will understand that the hardware structure diagram shown in Figure 3 is only a schematic diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more components than shown in the figure, or combine certain components, or have a different component arrangement.

[0327] Based on the above embodiments, the present invention further provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program. When the computer program is executed by at least one processor, the video stream rate adaptation method in any of the above method embodiments can be implemented, for example, method steps S100 to S500 in Figure 1 described above can be implemented.

[0328] As examples, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synch link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.

[0329] Another embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a processor, the video stream rate adaptation method in any of the above method embodiments can be implemented, for example, the method steps S100 to S500 in Figure 1 described above can be implemented.

[0330] Of course, various combinations of the above embodiments can be applied to the next generation of the Internet of Things as shown in Figures 13, 14, and 15. The technologies support and integrate each other, effectively solving many bottleneck problems in Internet of Things applications, such as high latency, high power consumption, incomplete network coverage, low data carrying capacity, different communication protocols, data insecurity, and application terminal allocation of communication resources. The present invention greatly improves the application value and user experience of the Internet of Things in a variety of different environments, improves application efficiency, and truly realizes the effective application of "Internet of Everything", including but not limited to the following:

[0331] 1) The next-generation IoT is characterized by weakening the boundaries between sensing, transmission, calculation, control, and application in the traditional IoT, improving interoperability between layers, and promoting mutual promotion between layers through dynamic, on-demand, and rational resource allocation, thereby achieving overall system optimization.

[0332] 2) The communication link is particularly critical. Multi-mode heterogeneous networks are designed specifically for smart twinning / smart empowerment in various industries. They are an effective improvement and enhancement to existing wireless communications and networks. Through the dynamic coordination and allocation of communication parameters, multiple networking methods, and network resources, they achieve ubiquitous, dynamic, and real-time effective communication, improve spectrum utilization, network resource utilization, and enhance network coverage and performance.

[0333] 3) Multi-mode heterogeneous networks are polymorphic and can dynamically adjust communication parameters based on physical location to establish networks. In addition to mainstream communication modes, they also include advanced networking methods such as Mesh, relay, and SDN. They support flexible scheduling, flexible expansion of wireless link access and management technologies, and link self-healing, providing professional wireless network bearer services with high utilization, strong stability, and easy recovery.

[0334] 4) Multi-mode heterogeneous networks are closely integrated with industries, dynamically adjusting communication parameters based on industry requirements and / or physical location. For example, communication parameters such as source coding, channel coding, signal time slots, transmit power, carrier frequency, carrier bandwidth, modulation mode, transmit power, and receive sensitivity can be adjusted. Different communication requirements use different communication strategies. For example, high-bandwidth communication requirements can adopt data transmission point splitting, multipath concurrency during transmission, and receiving point aggregation, and can be combined with high service quality deployment strategies. For example, data required for high-reliability communication can adopt multi-path redundant transmission methods, ensuring reliable delivery while reducing delays caused by sequential switching of multiple communication methods.

[0335] 5) Deep integration of multi-mode heterogeneous networks and sensing and control terminals. Sensing devices dynamically change sampling intervals and accuracy based on their own conditions, such as power consumption, sensing data value, sensing data change rate, preset thresholds, and network conditions. They further adjust parameters such as transmission frequency, transmit power, and modulation mode, thereby simultaneously taking into account response time, overall power consumption, and network bandwidth usage. Sensing devices, combined with edge computing, implement edge correction and self-calibration, and can also generate edge decisions to directly drive control terminals.

[0336] 6) Multi-mode heterogeneous networks have autonomous capabilities. The base stations / gateways can have their own distributed edge core network (or communication server) and automatically switch to the edge core network when the connection with the server-side core network is disconnected. In the event of a network outage, base stations / gateways can be networked wirelessly or wired, with one base station / gateway serving as the core network. The edge core network provides hierarchical and regional communications in the event of network outages and weak networks, providing the necessary support for data exchange in domain-specific edge computing.

[0337] 7) With the support of multi-mode heterogeneous networks and artificial intelligence, the core network and base stations can collect link information of base stations, routing nodes, and terminals, including: communication mode, communication path, signal-to-noise ratio, packet loss rate, delay, channel occupancy, etc., and use deep learning to make link predictions and deduce better networking and communication solutions. They can adaptively adjust the device connection mode (direct connection to base station, mesh network, point-to-point), transmission path (single path, multipath), and RF parameters (modulation mode, rate, spectrum occupancy, receiving bandwidth) as needed (data transmission rate, response time, reliability, connection distance, etc.);

[0338] 8) Multi-mode heterogeneous networks can enhance cloud-edge collaborative computing capabilities. The AI ​​industry algorithm middle platform supports unified management and operation and maintenance of computing power and service resources. It can dynamically allocate computing power and algorithm tasks for fog computing, edge computing, and the AI ​​industry algorithm middle platform itself based on industry applications, computing power, network, and communication conditions. It can also automatically scale up and down according to actual configuration scenarios to improve computing resource utilization.

[0339] 9) The next-generation AI IoT system covers multiple layers: from bottom to top, it includes the terminal layer, transmission layer, support layer, AI business platform layer, and comprehensive IOC layer for urban operations;

[0340] 10) The next-generation AI IoT system also includes: a security management platform, a unified operations and maintenance management platform, and IT resource services; the security management platform and the unified operations and maintenance management platform vertically run through all levels, providing full-chain, end-to-end services;

[0341] 11) IT resource services provide services for the support layer, artificial intelligence business platform layer, and the comprehensive IOC layer of urban operations;

[0342] 12) The multi-mode heterogeneous network provides the necessary diagnostic information for video stream quality monitoring. Based on this information, the node causing traffic restriction can be quickly located. If a network failure occurs, an operation and maintenance work order can be sent to the operation and maintenance personnel through the unified operation and maintenance management platform for inspection and maintenance.

[0343] 13) If video transmission cannot be guaranteed even after video stream quality monitoring and optimization, multi-mode heterogeneous networks can ensure the transmission of critical video streams through real-time scheduling of communication resources;

[0344] 14) Furthermore, if the above method still cannot guarantee the normal operation of the video, some artificial intelligence algorithms running on the server side can be deployed to the gateway or edge box close to the video device side through the edge computing platform, and only the algorithm results are sent, and video clips are sent to the server when necessary.

[0345] Figures 14 and 15 illustrate the relationship between R1, R2, and R3 in Figure 13. Application scenarios are not limited to forest fire prevention, smart cities, smart campuses, and communications. Figures 14 and 15 illustrate data flow based on flow direction. The multimode heterogeneous network in Figure 14 is an edge service and can be removed without impacting normal business processes. In Figure 15, there is a sequential relationship between nodes. Multimode heterogeneous network channel selection, network status detection, and continuous monitoring and adjustment are not mandatory and can be removed without impacting normal processes.

[0346] Figure 15 Process node description:

[0347] 1. Initial bitrate selection: When starting to play a video stream, select an initial bitrate. This initial bitrate can be selected based on device performance and network conditions. Usually a medium bitrate is selected.

[0348] 2. Multi-mode heterogeneous network channel selection: Calculate the required bandwidth based on the number of video streams played on the current channel and the video bit rate, and compare it with the actual bandwidth of the current channel. If the current channel bandwidth meets the required bandwidth, transmit it directly; if the current channel bandwidth does not meet the required bandwidth, change or switch to a channel that meets the required bandwidth based on the multi-mode heterogeneous related coordinated calculation and adaptive adjustment capabilities; if switching to the optimal channel still does not meet the bandwidth requirements, continue transmission.

[0349] 3. Network status monitoring: During video playback, the streaming server and client continuously monitor network status, including bandwidth, latency, packet loss, etc. This can be obtained in real time using network monitoring tools or APIs.

[0350] 4. Play and Buffer: Start playing the video stream and buffer it on the receiving end. During the buffering process, you can decide whether to switch the bit rate based on the network conditions and the filling status of the buffer.

[0351] 5. Bitrate Switching Decision: Determines whether a bitrate switch is necessary based on network conditions. This decision can be based on predefined policies, such as the ABR algorithm. Common decision criteria include bandwidth, latency, and packet loss rate.

[0352] 6. Bitrate switching: If a bitrate switch is required, the receiver sends a request to the transmitter, requesting a switch to the appropriate bitrate. The transmitter switches the bitrate based on the request and continues to send the video stream.

[0353] 7. Smooth transition: When switching bitrates, a smooth transition strategy can be adopted to provide a better viewing experience. This means gradually increasing or decreasing the bitrate to avoid sudden changes in image quality and smoothly switching to the new bitrate.

[0354] 8. Continuous Monitoring and Adjustment: During video playback, the network status is continuously monitored and the bitrate is adjusted based on real-time network indicators. This enables dynamic bitrate adaptation to accommodate changes in network conditions.

[0355] 9. End playback: When the video playback ends or the user stops watching, stop receiving the video stream and release related resources.

[0356] Scenario application: Adaptive playback in crowded and weak network environments of the next generation IoT;

[0357] 1. When a user pulls 10 ultra-high-definition 1080p video streams simultaneously, and the server's current playback channel bandwidth is only 20Mbps;

[0358] 2. The bit rate of each camera in the 1080p (2 million pixel) video format is 4Mbps, that is, the data transmission bandwidth required for each camera is 4Mbps. The data transmission bandwidth required for 10 cameras is:

[0359] 4Mbps (bit rate of video format) × 10 (number of cameras) = ​​40Mbps (uplink bandwidth),

[0360] That is, the network uplink bandwidth required for monitoring at each location using 1080P video format is at least 40Mbps;

[0361] 3. Since the server bandwidth is only 20Mbps, it can only support stable playback of 5-channel 1080p video streams under normal circumstances;

[0362] 4. S1 selects the initial bit rate, and S3 multi-mode heterogeneity automatically adjusts it to a bandwidth channel higher than 40Mbps for video streaming based on the communication standard, communication path, signal-to-noise ratio, packet loss rate, delay, and channel occupancy;

[0363] 5. After the adjustment is completed, streaming data transmission continues through the S3 path, and adaptive adjustment continues through S4-S9;

[0364] 6. For the streaming media server, the multi-mode heterogeneous network at this time belongs to the edge network adjustment, and removing this node does not affect the normal process.

[0365] Through the description of the above embodiments, some nodes and related data transmission can be removed and the technical effects of the present invention can still be achieved. Those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can exist in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or certain parts of the embodiment.

[0366] The embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the technology of the present invention may be implemented through various combinations. The components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the objectives of the present embodiment as needed.

[0367] Conditional language such as "can," "may," or "might," unless specifically stated otherwise or otherwise understood within the context in which it is used, is generally intended to convey, among other things, that particular embodiments can include (while other embodiments do not) particular features, elements, and / or operations. Thus, such conditional language is also generally intended to imply that features, elements, and / or operations are required for one or more embodiments anyway or that one or more embodiments must include logic for determining, with or without input or prompting, whether such features, elements, and / or operations are included or will be performed in any particular embodiment.

[0368] What has been described herein, in this specification and in the accompanying drawings includes examples that can provide a method, apparatus, computer device, and non-volatile computer-readable storage medium for video stream rate adaptation. Of course, it is not possible to describe every conceivable combination of elements and / or methods for the purpose of describing the various features of the present disclosure, but it will be appreciated that many other combinations and permutations of the disclosed features are possible. Therefore, it is apparent that various modifications can be made to the present disclosure without departing from the scope or spirit of the present disclosure, but all such various modifications should fall within the scope of protection of the claims appended hereto. In addition, or in the alternative, other embodiments of the present disclosure may be apparent from consideration of this specification and the accompanying drawings and from the practice of the present disclosure as presented herein. It is intended that the examples set forth in this specification and the accompanying drawings be considered in all respects to be illustrative and not restrictive. Although specific terms are employed herein, they are used in a general and descriptive sense and not for purposes of limitation.

Claims

1. A video stream bit rate adaptive method, characterized in that: include: Determining an initial bit rate of a first video stream sent from a transmitting end to a receiving end when played at the receiving end; Playing the first video stream at the receiving end based on the initial bit rate, and monitoring a first network condition and a first video stream condition when the first video stream is played; Based on the first network condition and the first video stream condition, determining whether the initial bit rate needs to be switched; If the initial bit rate needs to be switched, a bit rate switching request of the receiving end is sent to the sending end, and the sending end switches the initial bit rate according to the bit rate switching request, and continues to send the second video stream after the bit rate switching to the receiving end for playback, and monitors the second network status and the second video stream status during the playback of the second video stream in real time; Based on the second network status and the second video stream status monitored in real time, the bit rate of the second video stream is adaptively adjusted.

2. The video stream rate adaptation method according to claim 1, characterized in that: The determining of the initial bit rate of the first video stream sent from the transmitting end to the receiving end when played at the receiving end includes: Based on the device performance and current network status of the receiving end, an initial bit rate of the first video stream sent from the sending end to the receiving end when played at the receiving end is selected and determined.

3. The video stream rate adaptation method according to claim 2, characterized in that: In the first network status and the second network status, the network status includes one or more indicators of network delay, bandwidth, and packet loss rate.

4. The video stream rate adaptation method according to claim 3, characterized in that: In the first video stream status and the second video stream status, the video stream status includes one or more indicators of buffering time, resolution, frame rate, real-time status, encoding quality, sound quality, abnormal events, and availability.

5. The video stream bit rate adaptive method according to any one of claims 1 to 4, characterized in that: The step of sending the bit rate switching request of the receiving end to the sending end, switching the initial bit rate at the sending end according to the bit rate switching request, and continuously sending the second video stream after the bit rate switching to the receiving end for playback, and monitoring the second network status and the second video stream status during playback of the second video stream in real time includes: receiving a bit rate switching request from the receiving end; Sending the bit rate switching request to the sending end; When the sending end switches the initial bit rate according to the bit rate switching request and continues to send the second video stream after the bit rate switching to the receiving end for playback, the second network status and the second video stream status during the playback of the second video stream are monitored in real time.

6. The video stream rate adaptation method according to claim 5, characterized in that: When the sending end switches the initial bit rate according to the bit rate switching request and continues to send the second video stream after the bit rate switching to the receiving end for playback, the second network status and the second video stream status during the playback of the second video stream are monitored in real time, wherein, When the transmitting end switches the initial bit rate according to the bit rate switching request, a bit rate smooth transition strategy is executed.

7. The video stream bit rate adaptive method according to claim 6, characterized in that: The adaptively adjusting the bit rate of the second video stream based on the second network status and the second video stream status monitored in real time includes: Based on the second network status and the second video stream status monitored in real time, a preset bit rate adaptation strategy is used to adaptively adjust the bit rate of the second video stream.

8. A video stream bit rate adaptive device, characterized in that: include: A determination module, configured to determine an initial bit rate of a first video stream sent from a transmitting end to a receiving end when the first video stream is played at the receiving end; a first monitoring module, configured to play the first video stream at the receiving end based on the initial bit rate, and monitor a first network status and a first video stream status during playback of the first video stream; a determination module, configured to determine whether the initial bit rate needs to be switched based on the first network status and the first video stream status; a second monitoring module, configured to, if the initial bit rate needs to be switched, send a bit rate switching request from the receiving end to the sending end, switch the initial bit rate at the sending end according to the bit rate switching request, and continue to send the second video stream after the bit rate switching to the receiving end for playback, and monitor in real time the second network status and the second video stream status during playback of the second video stream; An adjustment module is used to adaptively adjust the bit rate of the second video stream based on the second network status and the second video stream status monitored in real time.

9. A computer device, characterized in that: The computer device includes at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. When the computer program is executed by the at least one processor, the video stream bit rate adaptation method according to any one of claims 1 to 7 can be implemented.

10. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the video stream bit rate adaptation method according to any one of claims 1 to 7 can be implemented.

Citation Information

Cited By

  • Intelligent campus environment parameter comprehensive sensing method based on AIOT

    CN119766962A

  • A Comprehensive Sensing Method for Environmental Parameters in a Smart Campus Based on AIoT

    CN119766962B

  • Mobile terminal video stream data adaptation processing method based on external camera

    CN121842426A

  • Mobile terminal video stream data adaptation processing method based on external camera

    CN121842426B