Dynamic coding control method and device for one-to-many projection screen and storage medium

By monitoring the communication quality of the receiving end at the sending end and dynamically adjusting the screen projection data encoding, the problem of unbalanced display effect on the one-to-many screen projection is solved, and the user experience is improved.

CN120263992APending Publication Date: 2025-07-04连通达乐股份有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510394768.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In a one-to-many screen casting scenario, due to the different signal strengths between the receiving end devices and the transmitting end devices, the display effect is unbalanced. The prior art adapts to the receiving end devices with weak signals by adjusting the video encoding rate, resulting in a poor display effect of the receiving end devices with good signal strength.

Method used

By regularly monitoring the communication quality parameters of the receiving end at the sending end, dynamically adjusting the encoding method of the screen projection data, encode it for each receiving end or all receiving ends, ensuring the best display effect on each receiving end, and frame abandonment processing is performed for the receiving end with poor long-term communication quality.

Benefits of technology

It realizes dynamic adjustment of the display effect according to the communication quality on different receiving ends, improves the user experience of one-to-many screen projection, and ensures that the receiver with good signal strength can also obtain good display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263992A_ABST
    Figure CN120263992A_ABST
Patent Text Reader

Abstract

The invention relates to a one-to-many screen projection dynamic coding control method and device and a storage medium, the dynamic coding control method is applied to a sending end during one-to-many screen projection, the sending end is in communication connection with a plurality of receiving ends, and the dynamic coding control method comprises the following steps: connecting a data source device, and obtaining screen projection data; acquiring a communication quality parameter once every other preset monitoring period; the communication quality parameters are communication quality parameters of communication connection between the sending end and each receiving end; encoding the screen projection data according to the communication quality parameters to obtain encoded data; and sending the coded data to the receiving end for screen projection display. According to the invention, the data display effects of different receiving ends can be dynamically adjusted according to the quality of wireless communication in the monitoring period, so that the user experience of one-to-many screen projection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention is applicable to the field of wireless communication technologies, and particularly relates to a dynamic encoding control method, device, and storage medium for one-to-many screen mirroring. Background Art

[0002] One-to-many screen mirroring refers to simultaneously transmitting a picture from a sending device to multiple receiving devices, and has wide applications in scenarios such as classroom teaching and business office work. With the development of communication technologies, the connection method between screen mirroring devices is no longer limited to wired connection. Using wireless connection can facilitate the layout of devices, expand the usage scenarios, and optimize the screen mirroring effect.

[0003] However, when connecting the sending and receiving devices through wireless connection, in the scenario of one-to-many screen mirroring, due to the different positions of different receiving devices, the signal strength between them and the sending device will also be different, which will greatly reduce the display effect of one-to-many screen mirroring. In related technologies, by controlling the bit rate of the video encoding transmitted by the sending device to adapt to the receiving device with lower signal strength, but this will make the display effect of other receiving devices with better signal strength worse.

[0004] Therefore, it is necessary to optimize the screen mirroring process in the above scenarios. Summary of the Invention

[0005] The present invention provides a dynamic encoding control method, device, and storage medium for one-to-many screen mirroring, aiming to solve the technical problem that in the existing one-to-many screen mirroring scenario, due to different communication connection qualities, the screen mirroring effects of different receiving ends vary greatly.

[0006] To solve the above technical problem, in a first aspect, the present invention provides a dynamic encoding control method for one-to-many screen mirroring. The dynamic encoding control method is applied to the sending end during one-to-many screen mirroring. The sending end is communicatively connected to multiple receiving ends. The dynamic encoding control method includes the following steps:

[0007] S101. Connect to a data source device and obtain screen mirroring data;

[0008] S102. Obtain a communication quality parameter every preset monitoring period; the communication quality parameter is the communication quality parameter of the communication connection between the sending end and each receiving end;

[0009] S103. Encode the screen mirroring data according to the communication quality parameter to obtain encoded data;

[0010] S104. Send the encoded data to the receiving end for screen mirroring display.

[0011] Furthermore, communication connections are established between the sending end and multiple receiving ends via WiFi. In step S102, the communication quality parameter is at least one of the MCS value or the RSSI value.

[0012] Furthermore, in step S103, if the sending end encodes the screen mirroring data for each receiving end respectively, then step S1031 is executed:

[0013] S1031. Encode the screen mirroring data respectively according to each communication quality parameter to obtain the encoded data with the same number as the number of receiving ends;

[0014] If the sending end encodes the screen mirroring data for all receiving ends simultaneously, then step S1032 is executed:

[0015] S1032. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period and encode the screen mirroring data with it to obtain one encoded data.

[0016] Furthermore, step S102 further includes:

[0017] Compare the communication quality parameters of the same receiving end obtained within different preset monitoring periods. If the communication quality parameter corresponding to the receiving end is lower than the preset quality threshold within multiple preset monitoring periods, then mark a preset label for the communication quality parameter;

[0018] Correspondingly, in step S103, if the sending end encodes the screen mirroring data for all receiving ends simultaneously, then step S1033 is executed:

[0019] S1033. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period except those marked with the preset label and encode the screen mirroring data with it to obtain one encoded data.

[0020] Furthermore, step S104 further includes:

[0021] Determine the corresponding receiving end according to the communication quality parameter with the preset label. When sending the encoded data to the receiving end, perform frame discarding processing on the encoded data.

[0022] Furthermore, in step S103, when encoding the screen mirroring data according to the communication quality parameter, at least one parameter among the frame rate, bit rate, quantization parameter of the key frame, and frequency of the key frame of the screen mirroring data is encoded.

[0023] Second aspect, the present invention further provides a dynamic encoding control device for one-to-many screen mirroring. The dynamic encoding control device is applied to the sending end during one-to-many screen mirroring. The sending end is communicatively connected to a plurality of receiving ends. The dynamic encoding control device includes:

[0024] A signal source module, configured to connect to a data source device and obtain screen mirroring data;

[0025] A monitoring module, configured to obtain communication quality parameters once every preset monitoring period; the communication quality parameters are the communication quality parameters of the communication connection between the sending end and each of the receiving ends;

[0026] An encoding module, configured to encode the screen mirroring data according to the communication quality parameters to obtain encoded data;

[0027] A transmission module, configured to send the encoded data to the receiving end for screen mirroring display.

[0028] Furthermore, the encoding module is further configured to: if the sending end encodes the screen mirroring data for each of the receiving ends respectively, then:

[0029] Encode the screen mirroring data respectively according to each of the communication quality parameters to obtain the same number of encoded data as the number of receiving ends;

[0030] If the sending end encodes the screen mirroring data for all the receiving ends simultaneously, then:

[0031] Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period to encode the screen mirroring data to obtain one encoded data.

[0032] Third aspect, the present invention further provides a dynamic encoding control device for one-to-many screen mirroring, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps in the dynamic encoding control method for one-to-many screen mirroring as described in any one of the above embodiments are implemented.

[0033] Fourth aspect, the present invention further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the dynamic encoding control method for one-to-many screen mirroring as described in any one of the above embodiments are implemented.

[0034] The beneficial effects achieved by the present invention are as follows: a dynamic encoding control method for one-to-many screen mirroring in a wireless communication connection scenario is proposed. This method controls the encoding quality of the screen mirroring data sent from the sender to the receiver by periodically monitoring the communication quality of the sender and the receiver, and further realizes dynamically adjusting the data display effects of different receivers according to the quality of wireless communication during the monitoring period, thereby improving the user experience of one-to-many screen mirroring. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a step flowchart of the dynamic encoding control method for one-to-many screen mirroring provided by an embodiment of the present invention;

[0036] Figure 2 is a schematic structural diagram of the dynamic encoding control device for one-to-many screen mirroring provided by an embodiment of the present invention;

[0037] Figure 3 is a schematic structural diagram of another dynamic encoding control device for one-to-many screen mirroring provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0038] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0039] Please refer to Figure 1 , Figure 1 which is a step flowchart of the dynamic encoding control method for one-to-many screen mirroring provided by an embodiment of the present invention. The dynamic encoding control method is applied to the sender in one-to-many screen mirroring. The sender is communicatively connected to multiple receivers. The dynamic encoding control method includes the following steps:

[0040] S101. Connect to the data source device and obtain the screen mirroring data.

[0041] In an embodiment of the present invention, the sender is connected to the data source device, the receiver is connected to the display device. The data source device is used to output the screen mirroring data, which is uniformly collected by the sender. The connection manner between the sender and the data source device includes but is not limited to a display interface and a data transmission interface. The receiver and the display device can also be connected based on the above manner. It can be understood that, for the sake of integration, the sender can also be integrated into the data source device, and the receiver can be integrated into the display device.

[0042] S102. Obtain the communication quality parameter every other preset monitoring period; the communication quality parameter is the communication quality parameter of the communication connection between the sender and each receiver.

[0043] The preset monitoring period in the embodiments of the present invention can be set according to actual needs. In the embodiments of the present invention, it is mainly used for data transmission adjustment between the sending end and the receiving end within a certain period of time. Therefore, it can be considered that the shorter the preset monitoring period is set, the faster the frequency of data transmission adjustment will be. On the contrary, the longer the preset monitoring period is set, the slower the frequency of data transmission adjustment will be. The preset monitoring period of different lengths can be set in different usage scenarios. For example, for the scenario of screen mirroring and sharing slides, since the slides are static and do not require frequent refreshing of the display content, a relatively long preset monitoring period can be set in such a scenario; while for a video conferencing scenario that requires instant display of video content, the preset monitoring period can be set as short as possible according to the device performance of the sending end.

[0044] The communication connection between the sending end and multiple receiving ends is realized through WiFi. In step S102, the communication quality parameter is at least one of the MCS value or the RSSI value. The MCS value (Modulation and Coding Strategy) is a form of representation used to characterize the network communication rate in a wireless local area network. The network rate configuration is achieved through the MCS value and its index. The MCS value takes the factors affecting the communication rate as the columns of a table and the index of the MCS value as the rows, forming a rate table. Each index corresponds to the physical transmission rate under a set of parameters. The RSSI value (Received Signal Strength Indication) is an index used to measure the relative quality of the received signal, representing the signal strength received by a device from other devices. From the perspective of the computer level, the RSSI value is an important index for the wireless transmission layer to determine the link quality. In the embodiments of the present invention, based on the communication connection between the sending end and the receiving end realized through WiFi, a communication quality parameter acquisition mechanism based on WiFi standard parameters is set. By analyzing the corresponding parameters, the method provided in the embodiments of the present invention can be implemented on existing sending end and receiving end devices that comply with the WiFi standard.

[0045] S103. Encode the screen mirroring data according to the communication quality parameter to obtain encoded data.

[0046] In step S103, when encoding the screen mirroring data according to the communication quality parameter, at least one parameter among the frame rate, bit rate, quantization parameter of the key frame, and frequency of the key frame of the screen mirroring data is encoded. The frame rate and bit rate of the screen mirroring data determine the size of the data bitstream, while the quantization parameter (QP) and frequency of the key frame (I-frame) determine the final screen mirroring display effect. For the quantization parameter, in some scenarios with high requirements for video quality, such as Blu-ray video production, a smaller quantization parameter value is used to ensure the clarity and color restoration of the picture; while for some scenarios with high requirements for storage space or transmission bandwidth, such as network video streams, surveillance video storage, etc., the quantization parameter value may be appropriately increased to reduce the data volume; for the frequency, if the screen mirroring content changes frequently, such as fast-moving pictures, frequent scene switches, etc., in order to ensure video quality, the frequency of the key frame needs to be appropriately increased to better capture and encode the changes in the picture; while for videos with relatively stable and less-changing content, such as static landscape pictures, lectures with a fixed camera position, etc., the frequency of the key frame can be reduced.

[0047] In step S103, if the sending end encodes the screen mirroring data for each receiving end separately, then step S1031 is executed:

[0048] S1031. Encode the screen mirroring data separately according to each communication quality parameter to obtain the encoded data with the same quantity as the number of receiving ends;

[0049] If the sending end encodes the screen mirroring data for all receiving ends simultaneously, then step S1032 is executed:

[0050] S1032. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period and encode the screen mirroring data with it to obtain one encoded data.

[0051] In the above steps, step S1031 is for data encoding for each receiving end separately. In this case, it is required that the sending end has strong encoding performance; while step S2032 is for data encoding for all receiving ends simultaneously. Compared with the implementation method of S1031, its performance requirement for the sending end is lower. During the implementation process, it is set according to the device performance of the sending end and the functions it can specifically implement.

[0052] Objectively speaking, compared with the implementation method of step S1031, the data encoding in step S1032 is encoded with reference to the communication quality parameter with the worst communication connection quality among the communication quality parameters. Therefore, the screen mirroring effect is limited on other receivers with better communication connection quality. For this situation, preferably, step S102 further includes:

[0053] Compare the communication quality parameters of the same receiver obtained within different preset monitoring periods. If the communication quality parameters corresponding to the receiver are lower than the preset quality threshold within multiple preset monitoring periods, mark a preset label on the communication quality parameters;

[0054] The preset quality threshold is set according to the communication connection situation in the actual implementation process, or can be determined according to the minimum transmission requirements in a one-to-many screen mirroring scenario. The setting of multiple preset monitoring periods can also be determined according to the duration of the preset monitoring period. For example, when the time of the preset monitoring period is set shorter, 5 consecutive periods can be set for parameter comparison, and when the time of the preset monitoring period is set longer, 3 consecutive periods can be set for parameter comparison.

[0055] Correspondingly, in step S103, if the sending end encodes the screen mirroring data for all the receivers simultaneously, execute step S1033:

[0056] S1033. According to all the communication quality parameters obtained within the preset monitoring period except those marked with the preset label, select the one with the lowest value among them to encode the screen mirroring data, and obtain one encoded data.

[0057] S104. Send the encoded data to the receiver for screen mirroring display.

[0058] It can be understood that in the method of step S1031, since the data is encoded for each receiver according to the corresponding communication quality parameter, the encoded data displayed on each receiver can have the best display effect that can be achieved under the current connection environment. In contrast, step S1032 is limited on other receivers with better communication connection quality. For this, a preferred solution is proposed in the embodiment of the present invention. When performing step S102, the communication quality parameters corresponding to the receivers with poor communication connection quality for a long time are marked, and the communication quality parameters are not referred to during the data encoding process. In this way, the obtained encoded data can have a better display effect on different receivers.

[0059] Correspondingly, for the receiving end with poor communication connection quality for a long time, it is also required to be able to participate in the one-to-many screen mirroring process. Therefore, step S104 further includes:

[0060] Determine the corresponding receiving end according to the communication quality parameter with the preset label. When sending the encoded data to the receiving end, perform frame discarding processing on the encoded data.

[0061] In the embodiment of the present invention, the existing encoded data is transmitted to the receiving end with poor communication connection quality for a long time for screen mirroring display. Among them, frame discarding processing is performed on the encoded data. This frame discarding process does not cause a large amount of data loss of the encoded data, but is processed according to the lowest requirement for data display that the receiving end can perform. For example, the encoded data originally with 60 frames is reduced to 30 frames by frame discarding for transmission, or the data with 30 frames is reduced to 15 frames by frame discarding for transmission. Such a processing method can reduce the transmission volume while ensuring that the content of the encoded data can still be clearly distinguished to ensure the screen mirroring effect.

[0062] It can be understood that the embodiment of the present invention sets the preset monitoring period to execute the corresponding data encoding and transmission process. Therefore, the data encoding and transmission in the above steps are dynamically executed according to the cycle of the period, so as to achieve controllable one-to-many screen mirroring encoding control.

[0063] The beneficial effect achieved by the present invention is to propose a dynamic encoding control method for one-to-many screen mirroring in a wireless communication connection scenario. This method controls the encoding quality of the screen mirroring data sent from the sending end to the receiving end by periodically monitoring the communication quality of the sending end and the receiving end, and then dynamically adjusts the data display effect of different receiving ends according to the quality of wireless communication in the monitoring period, thereby improving the user experience of one-to-many screen mirroring.

[0064] The embodiment of the present invention also provides a dynamic encoding control device 200 for one-to-many screen mirroring. Please refer to Figure 2 , Figure 2 which is a schematic structural diagram of the dynamic encoding control device for one-to-many screen mirroring provided by the embodiment of the present invention. The dynamic encoding control device 200 is applied to the sending end during one-to-many screen mirroring. The sending end is communicatively connected to multiple receiving ends. The dynamic encoding control device 200 includes:

[0065] A signal source module 201, configured to connect to a data source device and obtain screen mirroring data;

[0066] A monitoring module 202, configured to obtain communication quality parameters once every preset monitoring period; the communication quality parameters are the communication quality parameters of the communication connections between the sending end and each receiving end;

[0067] An encoding module 203, configured to encode the screen mirroring data according to the communication quality parameter to obtain encoded data;

[0068] A transmission module 204, configured to send the encoded data to the receiving end for screen mirroring display.

[0069] Furthermore, the encoding module 203 is further configured to: if the sending end encodes the screen mirroring data for each receiving end respectively, then:

[0070] Encode the screen mirroring data respectively according to each communication quality parameter to obtain the encoded data with the same number as the number of receiving ends;

[0071] If the sending end encodes the screen mirroring data for all receiving ends simultaneously, then:

[0072] Select the one with the lowest value from all the communication quality parameters obtained within the preset monitoring period to encode the screen mirroring data, and obtain one encoded data.

[0073] The one-to-many screen mirroring dynamic encoding control device 200 can implement the steps in the one-to-many screen mirroring dynamic encoding control method in the above embodiment, and can achieve the same technical effect. Refer to the description in the above embodiment, and details are not described herein again.

[0074] An embodiment of the present invention further provides another one-to-many screen mirroring dynamic encoding control device 300. Please refer to Figure 3 , Figure 3 is a schematic structural diagram of the one-to-many screen mirroring dynamic encoding control device 300 provided by an embodiment of the present invention. The one-to-many screen mirroring dynamic encoding control device 300 includes: a memory 302, a processor 301, and a computer program stored on the memory 302 and executable on the processor 301.

[0075] The processor 301 calls the computer program stored in the memory 302 and executes the steps in the one-to-many screen mirroring dynamic encoding control method provided by an embodiment of the present invention. Please refer to Figure 1 , specifically including the following steps:

[0076] S101. Connect to the data source device and obtain the screen mirroring data.

[0077] S102. Obtain the communication quality parameter every other preset monitoring period; the communication quality parameter is the communication quality parameter of the communication connection between the sending end and each receiving end.

[0078] The communication connection between the sending end and the multiple receiving ends is implemented through WiFi. In step S102, the communication quality parameter is at least one of the MCS value or the RSSI value.

[0079] S103. Encode the screen mirroring data according to the communication quality parameter to obtain encoded data.

[0080] In step S103, if the sending end encodes the screen mirroring data for each receiving end respectively, then execute step S1031:

[0081] S1031. Encode the screen mirroring data respectively according to each communication quality parameter to obtain the encoded data with the same quantity as the number of receiving ends;

[0082] If the sending end encodes the screen mirroring data for all receiving ends simultaneously, then execute step S1032:

[0083] S1032. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period and encode the screen mirroring data with it to obtain one encoded data.

[0084] In step S103, when encoding the screen mirroring data according to the communication quality parameter, encode at least one parameter among the frame rate, bit rate, quantization parameter of the key frame, and frequency of the key frame of the screen mirroring data.

[0085] Preferably, step S102 further includes:

[0086] Compare the communication quality parameters of the same receiving end obtained within different preset monitoring periods. If the communication quality parameter corresponding to the receiving end is lower than the preset quality threshold within multiple preset monitoring periods, then mark a preset label for the communication quality parameter;

[0087] Correspondingly, in step S103, if the sending end encodes the screen mirroring data for all receiving ends simultaneously, then execute step S1033:

[0088] S1033. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period except those marked with the preset label and encode the screen mirroring data with it to obtain one encoded data.

[0089] S104. Send the encoded data to the receiving end for screen mirroring display.

[0090] Step S104 further includes:

[0091] When determining the corresponding receiving end according to the communication quality parameter with the preset tag and sending the encoded data to the receiving end, discard-frame processing is performed on the encoded data.

[0092] The one-to-many screen mirroring dynamic encoding control device 300 provided by the embodiments of the present invention can implement the steps in the one-to-many screen mirroring dynamic encoding control method in the above embodiments and can achieve the same technical effects. Referring to the description in the above embodiments, details are not repeated here.

[0093] The embodiments of the present invention further provide a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each process and step in the one-to-many screen mirroring dynamic encoding control method provided by the embodiments of the present invention and can achieve the same technical effects. To avoid repetition, details are not repeated here.

[0094] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0095] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or device. Without further limitations, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or device including that element.

[0096] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiments of the present invention. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present invention and without departing from the spirit and scope protected by the claims of the present invention, can also make many equivalent changes in form, all of which fall within the protection scope of the present invention.

Claims

1. A dynamic coding control method for one-to-many screen mirroring, characterized in that, The dynamic encoding control method is applied to the sending end during one-to-many screen mirroring. The sending end is communicatively connected to multiple receiving ends. The dynamic encoding control method includes the following steps: S101. Connect to the data source device and obtain the screen mirroring data. S102. Obtain the communication quality parameter once every preset monitoring period. The communication quality parameter is the communication quality parameter of the communication connection between the sending end and each receiving end. S103. Encode the screen mirroring data according to the communication quality parameter to obtain encoded data. S104. Send the encoded data to the receiving end for screen mirroring display.

2. The dynamic coding control method for one-to-many screen mirroring according to claim 1, wherein The communication connection between the sending end and the multiple receiving ends is implemented through WiFi. In step S102, the communication quality parameter is at least one of the MCS value or the RSSI value.

3. The dynamic coding control method for one-to-many screen mirroring according to claim 1, wherein In step S103, if the sending end encodes the screen mirroring data for each receiving end separately, then execute step S1031: S1031. Encode the screen mirroring data respectively according to each communication quality parameter to obtain the same number of encoded data as the number of receiving ends. If the sending end encodes the screen mirroring data for all receiving ends simultaneously, then execute step S1032: S1032. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period to encode the screen mirroring data, and obtain one encoded data.

4. The dynamic encoding control method for one-to-many screen mirroring according to claim 1, wherein Step S102 further includes: Compare the communication quality parameters of the same receiving end obtained within different preset monitoring periods. If the communication quality parameter corresponding to the receiving end is lower than the preset quality threshold within multiple preset monitoring periods, then mark a preset label on the communication quality parameter. Correspondingly, in step S103, if the sending end encodes the screen mirroring data for all receiving ends simultaneously, then execute step S1033: S1033. Select the one with the lowest value among all the communication quality parameters obtained within the preset monitoring period except those marked with the preset label to encode the screen mirroring data, and obtain one encoded data.

5. The dynamic coding control method for one-to-many screen mirroring according to claim 4, characterized in that, Step S104 further includes: Determine the corresponding receiving end according to the communication quality parameter with the preset label. When sending the encoded data to the receiving end, perform frame discarding processing on the encoded data.

6. The method for dynamically encoding and controlling one-to-many screen mirroring according to claim 1, wherein In step S103, when encoding the screen mirroring data according to the communication quality parameter, encode at least one parameter among the frame rate, bit rate, quantization parameter of the key frame, and frequency of the key frame of the screen mirroring data.

7. A dynamic coding control device for one-to-many screen mirroring, characterized in that, The dynamic encoding control device is applied to the sending end during one-to-many screen mirroring. The sending end is communicatively connected to multiple receiving ends. The dynamic encoding control device includes: A signal source module, configured to connect to the data source device and obtain the screen mirroring data. A monitoring module, configured to obtain the communication quality parameter once every preset monitoring period. The communication quality parameter is the communication quality parameter of the communication connection between the sending end and each receiving end. An encoding module, configured to encode the screen mirroring data according to the communication quality parameter to obtain encoded data; A transmission module, configured to send the encoded data to the receiving end for screen mirroring display.

8. The dynamic coding control device for one-to-many screen mirroring according to claim 7, wherein The encoding module is further configured to: if the sending end encodes the screen mirroring data for each receiving end respectively, then: Encode the screen mirroring data respectively according to each communication quality parameter to obtain the encoded data with the same quantity as that of the receiving ends; If the sending end encodes the screen mirroring data for all the receiving ends simultaneously, then: Select the one with the lowest value from all the communication quality parameters obtained within the preset monitoring period to encode the screen mirroring data, and obtain one encoded data.

9. A dynamic coding control device for one-to-many screen mirroring, characterized in that, Comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the dynamic encoding control method for one-to-many screen mirroring according to any one of claims 1-6 are implemented.

10. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps in the dynamic encoding control method for one-to-many screen mirroring according to any one of claims 1-6 are implemented.

Citation Information

Cited By

  • Method and device for realizing screen projection control based on WIFI-Display protocol

    CN121531171A