Wireless screen projection method, device and system
By using the display frame rate to determine the transmission cycle and configuring the sleep period during wireless screen projection, the problem of data transmission mismatch in wireless screen projection is solved, achieving orderly data transmission and reduced power consumption, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2020-10-16
- Publication Date
- 2026-06-12
Smart Images

Figure CN116325764B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a wireless screen projection method, apparatus and system. Background Technology
[0002] With the development of communication technology, mobile phones, computers, and other electronic devices can utilize wireless screen mirroring technology, through wireless fidelity (Wi-Fi) networks, to project content displayed on their local screens onto electronic devices with larger displays, such as televisions. This results in better display effects and enhances the user experience for watching movies or playing games.
[0003] Currently, during wireless screen mirroring, electronic devices need to enter sleep mode according to the Wi-Fi sleep cycle. However, electronic devices have a high display frame rate, and the time taken to transmit one frame is short, while the Wi-Fi transmission or sleep cycle is relatively long. If the electronic device enters sleep mode, it will be unable to transmit images according to the display frame rate, affecting the Wi-Fi screen mirroring effect. Therefore, even when there is no data transmission, the electronic device needs to remain in a listening state and cannot enter sleep mode, leading to increased power consumption of the Wi-Fi chip and consequently affecting the lifespan of the Wi-Fi chip. Summary of the Invention
[0004] Embodiments of this application provide a wireless screen projection method, apparatus, and system that can determine the transmission period using the display frame rate and configure a sleep period within the transmission period. Transmitting data according to the transmission period can effectively reduce the power consumption of the Wi-Fi chip.
[0005] In a first aspect, embodiments of this application provide a wireless screen projection method. This method can be executed by a wireless screen projection device or by a component (such as a chip system) within the wireless screen projection device. The method includes: the wireless screen projection device determining the duration of a first transmission cycle based on the display frame rate when displaying an image. The wireless screen projection device and a display device negotiate and determine the temporal resource configuration of the first transmission cycle. The temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period. The first time period is used to send first data to the display device, the second time period is used to receive second data sent by the display device, and the third time period is used for sleep mode. The wireless screen projection device transmits wireless screen projection data to the display device based on the first transmission cycle.
[0006] The first data includes a first image, which may include, for example, a video image, an animated image, or a text file image. The first data may also include control commands sent from the wireless projection device to the display device. The second data includes, for example, data that the display device needs to send back to the wireless projection device after detecting a touch or button operation, and image data collected by the display device. Wireless projection is achieved through the interactive transmission of the first and second data.
[0007] In some embodiments, if the display device does not generate second data, the display device does not need to configure a second time period, or the second time period is configured to zero. After obtaining the first information, the display device determines the remaining time period in the first transmission period as the third time period based on the first transmission cycle and the first time period.
[0008] In this way, during the wireless projection process using the display device, the projection data can be transmitted according to the first transmission cycle, avoiding data loss. The wireless projection device and the display device have the same time-domain resource configuration for the first transmission cycle, thus ensuring that both are in sleep mode during the third time period. Furthermore, there will be no latency issues due to sleep mode, reducing power consumption while improving the user experience.
[0009] In one possible implementation, the wireless projection device and the display device negotiate to determine the time-domain resource configuration of a first transmission cycle, including: the wireless projection device sending first information to the display device, the first information indicating the duration of the first transmission cycle and the duration of a first time period; the wireless projection device receiving second information sent by the display device in response to the first information, the second information indicating the duration of a second time period; and the wireless projection device setting the remaining time period in the first transmission cycle as a third time period based on the duration of the first and second time periods.
[0010] Optionally, the method by which the first information indicates the duration of the first transmission period and the duration of the first time period may include an implicit notification method or an explicit notification method. The implicit notification method includes carrying the duration of the first transmission period and the duration of the first time period within the first information. The explicit notification method includes a pre-configuration information reading method, which directly uses the first information to indicate time-domain resource configuration. For example, if the first information is indication information, after receiving the first information, the display device can determine the duration of the first transmission period and the duration of the first time period indicated in the first information according to a pre-agreed method with the wireless projection device.
[0011] For example, assuming the duration of the first transmission period is 10ms and the duration of the first time segment is 6ms, the first information can be 111111XXXX. Here, each bit is used to represent 1ms, the number of bits occupied by the first information is used to represent the duration of the first transmission period, and a bit value of 1 indicates that it is used to transmit the first data.
[0012] Thus, after receiving the first information, the display device can configure the time domain resources for the remaining time period in the first transmission cycle according to the duration of the first time period.
[0013] Optionally, the method by which the second information indicates the duration of the second time period can include an implicit notification method or an explicit notification method. The implicit notification method includes carrying the duration of the second time period within the second information. The explicit notification method includes a pre-configured information reading method, directly utilizing the second information to indicate time-domain resource configuration. For example, if the second information is an indication, after receiving the second information, the wireless projection device can determine the duration of the second time period indicated in the second information according to a pre-agreed method with the display device.
[0014] For example, assuming the first transmission period is 10ms, the first time interval is 6ms, and the second time interval is 1ms, the second information could be 1111110XXX. Here, a bit value of 0 indicates that it is used to transmit second data.
[0015] Thus, after receiving the second information, the wireless projection device can configure the remaining time period as a third time period for sleep mode, based on the duration of the second time period. Furthermore, through the interaction of the first and second information, it can be ensured that the wireless projection device and the display device determine the same transmission cycle and sleep period.
[0016] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0017] In some embodiments, to achieve wireless screen projection, priority should be given to ensuring that the wireless projection device sends image data to the display device. Therefore, the first time period should be configured first in the first transmission cycle. That is, during the resource configuration process of the first transmission cycle, the first time domain resources are configured as resources for transmitting the first data. Then, the second and third time periods are configured sequentially.
[0018] It is understandable that the duration of the first and second time periods should be shorter than the first transmission cycle.
[0019] In one possible implementation, before the wireless projection device transmits data to the display device based on the first transmission cycle, the method further includes: the wireless projection device sending third information to the display device, the third information being used to instruct the display device to calibrate the time of the display device according to a first time; the first time is determined by the wireless projection device based on the local time and the duration of sending the third information.
[0020] In some embodiments, after the first transmission cycle is configured, if it is necessary to ensure that the wireless projection device and the display device transmit data in real time according to the first transmission cycle, it is necessary to ensure that the time of the wireless projection device and the display device is synchronized. Therefore, before projection begins, the time of the wireless projection device and the display device also needs to be calibrated.
[0021] In this way, time calibration ensures that the local time of the wireless projection device and the display device are the same. Based on the same time and the pre-configured first transmission cycle, the wireless projection device and the display device can achieve real-time Wi-Fi wireless projection, avoiding projection anomalies.
[0022] In some embodiments, the STA in a Wi-Fi network sends beacon frames at fixed intervals for time synchronization. Therefore, the Wi-Fi chip is equipped with a TSF timer for TSF calibration. The TSF timer determines the local time of the wireless projection device. Subsequently, if the local time needs to be transmitted, the device will incur some latency during data transmission. Therefore, the TSF timer needs to determine the initial time based on the current local time of the wireless projection device and the potential latency for future local time transmission, thereby ensuring that the display device obtains an accurate time reference.
[0023] In one possible implementation, the method further includes: the wireless projection device sending third information to the display device according to a second transmission cycle, wherein the second transmission cycle is a beacon cycle.
[0024] In some embodiments, to avoid time misalignment between the wireless projection device and / or the display device due to changes in their local time during screen projection, a second transmission period is configured. During wireless projection, the wireless projection device and the display device perform time calibration according to the second transmission period. For Wi-Fi wireless projection to be implemented, both the wireless projection device and the display device must be connected to the same Wi-Fi network. In the TSF mechanism, the wireless projection device and the display device can achieve time synchronization by periodically sending beacon frames. Therefore, the second transmission period is configured as the period for sending beacon frames.
[0025] In one possible implementation, the method further includes: the wireless projection device performing one or more of the following actions according to a first transmission cycle: sending first data to the display device in a first time period, receiving second data sent by the display device in a second time period, and going into sleep mode in a third time period.
[0026] In this way, data transmission is performed according to the time domain resources of the configured first transmission cycle, which avoids data loss and enables wireless screen projection. Furthermore, it allows for sleep mode within the same time period, reducing the power consumption of the Wi-Fi chip.
[0027] In one possible implementation, the method further includes: the wireless projection device receiving a first request sent by the display device, the first request being a request to sleep, wherein the first request is sent by the display device at any of the following times: at the end of a second time period, after sending the last second data, or at the end of a first time period, after receiving the last first data. In response to the first request, after instructing the display device to sleep, the wireless projection device begins to sleep.
[0028] In some embodiments, the wireless projection device carries a marker in the last first data transmitted, and the display device can confirm that the current data is the last first data based on the marker after receiving the first data.
[0029] In one possible implementation, the method further includes: the wireless projection device receiving a second request sent by the display device, the second request being a request to wake up; the second request being a request sent by the display device after the first transmission cycle ends. In response to the second request, the wireless projection device wakes up the display device and sends first data to the display device.
[0030] Thus, before and after the sleep period, the display device sends a request to the wireless projection device to request sleep or wake-up, thereby ensuring that both the wireless projection device and the display device can simultaneously go to sleep or wake up, thus avoiding data loss. Specifically, the wireless projection device and the display device perform time calibration according to the second transmission cycle, ensuring that between the two time calibration points, the wireless projection device and the display device will not experience transmission abnormalities due to time misalignment.
[0031] In one possible implementation, the duration of the first transmission cycle is sufficient for the wireless projection device to transmit wireless projection data according to the display frame rate.
[0032] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0033] Thus, the wireless projection device determines the first transmission cycle based on the display frame rate of the first image. This ensures that the currently displayed first image can be wirelessly projected correctly.
[0034] Secondly, embodiments of this application provide a wireless screen projection method. This method can be executed by a display device or by a component (such as a chip system) within the display device. The method includes: the display device and the wireless screen projection device negotiating and determining a time-domain resource configuration for a first transmission cycle. The duration of the first transmission cycle is determined by the wireless screen projection device based on the display frame rate when displaying an image. The time-domain resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period. The first time period is used to receive first data sent by the wireless screen projection device; the second time period is determined by the display device to be used to send second data to the wireless screen projection device; and the third time period is used for sleep mode. The display device transmits wireless screen projection data with the wireless screen projection device based on the first transmission cycle and displays the image.
[0035] In one possible implementation, the display device and the wireless projection device negotiate to determine the time-domain resource configuration of the first transmission cycle, including: the display device receiving first information sent by the wireless projection device, the first information indicating the duration of the first transmission cycle and the duration of a first time period; in response to the first information, the display device sending second information to the wireless projection device, the second information indicating the duration of a second time period; and the display device setting the remaining time period in the first transmission cycle as a third time period based on the duration of the first time period and the duration of the second time period.
[0036] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0037] In one possible implementation, before the display device transmits data to the wireless projection device based on the first transmission cycle, the method further includes: the display device receiving third information sent by the wireless projection device to obtain a first time; the display device determining a second time based on the first time and the duration of receiving the third information; and the display device using the second time to calibrate its local time.
[0038] In one possible implementation, the method further includes: the display device receiving third information sent by the wireless projection device according to a second transmission cycle, wherein the second transmission cycle is a beacon cycle.
[0039] In one possible implementation, the method further includes: the display device performing one or more of the following actions according to a first transmission cycle: receiving first data sent by the wireless projection device in a first time period, sending second data to the wireless projection device in a second time period, and going into sleep mode in a third time period.
[0040] In one possible implementation, the method further includes: the display device sending a first request to the wireless projection device, the first request being for requesting to go into sleep mode, the first request being sent at any of the following times: at the end of a second time period, after sending the last second data, or at the end of a first time period, after receiving the last first data. The display device begins to go into sleep mode after determining that the wireless projection device has received the first request.
[0041] In one possible implementation, the method further includes: after the first transmission cycle ends, the display device sends a second request to the wireless projection device, the second request being used to request wake-up. The display device wakes up after determining that the wireless projection device has received the second request and begins receiving the first data.
[0042] In one possible implementation, the duration of the first transmission cycle is such that the display device displays the image according to the display frame rate.
[0043] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0044] Furthermore, the technical effects of the wireless screen projection method described in the second aspect can be referred to the technical effects of the wireless screen projection method described in the first aspect, and will not be repeated here.
[0045] Thirdly, embodiments of this application provide a wireless screen projection device, which may include a processing module and a transceiver module. The processing module is used to determine the duration of a first transmission cycle based on the display frame rate when the wireless screen projection device displays an image. The processing module is also used to negotiate with the display device to determine the temporal resource configuration of the first transmission cycle; wherein the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to send first data to the display device, the second time period is used to receive second data sent by the display device, and the third time period is used for sleep mode. The transceiver module is used to transmit wireless screen projection data with the display device based on the first transmission cycle.
[0046] In one possible implementation, the transceiver module is specifically configured to send first information to the display device, the first information indicating the duration of a first transmission cycle and the duration of a first time period. Furthermore, it receives second information sent by the display device in response to the first information, the second information indicating the duration of a second time period. The processing module is specifically configured to set the remaining time period in the first transmission cycle as a third time period based on the duration of the first time period and the duration of the second time period.
[0047] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0048] In one possible implementation, the transceiver module is also used to send third information to the display device, the third information being used to instruct the display device to calibrate the time of the display device according to the first time.
[0049] In one possible implementation, the first time is determined by the processing module based on the local time and the duration of sending the third information.
[0050] In one possible implementation, the transceiver module is also used to send third information to the display device according to a second transmission cycle, the second transmission cycle being the beacon cycle.
[0051] In one possible implementation, the transceiver module is further configured to perform one or more of the following according to the first transmission cycle: sending first data to the display device in a first time period, receiving second data sent by the display device in a second time period, and going into sleep mode in a third time period.
[0052] In one possible implementation, the transceiver module is further configured to receive a first request sent by the display device, the first request being a request to sleep, the first request being a request sent by the display device at any of the following times: at the end of the second time period, after sending the last second data, or at the end of the first time period, after receiving the last first data; the processor is further configured to respond to the first request by instructing the display device to sleep and then controlling the transceiver module to start sleeping.
[0053] In one possible implementation, the transceiver module is further configured to receive a second request sent by the display device, the second request being a request to wake up; the second request is a request sent by the display device after the first transmission cycle ends. The processing module is further configured to, in response to the second request, wake up the display device and control the transceiver module to send first data to the display device.
[0054] In one possible implementation, the duration of the first transmission cycle satisfies the requirement of transmitting wireless projection data according to the display frame rate.
[0055] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0056] Optionally, the transceiver module may include a sending module and a receiving module. The sending module is used to send wireless projection data to the display device. The receiving module is used to receive the wireless projection data sent by the display device. This application embodiment does not specifically limit the specific implementation of the transceiver module.
[0057] Optionally, the wireless projection device described in the third aspect may further include a storage module storing programs or instructions. When the processing module executes the program or instructions, the wireless projection device described in the third aspect can perform the wireless projection method described in the first aspect.
[0058] It should be noted that the wireless projection device mentioned in the third aspect may be a wireless projection device or a chip (system) or other component or assembly that can be set in the wireless projection device, and this application does not limit it in this regard.
[0059] Furthermore, the technical effects of the wireless projection device described in the third aspect can be referenced from the technical effects of the wireless projection method described in the first aspect, and will not be repeated here.
[0060] Fourthly, embodiments of this application provide a display device, which may include: a transceiver module, a processing module, and a display module. The processing module is used to negotiate and determine the temporal resource configuration of a first transmission cycle with a wireless projection device; wherein the duration of the first transmission cycle is determined by the wireless projection device based on the display frame rate when displaying an image; the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to receive first data sent by the wireless projection device, the second time period is determined by the processing module to be used to send second data to the wireless projection device, and the third time period is used for sleep mode; the transceiver module is used to transmit wireless projection data with the wireless projection device based on the first transmission cycle. The display module is used to display an image based on the wireless projection data.
[0061] In one possible implementation, the transceiver module is specifically configured to receive first information sent by the wireless projection device, the first information indicating the duration of a first transmission cycle and the duration of a first time period. Furthermore, the transceiver module is also configured to send second information to the wireless projection device, the second information indicating the duration of a second time period. The processing module is specifically configured to set the remaining time period in the first transmission cycle as a third time period based on the duration of the first time period and the duration of the second time period.
[0062] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0063] In one possible implementation, the transceiver module is further configured to receive third information sent by the wireless projection device to obtain a first time. Specifically, the transceiver module is configured to determine a second time based on the first time and the duration of receiving the third information; and to calibrate the local time using the second time.
[0064] In one possible implementation, the transceiver module is also used to receive third information sent by the wireless projection device according to a second transmission cycle, where the second transmission cycle is the beacon cycle.
[0065] In one possible implementation, the transceiver module is further configured to perform one or more of the following tasks according to the first transmission cycle: receiving first data sent by the wireless projection device in the first time period, sending second data to the wireless projection device in the second time period, and going into sleep mode in the third time period.
[0066] In one possible implementation, the transceiver module is further configured to send a first request to the wireless projection device. This first request requests a sleep state, and is sent at any of the following times: at the end of a second time period, after sending the last second data, or at the end of the first time period, after receiving the last first data. The transceiver module is also configured to initiate a sleep state after determining that the wireless projection device has received the first request.
[0067] In one possible implementation, the transceiver module is further configured to send a second request to the wireless projection device after the first transmission cycle ends, the second request being used to request wake-up. The transceiver module is also configured to wake up the wireless projection device after determining that the second request has been received, and to begin receiving the first data.
[0068] In one possible implementation, the duration of the first transmission cycle is such that the display module displays the image according to the display frame rate.
[0069] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0070] Optionally, the transceiver module may include a receiving module and a sending module. The receiving module is used to receive wireless projection data sent by the wireless projection device. The sending module is used to send wireless projection data to the wireless projection device. This application embodiment does not specifically limit the specific implementation of the transceiver module.
[0071] Optionally, the display device described in the fourth aspect may further include a storage module storing programs or instructions. When the processing module executes the program or instructions, the display device described in the fourth aspect can perform the wireless screen projection method described in the second aspect.
[0072] It should be noted that the display device described in the fourth aspect may be a display device or a chip (system) or other component or assembly that may be disposed in the display device, and this application does not limit it in this regard.
[0073] Furthermore, the technical effects of the display device described in the fourth aspect can be referred to the technical effects of the wireless projection method described in the first aspect, and will not be repeated here.
[0074] Fifthly, embodiments of this application provide a wireless screen projection device, which may include a processor and a transceiver. The processor is configured to: determine the duration of a first transmission cycle based on the display frame rate when the wireless screen projection device displays an image; and determine the temporal resource configuration of the first transmission cycle through negotiation with the display device; wherein the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, the first time period being used to send first data to the display device, the second time period being used to receive second data sent by the display device, and the third time period being used for sleep mode. The transceiver is configured to transmit wireless screen projection data with the display device based on the first transmission cycle.
[0075] In one possible implementation, the transceiver is specifically configured to: send first information to a display device, the first information indicating the duration of a first transmission cycle and the duration of a first time period; receive second information sent by the display device in response to the first information, the second information indicating the duration of a second time period; and a processor is specifically configured to set the remaining time period in the first transmission cycle as a third time period based on the duration of the first time period and the duration of the second time period.
[0076] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0077] In one possible implementation, the transceiver is also used to send third information to the display device, the third information being used to instruct the display device to calibrate its time according to a first time; the first time is determined by the transceiver based on its local time and the duration of sending the third information.
[0078] In one possible implementation, the transceiver is also used to send third information to the display device according to a second transmission cycle, which is a beacon cycle.
[0079] In one possible implementation, the transceiver is further configured to receive a first request sent by the display device, the first request being a request to sleep, wherein the first request is sent by the display device at any of the following times: at the end of a second time period, after sending the last second data, or at the end of a first time period, after receiving the last first data. The processor is further configured to, in response to the first request, instruct the display device to sleep and then control the transceiver to sleep.
[0080] In one possible implementation, the transceiver is further configured to receive a second request sent by the display device, the second request being a request to wake up; the second request is a request sent by the display device after the first transmission cycle has ended. The processor is further configured to, in response to the second request, wake up the display device and control the transceiver to send first data to the display device.
[0081] In one possible implementation, the duration of the first transmission cycle is sufficient for the transceiver to transmit wireless projection data according to the display frame rate.
[0082] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0083] Furthermore, the technical effects of the wireless projection device described in the fifth aspect can be referred to the technical effects of the wireless projection method described in the first aspect, and will not be repeated here.
[0084] Sixthly, embodiments of this application provide a display device, which may include: a processor, a transceiver, and a display screen. The processor is configured to negotiate and determine a time-domain resource configuration for a first transmission cycle with a wireless projection device; the duration of the first transmission cycle is determined by the wireless projection device based on the display frame rate when displaying an image; the time-domain resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to receive first data sent by the wireless projection device, the second time period is determined by the processor to be used to send second data to the wireless projection device, and the third time period is used for sleep mode. The transceiver is configured to transmit wireless projection data with the wireless projection device based on the first transmission cycle. The display screen is configured to display an image based on the wireless projection data.
[0085] In one possible implementation, the transceiver is specifically configured to: receive first information sent by the wireless projection device, the first information indicating the duration of a first transmission cycle and the duration of a first time period; send second information to the wireless projection device, the second information indicating the duration of a second time period; and the processor is specifically configured to set the remaining time period in the first transmission cycle as a third time period based on the duration of the first time period and the duration of the second time period.
[0086] In one possible implementation, the first time period, the second time period, and the third time period are configured sequentially in the first transmission cycle.
[0087] In one possible implementation, the transceiver is also configured to receive third information sent by the wireless projection device to obtain a first time; and to determine a second time based on the first time and the duration of receiving the third information; and to calibrate the local time using the second time.
[0088] In one possible implementation, the transceiver is also used to receive third information sent by the wireless projection device according to a second transmission cycle, the second transmission cycle being a beacon cycle.
[0089] In one possible implementation, the transceiver is further configured to send a first request to the wireless projection device, the first request being a request to sleep mode, and the first request being sent at any of the following times: at the end of a second time period, after sending the last second data, or at the end of a first time period, after receiving the last first data. The processor is further configured to control the transceiver to sleep mode after determining that the wireless projection device has received the first request.
[0090] In one possible implementation, the transceiver is further configured to send a second request to the wireless projection device after the first transmission cycle ends, the second request being a wake-up request. The processor is further configured to wake up the transceiver after determining that the wireless projection device has received the second request, and control the transceiver to receive the first data.
[0091] In one possible implementation, the duration of the first transmission cycle is such that the display screen displays the image according to the display frame rate.
[0092] In one possible implementation, the first transmission cycle is the reciprocal of the display frame rate.
[0093] Furthermore, the technical effects of the display device described in the sixth aspect can be referred to the technical effects of the wireless projection method described in the second aspect, and will not be repeated here.
[0094] In a seventh aspect, embodiments of this application provide a wireless screen projection device, comprising: a processor and a memory. The memory is used to store a computer program. The processor is used to execute the computer program stored in the memory, causing the wireless screen projection device to perform the methods described in the first and second aspects above, and any possible implementation thereof.
[0095] Eighthly, embodiments of this application provide a wireless screen projection device, which includes a processor and an interface circuit. The interface circuit is used to receive code instructions and transmit them to the processor. The processor is used to execute the code instructions to perform the methods described in the first and second aspects above, and any possible implementation thereof.
[0096] Ninthly, embodiments of this application provide a wireless projection device, which can be a chip system including a processor and a memory, for implementing the functions described in the first and second aspects above, and any possible implementation thereof. The chip system can be composed of chips or may include chips and other discrete devices.
[0097] In a tenth aspect, embodiments of this application provide a wireless screen projection device, which can be a circuit system including a processing circuit configured to perform the methods described in the first and second aspects above, and any possible implementation thereof.
[0098] Eleventhly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed, cause the methods described in the first and second aspects above, and any possible implementation thereof, to be implemented.
[0099] In a twelfth aspect, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods described in the first and second aspects above, and any possible implementation thereof.
[0100] In a thirteenth aspect, embodiments of this application provide a chip comprising: a processor and an interface circuit. The interface circuit is configured to receive code instructions and transmit them to the processor. The processor is configured to execute the code instructions to perform the methods described in the first and second aspects above, and any possible implementation thereof.
[0101] In a fourteenth aspect, embodiments of this application provide a wireless projection system, including a wireless projection device and a display device. The wireless projection device can be used to implement the method described in the first aspect and any of its possible implementations. The display device can be used to implement the method described in the second aspect and any of its possible implementations. Attached Figure Description
[0102] Figure 1A This is a schematic diagram of the communication system provided in an embodiment of this application;
[0103] Figure 1B A schematic diagram illustrating an application scenario of the wireless screen projection method provided in this application embodiment;
[0104] Figure 1C This application provides an illustration of an application scenario for the wireless screen projection method. Figure 2 ;
[0105] Figure 2 A schematic diagram of the communication device provided in the embodiments of this application is shown below;
[0106] Figure 3 A schematic diagram of the frame structure of a prior art wireless screen projection method provided for embodiments of this application;
[0107] Figure 4 A schematic diagram of the frame structure of the prior art wireless screen projection method provided in the embodiments of this application. Figure 2 ;
[0108] Figure 5A A schematic flowchart of the wireless screen projection method provided in this application embodiment is shown below;
[0109] Figure 5B Flowchart of the wireless screen projection method provided in the embodiments of this application Figure 2 ;
[0110] Figure 6 A schematic diagram of the frame structure of the wireless screen projection method provided in this application embodiment;
[0111] Figure 7 Flowchart of the wireless screen projection method provided in the embodiments of this application Figure 3 ;
[0112] Figure 8 This is a schematic diagram of the Wi-Fi chip structure and message structure provided in the embodiments of this application;
[0113] Figure 9 Frame structure diagram of the wireless screen projection method provided in the embodiments of this application Figure 2 ;
[0114] Figure 10 This is a schematic diagram of the structure of the wireless screen projection device provided in the embodiments of this application;
[0115] Figure 11 This is a schematic diagram of the structure of the display device provided in the embodiments of this application. Detailed Implementation
[0116] The following description, in conjunction with the accompanying drawings, details a wireless screen projection method, apparatus, and system provided in the embodiments of this application.
[0117] First, for ease of understanding, the relevant terms and concepts that may be involved in the embodiments of this application will be introduced below.
[0118] (1) Display frame rate
[0119] The display frame rate (also known as the rate of view) represents the frequency at which images, measured in frames, appear continuously on a display screen, measured in Hertz (Hz). Specifically, the display frame rate describes the number of images displayed per second by an electronic device. For example, a display frame rate of 40Hz means that the electronic device displays 40 images per second.
[0120] The display frame rate also indicates the smoothness of the screen displayed on an electronic device. The higher the frame rate, the smoother the picture and the more realistic the display effect. Generally, games or movies have a higher frame rate, while presentations in meetings or offices have a lower frame rate.
[0121] (2) Timer synchronization function (TSF)
[0122] The wireless LAN standard defines the data interaction mode between wireless access points (APs) and stations (STAs). Each electronic device connected to the wireless network can be considered a station. In low-power Wi-Fi systems, if there is no data transmission between the AP and the STA, the STA enters low-power mode. The protocol uses the TSF (Time Synchronization Frame) mechanism to ensure time synchronization between the AP and the STA. Specifically, the AP needs to periodically send beacon frames, and the STA needs to periodically wake up to receive these beacon frames. The STA initializes its TSF timer and uses beacon frames to inform other AP devices of its local time, and sets the timestamp for sending beacon frames to achieve time synchronization.
[0123] For example, in a Wi-Fi network, the STA's transmission or sleep cycle is typically 100ms. In low-power mode, the STA sends a beacon frame every 100ms for time synchronization. Therefore, the display frame rate of an electronic device generally cannot be aligned with the Wi-Fi sleep cycle. For instance, if the electronic device's display frame rate is 30Hz, the time to transmit one image is approximately 33.33ms, which is not doubled with 100ms. If the electronic device goes to sleep according to the Wi-Fi sleep cycle, it will be unable to transmit images according to the display frame rate.
[0124] Figure 1A This is a schematic diagram of a communication system used in an embodiment of the wireless screen projection method provided in this application. Figure 1A As shown, the communication system includes a wireless projection device 100 and a display device 200. The wireless projection device 100 and the display device 200 can be connected via a wireless network, such as a Wi-Fi network.
[0125] In some embodiments, the wireless projection device 100 transmits the content displayed on its screen to the display device 200 via a Wi-Fi network, whereby the display device 200 displays the content. That is, during wireless projection, the content displayed on the wireless projection device 100 and the display device 200 is the same.
[0126] Optionally, the aforementioned wireless projection device 100 may include, for example, mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), in-vehicle devices, user terminals (UTs), user devices (UDs), user equipment (UEs), artificial intelligence (AI) devices, and other terminal devices with image display capabilities. This application embodiment does not impose any restrictions on the specific type of the wireless projection device 100.
[0127] Optionally, the display device 200 mentioned above may include, for example, a laptop computer, a large-screen display device (such as a smart screen), a projection device, an AI device, a tablet computer, or other terminal devices capable of large-screen display functions. This application embodiment does not impose any restrictions on the specific type of the display device 200.
[0128] In some wireless screen mirroring scenarios, such as Figure 1B As shown, the wireless screen mirroring device 100 is used for screen mirroring of games, movies, and other content with high display frame rates. For example, if the current display frame rate is above 60Hz. Figure 1B In the scenario shown, the wireless projection device 100 is a mobile phone, and the display device 200 is a television. During wireless projection, the wireless projection device 100 transmits the currently displayed content as first data to the display device 200 via a Wi-Fi network for display. Furthermore, the first data also includes control commands sent by the wireless projection device 100 to the display device after detecting user clicks on the screen, buttons, or the game controller / remote control 101. For example, operations... Figure 1B Commands such as jumping gestures for the character shown are displayed. Optionally, during wireless projection, the display device 200 may also send second data to the wireless projection device 100. For example, the second data may include image data captured by the display device 200 through the camera 201. Alternatively, the second data may also include commands such as pause detected by the display device 200 through the touchscreen.
[0129] In some other wireless screen mirroring scenarios, such as Figure 1C As shown, the wireless screen projection device 100 is used for screen projection in meetings, office work, and other situations with low display frame rates. For example, the current display frame rate is below 20Hz. Figure 1CIn the scenario shown, the wireless projection device 100 is a laptop computer, and the display device 200 is a projector. Similarly, during wireless projection, the wireless projection device 100 sends first data to the display device 200. For example, the wireless projection device 100 displays the text content on a large screen using the display device 200. Optionally, in this scenario, the display device 200 receives and displays the first data but does not send second data to the wireless projection device 100.
[0130] Optionally, the wireless projection device 100 and display device 200 in this embodiment can be implemented using different devices. For example, the wireless projection device 100 and display device 200 in this embodiment can be implemented using... Figure 2 This is achieved through communication devices within the system. For example... Figure 2 As shown, the communication device 200 includes at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204. The memory 203 may also be included within the processor 201.
[0131] The processor 201 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0132] Communication line 202 may be a circuit that interconnects the above components and transmits information between the above components.
[0133] Communication interface 204 is used for communicating with other devices. In this embodiment, communication interface 204 may be a module, circuit, bus, interface, transceiver, or other device capable of communication functions, used for communicating with other devices. Optionally, when communication interface 204 is a transceiver, the transceiver may be a separately configured transmitter used to send information to other devices, or it may be a separately configured receiver used to receive information from other devices. The transceiver may also be a component that integrates sending and receiving information functions; this embodiment does not limit the specific implementation of the transceiver.
[0134] Memory 203 can be volatile memory or non-volatile memory, or may include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM), or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory 203 may exist independently and be connected to processor 201 via communication line 202. Memory 203 may also be integrated with processor 201.
[0135] The memory 203 stores computer execution instructions for implementing the scheme of this application, and its execution is controlled by the processor 201. The processor 201 executes the computer execution instructions stored in the memory 203, thereby implementing the method for determining parameters provided in the following embodiments of this application.
[0136] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0137] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, instructions, computer program or other names, and the embodiments of this application do not specifically limit them.
[0138] In a specific implementation, as one embodiment, the processor 201 may include one or more CPUs, for example... Figure 2CPU0 and CPU1 in the CPU.
[0139] In a specific implementation, as one example, the communication device 200 may include multiple processors, such as... Figure 2 Processors 201 and 207 are described herein. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0140] In a specific implementation, as one embodiment, the communication device 200 may further include an output device 205 and an input device 206. The output device 205 communicates with the processor 201 and can display information in various ways. For example, the output device 205 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 206 communicates with the processor 201 and can receive user input in various ways. For example, the input device 206 may be a mouse, keyboard, touchscreen device, or sensing device, etc.
[0141] It should be noted that the aforementioned communication device 200 can be a general-purpose device or a special-purpose device, and the embodiments of this application do not limit the type of the communication device. Figure 2 The structure of the communication device 200 shown does not constitute a limitation on the communication device. Actual communication devices may include more or fewer components than those shown, or combine certain components, or have different component arrangements. The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0142] The following describes the application of the above. Figure 1B and Figure 1C In two wireless screen projection scenarios, the wireless screen projection method between the wireless screen projection device and the display device is described.
[0143] In such Figure 1B In scenarios with high display frame rates, the best screen mirroring experience is achieved by disabling low-power features. For example... Figure 3As shown, in time units 1 and 2, the wireless projection device sends first data to the display device, and in time unit 3, the display device sends second data to the wireless projection device. Wireless projection is achieved through data interaction. When there is no first or second data, the wireless projection device and the display device are in a listening state, such as in time units 7 and 8, to monitor whether the first or second data will be available in the next time unit, thus preventing data loss. Although the current wireless projection method provides users with a good wireless projection experience, the electronic device still needs to remain in a listening state during time units without data transmission, preventing it from going to sleep mode. This results in higher power consumption for the Wi-Fi chip, affecting its lifespan.
[0144] In such Figure 1C In the low display frame rate scenario shown, setting a sleep period can reduce the power consumption of the electronic device's Wi-Fi chip. For example... Figure 4 As shown, after receiving the first data sent by the wireless projection device in time unit 6, the display device confirms that it no longer needs to transmit the first or second data, and enters a listening state in time unit 7. A preset time threshold for maintaining the listening state is set, assumed to be one time unit. After confirming that the listening time meets the time threshold requirement, the display device enters a sleep state and notifies the wireless projection device that it will no longer receive the first data, thereby reducing power consumption. This notification can be implemented as a power save notification. Subsequently, after the display device is woken up, it sends a notification to the wireless projection device. Only then can the wireless projection device continue to send the first data. Figure 4 As shown, because the wireless projection device can only continue sending the first data in response to a notification from the display device, a delay occurs in the transmission of the first data, such as delays in time units 11 and 12. This results in a slow projection update response from the wireless projection device, affecting the user experience.
[0145] Based on this, this application proposes a wireless screen projection method that ensures that both the wireless projection device and the display device enter sleep mode when no data is being transmitted during wireless projection, thereby reducing power consumption. Furthermore, it avoids latency issues caused by sleep mode, improving the user experience.
[0146] Figure 5A This is a flowchart illustrating the wireless screen projection method provided in an embodiment of this application. Figure 5A As shown, the method includes S501-S503:
[0147] S501 The wireless projection device determines the duration of the first transmission cycle based on the display frame rate when displaying the image.
[0148] The display frame rate represents the rate at which the wireless projection device displays the first image. The first time period is the period within the first transmission cycle used to send the first data to the display device. The first transmission cycle can also be described as a video service period (VSP). The first data includes the first image, which may include, for example, a video image, an animated image, or a text file image. The first data may also include control commands sent by the wireless projection device to the display device.
[0149] Optionally, before initiating wireless screen mirroring, the wireless mirroring device needs to determine the first transmission cycle. The duration of this first transmission cycle must be sufficient for the wireless mirroring device to transmit data according to the display frame rate; that is, the current first transmission cycle must be sufficient to display the first image on the display device according to the display frame rate. Specifically, the first transmission cycle is the reciprocal of the display frame rate. For example, the wireless mirroring device determines that the current display frame rate for the first image is 40Hz. Then, based on the current display frame rate, the wireless mirroring device determines the duration of the first transmission cycle to be 25ms.
[0150] Optionally, the wireless projection device determines the time domain resources used to transmit the first data, i.e., determines the first time period, based on factors such as the display frame rate and screen resolution when displaying the image. Subsequently, the wireless projection device uses the image data transmitted to the display device during the first time period to enable the display device to display the first image according to the display frame rate, thus achieving projection display.
[0151] In some embodiments, to achieve wireless screen projection, priority should be given to ensuring that the wireless projection device sends image data to the display device. Therefore, the first time period should be configured first in the first transmission cycle. That is, during the resource configuration process of the first transmission cycle, the earlier time domain resources will be configured as resources for transmitting the first data.
[0152] For example, assuming a display frame rate of 100Hz, the wireless projection device determines the first transmission cycle to be 10ms based on the display frame rate. Figure 6 As shown, the first transmission cycle consists of 10 time units, with each time unit lasting 1ms. The wireless projection device determines that transmitting the first data requires 6ms, which is equivalent to 6 time units. Therefore, time units 1 to 6 are configured as the first time period.
[0153] It should be noted that the duration of the first time segment is shorter than the first transmission cycle. The first data can also be described as downlink (DL) data, and the first time segment can also be described as the DL duration.
[0154] S502, The wireless projection device and the display device negotiate to determine the time domain resource configuration for the first transmission cycle.
[0155] Optionally, after determining the duration of the first transmission cycle, the wireless projection device can only determine the time-domain resource configuration for transmitting the first data based on its own device capabilities, but it cannot determine the time-domain resources required by the display device. Therefore, the wireless projection device needs to negotiate with the display device to determine the configuration of other time-domain resources in the first transmission cycle. Subsequently, the wireless projection device and the display device can transmit data according to the same time-domain resource configuration, avoiding data loss and realizing wireless projection.
[0156] Optional, such as Figure 5B As shown, step S502 can be specifically implemented as steps S5021-S5024.
[0157] S5021. The wireless projection device sends first information to the display device, the first information being used to indicate the duration of the first transmission cycle and the duration of the first time period.
[0158] Optionally, the display device has not yet confirmed the display frame rate before starting screen projection. Therefore, the wireless projection device needs to inform the display device of the duration of the first transmission cycle. Furthermore, the wireless projection device informs the display device of the first time segment configured within the first transmission cycle, and subsequently, the display device receives the first data sent by the wireless projection device within the determined first time segment according to the first transmission cycle, thus achieving screen projection. Further, the display device can configure the remaining time domain resources in the first transmission cycle based on the first time segment.
[0159] Optionally, the method by which the first information indicates the duration of the first transmission period and the duration of the first time period may include an implicit notification method or an explicit notification method. An implicit notification method, for example, includes carrying information about the duration of the first transmission period and the duration of the first time period within the first information. An explicit notification method, for example, includes a pre-configuration information reading method, directly using the first information to indicate time-domain resource configuration. For instance, if the first information is indicative information, after receiving the first information, the display device can determine the duration of the first transmission period and the duration of the first time period indicated in the first information according to a pre-agreed method with the wireless projection device.
[0160] For example, assuming the duration of the first transmission period is 10ms and the duration of the first time segment is 6ms, the first information can be 111111XXXX. Here, each bit is used to represent 1ms, the number of bits occupied by the first information is used to represent the duration of the first transmission period, and a bit value of 1 indicates that it is used to transmit the first data.
[0161] S5022. The display device determines a second time period for sending second data during a time period other than the first time period in the first transmission cycle, based on the first information.
[0162] Optionally, the display device determines a second time period for transmitting the second data. This second data may include, for example, data that the display device needs to send back to the wireless projection device after detecting a touch or button operation, or image data collected by the display device. Then, the display device configures the second time period during the remaining time period of the first transmission cycle. That is, the display device sets the duration of the second time period based on its own device configuration and data transmission requirements. Furthermore, the display device can also configure the time periods in the first transmission cycle other than the first and second time periods as a third time period for sleep mode. In other words, the first, second, and third time periods are configured sequentially.
[0163] For example, such as Figure 6 As shown, the display device determines that transmitting the second data requires 1ms, or one time unit of time domain resources, and configures time unit 7 as the second time period. Furthermore, it determines that the remaining time units 8-10 in the first transmission cycle are configured as the third time period.
[0164] In some embodiments, if the display device does not generate second data, the display device does not need to configure a second time period, or the second time period is configured to zero. After obtaining the first information, the display device determines the remaining time period in the first transmission period as the third time period based on the first transmission cycle and the first time period.
[0165] It should be noted that the second data can also be described as uplink (UL) data, and the second time period can also be described as a UL duration. Furthermore, the duration of the first and second time periods is shorter than the first transmission cycle.
[0166] S5023. The display device sends a second message to the wireless projection device, the second message indicating the duration of the second time period.
[0167] Optionally, the display device uses the second information to inform the wireless projection device of the configured second time period. Subsequently, the wireless projection device receives the second data sent by the display device during the determined second time period according to the first transmission cycle, thereby realizing information interaction.
[0168] Optionally, the method by which the second information indicates the duration of the second time period can include an implicit notification method or an explicit notification method. An implicit notification method, for example, includes including the duration of the second time period within the second information. An explicit notification method, for example, includes a pre-configuration information reading method, directly using the second information to indicate time-domain resource configuration. For instance, if the second information is an indication, after receiving the second information, the wireless projection device can determine the duration of the second time period indicated in the second information according to a pre-agreed method with the display device.
[0169] For example, assuming the first transmission period is 10ms, the first time interval is 6ms, and the second time interval is 1ms, the second information could be 1111110XXX. Here, a bit value of 0 indicates that it is used to transmit second data.
[0170] S5024. The wireless projection device determines the time period other than the first and second time periods in the first transmission cycle as the third time period based on the first time period and the second time period. The third time period is the sleep period.
[0171] Optionally, after determining the first and second time periods, the wireless projection device may determine the remaining time-domain resources in the first transmission cycle as the third time period. For example, such as... Figure 6 As shown, the display device can determine the same first transmission cycle time domain resource configuration as the wireless projection device. Therefore, the wireless projection device and the display device can subsequently utilize the same first transmission cycle resources to achieve wireless projection, avoiding data loss due to asymmetric time domain resource information.
[0172] In some embodiments, in step S5023 above, the second information may also be used to indicate the duration of the third time period configured by the display device. Therefore, after receiving the second information, the wireless projection device can directly determine the complete temporal resource configuration of the first transmission cycle based on the second information, eliminating the need for the wireless projection device to repeatedly configure the third time period and improving the resource configuration efficiency of the first transmission cycle.
[0173] In other embodiments, the second information is used to indicate the second and third time periods. The wireless projection device determines whether there are any anomalies in the resource configuration of the first transmission cycle based on the configuration of the second and third time periods. If there are no anomalies, the first data is transmitted. This further ensures that the resource configuration of the first transmission cycle is the same for both the wireless projection device and the display device, thereby guaranteeing normal projection.
[0174] S503, The wireless projection device transmits wireless projection data to the display device based on the first transmission cycle.
[0175] Optionally, the wireless projection device performs one or more of the following actions according to the first transmission cycle: sending first data to the display device in the first time period, receiving second data sent by the display device in the second time period, and going into sleep mode in the third time period.
[0176] For example, if the display device does not send the second data, the wireless projection device sends the first data in the first time period according to the first transmission cycle, and goes into sleep mode in the third time period, so as to realize the display of the first image using the display device and realize Wi-Fi wireless projection.
[0177] In this way, the wireless projection device and the display device perform Wi-Fi wireless projection according to the first transmission cycle, which can ensure projection at the display frame rate of the wireless projection device while achieving sleep mode in the third time period. This avoids latency caused by sleep mode and improves the user experience. Furthermore, while ensuring the user experience, it saves power consumption and increases the lifespan of the Wi-Fi chip.
[0178] Optionally, after the first transmission cycle configuration is completed, if it is necessary to ensure that the wireless projection device and the display device transmit data in real time according to the first transmission cycle, it is necessary to ensure that the time of the wireless projection device and the display device is synchronized. Therefore, before starting projection, it is also necessary to synchronize and calibrate the time of the wireless projection device and the display device. That is, a time calibration step should be included before step S503. Figure 7 This is a schematic flowchart illustrating another wireless screen projection method provided in an embodiment of this application. Figure 7 As shown, before step S503, the wireless projection device and the display device perform time calibration through steps S701-S703. In this embodiment, the calibration is based on the time of the wireless projection device, and the display device is calibrated according to the time of the wireless projection device.
[0179] S701 The wireless projection device determines the first time based on the local time and the duration of sending third information.
[0180] The first time is determined by the wireless projection device based on its local time and the duration of sending the third information. The third information is used to instruct the display device to calibrate its time according to the first time.
[0181] For example, such as Figure 8 As shown, the wireless projection device is equipped with a Wi-Fi chip. Based on the above description of TSF technology, in a Wi-Fi network, the STA (Stationary Asynchronous Unit) sends beacon frames at fixed intervals for time synchronization. Therefore, the Wi-Fi chip is equipped with a TSF timer for TSF calibration. The TSF timer determines the local time of the wireless projection device. Subsequently, if the local time needs to be transmitted, the device will incur some latency during data transmission. Therefore, the TSF timer needs to determine the initial time based on the current local time of the wireless projection device and the potential latency for transmitting the local time in the future, thereby ensuring that the display device obtains an accurate time reference.
[0182] S702, The wireless projection device sends third information to the display device, which instructs the display device to calibrate its time according to the first time.
[0183] The third piece of information can be implemented as a message, in which the wireless projection device carries the first time information, thereby enabling the first time information to be sent to the display device.
[0184] For example, such as Figure 8 As shown, this application embodiment provides a message structure including a message header and the message itself. The message header information includes a physical preamble and a media access control address (MAC) header. The MAC header includes a destination address and a source address. Furthermore, the message structure also includes a frame check sequence (FCS) for determining whether an error has occurred in the current frame. The wireless projection device carries a first time event in the MAC header, transmitting the first time event to the display device via the message.
[0185] S703. The display device determines a second time based on the first time and the duration of receiving the third information, and uses the second time to calibrate the local time.
[0186] Optionally, the display device obtains the first information upon receiving the third information. For example... Figure 8 As shown, the display device also incurs a certain amount of time consumption during the transmission path when receiving the third information. Therefore, the TSF timer needs to determine a second time for time calibration based on the first time and the time consumed in transmitting the third information, and then calibrate the local time according to the second time. For example, after receiving a message sent by the wireless projection device, the display device parses the first time carried in the message and uses the first time to calibrate the local time.
[0187] For example, the TSF timer in the wireless projection device determines the local time to be 5:00, and the transmission duration of the third information is 1 minute, thus determining the first time as 5:01. The wireless projection device uses the third information to transmit the first time to the display device. After receiving the third information, the TSF timer in the display device determines the first time to be 5:01, and the transmission duration of the third information is 2 minutes, thus determining the second time as 5:03. The local time is then corrected to 5:03.
[0188] In this way, time calibration ensures that the local time of the wireless projection device and the display device are the same. Based on the same time and the pre-configured first transmission cycle, the wireless projection device and the display device can achieve real-time Wi-Fi wireless projection, avoiding projection anomalies.
[0189] Optionally, to avoid time misalignment between the wireless projection device and / or the display device due to changes in their local time during the projection process, a second transmission cycle is configured. During the wireless projection process, i.e., during the execution of step S503, the wireless projection device and the display device perform time calibration according to the second transmission cycle. Figure 7 As shown, the time calibration process also includes step S704.
[0190] S704. The wireless projection device cycles through steps S701-S703 according to the second transmission cycle to calibrate the time of the display device.
[0191] Optionally, to achieve Wi-Fi wireless screen mirroring, the wireless mirroring device and the display device must be connected to the same Wi-Fi network. As described above regarding TSF technology, the wireless mirroring device and the display device can achieve time synchronization by periodically sending beacon frames. Therefore, the second transmission cycle is configured as the beacon sending cycle. That is, the second transmission cycle is the beacon cycle, utilizing the time calibration cycle in the Wi-Fi network to achieve time calibration between the wireless mirroring device and the display device. Thus, the third information is implemented as a beacon frame.
[0192] Thus, by calibrating the wireless projection device and the display device according to the preset transmission cycle, it is ensured that no abnormalities due to time misalignment occur during Wi-Fi wireless projection. Furthermore, this enables the synchronization accuracy of the wireless projection device and the display device to reach the μs level, improving the transmission efficiency during Wi-Fi wireless projection.
[0193] Optionally, the wireless projection device and the display device perform time calibration according to the second transmission cycle to ensure that the wireless projection device and the display device do not experience transmission abnormalities due to time misalignment between the two time calibration points. Before and after the sleep period, the display device sends a request to the wireless projection device to request sleep or wake-up, thereby ensuring that the wireless projection device and the display device can simultaneously sleep or wake up, thus avoiding data loss during transmission.
[0194] In some embodiments, the wireless projection device receives a first request from the display device, the first request being a request to go into sleep mode. The first request is sent by the display device at any of the following times: at the end of a second time period, after sending the last second data, or at the end of a first time period, after receiving the last first data. In response to the first request, the wireless projection device initiates sleep mode and instructs the display device to go into sleep mode. Optionally, the wireless projection device carries a marker in the last first data it sends, and the display device, upon receiving the first data, can confirm that the current data is the last first data based on the marker.
[0195] For example, such as Figure 6 As shown, after time unit 7 ends, the display device sends a first request to the wireless projection device. Upon receiving the first request, the wireless projection device checks if it is currently at the end of the second time period and will then enter the third time period. If the time is confirmed to be normal, in response to the first request, both the wireless projection device and the display device enter a sleep state to reduce power consumption.
[0196] In some embodiments, the wireless projection device receives a second request sent by the display device, the second request being a request to wake up. The second request is sent by the display device after the first transmission cycle has ended. In response to the second request, the wireless projection device wakes up the display device and sends first data to the display device.
[0197] For example, such as Figure 6 As shown, after time unit 10 ends, the display device sends a second request to the wireless projection device. Upon receiving the second request, the wireless projection device checks if it is currently at the end of the third time period and then ends its sleep state. If the time is confirmed to be normal, in response to the second request, both the wireless projection device and the display device enter a wake-up state to ensure normal data transmission for the next cycle.
[0198] Optionally, during Wi-Fi wireless screen projection, the temporal resources of the first transmission cycle may change due to factors such as variations in the display frame rate. Therefore, a preset period is configured, and the wireless projection device and display device confirm whether the resource configuration of the first transmission cycle has changed and whether reconfiguration of the first transmission cycle is necessary. And / or, after determining that the display frame rate has changed, the wireless projection device notifies the display device to reconfigure the temporal resources of the first transmission cycle. The method for reconfiguring the temporal resources of the first transmission cycle is the same as the method for configuring the temporal resources of the first transmission cycle, as detailed in the above steps, and will not be repeated here.
[0199] For example, such as Figure 9 As shown in (a), during the process of determining the time domain resources of the first transmission cycle according to a preset period, the wireless projection device determines a change in the first time period at VSP_n+2, reducing it from 6 time units to 5 time units. The wireless projection device then notifies the display device to reconfigure the first transmission cycle. Figure 9 As shown in (a), after the first transmission cycle is reconfigured, starting from VSP_n+2, the first time period is time unit 1-time unit 5, the second time period is time unit 6, and the third time period is time unit 7-time unit 10.
[0200] For example, such as Figure 9As shown in (b), after VSP_n+1 ends, the wireless projection device confirms that the display frame rate has increased. Based on the changed display frame rate, it then re-determines the first transmission cycle to be 9 time units and the first time segment to be 4 time units. Furthermore, the wireless projection device needs to notify the display device to reconfigure the first transmission cycle. Figure 9 As shown in (b), after the first transmission cycle is reconfigured, starting from VSP_n+2, the first time period is time unit 1-time unit 4, the second time period is time unit 5, and the third time period is time unit 6-time unit 9.
[0201] In this way, during Wi-Fi wireless screen projection, the time domain resource configuration of the first transmission cycle is updated according to the preset cycle to avoid transmission abnormalities caused by changes in display frame rate and other conditions.
[0202] The above mainly describes the solution provided by the embodiments of this application from the perspective of interaction between network elements. It is understood that each network element, such as a wireless projection device and a display device, includes corresponding hardware structures and / or software modules to perform the above functions. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0203] This application embodiment can divide an electronic device into functional modules based on the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. These functional modules can be implemented in hardware or software. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may exist in actual implementation. The following description uses the division of functional modules according to corresponding functions as an example.
[0204] When using integrated modules, Figure 10 Figure (a) shows a possible structural schematic diagram of the wireless projection device involved in the above embodiments. The wireless projection device 1000 can be a wireless projection device or a chip built into a wireless projection device. The wireless projection device 1000 includes: a processing module 1001, a transmitting module 1002 and a receiving module 1003.
[0205] The processing module 1001 is used to support the wireless projection device 1000 in executing one or more steps S501 and S5024 in the above embodiments; and / or, the processing module 1001 is also used to support the wireless projection device 1000 in executing other steps executed by the wireless projection device in the embodiments of this application.
[0206] The sending module 1002 is used to support the wireless screen projection device 1000 in performing one or more steps S502, S503, and S5021 in the above embodiments. And / or, the sending module 1002 is also used to support the wireless screen projection device 1000 in performing other steps performed by the wireless screen projection device in the embodiments of this application.
[0207] The receiving module 1003 is used to support the wireless projection device 1000 in performing one or more steps S502, S503, and S5023 in the above embodiments. And / or, the receiving module 1003 is also used to support the wireless projection device 1000 in performing other steps performed by the wireless projection device in the embodiments of this application.
[0208] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0209] Based on hardware implementation Figure 10 The processing module 1001 involved in the wireless projection device 1000 shown in (a) can be implemented by a processor or processor-related circuit components, and can be a processor or processing unit. The transmitting module 1002 can be a transmitter, and the receiving module 1003 can be a receiver. The transmitting module 1002 and the receiving module 1003 can be combined into a transceiver unit. The transceiver unit can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or transceiver unit. The transceiver can also be called a communication interface or transceiver.
[0210] Optional, in practical applications, such as Figure 10 As shown in (b), the processing module 1001 is typically integrated into a system-on-chip (SOC) 1004. The transmitting module 1002 and the receiving module 1003 are integrated into a Wi-Fi chip 1005.
[0211] In some embodiments, the Wi-Fi chip 1005 may also integrate some functions of the processing module 1001. The Wi-Fi chip 1005 is used to support the wireless projection device 1000 in executing steps S701, S702, S703 and S704 in the above embodiments.
[0212] Optional, Figure 10The wireless projection device 1000 shown in (a) may also include a storage module. Figure 10 (not shown in (a)) This storage module stores a program or instruction. When the processing module executes the program or instruction, it causes... Figure 10 The wireless projection device 1000 shown in (a) can perform... Figure 5A , Figure 5B and Figure 7 The wireless screen mirroring method is shown.
[0213] Figure 10 The technical effects of the wireless projection device 1000 shown in (a) or (b) can be referenced. Figure 5A , Figure 5B and Figure 7 The technical effects of the wireless screen projection method shown will not be elaborated here.
[0214] When using integrated modules, Figure 11 Figure (a) shows a possible structural schematic diagram of the display device involved in the above embodiments. The display device 1100 can be a display device or a chip built into a display device. The display device 1100 includes: a processing module 1101, a receiving module 1102 and a transmitting module 1103.
[0215] The processing module 1101 is used to support the display device 1100 in executing step S5022 in the above embodiments; and / or, the processing module 1101 is also used to support the display device 1100 in executing other steps executed by the display device in the embodiments of this application.
[0216] The receiving module 1102 is used to support the display device 1100 in performing one or more steps S502, S503, and S5021 in the above embodiments. And / or, the receiving module 1102 is also used to support the display device 1100 in performing other steps performed by the display device in the embodiments of this application.
[0217] The sending module 1103 is used to support the display device 1100 in performing one or more steps S502, S503, and S5023 in the above embodiments. And / or, the sending module 1103 is also used to support the display device 1100 in performing other steps performed by the display device in the embodiments of this application.
[0218] Optionally, the display device 1100 may also include a display module for displaying images based on wireless projection data.
[0219] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.
[0220] Based on hardware implementation Figure 11 The processing module 1101 involved in the display device 1100 shown in (a) can be implemented by a processor or processor-related circuit components, and can be a processor or processing unit. The receiving module 1102 can be a transmitter, and the transmitting module 1103 can be a receiver. The receiving module 1102 and the transmitting module 1103 can be combined into a transceiver unit. The transceiver unit can be implemented by a transceiver or transceiver-related circuit components, and can be a transceiver or transceiver unit. The transceiver can also be called a communication interface or transceiver.
[0221] Optional, in practical applications, such as Figure 11 As shown in (b), the processing module 1101 is typically integrated into the SOC chip 1104. The receiving module 1102 and the transmitting module 1103 are integrated into a Wi-Fi chip 1105.
[0222] In some embodiments, the Wi-Fi chip 1105 may also integrate some functions of the processing module 1101. The Wi-Fi chip 1105 is used to support the display device 1100 in performing steps S701, S702, S703 and S704 in the above embodiments.
[0223] Optional, Figure 11 The display device 1100 shown in (a) may further include a storage module. Figure 11 (not shown in (a)) This storage module stores a program or instruction. When the processing module executes the program or instruction, it causes... Figure 11 The display device 1100 shown in (a) can perform Figure 5A , Figure 5B and Figure 7 The wireless screen mirroring method is shown.
[0224] Figure 11 The technical effects of the display device 1100 shown in (a) or (b) can be referenced. Figure 5A , Figure 5B and Figure 7 The technical effects of the wireless screen projection method shown will not be elaborated here.
[0225] This application provides an information transmission system, including a wireless projection device and a display device. The wireless projection device is the transmitting end device, and the display device is the receiving end device.
[0226] Among them, the wireless projection device is used to perform Figure 5A Steps S501, S502, and S503, and / or steps used to perform Figure 5B One or more of steps S5021, S5023, and S5024, and / or steps used for execution Figure 7One or more of steps S701, S702 and S704, and / or other processes for performing the techniques described herein.
[0227] The display device is used to perform Figure 5A Steps S502 and S503, and / or steps for performing Figure 5B One or more of steps S5021, S5022, and S5023, and / or steps used for execution Figure 7 One or more of steps S702, S703 and S704, and / or other processes for performing the techniques described herein.
[0228] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding electronic device, and will not be repeated here.
[0229] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.
[0230] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0231] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application does not specifically limit the type of memory or the arrangement of the memory and processor.
[0232] For example, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system-on-a-chip (SoC), a Wi-Fi chip, a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0233] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0234] Embodiments of this application also provide a storage medium for storing instructions used by the aforementioned wireless projection device.
[0235] This application also provides a computer-readable storage medium storing computer-readable instructions, which, when read and executed by a computer, cause the computer to perform the method in any of the above method embodiments.
[0236] Embodiments of this application also provide a computer program product, such as a computer-readable storage medium, including a program designed for performing the steps executed by the wireless projection device in the above embodiments.
[0237] The steps of the methods or algorithms described in this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from 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 reside in an application-specific integrated circuit (ASIC).
[0238] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.
[0239] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0240] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0241] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0242] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A wireless screen projection device, characterized in that, include: Processor, used for: The duration of the first transmission cycle is determined based on the display frame rate when the wireless projection device displays the image. The duration of the first transmission cycle is sufficient for the transceiver to transmit wireless projection data according to the display frame rate. The temporal resource configuration of the first transmission cycle is determined through negotiation with the display device; wherein the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to send first data to the display device, the second time period is used to receive second data sent by the display device, and the third time period is used for sleep mode; wherein the duration of the first transmission cycle and / or the temporal resource configuration of the first transmission cycle varies based on the change of the display frame rate; The transceiver is used to transmit wireless screen projection data to the display device based on the first transmission cycle.
2. The apparatus according to claim 1, characterized in that, The transceiver is specifically used for: Send first information to the display device, the first information being used to indicate the duration of the first transmission cycle and the duration of the first time period; The display device receives a second message in response to the first message, the second message indicating the duration of the second time period; The processor is specifically configured to set the remaining time period in the first transmission cycle as the third time period based on the duration of the first time period and the duration of the second time period.
3. The apparatus according to claim 1 or 2, characterized in that, In the first transmission cycle, the first time period, the second time period, and the third time period are configured sequentially.
4. The apparatus according to any one of claims 1-3, characterized in that, The transceiver is further configured to send third information to the display device, the third information being used to instruct the display device to calibrate its time according to a first time; the first time is determined by the transceiver based on its local time and the duration of sending the third information.
5. The apparatus according to claim 4, characterized in that, The transceiver is also used to send the third information to the display device according to a second transmission cycle, wherein the second transmission cycle is a beacon cycle.
6. The apparatus according to any one of claims 1-5, characterized in that, The transceiver is also configured to receive a first request sent by the display device, the first request being a request to sleep, the first request being a request sent by the display device at any of the following times: at the end of the second time period, after sending the last second data, or at the end of the first time period, after receiving the last first data; The processor is further configured to, in response to the first request, instruct the display device to go into sleep mode, and then control the transceiver to go into sleep mode.
7. The apparatus according to any one of claims 1-6, characterized in that, The transceiver is also configured to receive a second request sent by the display device, the second request being a request to wake up; the second request is a request sent by the display device after the first transmission cycle ends; The processor is further configured to, in response to the second request, wake up the display device and control the transceiver to send the first data to the display device.
8. The apparatus according to claim 1, characterized in that, The first transmission period is the reciprocal of the display frame rate.
9. A display device, characterized in that, include: A processor is configured to negotiate with a wireless projection device to determine a temporal resource configuration for a first transmission cycle; wherein the duration of the first transmission cycle is determined by the wireless projection device based on the display frame rate when displaying an image; the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to receive first data sent by the wireless projection device, the second time period is a time period determined by the processor to send second data to the wireless projection device, and the third time period is used for sleep mode; wherein the duration of the first transmission cycle and / or the temporal resource configuration of the first transmission cycle varies based on changes in the display frame rate; A transceiver is used to transmit wireless screen projection data with the wireless screen projection device based on the first transmission cycle. The display screen is used to display images based on the wireless projection data, wherein the duration of the first transmission cycle satisfies the requirement that the display screen displays the images according to the display frame rate.
10. The apparatus according to claim 9, characterized in that, The transceiver is specifically used for: Receive first information sent by the wireless projection device, the first information being used to indicate the duration of the first transmission cycle and the duration of the first time period; Send a second message to the wireless projection device, the second message indicating the duration of the second time period; The processor is specifically configured to set the remaining time period in the first transmission cycle as the third time period based on the duration of the first time period and the duration of the second time period.
11. The apparatus according to claim 9 or 10, characterized in that, In the first transmission cycle, the first time period, the second time period, and the third time period are configured sequentially.
12. The apparatus according to any one of claims 9-11, characterized in that, The transceiver is also used to receive third information sent by the wireless projection device to obtain a first time; and to determine a second time based on the first time and the duration of receiving the third information. Use the second time to calibrate the local time.
13. The apparatus according to claim 12, characterized in that, The transceiver is also used to receive the third information sent by the wireless projection device according to a second transmission cycle, wherein the second transmission cycle is a beacon cycle.
14. The apparatus according to any one of claims 9-13, characterized in that, The transceiver is also used to send a first request to the wireless projection device. The first request is used to request sleep mode. The first request is sent at any of the following times: at the end of the second time period, after sending the last second data, or at the end of the first time period, after receiving the last first data. The processor is further configured to control the transceiver to go into sleep mode after determining that the wireless projection device has received the first request.
15. The apparatus according to any one of claims 9-14, characterized in that, The transceiver is also used to send a second request to the wireless projection device after the first transmission cycle ends, the second request being used to request wake-up; The processor is further configured to wake up the transceiver after determining that the wireless projection device has received the second request, and control the transceiver to receive the first data.
16. The apparatus according to claim 9, characterized in that, The first transmission period is the reciprocal of the display frame rate.
17. A wireless screen projection method, characterized in that, include: The wireless projection device determines the duration of the first transmission cycle based on the display frame rate when displaying the image. The duration of the first transmission cycle satisfies the requirement that the wireless projection device transmits wireless projection data according to the display frame rate. The wireless projection device and the display device negotiate to determine the temporal resource configuration of the first transmission cycle; wherein, the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to send first data to the display device, the second time period is used to receive second data sent by the display device, and the third time period is used for sleep mode; wherein, the duration of the first transmission cycle and / or the temporal resource configuration of the first transmission cycle varies based on the change of the display frame rate; The wireless projection device transmits wireless projection data to the display device based on the first transmission cycle.
18. The method according to claim 17, characterized in that, The wireless projection device and the display device negotiate to determine the time-domain resource configuration for the first transmission cycle, including: The wireless projection device sends first information to the display device, the first information being used to indicate the duration of the first transmission cycle and the duration of the first time period; The wireless projection device receives a second message sent by the display device in response to the first message, the second message indicating the duration of the second time period; The wireless projection device sets the remaining time period in the first transmission cycle as the third time period based on the duration of the first time period and the duration of the second time period.
19. The method according to claim 17 or 18, characterized in that, In the first transmission cycle, the first time period, the second time period, and the third time period are configured sequentially.
20. The method according to any one of claims 17-19, characterized in that, Before the wireless projection device transmits data to the display device based on the first transmission cycle, the method further includes: The wireless projection device sends a third message to the display device, the third message being used to instruct the display device to calibrate its time according to a first time; the first time is determined by the wireless projection device based on its local time and the duration of sending the third message.
21. The method according to claim 20, characterized in that, The method further includes: The wireless projection device sends the third information to the display device according to a second transmission cycle, where the second transmission cycle is the beacon cycle.
22. The method according to claim 17, characterized in that, The first transmission period is the reciprocal of the display frame rate.
23. A wireless screen projection method, characterized in that, include: The display device and the wireless projection device negotiate to determine the temporal resource configuration of the first transmission cycle; wherein, the duration of the first transmission cycle is determined by the wireless projection device based on the display frame rate when displaying the image; the temporal resources of the first transmission cycle are configured to include a first time period, a second time period, and a third time period, wherein the first time period is used to receive first data sent by the wireless projection device, the second time period is a time period determined by the display device to send second data to the wireless projection device, and the third time period is used for sleep mode; wherein, the duration of the first transmission cycle and / or the temporal resource configuration of the first transmission cycle varies based on the change of the display frame rate; The display device transmits wireless projection data to the wireless projection device based on the first transmission cycle and displays the image. The duration of the first transmission cycle is such that the display device displays the image according to the display frame rate.
24. The method according to claim 23, characterized in that, The display device and the wireless projection device negotiate and determine the time-domain resource configuration for the first transmission cycle, including: The display device receives first information sent by the wireless projection device, the first information being used to indicate the duration of the first transmission cycle and the duration of the first time period; In response to the first information, the display device sends a second information to the wireless projection device, the second information indicating the duration of the second time period; The display device sets the remaining time period in the first transmission cycle as the third time period based on the duration of the first time period and the duration of the second time period.
25. The method according to claim 23 or 24, characterized in that, In the first transmission cycle, the first time period, the second time period, and the third time period are configured sequentially.
26. The method according to any one of claims 23-25, characterized in that, Before the display device transmits data with the wireless projection device based on the first transmission cycle, the method further includes: The display device receives the third information sent by the wireless projection device and obtains the first time. The display device determines the second time based on the first time and the duration of receiving the third information; The display device uses the second time to calibrate its local time.
27. The method according to claim 26, characterized in that, The method further includes: The display device receives the third information sent by the wireless projection device according to a second transmission cycle, where the second transmission cycle is the beacon cycle.
28. The method according to claim 23, characterized in that, The first transmission period is the reciprocal of the display frame rate.
29. A computer-readable storage medium, characterized in that, Includes a program or instructions that, when executed, implement the method as claimed in any one of claims 17 to 22, or implement the method as claimed in any one of claims 23 to 28.