A smart home device display control method based on the Internet of Things
Patent Information
- Application Number
- CN202611127289.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-11-03
AI Technical Summary
In existing smart home devices, the high-frequency transmission of the MIPI bus and the wireless radio frequency communication suffer from bidirectional coupling interference, which leads to instability and reduced reliability of display and communication. In particular, under high refresh rate display and dynamic UI rendering conditions, problems such as packet loss, delay, disconnection in wireless communication and screen flickering and stuttering are likely to occur.
A bidirectional collaborative scheduling architecture for the display subsystem and the wireless communication subsystem is constructed. Through forward interference avoidance links and reverse adaptive adaptation links, key task information is acquired in real time and parameters are encapsulated to generate communication forecast signals. The bus transmission timing of the display driver module is adjusted, and the display status and channel signal-to-noise ratio of the wireless communication module are combined for comprehensive judgment. The communication parameters are adaptively adjusted to reduce electromagnetic interference.
It improves the display stability and IoT communication reliability of smart home devices. By using differentiated control strategies to balance the display effect and communication reliability of the devices, it solves the problems of one-way control of display and communication and electromagnetic interference in traditional devices.
Smart Images

Figure CN123035211A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home technology, and more specifically, to a display control method for smart home devices based on the Internet of Things. Background Technology
[0002] Existing smart home control devices generally integrate MIPI display subsystems and Wi-Fi / Zigbee wireless communication subsystems. The devices are small in size and have a compact hardware layout, but the electromagnetic interference generated by the high-frequency transmission of the MIPI bus and the wireless radio frequency communication have bidirectional coupling interference problems.
[0003] Conventional devices rely solely on single communication anti-interference or fixed display parameter adjustment methods, failing to achieve bidirectional collaborative adaptation between display and communication. Furthermore, under conditions of high refresh rate display and dynamic UI rendering, wireless communication is prone to packet loss, delay, and disconnection. During critical communication transmission and reception periods, issues such as screen flickering, stuttering, and jitter can occur, affecting the display stability of smart home devices and the reliability of IoT data transmission.
[0004] Therefore, this invention proposes a display control method for smart home devices based on the Internet of Things (IoT) to improve the display stability of smart home devices and the reliability of IoT communication. Summary of the Invention
[0005] In view of the aforementioned problem of electromagnetic interference generated by high-frequency bus transmission and bidirectional coupling interference in wireless radio frequency communication, and in conjunction with the first aspect of the present invention, embodiments of the present invention provide a display control method for smart home devices based on the Internet of Things, the method comprising: Construct a bidirectional collaborative scheduling architecture between the display subsystem and the wireless communication subsystem, and execute the forward interference avoidance link and the reverse adaptive adaptation link in parallel. In the forward interference avoidance link, key transmit and receive task information is acquired and parameters are encapsulated to generate a communication warning signal including operation type, expected duration and interference sensitivity level. The communication forecast signal is sent to the display driver module, which then performs differentiated adjustment of the bus transmission timing based on the interference sensitivity level of the communication forecast signal. In the reverse adaptive adaptation link, the screen operation data of the display driver module is obtained in real time, and the screen operation data is used to identify and determine the display status of the screen. The status will be sent to the wireless communication module to match the interference conditions. The system will also make a comprehensive judgment based on the wireless communication strength and channel signal-to-noise ratio parameters to obtain the current communication environment quality. Based on the current communication environment quality, the system will adaptively adjust the communication transmission power, modulation method, and non-urgent task scheduling timing.
[0006] Based on the above aspects, compared with the prior art, the present invention has the following beneficial effects: This solution constructs a dual-link parallel bidirectional collaborative scheduling architecture, in which forward interference avoidance links prioritize communication display timing, and reverse adaptive link adaptation adapts communication parameters to display operating conditions. This solves the problems of unidirectional control of display and communication and bidirectional electromagnetic interference in traditional devices, thereby improving the stability of device operation. At the same time, through multi-dimensional parameter quantification and classification, combined with differentiated control strategies, it balances device display effect and communication reliability. Attached Figure Description
[0007] Figure 1 This is a flowchart illustrating the steps of a smart home device display control method based on the Internet of Things according to the present invention. Detailed Implementation
[0008] The present invention will be further described in detail below through specific embodiments. The following embodiments are merely descriptive and not limiting, and should not be used to limit the scope of protection of the present invention.
[0009] like Figure 1 As shown, a smart home device display control method based on the Internet of Things includes the following steps: Step S1: Construct a bidirectional collaborative scheduling architecture between the display subsystem and the wireless communication subsystem, and execute the forward interference avoidance link and the reverse adaptive adaptation link in parallel.
[0010] Step S1 includes: Step S1-1: Build a cross-subsystem message channel in the embedded RTOS and construct a bidirectional collaborative scheduling architecture.
[0011] Specifically, through the inter-task communication mechanism of the RTOS kernel, a dedicated bidirectional message queue and synchronization semaphore are independently initialized. The communication endpoints of the MIPI display driver task thread and the wireless communication protocol stack task thread are registered and bound respectively. A fixed message frame format, transmission priority, and microsecond-level timeout response mechanism are configured. Cross-subsystem data interaction is carried out based on the shared memory ring buffer to build a cross-subsystem message channel. Through the established message channel, the display timing scheduling logic and the wireless communication task scheduling logic are integrated to unify the scheduling timing benchmark and task priority mechanism of the two subsystems. Forward and reverse link scheduling resources are divided to build a bidirectional collaborative scheduling architecture.
[0012] It should be noted that the message channel supports microsecond-level data transmission and command interaction, enabling real-time data communication, status synchronization, and command scheduling between display driver tasks and wireless communication protocol stack tasks, providing a hardware and software adaptation foundation for subsequent dual-link parallel operation and bidirectional collaborative control.
[0013] In some possible embodiments, taking a smart home central control screen device as an example, the device is equipped with an embedded RTOS, and the system background builds an independent message queue as a cross-subsystem message channel, which is respectively bound to the MIPI display driver task thread and the Wi-Fi communication task thread. The two subsystems can send and receive status data and scheduling instructions in real time through this message queue.
[0014] Steps S1-2 involve parallel execution of forward interference avoidance links and reverse adaptive adaptation links based on a bidirectional collaborative scheduling architecture to reduce bidirectional electromagnetic interference between the display subsystem and the wireless communication subsystem.
[0015] The forward interference avoidance link is a communication-priority active control link used to reduce electromagnetic interference received by the wireless communication subsystem, and the reverse adaptive adaptation link is a display condition adaptation control link used to reduce electromagnetic interference caused by the display subsystem.
[0016] Specifically, based on the established bidirectional collaborative scheduling architecture, two independent control links are simultaneously activated. The forward interference avoidance link, based on the communication priority active control logic, focuses on the stability of wireless communication tasks and reduces electromagnetic interference from the display bus to wireless communication by dynamically avoiding display timing issues. The reverse adaptive adaptation link, on the other hand, adopts display condition adaptation control logic, based on the real-time operating conditions of the screen, and dynamically corrects the wireless communication strategy to reduce dynamic electromagnetic interference caused by different display states. The two links operate in parallel, without interfering with each other, and complement each other, thereby specifically solving the problem of bidirectional electromagnetic coupling interference of the equipment.
[0017] For example, in the smart home central control screen scenario mentioned above, during device operation, the background simultaneously starts two control links. The forward link monitors Wi-Fi communication tasks in real time and controls the MIPI display bus to avoid peak traffic when the device receives gateway Beacon signals and reports sensor data. The reverse link monitors the central control screen's screen refresh and UI rendering status in real time and dynamically adjusts the Wi-Fi communication power and modulation method according to the screen's operating conditions. Through bidirectional collaboration, the screen display and wireless communication avoid mutual interference.
[0018] Step S2: In the forward interference avoidance link, acquire key transmit and receive task information and encapsulate parameters to generate a communication warning signal including operation type, expected duration and interference sensitivity level.
[0019] Step S2 includes: Step S2-1: Obtain key transceiver task information of the wireless communication module, and extract the operation type from the key transceiver task information.
[0020] It should be noted that the wireless communication module in this embodiment is a physical execution unit of the wireless communication subsystem.
[0021] Specifically, during the operation of the forward interference avoidance link, service task data of the wireless communication module is collected in real time, and key transceiver task information sensitive to electromagnetic interference is filtered out, including four types of tasks: Beacon signal reception, ACK response waiting, IoT sensor data reporting, and device control command transmission and reception. At the same time, the collected raw data of key tasks is parsed. The specific parsing process includes reading the task identifier field, data frame type field, and service command code field from the raw data packet of the wireless communication task, and matching the read field information with the system's preset standard task command code library one by one. Among them, matching the network heart skip frame identifier determines it as a Beacon reception operation, matching the ACK response instruction code determines it as an ACK response waiting operation, matching the sensor data upload frame identifier determines it as a sensor data reporting operation, and matching the device control command frame identifier determines it as a device command transmission and reception operation. The communication operation type corresponding to each task is extracted through field matching and identification.
[0022] It should be noted that the specific construction process of the system standard task instruction code library includes: according to the smart home IoT communication protocol stack, organizing all communication frame formats and service instruction sets for regular device interactions; extracting the unique frame header identifiers, function codes, instruction numbers, and data segment characteristics of network key jump frames, response receipt frames, sensor data upload frames, and device control instruction frames defined in the Wi-Fi / Zigbee communication specification; binding, classifying, and archiving the unique identifier fields, instruction codes, and frame characteristics corresponding to various key communication tasks one by one; removing redundant and invalid frame characteristic data; and storing them in the read-only memory of the embedded system to form the standard task instruction code library.
[0023] In some possible embodiments, during daily operation, the smart home control screen continuously collects communication task data packets from the Wi-Fi module, reads the frame type and instruction code fields within the data packets, and matches and parses them with a preset instruction code library. When a network key jump frame field is identified, the communication operation type is determined to be Beacon signal reception; when a device response receipt instruction code is identified, it is determined to be an ACK response waiting operation; when a sensor data upload exclusive frame identifier is identified, it is determined to be a sensor data reporting operation; when a smart home linkage control instruction frame is identified, it is determined to be a device control instruction sending and receiving operation. Corresponding task information is collected in real time, and various communication operation types are extracted.
[0024] For example, the 0x0001 field of the Wi-Fi gateway periodic broadcast frame header is bound to the Beacon signal receiving task, the 0x0002 TCP acknowledgment instruction code is bound to the ACK acknowledgment waiting task, the 0x0003 sensor data upload frame identifier is bound to the sensor data reporting task, and the 0x0004 smart home device control instruction frame header is bound to the device instruction sending and receiving task. When the device is running, it continuously captures the data packets received and sent by the Wi-Fi module, and parses the frame header and function code fields frame by frame. When the system captures a gateway light-on control data packet carrying a 0x0004 frame header, it matches it with the preset instruction code library to determine that the current communication operation type is device instruction sending and receiving; when a 0x0001 broadcast frame is captured, it is determined to be Beacon signal receiving, etc.
[0025] Step S2-2: Classify and label all critical transmission and reception task information, including three levels of interference sensitivity: high interference sensitivity, medium interference sensitivity, and low interference sensitivity.
[0026] Specifically, by extracting the communication operation types and combining them with the tolerance of various tasks to electromagnetic interference, all critical transceiver tasks are differentiated and labeled, thus dividing them into three levels of interference sensitivity: high, medium, and low. Among them, critical transceiver tasks with high requirements for real-time and accuracy of communication, where even slight interference can cause task failure, are labeled as high-sensitivity tasks; critical transceiver tasks with a certain tolerance to interference, where slight interference only reduces transmission efficiency, are labeled as medium-sensitivity tasks; and critical transceiver tasks with low requirements for real-time and stability and strong anti-interference capabilities are labeled as low-sensitivity tasks.
[0027] It should be noted that ACK response waiting and device command transmission and reception tasks will experience command timeouts and response failures if interfered with. Therefore, these critical transmission and reception tasks are marked as high interference sensitivity level. Sensor data reporting tasks will only cause data reporting delays if slightly interfered with. Therefore, sensor data reporting tasks are marked as medium interference sensitivity level. Regular Beacon signal reception tasks have strong anti-interference capabilities, and short-term interference will not affect the device's network status. Therefore, regular Beacon signal reception tasks are marked as low interference sensitivity level.
[0028] For example, continuing from step S2-1, sensitivity levels are assigned based on the service attributes and anti-interference capabilities of the command codes corresponding to various communication tasks. The ACK response waiting task (command code 0x0002) and the device command transmission and reception task (command code 0x0004) have extremely high real-time and reliability requirements; even slight electromagnetic interference can cause response timeouts and command execution failures, thus they are marked as high interference sensitivity. The sensor data reporting task (command code 0x0003) allows for short-term data delays; slight interference will only cause reporting timing delays and will not affect the core functions of the device, thus it is marked as medium interference sensitivity. The conventional Beacon signal reception task (command code 0x0001) is a device network heartbeat monitoring task; it has strong anti-interference fault tolerance, and short-term interference will not cause serious problems such as network outages or offline status, thus it is marked as low interference sensitivity.
[0029] Step S2-3: Quantify the execution duration and pre-trigger time of each type of key send and receive task information to obtain the expected duration.
[0030] Specifically, for various sensitive communication tasks that have been classified and marked, this invention incorporates a timing statistics mechanism to quantify and statistically analyze the task duration. This timing statistics mechanism is a high-precision timing acquisition module based on the embedded RTOS kernel clock. The timing statistics mechanism binds the lifecycle hook function of the wireless communication task thread to the microsecond-level system clock tick provided by the RTOS system hardware timer, and can capture the task creation time, pre-trigger ready time, task start time, and task end and destruction time of the communication task.
[0031] Furthermore, the specific quantification process includes: firstly, collecting the pre-trigger ready timestamps and actual execution end timestamps of various key communication tasks in real time using a hardware timer, and calculating the original total duration of the tasks; statistically outputting the effective estimated duration of the tasks; and through this high-precision time-series quantization method, locking the effective operating range of each type of communication-sensitive task, locating the sensitive time window of the communication task, and providing a time basis for the display bus to avoid peak periods in advance.
[0032] For example, the duration of various communication tasks on the central control screen is quantified and statistically analyzed. The pre-trigger time for the device command sending and receiving task is the instant the command is pushed, with an effective execution time of about 200ms; the execution time of the sensor data reporting task is about 500ms; and the single execution time of the regular Beacon receiving task is about 100ms. The estimated duration of each type of task is obtained to determine the corresponding communication sensitive time window.
[0033] Step S2-4: Encapsulate the operation type, expected duration, and interference sensitivity level into a communication warning signal.
[0034] Specifically, the three types of parameters obtained in steps S2-1 to S2-3—communication operation type, expected task duration, and interference sensitivity level—are integrated and encapsulated according to a preset standardized message format to generate a communication warning signal that can be recognized by the display driver module.
[0035] Furthermore, the preset standardized message format is a structured message frame format predefined by the device's RTOS system, which is configured in advance during the system initialization phase and is used for cross-module pre-notification interaction between the wireless communication subsystem and the display subsystem. The message format is encapsulated in a fixed-length structure, which sequentially includes a message frame header, an operation type field, a task duration field, a sensitivity level field, and a frame tail. The length, data type, and value range of each field are predefined. The operation type field matches the task type number corresponding to the instruction code library, the task duration field stores a microsecond-level quantized value, and the sensitivity level field stores high, medium, and low level classification identifiers.
[0036] In some possible embodiments, following the aforementioned instruction code library parsing and duration quantization process, when the central control screen captures the gateway light-on control data packet carrying a frame header of 0x0004, it is parsed and determined to be a device instruction transmission and reception operation type. After time-series statistical quantization, the effective estimated duration is 200ms, and the sensitivity level is marked as high interference sensitivity. The entire frame is then encapsulated according to the standardized message structure pre-fixed by the system. For example, the frame header is fixed at 0xAA, the operation type field is filled with the task number 0x04, the task duration field is filled with the quantized value 200, the sensitivity level field is filled with the high sensitivity level identifier 0x03, and the frame tail is fixed at 0xBB.
[0037] Step S3: The communication forecast signal is sent to the display driver module, and the display driver module performs differentiated adjustment of the bus transmission timing based on the interference sensitivity level of the communication forecast signal.
[0038] Step S3 includes: Step S3-1: The display driver module receives the communication warning signal and analyzes the interference sensitivity level, and performs differentiated adjustment of the bus transmission timing based on the interference sensitivity level.
[0039] Specifically, the display driver module monitors the cross-subsystem message channel in real time, receives communication forecast signals pushed by the wireless communication module, parses and decodes the communication forecast signal data, and identifies the interference sensitivity level corresponding to the current communication task. Based on different sensitivity levels, it calls the preset MIPI bus timing adjustment strategy and performs differentiated bus transmission control operations to achieve active interference avoidance of the communication sensitive window, thereby avoiding electromagnetic interference of high-frequency transmission of the display bus to wireless communication.
[0040] In some possible embodiments, the central control screen display driver module receives the warning signal of the aforementioned instruction transmission and reception task. Assuming that the interference sensitivity level is identified as high interference sensitivity, the MIPI bus adjustment strategy corresponding to the high sensitivity level is activated to make targeted adaptation adjustments to the current bus transmission timing.
[0041] Step S3-2: When a communication window is identified as highly interference-sensitive, the new frame transmission task of the bus is paused, and the current screen is reused based on the frame buffer built into the display panel to maintain screen stability without refreshing new frames.
[0042] Specifically, if the analysis determines that the current communication window is in a high-interference sensitive window, it means that the current wireless communication task has extremely high stability requirements and cannot tolerate high-frequency transmission interference from the MIPI bus. At this time, the system immediately suspends the new frame data transmission task of the MIPI bus, stops new screen rendering and refresh operations, and calls the frame buffer built into the display panel to reuse the currently rendered complete screen frame. Within the entire high-sensitivity communication window, the screen image can remain clear, stable, and flicker-free without refreshing new frames, reducing the electromagnetic interference generated by the high-frequency operation of the bus and ensuring the smooth execution of the communication task.
[0043] For example, when the central control screen receives a device linkage control command from the smart home gateway, it recognizes the entry into a high-interference sensitive communication window, the system pauses the transmission of new frames on the MIPI bus, reuses the current smart home control interface screen in the frame buffer, and the screen screen remains still and stable during the 200ms command interaction period without any flickering or stuttering.
[0044] Step S3-3: When a communication window is identified as being sensitive to interference, the bus transmission timing is compressed, high bus activity is performed outside the communication window, and the minimum bus activity is maintained inside the communication window.
[0045] Specifically, if the analysis determines that the current communication window is sensitive to interference, it means that the communication task has a certain anti-interference capability, but the continuous high-frequency bus transmission will still affect the transmission efficiency and stability. At this time, the system performs overall compression and optimization on the evenly distributed MIPI bus transmission timing, and concentrates most of the high-activity bus actions such as frame transmission and data refresh to be executed outside the communication window. During the window period when the communication task is running, only the basic bus monitoring operation is retained, and the bus activity is reduced to the minimum. Without pausing the screen refresh, electromagnetic interference is reduced to the maximum extent, balancing the display effect and communication stability.
[0046] In some possible embodiments, when the central control screen performs the medium-sensitive task of reporting temperature and humidity sensor data, the system compresses the MIPI bus timing, and advances high-activity operations such as UI refresh and data animation rendering to be completed before data reporting. Within the 500ms data reporting window, the bus only retains a basic guard state.
[0047] Step S3-4: When a communication window is identified as low-interference sensitive, maintain the normal bus refresh timing.
[0048] Specifically, if the analysis determines that the current communication window is in a low-interference sensitive state, the corresponding communication task has strong anti-interference capability, and the electromagnetic interference generated by the normal transmission of the MIPI bus will not have an adverse effect on the communication task; at this time, the system does not perform any bus timing intervention operations, and maintains the default normal refresh timing, transmission rhythm and screen rendering logic of the MIPI bus, which ensures the smoothness of the display screen without sacrificing display performance, and achieves optimal resource utilization.
[0049] In some possible embodiments, when the central control screen is performing a low-sensitivity task of receiving the router's Beacon heartbeat signal, the system maintains normal screen refresh and dynamic UI rendering without making any bus adjustments.
[0050] It should be noted that step S3, by receiving and parsing standardized communication warning signals, implements graded and differentiated adjustment of the MIPI bus transmission timing according to high, medium, and low interference sensitivity levels, thereby achieving proactive electromagnetic interference avoidance during critical wireless communication task windows. This step matches the optimal display scheduling strategy with the interference tolerance characteristics of different communication tasks, including reducing bus interference and ensuring communication reliability through frame buffer multiplexing during high-sensitivity communication periods, balancing communication stability and display continuity through timing compression and peak shifting during medium-sensitivity periods, and preserving the optimal display performance of the device during low-sensitivity periods. Through a hierarchical and precisely adapted control method, this step not only suppresses electromagnetic interference from the display bus to wireless communication, effectively solving problems such as packet loss, delay, and command response failure in critical communication, but also avoids defects such as display screen stuttering and decreased visual experience caused by indiscriminate frame stops, achieving a two-way balance between the display effect of smart home devices and the stability of IoT communication.
[0051] Step S4: In the reverse adaptive adaptation link, the screen operation data of the display driver module is obtained in real time, and the screen operation data is identified and judged to obtain the display status of the screen.
[0052] Step S4 includes: Step S4-1: Obtain screen operation data from the display driver module in real time. The screen operation data includes screen refresh rate, screen update frequency, and UI rendering status.
[0053] Specifically, during the continuous operation of the reverse adaptive link, the screen operation data of the display driver module is collected in real time. The screen refresh rate, screen update frequency, and UI rendering status are used as monitoring indicators to comprehensively reflect the real-time operating load of the screen and the bus activity status. The working intensity of the MIPI bus is quantified by these three parameters, which indirectly correspond to different levels of electromagnetic interference intensity, providing data support for subsequent interference condition judgment and communication strategy adaptation.
[0054] It should be noted that the reason for selecting screen refresh rate, image update frequency, and UI rendering status as the three types of data for judgment in this invention is that the electromagnetic interference intensity of the MIPI bus is positively correlated with the high-frequency screen refresh action, image data transmission volume, and graphics rendering load. These three parameters are direct factors affecting the electromagnetic radiation of the display module. Among them, the screen refresh rate determines the overall transmission frequency of the bus and is the determining factor of the basic interference intensity; the image update frequency characterizes the density of image data refresh and can distinguish between continuous interference and intermittent interference; the UI rendering status reflects the GPU graphics load and high-density data throughput, corresponding to high-intensity electromagnetic radiation conditions.
[0055] In some possible embodiments, continuing the unified operation scenario of the smart home central control screen, the system records three operational data points of the screen in real time throughout the day during the reverse adaptive link operation. For example, when the central control screen displays a static overview page of all the devices in the house, without screen switching, animation playback, or data refresh, the system collects a screen refresh rate of 8Hz, an extremely low screen update frequency, and no continuous UI rendering actions; when the central control screen refreshes temperature and humidity and device online status periodically, and occasionally switches icon interfaces slightly, the system collects a screen refresh rate of 40Hz, an intermittent screen update frequency, and minor UI rendering actions; when the user slides the control interface, plays short indoor monitoring videos, or runs smart home dynamic scene animations, the system collects a screen refresh rate of 60Hz, a high screen update frequency, and the GPU continuously performs high-density UI rendering.
[0056] Step S4-2: Perform state recognition and determination on the screen operation data to obtain the display status, including static display status, dynamic display status, and high refresh rate display status.
[0057] Step S4-2 includes: Step S4-2-1: Quantify the screen refresh rate, screen update frequency, and UI rendering status in the screen operation data; Among them, screen refresh rate is divided into low refresh rate, medium refresh rate and high refresh rate; screen update frequency is divided into very low screen update frequency, intermittent screen update frequency and high screen update frequency; and UI rendering state is divided into no continuous UI rendering, small UI rendering and continuous high-density UI rendering.
[0058] Specifically, the collected screen refresh rate, screen update frequency, and UI rendering status are quantitatively graded to establish a standardized parameter grading system. Among them, the refresh rate is divided into three levels: low, medium, and high; the screen update frequency is divided into three levels: extremely low, intermittent, and high frequency; and the UI rendering status is divided into three levels: no continuous rendering, minor rendering, and high-density rendering.
[0059] For example, low refresh rate means refresh rate less than or equal to 10Hz, medium refresh rate means 10-60Hz, and high refresh rate means refresh rate greater than or equal to 60Hz; extremely low update frequency means no screen update for a long time, intermittent update means intermittent small screen switching, and high frequency update means continuous screen changes; at the same time, it matches the corresponding no rendering, small UI switching, and high-density animation rendering states.
[0060] It should be noted that the term "long period without screen updates" is defined as no screen data refresh or layer changes for 2 seconds or more; "intermittent small screen switching" is defined as a single small screen update within the range of 0.5s-2s without continuous frame changes; and "continuous screen changes" is defined as continuous screen refreshes, layer iterations, and screen content changes within 0.5s.
[0061] Step S4-2-2: If the screen running data is a low refresh rate, an extremely low screen update frequency and no continuous UI rendering, it is determined to be a static display state.
[0062] Specifically, when the screen's operating data simultaneously meets the three conditions of low refresh rate, extremely low screen update frequency, and no continuous UI rendering, the screen is determined to be in a static display state. In this state, the MIPI bus transmission frequency is extremely low, the operating load is small, and the electromagnetic interference intensity is the weakest, which is a low-interference operating condition and a high-quality operating environment for wireless communication.
[0063] For example, if a smart home control screen remains on a static wallpaper or a fixed device status display for an extended period of time, without any screen switching, animation rendering, or data refresh, and the frame rate remains stable below 10Hz with almost no screen updates, the system will determine that the current display is static.
[0064] Step S4-2-3: If the screen running data is a medium refresh rate, intermittent screen update frequency and small UI rendering, it is determined to be a dynamic display state.
[0065] Specifically, when the screen's operating data simultaneously meets the three conditions of medium refresh rate, intermittent screen updates, and minor UI rendering, the screen is determined to be in a dynamic display state. In this state, the MIPI bus operates intermittently at high frequency with a moderate load, which will generate intermittent electromagnetic interference with moderate intensity. This interference has a slight impact on wireless communication and is considered a normal operating condition.
[0066] For example, the central control screen periodically refreshes the device's online status, shows slight changes in temperature and humidity values, and switches simple icons, maintaining a frame rate of 30-50Hz. It intermittently updates the screen and performs minor UI rendering, which the system determines is a dynamic display state.
[0067] Step S4-2-4: If the screen running data is a high refresh rate, a high frequency of screen updates, and a continuous high density of UI rendering, then it is determined to be a high refresh display state.
[0068] Specifically, when the screen's operating data simultaneously meets the three conditions of high refresh rate, high frequency of image updates, and continuous high-density UI rendering, the screen is determined to be in a high refresh display state. In this state, the MIPI bus continuously transmits at a high frequency and operates at full load, resulting in the highest electromagnetic interference intensity. This can easily affect the stability of wireless communication and is considered a high-interference condition, requiring key adaptation and control of the communication module.
[0069] For example, the central control screen can switch between interfaces, play smart home scene animations, and render real-time monitoring videos with a stable frame rate of 60Hz or higher. The screen updates continuously at a high frequency, and high-density UI animations are continuously rendered. The system determines that the current state is a high refresh rate display.
[0070] Step S5: The display status is sent to the wireless communication module to match the display interference conditions. The system then makes a comprehensive judgment based on the wireless communication strength and channel signal-to-noise ratio parameters to obtain the current communication environment quality. Based on the current communication environment quality, the system adaptively adjusts the communication transmission power, modulation method, and non-urgent task scheduling timing.
[0071] Step S5 includes: Step S5-1: Push the identified display status to the wireless communication module in real time.
[0072] Specifically, the static, dynamic, and high refresh rate screen display states obtained in step S4 are pushed to the wireless communication module in real time through the cross-subsystem message channel to achieve real-time synchronization between the display status and the communication module status. For example, when the central control screen is in a high refresh rate display state for video playback, the system immediately pushes this status to the Wi-Fi communication module in real time.
[0073] Step S5-2: The wireless communication module matches the corresponding bus activity level based on different display states to obtain differentiated interference conditions; Among them, static display state corresponds to low interference condition, dynamic display state corresponds to medium interference condition, and high refresh rate display state corresponds to high interference condition.
[0074] Specifically, after receiving the screen display status, the wireless communication module matches different electromagnetic interference conditions based on the correspondence between various display states and MIPI bus activity. In static display state, the screen does not refresh at high frequencies or continuously iterate the image; the MIPI bus maintains only a very low frequency of basic data transmission, resulting in extremely low data throughput and almost no high-frequency electromagnetic radiation, thus corresponding to a low-interference condition. In dynamic display state, the screen only intermittently updates the image and UI; the MIPI bus exhibits intermittent activity, with short-term data transmission peaks and low loads at other times, resulting in intermittent and moderate electromagnetic interference, thus corresponding to a medium-interference condition. In high-refresh-rate display state, the screen continuously refreshes at high frequencies and renders a high-density UI; the MIPI bus operates continuously at full frame rate and high throughput, with frequent bus transitions and concentrated, continuous electromagnetic radiation energy, causing the most significant interference to the wireless radio frequency channel, thus corresponding to a high-interference condition.
[0075] For example, after the Wi-Fi module receives the high refresh rate display status of the central control screen, it matches and determines that the current MIPI bus is running continuously at a high level, corresponding to a high interference condition; if it receives a static display status, it matches a low interference condition.
[0076] Step S5-3: Real-time detection of wireless communication strength and channel signal-to-noise ratio parameters, combined with interference conditions for comprehensive judgment, to identify the current communication environment quality of the wireless communication module; The communication environment includes a high-quality communication environment, a general communication environment, and a harsh communication environment.
[0077] Specifically, the wireless communication module monitors its own communication parameters in real time, including wireless communication strength and channel signal-to-noise ratio. Combined with the aforementioned interference conditions, a two-dimensional comprehensive judgment mechanism is adopted to identify the current communication environment quality of the device, and finally classify it into three environmental levels: excellent, average, and poor.
[0078] It should be noted that the first dimension of the dual-dimensional comprehensive judgment mechanism is the communication quality dimension, which characterizes the basic transmission capability of the wireless channel itself through wireless communication strength and channel signal-to-noise ratio, and is used to determine the original quality of the wireless link; the second dimension is the dynamic interference condition dimension, which determines the real-time electromagnetic interference superposition level of the MIPI bus on the radio frequency channel based on the current actual operating conditions; the dual-dimensional comprehensive judgment mechanism adopts a joint scoring judgment, superimposing the dynamic interference loss brought by the display system on the original channel quality, comprehensively quantifying the channel transmission capability, and finally distinguishing three levels of communication environment: excellent, average, and severe, thereby improving the accuracy and real-time adaptability of communication environment identification.
[0079] Furthermore, this invention pre-defines a dual-dimensional weighted scoring rule, with both dimensions having equal weight, each accounting for 50% of the total score. A comprehensive score is obtained by weighted summation, and the communication environment level is determined based on the comprehensive score. The specific scoring rule includes: within the communication quality dimension, the communication hardware quality dimension and the display electromagnetic interference condition dimension each account for 50 points. Specifically, the communication hardware quality dimension is scored based on the wireless communication strength and channel signal-to-noise ratio (SNR): full signal strength and excellent SNR earn 20-50 points, moderate signal strength and stable SNR earn 20-40 points, and weak signal strength and low SNR earn 0-20 points. The display electromagnetic interference condition dimension is scored based on the interference intensity corresponding to the screen display status: static low interference condition earns 40-50 points, dynamic medium interference condition earns 20-40 points, and high refresh rate high interference condition earns 0-20 points. The final comprehensive score is the sum of the scores for the communication dimension and the interference condition dimension.
[0080] Furthermore, the grading criteria include: a comprehensive score of 80 or higher is considered a high-quality communication environment; a comprehensive score of 40-79 is considered a general communication environment; and a comprehensive score of less than 40 is considered a poor communication environment.
[0081] In some possible implementations, assuming the central control screen statically displays the device interface under low interference conditions, the interference dimension score is 45 points, while the Wi-Fi signal is full and the signal-to-noise ratio is excellent, resulting in a communication dimension score of 48 points and a comprehensive score of 93 points, which is greater than 80 points, thus it is judged as a high-quality communication environment. Assuming the central control screen intermittently refreshes device data under dynamic interference conditions, the interference dimension score is 30 points, while the Wi-Fi signal and signal-to-noise ratio are at a moderate level, resulting in a communication dimension score of 28 points and a comprehensive score of 58 points, which falls within the range of 40-79 points, thus it is judged as a general communication environment. Assuming the central control screen plays monitoring videos or performs high refresh rate rendering under high interference conditions, the interference dimension score is 15 points, while the Wi-Fi signal is weak and the signal-to-noise ratio is low, resulting in a communication dimension score of 12 points and a comprehensive score of 27 points, which is less than 40 points, thus it is judged as a poor communication environment.
[0082] Step S5-4: If the communication environment is of high quality, maintain the current communication transmission power and the current modulation method.
[0083] Specifically, when the overall assessment indicates that the device is in a high-quality communication environment, it means that the current wireless signal quality is excellent, the interference is extremely low, and the stability and throughput of communication transmission meet the device's operating requirements, with no potential interference risks. At this time, there is no need to adjust the communication parameters. The device's current default communication transmission power and modulation method are maintained to keep the device in its optimal steady-state operation and avoid resource consumption and state fluctuations caused by ineffective parameter adjustments.
[0084] For example, when the central control screen displays the device status statically, it is in a low-interference static display mode. At the same time, the Wi-Fi signal is at full strength and the signal-to-noise ratio is excellent, which is in a high-quality communication environment. The system maintains the current communication transmission power and high-order modulation mode unchanged and stably completes the normal data transmission.
[0085] Step S5-5: If in a normal communication environment, maintain low to medium communication transmission power and switch to low-order modulation mode.
[0086] Specifically, when the overall judgment is that the device is in a general communication environment, it means that there is intermittent display interference or slight attenuation of the communication signal. The conventional high-order modulation method has insufficient anti-interference capability and is prone to data packet loss. At this time, the system actively adapts and adjusts to maintain a medium-low level of communication transmission power to avoid power waste and signal interference caused by high-power transmission. At the same time, it switches to a low-order modulation method with stronger anti-interference capability to improve communication transmission stability and balance device power consumption and communication reliability.
[0087] For example, the central control screen refreshes device data slightly, which is in a dynamic display interference condition. The Wi-Fi signal strength is moderate, which is in a general communication environment. The system maintains a medium-low transmission power and switches from high-order modulation to QPSK low-order modulation mode to ensure stable transmission of sensor data and device status data.
[0088] In steps S5-6, if the communication environment is poor, switch to the optimal communication transmission power and low-order modulation mode, and delay the execution of non-urgent IoT tasks until a high-quality communication environment is reached.
[0089] Specifically, when the overall assessment indicates that the device is in a poor communication environment, it means that the current display shows strong interference and poor communication signal quality, and communication transmission is prone to packet loss, delay, and disconnection. At this time, the system activates an extreme anti-interference strategy, matches the optimal communication transmission power adapted to the current operating conditions, and uses the most stable low-order modulation method to ensure the normal transmission of emergency tasks such as control commands and real-time data. At the same time, non-emergency IoT tasks such as firmware detection, log reporting, and idle status synchronization are delayed to avoid the period of severe interference and are executed after the device restores a good communication environment.
[0090] It should be noted that the optimal communication transmission power is the highest available transmission power of the device that currently complies with radio regulations and can guarantee communication connectivity, or the upper limit of the rated power for severe scenarios preset by the system.
[0091] For example, when the central control screen plays monitoring video, it is in a high refresh rate and high interference condition, with Wi-Fi signal attenuation and signal-to-noise ratio deterioration, resulting in a poor communication environment. The system matches the optimal transmission power and uses low-order modulation to ensure the normal transmission of video data and device control commands. At the same time, non-urgent tasks such as device log reporting and firmware version detection are postponed until the screen is still and the communication environment is restored to a good quality before they are executed.
[0092] In this embodiment, this application provides an electronic device, including a memory, a processor, a communication interface, and a communication bus. The memory stores a computer program that can run on the processor. The memory and the processor communicate with each other through the communication bus and the communication interface. When the processor executes the computer program, it implements the steps of the above method.
[0093] In this embodiment, the present application also provides a computer-readable medium having processor-executable non-volatile program code that causes the processor to perform the above-described method.
[0094] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A display control method for smart home devices based on the Internet of Things, characterized in that, It includes the following steps: Construct a bidirectional collaborative scheduling architecture between the display subsystem and the wireless communication subsystem, and execute the forward interference avoidance link and the reverse adaptive adaptation link in parallel. In the forward interference avoidance link, key transmit and receive task information is acquired and parameters are encapsulated to generate a communication warning signal including operation type, expected duration and interference sensitivity level. The communication forecast signal is sent to the display driver module, which then performs differentiated adjustment of the bus transmission timing based on the interference sensitivity level of the communication forecast signal. In the reverse adaptive adaptation link, the screen operation data of the display driver module is obtained in real time, and the screen operation data is used to identify and determine the display status of the screen. The status will be sent to the wireless communication module to match the interference conditions. The system will also make a comprehensive judgment based on the wireless communication strength and channel signal-to-noise ratio parameters to obtain the current communication environment quality. Based on the current communication environment quality, the system will adaptively adjust the communication transmission power, modulation method, and non-urgent task scheduling timing.
2. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, Construct a bidirectional collaborative scheduling architecture for the display subsystem and the wireless communication subsystem, and execute the forward interference avoidance link and the reverse adaptive adaptation link in parallel, including: Establish a cross-subsystem message channel in an embedded RTOS and build a bidirectional collaborative scheduling architecture; Based on a bidirectional collaborative scheduling architecture, the forward interference avoidance link and the reverse adaptive adaptation link are executed in parallel to reduce bidirectional electromagnetic interference between the display subsystem and the wireless communication subsystem. The forward interference avoidance link is a communication-priority active control link used to reduce electromagnetic interference experienced by the wireless communication subsystem. The reverse adaptive adaptation link is an adaptation control link for display operating conditions, used to reduce electromagnetic interference caused by the display subsystem.
3. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, In the forward interference avoidance link, key transmit and receive task information is acquired and parameters are encapsulated to generate a communication warning signal including operation type, expected duration, and interference sensitivity level, including: Obtain key transceiver task information of the wireless communication module, and extract the operation type from the key transceiver task information; All critical transmission and reception task information is classified and labeled, including three levels of interference sensitivity: high interference sensitivity, medium interference sensitivity, and low interference sensitivity. Quantify the execution duration and pre-trigger time of each type of key send and receive task information to obtain the expected duration; The operation type, expected duration, and interference sensitivity level are encapsulated into a communication warning signal.
4. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, A communication warning signal is sent to the display driver module. The display driver module performs differentiated adjustment of the bus transmission timing based on the interference sensitivity level of the communication warning signal, including: The display driver module receives communication warning signals and analyzes the interference sensitivity level, and then performs differentiated adjustments to the bus transmission timing based on the interference sensitivity level. When a communication window is identified as highly sensitive to interference, the new frame transmission task of the bus is paused, and the current screen is reused based on the frame buffer built into the display panel to maintain screen stability without refreshing new frames. When a communication window is identified as sensitive to interference, the bus transmission timing is compressed, high bus activity is performed outside the communication window, and the minimum bus activity is maintained inside the communication window. When a communication window is identified as low-interference sensitive, the normal bus refresh timing is maintained.
5. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, In the reverse adaptive adaptation link, the screen operation data of the display driver module is acquired in real time, and the screen operation data is used for state recognition and determination to obtain the display state of the screen, including: The screen operation data of the display driver module is acquired in real time, including screen refresh rate, screen update frequency, and UI rendering status. The system identifies and determines the status of the screen's operating data, including static display status, dynamic display status, and high refresh rate display status.
6. The display control method for smart home devices based on the Internet of Things according to claim 5, characterized in that, The screen's operating data is analyzed to determine its state, including static display state, dynamic display state, and high refresh rate display state. Quantify screen refresh rate, screen update frequency, and UI rendering status in screen operation data; Among them, screen refresh rate is divided into low refresh rate, medium refresh rate and high refresh rate; screen update frequency is divided into extremely low screen update frequency, intermittent screen update frequency and high screen update frequency; and UI rendering state is divided into no continuous UI rendering, small UI rendering and continuous high-density UI rendering. If the screen's operating data shows a low refresh rate, an extremely low screen update frequency, and no continuous UI rendering, it is determined to be in a static display state. If the screen's operating data is a medium refresh rate, intermittent screen update frequency, and small UI rendering, it is determined to be a dynamic display state. If the screen's operating data shows a high refresh rate, high frequency of image updates, and continuous high-density UI rendering, it is determined to be a high refresh display state.
7. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, The status will be sent to the wireless communication module to match and display interference conditions. A comprehensive judgment will be made based on wireless communication strength and channel signal-to-noise ratio parameters to obtain the current communication environment quality, including: The identified display status is pushed to the wireless communication module in real time; The wireless communication module matches the bus activity level according to different display states to obtain differentiated interference conditions; Among them, static display state corresponds to low interference condition, dynamic display state corresponds to medium interference condition, and high refresh rate display state corresponds to high interference condition. Real-time detection of wireless communication strength and channel signal-to-noise ratio parameters, combined with interference conditions for comprehensive judgment, to identify the current communication environment quality of the wireless communication module; The communication environment includes a high-quality communication environment, a general communication environment, and a harsh communication environment.
8. The display control method for smart home devices based on the Internet of Things according to claim 1, characterized in that, Based on the current communication environment quality, adaptive adjustments are made to communication transmit power, modulation scheme, and scheduling of non-urgent tasks, including: If in a high-quality communication environment, maintain the current communication transmission power and modulation scheme; In a normal communication environment, maintain a medium to low communication transmission power and switch to a low-order modulation mode; If the communication environment is poor, the system will switch to the optimal communication transmission power and low-order modulation mode, and non-urgent IoT tasks will be delayed and scheduled to be executed in a better communication environment.
