Mobile terminal high-definition video transmission method based on lightweight telescopic super-resolution

By adaptively adjusting the video super-resolution model of the mobile terminal, combined with the WebRTC protocol, the problem of limited computing resources of the mobile terminal is solved, high-quality video transmission is achieved, and equipment needs of limited computing resources are met.

CN118972643APending Publication Date: 2024-11-15CHONGQING UNIV OF POSTS & TELECOMM +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410944941.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, the computing resources of mobile terminals are limited and it is difficult to support the operation of existing video super-resolution models, resulting in limited application of the model, and the general model cannot adapt to the computing capabilities and network conditions, affecting the quality of video transmission.

Method used

By obtaining network status information and mobile receiver performance information, the number of residual convolution blocks and channels in the scalable super-resolution model is adaptively adjusted, and combined with the WebRTC instant communication protocol, low-latency and high-quality video transmission is achieved.

Benefits of technology

The balance between video reconstruction time and resolution quality is achieved on the mobile terminal, avoiding model overfitting, meeting the equipment needs of limited computing resources, and providing a low-latency, high-quality video transmission experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972643A_ABST
    Figure CN118972643A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile terminal high-definition video transmission method based on lightweight telescopic super-resolution, and particularly relates to the technical field of video self-adaptive transmission. The technical scheme is characterized by comprising the following steps: acquiring network state information and mobile receiving end performance information, and acquiring a high-definition video based on the network state information and the mobile receiving end performance information; determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block; after receiving the request signal, the mobile sending end determines a source video resolution according to the request signal, and collects a local video frame; coding a local video frame, and transmitting the coded low-resolution video frame to a mobile receiving end by adopting a WebRTC communication protocol; and reconstructing the received low-resolution video frame into a high-resolution video frame in a super-resolution processor of a mobile receiving end by using a scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks, and storing the high-resolution video frame in an SR buffer area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video adaptive transmission, and in particular to a mobile terminal high-definition video transmission method based on lightweight scalable super-resolution. Background Art

[0002] Video Super Resolution (VSR) provides a key technology to break the strong dependency between ultra-high-definition video transmission quality and network conditions. VSR recovers videos with more high-frequency details by utilizing spatial information within frames, short-term continuity between frames, and content similarity, thereby reconstructing low-resolution videos into high-resolution videos and achieving several times the resolution improvement. After integrating VSR processing into video transmission, when network conditions are poor, the sender can transmit lower-resolution videos, thereby reducing dependence on network conditions and reducing network bandwidth consumption; at the receiving end, the super-resolution model can be used to reconstruct the received low-resolution videos into high-resolution videos, thereby improving the quality of experience (QoE).

[0003] In the existing technology, we can use a large number of data sets to train a general video super-resolution model, and use the same model to reconstruct the received video with high resolution. However, this type of general model has a fixed model size and complexity, and cannot adapt to the dynamic computing power of the VSR processing device, which may cause the VSR processing rate and the terminal device playback rate to not match, resulting in playback interruption. In addition, the higher the resolution of the VSR model input video, the better the quality of its reconstructed output video. Therefore, the resolution of the source end also needs to be adaptively adjusted according to the network conditions to obtain better video quality under the premise of network transmission capacity.

[0004] An invention application with patent publication number CN116389795A discloses a video transmission method and system based on a scalable video super-resolution model. However, the model is deployed on edge nodes, which have sufficient computing resources to support the operation of large-scale models. However, the computing resources on some mobile terminals (mobile phones or tablets) are relatively limited, and it is difficult to have sufficient computing resources to support the operation of the model. Large-scale models are difficult to deploy and use on mobile terminals, resulting in limitations in the application of the model.

[0005] Therefore, the present invention aims to provide a mobile terminal high-definition video transmission method based on lightweight and scalable super-resolution to solve the above-mentioned related problems. Summary of the invention

[0006] The technical problem to be solved by the present invention is that in the prior art, due to the relatively limited computing resources of mobile terminals, it is difficult to support the operation of existing models. The purpose is to provide a mobile terminal high-definition video transmission method based on lightweight scalable super-resolution. By considering the performance information of the mobile receiving terminal and the network status information, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are adaptively adjusted; the number of residual convolution blocks is adaptively adjusted according to the actual computing performance of the mobile terminal to achieve a balance between video reconstruction time and resolution quality, and the number of channels in each residual convolution block is adaptively adjusted to prevent model overfitting and increase the computing burden, thereby meeting the widespread use of mobile terminals with limited computing resources; at the same time, the WebRTC instant communication protocol is adopted to achieve low-latency and high-quality video transmission.

[0007] The present invention is achieved through the following technical solutions:

[0008] A method for transmitting high-definition video on a mobile terminal based on lightweight and scalable super-resolution, the method comprising:

[0009] Obtaining network status information and mobile receiving end performance information, and determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information;

[0010] After receiving the request signal, the mobile transmitting end determines the source video resolution according to the request signal and collects the local video frame;

[0011] Encode the local video frames and transmit the encoded low-resolution video frames to the mobile receiving end using the WebRTC communication protocol;

[0012] Reconstructing received low-resolution video frames into high-resolution video frames in a super-resolution processor at a mobile receiving end using a scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks, and storing the high-resolution video frames in an SR buffer;

[0013] The playback buffer of the mobile receiving end extracts high-resolution video frames from the SR buffer for high-resolution video playback.

[0014] Furthermore, the method also includes: determining the video reconstruction resolution and the source video resolution based on the network status information.

[0015] Furthermore, based on the network status information and the mobile receiving end performance information, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are determined, specifically:

[0016] Preconfiguring a group of neural network models, wherein the group of neural network models includes a plurality of neural network models with different numbers of residual convolution blocks and different numbers of channels in each residual convolution block;

[0017] The number of required residual convolution blocks and the number of channels in each residual convolution block are determined based on network status information and mobile receiving end performance information, and a matching neural network model is selected from the group of neural network models as a scalable super-resolution model.

[0018] Further, after obtaining the network status information and the mobile receiving end performance information, determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information, it also includes:

[0019] Performing compression optimization processing on the scalable super-resolution model to obtain a processed scalable super-resolution model;

[0020] Converting the processed scalable super-resolution model into a format to obtain a scalable super-resolution model that conforms to the format of a mobile receiving end;

[0021] Then use the tensorflow framework to load the scalable super-resolution model that conforms to the format of the mobile receiving end, and load the scalable super-resolution model as an Interpreter class object provided by the tensorflow framework.

[0022] Furthermore, the scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks is used to reconstruct the received low-resolution video frames into high-resolution video frames in the super-resolution processor of the mobile receiving end, and store the high-resolution video frames in the SR buffer, specifically:

[0023] After receiving the low-resolution video frame, the mobile receiving end caches the low-resolution video frame into a receiving buffer;

[0024] The super-resolution processor uses a determined scalable super-resolution model to sequentially reconstruct low-resolution video frames in the receiving buffer according to a first-in-first-out principle to obtain high-resolution video frames;

[0025] The high-resolution video frames output by the super-resolution processor are then stored in the SR buffer.

[0026] The present invention also provides a transmission system for high-definition video transmission of a mobile terminal based on lightweight scalable super-resolution as described in any one of the above, the system comprising a mobile transmitting end, a mobile receiving end and a physical server;

[0027] A mobile transmitting end, for receiving a request signal, collecting and encoding video frames, and sending the encoded low-resolution video frames to a mobile receiving end;

[0028] A mobile receiving end is used to receive low-resolution video frames sent by a mobile sending end, reconstruct the low-resolution video using a scalable super-resolution model, and output a high-resolution video for playback;

[0029] The physical server is used to process the signaling information of the mobile receiver and the mobile transmitter, as well as to adaptively adjust the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model, and the source video resolution.

[0030] Furthermore, the mobile receiving end includes a receiving buffer, a super-resolution processor, an SR buffer, a playback buffer and a player, wherein the receiving buffer is used to temporarily store the received low-resolution video frames; the super-resolution processor is used to extract the low-resolution video frames in the receiving buffer, and reconstruct the low-resolution video using an embedded scalable super-resolution model, and output the reconstructed high-resolution video frames; the SR buffer is used to temporarily store the high-resolution video frames output by the super-resolution processor; and the playback buffer is used to extract the high-resolution video frames in the SR buffer and output them to the player for high-resolution video playback.

[0031] Furthermore, the physical server includes a signaling server, a network monitor and a DRL agent. The signaling server is used to process signaling information of the mobile receiving end and the mobile sending end, including establishing, maintaining and ending communication sessions; the network monitor is used to collect network status information of the mobile receiving end and the mobile sending end in real time, and input the network status information into the DRL agent; the DRL agent adaptively adjusts the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model and the source video resolution based on the network status information and the performance information of the mobile receiving end.

[0032] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above-mentioned methods when executing the computer program.

[0033] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.

[0034] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0035] In the present invention, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are adaptively adjusted by considering the performance information of the mobile receiving end and the network status information; the number of residual convolution blocks is adaptively adjusted according to the actual computing performance of the mobile terminal to achieve a balance between video reconstruction time and resolution quality, and the number of channels in each residual convolution block is adaptively adjusted to prevent model overfitting and increase the computing burden, thereby meeting the widespread use of mobile terminals with limited computing resources; at the same time, the WebRTC instant communication protocol is adopted to achieve low-latency, high-quality video transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:

[0037] Figure 1 Schematic diagram of the structure of the mobile terminal high-definition video transmission system based on lightweight scalable super-resolution in this embodiment;

[0038] Figure 2 Schematic diagram of the method flow of the method for transmitting high-definition video to a mobile terminal based on lightweight scalable super-resolution in this embodiment;

[0039] Figure 3 Schematic diagram of the structure of a scalable super-resolution model in the mobile terminal high-definition video transmission method based on lightweight scalable super-resolution in this embodiment;

[0040] Figure 4 It is a structural schematic diagram of a computer device in this embodiment. DETAILED DESCRIPTION

[0041] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0042] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0043] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0044] As mentioned in the background, existing scalable super-resolution models are deployed on edge nodes, which have sufficient computing resources to support the operation of large-scale models. However, the computing resources on some mobile terminals (mobile phones or tablets) are relatively limited, and it is difficult to have sufficient computing resources to support the operation of the model. Large-scale models are difficult to deploy and use on mobile terminals, which leads to limitations in the application of the model.

[0045] Example 1

[0046] See also Figure 1 As shown, the mobile terminal video adaptive transmission method is used for Figure 1 In the system shown, the system includes a mobile transmitting end, a mobile receiving end and a physical server; the mobile transmitting end is used to receive a request signal, collect and encode video frames, and send the encoded low-resolution video frames to the mobile receiving end; the mobile receiving end is used to receive the low-resolution video frames sent by the mobile transmitting end, and use a scalable super-resolution model to reconstruct the low-resolution video, and output and play the high-resolution video; the physical server is used to process the signaling information of the mobile receiving end and the mobile transmitting end, and to adaptively adjust the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model, and the source video resolution.

[0047] At the same time, it should be noted that in this embodiment, both the mobile receiving end and the mobile sending end are mobile phone terminals. In other embodiments, other mobile terminals can be used, such as tablets, smart watches or other mobile smart devices. When the mobile phone terminal sends video frame data, it acts as a mobile sending end, and when the mobile phone terminal receives video frame data, it acts as a mobile receiving end.

[0048] A method for transmitting high-definition video on a mobile terminal based on lightweight and scalable super-resolution, the method comprising:

[0049] S1: obtaining network status information and mobile receiving end performance information, and determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information, as well as determining the video reconstruction resolution and the source video resolution;

[0050] S2: After receiving the request signal, the mobile transmitting end determines the source video resolution according to the request signal and collects the local video frame;

[0051] S3: Encode the local video frame and transmit the encoded low-resolution video frame to the mobile receiving end using the WebRTC communication protocol;

[0052] S4: Reconstruct the received low-resolution video frame into a high-resolution video frame in a super-resolution processor at the mobile receiving end using the scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks, and store the high-resolution video frame in the SR buffer;

[0053] S5: The playback buffer of the mobile receiving end extracts the high-resolution video frame from the SR buffer for high-resolution video playback.

[0054] Specifically, in this embodiment, in a mobile terminal whose computing resources are relatively limited compared to edge nodes, computer processors or other large processors, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are adaptively adjusted based on the performance information of the mobile terminal to obtain a lightweight scalable super-resolution model suitable for the mobile terminal, so that the low-resolution video frames sent by the mobile sending end can be reconstructed into high-resolution video frames on the mobile receiving end; at the same time, the WebRTC instant communication protocol is adopted to achieve low-latency, high-quality video transmission.

[0055] Furthermore, based on the network status information and the mobile receiving end performance information, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are determined, specifically:

[0056] Preconfiguring a group of neural network models, wherein the group of neural network models includes a plurality of neural network models with different numbers of residual convolution blocks and different numbers of channels in each residual convolution block;

[0057] The number of required residual convolution blocks and the number of channels in each residual convolution block are determined based on network status information and mobile receiving end performance information, and a matching neural network model is selected from the group of neural network models as a scalable super-resolution model.

[0058] Specifically, in this embodiment, the number of residual convolution blocks is a key parameter, which determines the different levels of the scalable super-resolution model. As the number of residual convolution blocks increases, the level of the model will also increase accordingly, so that the model can reconstruct higher quality videos. However, more residual convolution blocks mean longer reconstruction time. A set of neural network models are pre-configured for each possible resolution increase. This configuration enables the system to select the most matching neural network model to work according to the performance of the actual computing device. In this way, the reconstruction time can be reduced as much as possible while ensuring the video quality, thereby improving the user experience;

[0059] At the same time, increasing the number of channels can increase the expressiveness of the model and help extract richer feature information, thereby improving the performance of the model. However, too many channels may cause the model to overfit, increase the computational burden, and may be detrimental to the generalization ability of the model; therefore, when determining the number of channels, a trade-off needs to be made between model performance and computational efficiency.

[0060] Further, after obtaining the network status information and the mobile receiving end performance information, determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information, it also includes:

[0061] Performing compression optimization processing on the scalable super-resolution model to obtain a processed scalable super-resolution model;

[0062] Converting the processed scalable super-resolution model into a format to obtain a scalable super-resolution model that conforms to the format of a mobile receiving end;

[0063] Then use the tensorflow framework to load the scalable super-resolution model that conforms to the format of the mobile receiving end, and load the scalable super-resolution model as an Interpreter class object provided by the tensorflow framework.

[0064] Specifically, in this embodiment, after the number of residual convolution blocks of the scalable super-resolution model and the number of channels in each residual convolution block are confirmed, the super-resolution model needs to be deployed in the mobile receiving end; wherein, in order to adapt to the hardware resource limitations of the mobile terminal, the scalable super-resolution model is first compressed and optimized, such as lightweight network structure and model pruning, quantization, distillation, etc., to reduce the model size and computational complexity. This technical solution is a conventional technical means for model compression optimization and will not be described in detail here; then, the trained pytorch model is converted into the TFLite model required by the mobile terminal through the model conversion tool ONNX, and the output is a .tflite file; secondly, the tensorflow framework on the Android side is used to load the .tflite model file, and after various configurations (multi-threaded acceleration, GPU acceleration, etc.), an instantiation operation is performed, and the model is loaded as an Interpreter class object provided by the tensorflow framework, so as to perform subsequent image reception and output operations, i.e., super-resolution operations.

[0065] Furthermore, the local video frames are encoded, and the encoded low-resolution video frames are transmitted to the mobile receiving end using the WebRTC communication protocol. Specifically, the WebRTC source code is modified, and the entry function for transmitting each frame of the video stream, that is, the drawFrame function of the VideoFrameDrawer class, is found, and the place where the VideoFrame object is generated is found. The Bitmap library and I420Buffer library provided by Android and WebRTC are used to write a conversion function, and the VideoFrame object is converted into an I420Buffer object. The obtained I420Buffer object is further converted into a Bitmap object, thereby obtaining the input image value of the super-resolution function.

[0066] Furthermore, the scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks is used to reconstruct the received low-resolution video frames into high-resolution video frames in the super-resolution processor of the mobile receiving end, and store the high-resolution video frames in the SR buffer, specifically:

[0067] After receiving the low-resolution video frame, the mobile receiving end caches the low-resolution video frame into a receiving buffer;

[0068] The super-resolution processor uses a determined scalable super-resolution model to sequentially reconstruct low-resolution video frames in the receiving buffer according to a first-in-first-out principle to obtain high-resolution video frames;

[0069] The high-resolution video frames output by the super-resolution processor are then stored in the SR buffer.

[0070] Specifically, in this embodiment, the scalable super-resolution model uses the Interpreter object obtained above to perform super-resolution on the input image obtained in the previous step according to the set super-resolution multiple, obtains the Bitmap object after the super-resolution operation and outputs it; the SR buffer uses the conversion function to convert the Bitmap object after the super-resolution operation back to the VideoFrame object, and continues to hand it over to WebRTC to execute the drawing process and draw it on the screen, so as to obtain a clearer image after super-resolution, realize real-time super-resolution enhancement of low-resolution and low-bitrate videos by mobile terminals, thereby providing users with high-quality real-time super-resolution video transmission experience.

[0071] In this embodiment, the SR processing starts at the time. Following the first-in-first-out (FIFO) principle, the low-resolution video frames in the receiving buffer are processed in order. This means that the earliest video frame to enter the receiving buffer will be selected by the SR processor for reconstruction first. As a core component, the SR processor is responsible for high-quality reconstruction of low-resolution video frames using a scalable super-resolution model. For the i-th low-resolution video frame v stored in the super-resolution buffer, i , a deep reinforcement learning (DRL) agent is introduced to accurately determine the video reconstruction resolution level (v i ,v i ′), v i ,v i ′∈V.

[0072] set up represents all reconstruction pairs. Indicates the maximum length of the super-resolution buffer.

[0073] The start time of reconstructing the i-th low-resolution video frame can be defined as:

[0074]

[0075] in, Indicates the reconstruction start time of the i-th low-resolution video frame; Indicates the reconstruction start time of the (i-1)th low-resolution video frame; represents the reconstruction processing time of reconstructing the (i-1)th low-resolution video frame into a high-resolution video frame.

[0076] Assume that the maximum buffer length of the playback buffer on the receiving end is The receiving end starts forwarding the i-th high-resolution video frame from the SR buffer to the playback buffer only after the SR processor has completely reconstructed the i-th low-resolution video frame and the receiving end has delivered the (i-1)-th high-resolution video frame to the playback buffer.

[0077]

[0078] in, Indicates the cache start time of the i-th high-resolution video frame cached to the playback buffer; Indicates the cache start time of the (i-1)th high-resolution video frame cached to the playback buffer; d i-1 represents the transmission time of the (i-1)th low-resolution video frame from the transmitter to the receiver; Indicates the reconstruction start time of the i-th low-resolution video frame; represents the reconstruction processing time of reconstructing the i-th low-resolution video frame into a high-resolution video frame; Indicates The start time of playback of high-resolution video frames, Indicates the maximum buffer length of the playback buffer.

[0079] Playback and rebuffering time. The receiving end player can start playing the i-th high-resolution video frame only after playing the (i-1)-th high-resolution video frame and pulling the i-th high-resolution video frame into the playback buffer.

[0080] The moment when the i-th high-resolution video frame starts playing can be defined as:

[0081]

[0082] Among them, t i Indicates the start time of playback of the i-th high-resolution video frame; t i-1 represents the start time of playing the (i-1)th high-resolution video frame; T represents the time length of the high-resolution video frame or the low-resolution video frame; Indicates the start time of caching the i-th high-resolution video frame into the playback buffer.

[0083] In particular, during playback, if video frames are exhausted in the playback buffer, a rebuffering event will be triggered, which will reduce the user's QoE.

[0084] The rebuffering time can be defined as:

[0085] τ i =t i -(t i-j +jT)(4)where τ i Indicates the time when re-buffering occurs at the i-th high-resolution video frame; t i Indicates the start time of playback of the i-th high-resolution video frame; t i-jrepresents the start time of playback of the (ij)th high-resolution video frame (where j represents the number of frames stored in the rebuffer); T represents the time length of a high-resolution video frame or a low-resolution video frame.

[0086] Buffer Model: Super Resolution Buffer B S (t) and playback buffer B P (t) The state at time t can be defined as:

[0087]

[0088] In video streaming services, ensuring smoothness and avoiding video interruptions is crucial. This smoothness can be guaranteed when the super-resolution buffer meets certain conditions. However, since network conditions and the computing power of terminal devices may change over time, the DRL (deep reinforcement learning) agent needs to dynamically adjust the reconstructed video resolution level, the scalable super-resolution model level, and the source video resolution. These decisions are designed to maximize the user experience quality (QoE) of video viewers. QoE is a comprehensive indicator that is affected by multiple quantifiable factors. QoE can be defined by video quality, rebuffering time, and quality jitter between video blocks.

[0089] Setting the objective function: To improve user video quality, reduce rebuffering time, and reduce quality jitter, the following optimization model can be established. The target decision variables are the reconstructed video resolution level, the scalable super-resolution model level, and the source video resolution.

[0090] -W1: Video quality can be defined as:

[0091]

[0092] Among them, B i ′ represents the bit rate of the i-th high-resolution video frame after reconstruction (a high bit rate does not necessarily mean high image quality); F(B i ′) indicates that the bit rate B i Mapped to the quality perceived by users; N c Indicates the total number of frames received by the receiver during the entire system operation. -W2: The rebuffering time can be defined as:

[0093]

[0094] Among them, τ i Indicates the time when rebuffering occurs for the i-th time; N r Indicates the total number of rebuffering times during the entire system runtime.

[0095] -W3: The quality jitter between two adjacent video frames can be defined as:

[0096]

[0097] Among them, B i ′ represents the bit rate of the i-th video frame after reconstruction; B i ' -1 N represents the bit rate of the i-1th video frame after reconstruction; c Indicates the total number of frames received by the receiver during the entire system operation.

[0098] When the video is heavily buffered and jittery, a penalty value will be obtained. The longer the delay, the greater the penalty value. The quality of experience (QoE) of a single user can be expressed as:

[0099] QoE=W1-μW2-λW3(10)

[0100] In summary, the optimization problem can be expressed as:

[0101]

[0102] Among them, W1 is the video quality; W2 is the rebuffering time; W3 is the quality jitter caused by switching the resolution of adjacent video frames; μ and λ are weight factors; QoE is the experience quality of a single user.

[0103] Furthermore, the super-resolution video playback process is a Markov decision problem, and reinforcement learning does not require any data to be given in advance, but obtains learning information and updates model parameters by receiving rewards (feedback) from the environment for actions. Therefore, reinforcement learning can be used to solve optimization problems.

[0104] 1. State space. The state of the SR processor when it starts to reconstruct the i-th video frame can be expressed as:

[0105]

[0106] in, and denote the length of the playback buffer and the super-resolution buffer when starting to reconstruct the i-th frame; the main limitation of the decision is the bandwidth, is the average download bandwidth of the past k1 video frames; v i ' -1 is the resolution of the i-1th video frame.

[0107] 2. Action space. For each video frame, the DRL agent needs to select the target video resolution for reconstruction based on the current state, and select the most appropriate scalable super-resolution model and source video resolution based on the available computing resources. Therefore, in the entire system, the DRL agent needs to make decisions including 1) video reconstruction resolution level (v i ,v i ′), 2) Scalable super-resolution model level (model level m i ), 3) Source video resolution R i The action vector of the SR processor when it starts to reconstruct the i-th video frame can be expressed as:

[0108]

[0109] Among them, (v i ,v i ′) represents the video reconstruction resolution level, m i Represents the model level, R i Indicates the source video resolution.

[0110] 3. Reward function. The DRL agent makes adaptive decisions based on the collected real-time system states. In this process, the agent constantly observes the state of the environment, makes decisions (i.e., takes actions) based on these states, and then obtains immediate rewards from the environment based on the results of the actions. The reward function is defined as:

[0111] R i =B i ′-μτ i -λ|B i ′-B i ' -1 |(14)

[0112] Among them, B i ′ represents the resolution of the i-th video frame after reconstruction; τ i Indicates the rebuffering time that occurs when processing the i-th video frame; |B i ′-B i ' -1 | represents the quality jitter between the i-th video frame and the i-1-th video frame; μ and λ are weight factors.

[0113] 4. Deep neural network models and model training.

[0114] The Bellman equation for deep reinforcement learning can be written accordingly:

[0115] Q(s i ,a i )=Q(s i ,a i )+α[Ri +βmaxQ′(s i+1 ,a i )-Q(s i ,a i )](15)

[0116] For Markov decision processes with a large number of states and actions, a deep neural network Q(s i ,a i ;θ) to approximate Q(s i ,a i ), θ is a parameter.

[0117] For the deep neural network Q(s i ,a i ; The training of θ) follows the D3QN algorithm.

[0118] The training process of D3QN is as follows: First, two main neural networks are initialized: the evaluation network and the target network. The evaluation network is used to estimate the value of each action based on the current state, while the target network is used to calculate the target Q value, providing the evaluation network with a learning target. Then, the algorithm begins the iterative training process. In each round of iteration, the algorithm first initializes the environment, obtains the initial state, and sets the reward and end flags. Then, the algorithm enters a loop until the loop ends. In the loop, the algorithm calculates the Q value corresponding to each action based on the current state and the evaluation network parameters, and uses the ε-greedy strategy to select actions to execute. After executing the action, the algorithm observes the feedback from the environment, including the new state and reward, and stores this experience data in the replay buffer. When the loop ends, the algorithm randomly samples a certain number of experience samples from the replay buffer. These samples contain past state, action, reward, and new state information. Then, the algorithm uses the evaluation network to select the best action, and uses the target network to calculate the action value of the action to obtain the target Q value. By comparing the output of the evaluation network with the target Q value, the algorithm can calculate the loss function and update the parameters of the evaluation network through backpropagation and gradient descent. In each iteration, the algorithm will also update the parameters of the target network according to the set update frequency. In this way, the target network can gradually approach the performance of the evaluation network, thereby stabilizing the training process and avoiding over-estimation problems. The entire training process will continue until the preset total number of iterations is reached. Through continuous iteration and optimization, the D3QN algorithm can learn the mapping relationship from state to action and achieve the optimal decision-making strategy.

[0119] 5. After the model is trained, it can collect real-time status information as input and output the optimal control strategy, including 1) video reconstruction resolution level (v i ,v i ′), 2) Level m of scalable super-resolution model i, 3) Source video resolution R i .

[0120] Example 2

[0121] The present invention also provides a transmission system for the mobile terminal high-definition video transmission method based on lightweight scalable super-resolution described in any one of the above, the system comprising a mobile sending end, a mobile receiving end and a physical server;

[0122] A mobile transmitting end, for receiving a request signal, collecting and encoding video frames, and sending the encoded low-resolution video frames to a mobile receiving end;

[0123] A mobile receiving end is used to receive low-resolution video frames sent by a mobile sending end, reconstruct the low-resolution video using a scalable super-resolution model, and output a high-resolution video for playback;

[0124] The physical server is used to process the signaling information of the mobile receiver and the mobile transmitter, as well as to adaptively adjust the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model, and the source video resolution.

[0125] Furthermore, the mobile receiving end includes a receiving buffer, a super-resolution processor, an SR buffer, a playback buffer and a player, wherein the receiving buffer is used to temporarily store the received low-resolution video frames; the super-resolution processor is used to extract the low-resolution video frames in the receiving buffer, and reconstruct the low-resolution video using an embedded scalable super-resolution model, and output the reconstructed high-resolution video frames; the SR buffer is used to temporarily store the high-resolution video frames output by the super-resolution processor; and the playback buffer is used to extract the high-resolution video frames in the SR buffer and output them to the player for high-resolution video playback.

[0126] Furthermore, the physical server includes a signaling server, a network monitor and a DRL agent. The signaling server is used to process signaling information of the mobile receiving end and the mobile sending end, including establishing, maintaining and ending communication sessions; the network monitor is used to collect network status information of the mobile receiving end and the mobile sending end in real time, and input the network status information into the DRL agent; the DRL agent adaptively adjusts the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model and the source video resolution based on the network status information and the performance information of the mobile receiving end.

[0127] Example 3

[0128] This embodiment further provides a computer device, including a memory 1005 and a processor 1001, wherein the memory 1005 stores a computer program, and the processor 1001 implements the steps of any one of the above methods when executing the computer program.

[0129] It should be noted that the processor 1001 is used to execute the steps in the above method embodiments according to the instructions in the program code. Alternatively, the processor 1001 implements the functions of each module / unit in the above system / device embodiments when executing the computer program.

[0130] Specifically, in this embodiment, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 1005, and are executed by the processor 1001 to complete the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0131] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud physical server, etc. The terminal device may include, but is not limited to, a processor 1001 and a memory 1005. Those skilled in the art will appreciate that this does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input / output device 1003, a network access device 1002, a bus 1006, etc.

[0132] The processor 1001 may be a central processing unit (CPU), or other general-purpose processors 1001, digital signal processors 1001 (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 1001 may be a microprocessor or any conventional processor, etc.

[0133] The memory 1005 may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory 1005 may also be an external storage device 1004 of the terminal device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory 1005 may also include both the internal storage unit of the terminal device and the external storage device 1004. The memory 1005 is used to store computer programs and other programs and data required by the terminal device. The memory 1005 may also be used to temporarily store data that has been output or is to be output.

[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0135] Example 4

[0136] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above methods are implemented.

[0137] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or the above in a suitable combination, or any other form of computer readable storage medium known in the art.

[0138] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In an embodiment of the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device.

[0139] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for transmitting high-definition video on mobile terminals based on lightweight and scalable super-resolution. It is characterized in that Methods include; Obtaining network status information and mobile receiving end performance information, and determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information; After receiving the request signal, the mobile transmitting end determines the source video resolution according to the request signal and collects the local video frame; Encode the local video frames and transmit the encoded low-resolution video frames to the mobile receiving end using the WebRTC communication protocol; Reconstructing received low-resolution video frames into high-resolution video frames in a super-resolution processor at a mobile receiving end using a scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks, and storing the high-resolution video frames in an SR buffer; The playback buffer of the mobile receiving end extracts high-resolution video frames from the SR buffer for high-resolution video playback.

2. The method for transmitting high-definition video to a mobile terminal based on lightweight and scalable super-resolution according to claim 1, It is characterized in that The method also includes: determining a video reconstruction resolution and a source video resolution based on network status information.

3. The method for transmitting high-definition video to a mobile terminal based on lightweight and scalable super-resolution according to claim 1, It is characterized in that Based on the network status information and the mobile receiving end performance information, the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block are determined as follows: Preconfiguring a group of neural network models, wherein the group of neural network models includes a plurality of neural network models with different numbers of residual convolution blocks and different numbers of channels in each residual convolution block; The number of required residual convolution blocks and the number of channels in each residual convolution block are determined based on network status information and mobile receiving end performance information, and a matching neural network model is selected from the group of neural network models as a scalable super-resolution model.

4. The method for transmitting high-definition video to a mobile terminal based on lightweight and scalable super-resolution according to claim 1, It is characterized in that After obtaining the network status information and the mobile receiving end performance information, and determining the number of residual convolution blocks in the scalable super-resolution model and the number of channels in each residual convolution block based on the network status information and the mobile receiving end performance information, the method further includes: Performing compression optimization processing on the scalable super-resolution model to obtain a processed scalable super-resolution model; Converting the processed scalable super-resolution model into a format to obtain a scalable super-resolution model that conforms to the format of a mobile receiving end; Then use the tensorflow framework to load the scalable super-resolution model that conforms to the format of the mobile receiving end, and load the scalable super-resolution model as an Interpreter class object provided by the tensorflow framework.

5. The method for transmitting high-definition video to a mobile terminal based on lightweight and scalable super-resolution according to claim 1, It is characterized in that The scalable super-resolution model determined by the number of residual convolution blocks and the number of channels in the residual convolution blocks is used to reconstruct the received low-resolution video frames into high-resolution video frames in the super-resolution processor of the mobile receiving end, and store the high-resolution video frames in the SR buffer, specifically: After receiving the low-resolution video frame, the mobile receiving end caches the low-resolution video frame into a receiving buffer; The super-resolution processor uses a determined scalable super-resolution model to sequentially reconstruct low-resolution video frames in the receiving buffer according to a first-in-first-out principle to obtain high-resolution video frames; The high-resolution video frames output by the super-resolution processor are then stored in the SR buffer.

6. A transmission system for the mobile terminal high-definition video transmission method based on lightweight scalable super-resolution according to any one of claims 1 to 5, It is characterized in that The system includes a mobile sending terminal, a mobile receiving terminal and a physical server; A mobile transmitting end, used to receive the request signal, collect and encode the video frames, and send the encoded low-resolution video frames to the mobile receiving end; A mobile receiving end is used to receive low-resolution video frames sent by a mobile sending end, reconstruct the low-resolution video using a scalable super-resolution model, and output a high-resolution video for playback; The physical server is used to process the signaling information of the mobile receiver and the mobile transmitter, as well as to adaptively adjust the video reconstruction resolution level, the residual convolution block and channel number configuration of the scalable super-resolution model, and the source video resolution.

7. The mobile terminal high-definition video transmission system based on lightweight scalable super-resolution according to claim 6, It is characterized in that The mobile receiving end includes a receiving buffer, a super-resolution processor, an SR buffer, a playing buffer and a player. The receiving buffer is used to temporarily store the received low-resolution video frames; the super-resolution processor is used to extract the low-resolution video frames in the receiving buffer, and use the embedded scalable super-resolution model to reconstruct the low-resolution video, and output the reconstructed high-resolution video frames; the SR buffer is used to temporarily store the high-resolution video frames output by the super-resolution processor; the playing buffer is used to extract the high-resolution video frames in the SR buffer and output them to the player for high-resolution video playback.

8. The mobile terminal high-definition video transmission system based on lightweight scalable super-resolution according to claim 6, It is characterized in that The physical server includes a signaling server, a network monitor, and a DRL agent. The signaling server is used to process signaling information of the mobile receiving end and the mobile sending end, including establishing, maintaining, and terminating communication sessions; The network monitor is used to collect the network status information of the mobile receiving end and the mobile sending end in real time, and input the network status information into the DRL agent; The DRL agent adaptively adjusts the video reconstruction resolution level, the residual convolutional blocks and channel number configuration of the scalable super-resolution model, and the source video resolution based on network status information and mobile receiver performance information.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.