Control method and central control equipment

By dividing the grid and functional areas in the central control device, automatically laying out the device controls, and verifying the control identification information and touch events, the cloud platform solves the problem of handling the needs of diverse central control devices and improves data security and management. efficiency.

WO2023193720A9PCT designated stage expired Publication Date: 2024-09-19HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/086259
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-04-07
Filing Date
2023-04-04
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

As the types and manufacturers of IoT devices increase, the cloud platform needs to handle the diverse needs of different central control devices, resulting in increased workload and complex device data processing, affecting data security and device management efficiency.

Method used

By dividing grids and functional areas in the central control device, and using configuration information to automatically lay out device controls, it reduces the data processing requirements of the cloud platform, and protects device data security by verifying control identification information and touch events.

Benefits of technology

It realizes a customized layout that adapts to the needs of different central control equipment, reduces the workload of the cloud platform, improves equipment data security and management efficiency, meets diversified needs, and protects equipment information and platform information at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023086259_19092024_PF_FP_ABST
    Figure CN2023086259_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a control method and central control equipment. The method comprises: the central control equipment divides a display area into a plurality of grids on the basis of configuration information, and determines the layout of the functional areas in the gridded display area; the central control equipment displays a plurality of device controls in the functional areas, wherein the plurality of device controls are in one-to-one correspondence with a plurality of electronic devices controlled by the central control equipment, each device control comprises device information of the corresponding electronic device, and the device information of the electronic device is obtained by the central control equipment from a cloud. Therefore, the central control equipment utilizes the division modes of the grids and the functional areas, so that a platform party does not need to process the data of the devices, but the central control equipment realizes the automatic layout of the device controls on the basis of the device information obtained from the platform party, and the diversity requirements of different central control manufacturers are met.
Need to check novelty before this filing date? Find Prior Art

Description

Control method and central control equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 7, 2022, with application number 202210357767.4 and application name “Control Method and Central Control Equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of terminal devices, and in particular to a control method and a central control device. Background Art

[0003] With the development of the IoT (Internet of Things) industry chain, the variety and style of IoT devices continues to grow. Various manufacturers have launched central control devices to enable users to centrally manage different devices in their homes. However, different manufacturers and types of central control devices have different requirements for overall desktop layout and device management styles. Accordingly, the cloud platform needs to process device data to meet the requirements of each manufacturer. As the number of central control device models and manufacturers increases, the workload on the cloud platform will increase.

[0004] Summary of the Invention

[0005] In an embodiment of the present application, a control method and a central control device are provided. In the control method, the central control device can provide a customized desktop layout display mode.

[0006] In a first aspect, an embodiment of the present application provides a control method, characterized by being applied to a central control device, the method comprising: the central control device dividing a display area into multiple grids based on first configuration information. The first configuration information indicates the number of grids in the display area and the size of a single grid. Next, the central control device determines the layout of multiple functional areas in the display area based on second configuration information. The second configuration information indicates the number of grids occupied by each functional area and the position of each functional area in the display area. The central control device displays multiple device controls in at least one of the multiple functional areas; the multiple device controls correspond one-to-one to multiple electronic devices controlled by the central control device, each device control including device information of a corresponding electronic device, and the device information of the electronic device is obtained by the central control device from the cloud. In this way, the central control device utilizes the grid and functional area division method, eliminating the need for the platform to process device data. Instead, the central control device automatically arranges the device controls based on the device information obtained from the platform, meeting the diverse needs of different central control manufacturers.

[0007] Exemplarily, the first configuration information is the display screen division information in the embodiment of the present application. The second configuration information is the layout information of the functional areas in the embodiment of the present application.

[0008] Exemplarily, the electronic device controlled by the central control device is an IoT device.

[0009] Exemplarily, the central control device and the cloud perform data interaction based on wireless communication, and the cloud performs data interaction with multiple electronic devices based on wireless communication.

[0010] According to the first aspect, the first configuration information includes first quantity information and size information. The first quantity information indicates the number of grid cells in the horizontal direction and the number of grid cells in the vertical direction of the display area; the size information indicates the width and height of a single grid cell. In this way, the central control device can divide the display area based on the pre-stored configuration information, thereby granularizing the display area.

[0011] According to the first aspect, or any implementation of the first aspect above, the multiple grids are evenly arranged in the horizontal and vertical directions of the display area.

[0012] According to the first aspect, or any implementation of the first aspect above, the second configuration information includes second quantity information and starting position information, wherein the second quantity information is used to indicate the number of grids occupied by each of the multiple functional areas; and the starting position information is used to indicate the position of the starting grid of each functional area in the display area. In this way, the central control device can customize the layout of the gridded (also called granular) display area to arrange multiple functional areas in the grid.

[0013] According to the first aspect, or any implementation of the first aspect above, displaying multiple device controls in at least one of multiple functional areas includes: obtaining device information of multiple electronic devices from the cloud, the device information including at least one of the following: device identification information of a single electronic device, the type of the single electronic device, status information of the single electronic device, and information about an allowable adjustment range of the single electronic device; generating corresponding control identification information for each of the multiple electronic devices, and storing a correspondence between the device information of the multiple electronic devices and the multiple control identification information; indicating partial device information and the multiple device identification information generated for the multiple electronic devices to a target application, wherein the partial device information includes at least one piece of information in the device information; and displaying multiple device controls in the at least one functional area; wherein the multiple device controls are generated by the target application based on the partial device information. In this way, the electronic device can filter the information of the electronic device obtained from the cloud so that the target device can only obtain partial information of the electronic device, thereby protecting the information of the electronic device and the platform. Furthermore, the central control device and the target application interact through the control identification, thereby protecting the data security of the electronic device.

[0014] Exemplarily, the control identification information is the card ID in the embodiment of the present application.

[0015] Exemplarily, the device identification information includes the device name, device ID, device address, etc.

[0016] Exemplarily, the partial device information acquired by the target device includes the device name, device type, device status, and the device's allowable adjustment range.

[0017] According to the first aspect, or any implementation of the first aspect above, the method further includes: obtaining touch event information of the target application, the touch event information includes the control identification information of the target electronic device and the status update information of the target electronic device, the touch event information is used to indicate the receipt of a touch event for the control of the target electronic device, the touch event is used to indicate the update of the status of the target electronic device, and the target electronic device belongs to multiple electronic devices; verifying the control identification information of the target electronic device and the touch event; after the control identification information of the target electronic device and the touch event are successfully verified, updating the control of the target electronic device. In this way, the central control device can prevent malware from disguising itself as the target application to control electronic devices in the user's home by verifying the control identification information and the touch event. For example, if malware sends touch event information to the central control device, if any verification of the control identification information and the touch event fails, the central control device will not control the electronic device to perform the corresponding action, thereby ensuring the safety and reliability of the electronic device.

[0018] According to the first aspect, or any implementation method of the first aspect above, the identification information and touch event of the target electronic device are verified, including: detecting whether the control identification information of the target electronic device is invalid, wherein the control identification information of the target electronic device is invalid when the central control device does not display multiple functional areas; the control identification information of the target electronic device is valid when the central control device displays multiple functional areas; detecting that the control identification information of the electronic device is valid, and determining that the verification of the target electronic device is successful.

[0019] According to the first aspect, or any implementation method of the first aspect above, the identification information and touch event of the target electronic device are verified, including: determining whether a touch operation on the display area is received based on the parameters detected by the touch sensor; detecting that a touch operation on the display area has occurred, and determining that the touch event verification is successful.

[0020] According to the first aspect, or any implementation of the first aspect above, updating the control of a target electronic device includes: determining the device identification information of the target electronic device corresponding to the control identification information of the target electronic device based on the correspondence between the device information of multiple electronic devices and the multiple control identification information; sending a status update request message to the cloud, the status update request message including the device identification information of the target electronic device and the state update information of the target electronic device, the status update request message being used to instruct the cloud to update the current state of the target electronic device to the state indicated by the state update information; receiving a status update response message sent by the cloud, the status update response message including the device identification information of the target electronic device and the current state information of the target electronic device, the current state information being used to indicate the state of the target electronic device after the update based on the instruction of the cloud; determining the control identification information of the target electronic device corresponding to the device identification information of the target electronic device based on the correspondence between the device information of the multiple electronic devices and the multiple control identification information; transmitting the control identification information and the current state information of the target electronic device to the target application, being used to instruct the target application to update the control of the target electronic device; obtaining a new control generated by the target application corresponding to the target electronic device, and updating the control of the target electronic device to the new control; the new control being generated by the target application based on the current state information. In this way, the interaction between the central control device and the target application can effectively ensure the data security of the electronic device through the control identification information.

[0021] In a second aspect, an embodiment of the present application provides a central control device. The central control device includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the central control device performs the following steps: based on first configuration information, the display area is divided into multiple grids; the configuration information is used to indicate the number of grids in the display area and the size of a single grid; based on second configuration information, the layout of multiple functional areas in the display area is determined; wherein the second configuration information is used to indicate the number of grids occupied by each functional area in the multiple functional areas and the position of each functional area in the display area; in at least one functional area of ​​the multiple functional areas, multiple device controls are displayed; the multiple device controls correspond one-to-one to the multiple electronic devices controlled by the central control device.

[0022] According to the second aspect, the first configuration information includes first quantity information and size information. The first quantity information is used to indicate the number of grids in the horizontal direction of the display area and the number of grids in the vertical direction of the display area; the size information is used to indicate the width and height of a single grid.

[0023] According to the second aspect, or any implementation of the second aspect, the plurality of grids are evenly arranged in the horizontal and vertical directions of the display area.

[0024] According to the second aspect, or any implementation of the second aspect above, the second configuration information includes second quantity information and starting position information, the second quantity information is used to indicate the number of grids occupied by each functional area in the multiple functional areas; the starting position information is used to indicate the position of the starting grid in each functional area in the display area.

[0025] According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by one or more processors, the central control device performs the following steps: obtaining device information of multiple electronic devices, the device information includes at least one of the following: device identification information of a single electronic device, the type of a single electronic device, status information of a single electronic device and allowable adjustment range information of a single electronic device; generating corresponding control identification information for each electronic device in the multiple electronic devices, and saving the correspondence between the device information of the multiple electronic devices and the multiple control identification information; indicating partial device information and multiple device identification information generated for the multiple electronic devices to the target application, wherein the partial device information includes at least one information in the device information; displaying multiple device controls in at least one functional area; wherein the multiple device controls are generated by the target application based on the partial device information.

[0026] According to the second aspect, or any implementation method of the above second aspect, when the computer program is executed by one or more processors, the central control device performs the following steps: obtaining touch event information of the target application, the touch event information includes the control identification information of the target electronic device and the status update information of the target electronic device, the touch event information is used to indicate the receipt of a touch event for the control of the target electronic device, the touch event is used to indicate the update of the status of the target electronic device, and the target electronic device belongs to multiple electronic devices; verifying the control identification information of the target electronic device and the touch event; after the control identification information of the target electronic device and the touch event are successfully verified, updating the control of the target electronic device.

[0027] According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by one or more processors, the central control device performs the following steps: detecting whether the control identification information of the target electronic device is invalid, wherein the control identification information of the target electronic device is invalid when the central control device does not display multiple functional areas; the control identification information of the target electronic device is valid when the central control device displays multiple functional areas; detecting that the control identification information of the electronic device is valid, and determining that the verification of the target electronic device is successful.

[0028] According to the second aspect, or any implementation of the second aspect above, when the computer program is executed by one or more processors, the central control device performs the following steps: based on the parameters detected by the touch sensor, determining whether a touch operation on the display area is received; detecting that a touch operation on the display area occurs, and determining that the touch event verification is successful.

[0029] According to the second aspect, or any implementation method of the above second aspect, when the computer program is executed by one or more processors, the central control device performs the following steps: based on the correspondence between the device information of multiple electronic devices and the multiple control identification information, determine the device identification information of the target electronic device corresponding to the control identification information of the target electronic device; send a status update request message to the cloud, the status update request message includes the device identification information of the target electronic device and the status update information of the target electronic device, the status update request message is used to instruct the cloud to update the current state of the target electronic device to the state indicated by the status update information; receive a status update response message sent by the cloud, the status update response message includes the device identification information of the target electronic device and the current state information of the target electronic device, the current state information is used to indicate the state of the target electronic device after the update based on the instruction of the cloud; based on the correspondence between the device information of multiple electronic devices and the multiple control identification information, determine the control identification information of the target electronic device corresponding to the device identification information of the target electronic device; transmit the control identification information and current state information of the target electronic device to the target application, used to instruct the target application to update the control of the target electronic device; obtain a new control generated by the target application corresponding to the target electronic device, and update the control of the target electronic device to the new control; the new control is generated by the target application based on the current state information.

[0030] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.

[0031] In a third aspect, an embodiment of the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the first aspect or any possible implementation of the first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer program comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.

[0033] In a fifth aspect, embodiments of the present application provide a chip comprising a processing circuit and transceiver pins. The transceiver pins and the processing circuit communicate with each other via an internal connection path, and the processing circuit executes the method of the first aspect or any possible implementation of the first aspect to control the receive pin to receive a signal and to control the transmit pin to send a signal.

[0034] In a sixth aspect, an embodiment of the present application provides a communication system, which includes the central control device described in the first aspect above, multiple electronic devices and a cloud. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] FIG1 is a schematic diagram showing a hardware structure of an electronic device;

[0037] FIG2 is a schematic diagram illustrating a software structure of an electronic device;

[0038] 3a and 3b are schematic diagrams of display interfaces of a central control device;

[0039] FIG4 is a schematic diagram of a communication system provided in an embodiment of the present application;

[0040] FIG5 is a schematic diagram illustrating an exemplary control method;

[0041] Figures 6a and 6b are schematic diagrams of exemplary grid division;

[0042] FIG6 c is a schematic diagram of coordinates shown as an example;

[0043] FIG7a is a schematic diagram showing an exemplary layout of functional areas;

[0044] FIG7 b is a schematic diagram showing an exemplary layout of functional areas;

[0045] FIG8 is an exemplary diagram of a device card display method;

[0046] FIG9 is a schematic diagram showing an exemplary data interaction;

[0047] FIG10 is a schematic diagram showing an exemplary card display;

[0048] FIG11 is a schematic flow chart of an exemplary control method;

[0049] Figures 12a and 12b are schematic diagrams of exemplary interfaces;

[0050] FIG13 is a schematic diagram showing an exemplary control method flow chart;

[0051] FIG14 is a schematic structural diagram of an exemplary device. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0053] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0054] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.

[0055] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0056] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.

[0057] Figure 1 shows a schematic diagram of the structure of an electronic device 100. It should be understood that the electronic device 100 shown in Figure 1 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in Figure 1 can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits. Exemplarily, the electronic device 100 may be the central control device in the embodiment of the present application, or it may be the electronic device managed by the control device in the embodiment of the present application. For example, the electronic device may be a smart home device (such as an air conditioner, a desk lamp), or it may be a mobile phone, a tablet, a television, and a wearable device, etc., which is not limited in this application.

[0058] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0059] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0060] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0061] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0062] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0063] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.

[0064] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0065] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0066] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0067] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0068] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0069] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0070] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0071] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0072] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0073] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0074] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0075] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0076] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0077] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0078] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0079] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0080] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0081] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0082] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0083] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0084] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0085] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0086] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0087] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0088] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0089] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0090] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0091] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.

[0092] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0093] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0094] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0095] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.

[0096] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0097] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude using the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.

[0098] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.

[0099] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.

[0100] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0101] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0102] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.

[0103] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0104] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.

[0105] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.

[0106] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.

[0107] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0108] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0109] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0110] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0111] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0112] FIG2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.

[0113] The layered architecture of electronic device 100 divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other via software interfaces. In some embodiments, the Android system is divided into four layers: from top to bottom, the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0114] The application layer can include a series of application packages.

[0115] As shown in FIG2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, card, and central control.

[0116] The central control application is used to manage the desktop display of the central control device, etc. The specific control method will be described in detail in the following embodiments. In the embodiments of this application, the central control application can also be called the central control module. The central control device can have the application installed before leaving the factory, or it can download the application from the cloud after the first startup and access to the cloud, which is not limited in this application. In the embodiments of this application, the central control application can optionally be provided by the platform.

[0117] Card applications can be used to generate and maintain device cards. Device cards may also be referred to as device controls, device control graphics, device control user interfaces, etc., which are not limited in this application. Optionally, card applications are provided by the central control device manufacturer and may also be referred to as third-party applications, which are not limited in this application.

[0118] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0119] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a central control module, a resource manager, a notification manager, and the like.

[0120] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0121] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0122] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0123] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).

[0124] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0125] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0126] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0127] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0128] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0129] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0130] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0131] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0132] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0133] A 2D graphics engine is a drawing engine for 2D drawings.

[0134] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0135] It is understood that the components included in the system framework layer, system library, and runtime layer shown in FIG2 do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or split certain components, or arrange the components differently.

[0136] Figures 3a and 3b are schematic diagrams of the display interfaces of exemplary central control devices. Please refer to Figures 3a and 3b, which correspond to central control devices of different specifications from different manufacturers. The central control device's display screen can display the central control device's desktop. The desktop includes one or more controls, which may include device controls and / or other controls. Each device control corresponds to an electronic device controlled by the central control device. For example, the bedroom light control shown in Figure 3a corresponds to the light in the user's bedroom. The user can use the central control device to control the bedroom light on or off, adjust the brightness, and so on. As shown in Figures 3a and 3b, the display screen specifications (i.e., sizes) of different central control devices vary, as do the layouts of the controls corresponding to the devices, and the images (also known as user interfaces) displayed by the controls corresponding to the devices vary. Accordingly, for central control devices with different design requirements, the platform needs to design different central control desktops to meet the design requirements of the central control device manufacturers. As the number of central control device products and access manufacturers increases, the development and maintenance costs imposed on the platform will continue to increase.

[0137] The embodiment of the present application provides a control method that can be applied to central control devices of different specifications to meet the diverse needs of different central control devices and at the same time ensure the security of device data.

[0138] Before describing the technical solutions of the embodiments of the present application, the communication system of the embodiments of the present application will be described in conjunction with the accompanying drawings. Figure 4 is a schematic diagram of a communication system provided in an embodiment of the present application. The communication system includes a cloud, a central control device, and an IoT device. The cloud may include a server or server cluster. The central control device is manufactured by a central control device manufacturer. The cloud maintenance manufacturer and the central control device manufacturer may be the same or different, and this application does not limit this. For example, the IoT device may include one or more IoT devices, such as speakers, televisions, air conditioners, lights, etc., and this application does not limit this. It should be noted that the number of central control devices shown in Figure 4 is only an illustrative example. In other embodiments, the cloud can connect to central control devices in different scenarios, such as home or office scenarios. Multiple central control devices or IoT devices may be included in the same scenario, and this application does not limit this. The cloud and the central control device can communicate via a wireless connection, and the IoT device and the central control device can communicate via a wireless connection. The wireless connection can be maintained based on Wi-Fi, cellular, etc., and this application does not limit this.

[0139] In conjunction with FIG3 , FIG5 is a schematic diagram illustrating an exemplary control method. Referring to FIG5 , the control method specifically includes:

[0140] S501, read configuration information.

[0141] For example, the central control module in the central control device may maintain configuration information, and the configuration information may be stored in a memory or other storage area, which is not limited in this application.

[0142] The configuration information is set before leaving the factory, and can be jointly set by the platform party (i.e., the cloud maintenance manufacturer) and the central control equipment party (i.e., the central control equipment production and maintenance manufacturer).

[0143] Exemplarily, when the central control device is powered on for the first time or after initialization, it reads the saved configuration information. The configuration information includes, but is not limited to, display screen division information and functional area layout information. The display screen division information is used to indicate how the display screen is divided according to specified specifications. The functional area layout information is used to indicate the layout of each functional area on the display screen.

[0144] S502: Divide the display screen into grids based on the display screen division information.

[0145] For example, after the central control device (specifically, the central control module) reads the configuration information, it can divide the display screen of the central control device based on the display screen division information.

[0146] For example, the display screen division information may include grid number information and grid size information, wherein the grid number information is used to indicate the number of grids after the display screen is divided. The grid size information is used to indicate the size of each grid. The above values ​​can optionally be in the form of key-value pairs. For example, in data formatted in JSON (JavaScript Object Notation), the display screen division information is as follows:

[0147] Among them, "rowNum" represents the number of horizontal grids, "colNum" represents the number of vertical tables, "cellWidth" represents the width of each grid (in pixels), and "cellHeight" represents the height of each grid (in pixels).

[0148] For example, Figure 6a is a schematic diagram illustrating an exemplary grid division. Referring to Figure 6a, the central control device screen 601 (also referred to as the central control device display) includes a display area 602 (also referred to as the desktop area or central control panel display area) and other areas. Display area 602 is used to display the desktop and controls, etc. Based on the display screen division information, the central control module divides display area 602 into 12 grids horizontally and 7 grids vertically. Each grid is 25 pixels wide and 25 pixels high.

[0149] Taking another example, FIG6a is an exemplary diagram of grid division. Referring to FIG6a , the central control module divides the display area 602 into 6 grids horizontally and 4 grids vertically based on the display screen division information. Each grid has a width of 25 pixels and a height of 25 pixels.

[0150] In the embodiment of the present application, the display screen division information can be pre-set based on the size of different central control device displays and can be set according to actual needs. This application does not limit this. The number and size of the grids shown in Figures 6a and 6b are only illustrative examples and are not limited by this application.

[0151] S503: Divide the functional areas based on the coordinates of each grid and the layout information of the functional areas.

[0152] For example, after the central control module divides the grid, the coordinates of each grid can be obtained. For example, Figure 6c is an exemplary coordinate diagram. Please refer to Figure 6c. In the embodiment of the present application, the central control module establishes a coordinate system with the upper left corner of the display area 602 as the origin. The coordinates of each grid are the coordinate position of the upper left corner of each grid in the coordinate system. For example, as shown in Figure 6c, the coordinates of the upper left corner of grid 603 are (5,0), which are the coordinates of the grid.

[0153] Exemplarily, the layout information of the functional areas includes but is not limited to: the number of grids occupied by each functional area, the coordinates of the starting grid, the name of the functional area, etc.

[0154] The above values ​​may be in the form of key-value pairs. For example, in data formatted in JSON (JavaScript Object Notation), the layout information is as follows:

[0155] Among them, "title" represents the name of the functional area, "spanRow" represents the number of horizontal grids occupied by the functional area, "spanCol" represents the number of vertical grids occupied by the functional area, "rowIndex" represents the horizontal coordinate of the starting grid of the functional area, and "colIndex" represents the vertical coordinate of the starting grid of the functional area.

[0156] For example, FIG7a is a schematic diagram of an exemplary functional area layout. Referring to the shaded portion 701 shown in FIG7a , the functional area named "Device Management" (hereinafter referred to as the device management area) occupies 7 horizontal grids and 4 vertical grids. The starting grid of the device management area, i.e., the starting coordinates of the grid in the upper left corner of the device management area, is (5, 0). The position and size of the device management area are shown in the shaded portion 701. The area name may or may not be displayed in this area, and this application does not limit this.

[0157] FIG7 b is a schematic diagram showing an exemplary layout of functional areas. Referring to FIG7 b , the central control module exemplarily layouts each functional area according to the above method to obtain the position and size of areas 1 to 5 in the display area 602 .

[0158] S504: Display the device card in the function area.

[0159] For example, the central control module can display device cards in one or more functional areas. In the embodiment of the present application, the device card can also be understood as the control corresponding to the device, the device image, the device control user interface, etc., such as the bedroom light control in Figure 3a.

[0160] FIG8 is an exemplary device card display method. Referring to FIG8 , the method specifically includes:

[0161] S801: The central control module obtains device data.

[0162] Exemplarily, the central control module obtains device data from the cloud. The device data includes the device data of the electronic device (such as IoT device) controlled by the central control module, and the device data includes but is not limited to: device identification information, device status, device type, and allowed status range, etc. Among them, the device identification information is used to identify the device, for example, it can be a device ID, device MAC address and / or device name, etc. The device status is used to indicate the current status of the IoT device, for example, the current temperature of the air conditioner is set to 28°. The allowed status range is used to indicate the range of adjustment allowed for the device, for example, the allowed adjustment range of the air conditioner is 15° to 30°. The device type is used to indicate the type of device, for example, the device type can be a TV, air conditioner, etc. Exemplarily, the device data can also include other privacy data, such as data such as the user account of the device.

[0163] Referring to Figure 9, for example, the cloud can acquire device data from IoT devices in real time. The cloud then sends the acquired device data to the central control device. For example, the central control device can send a request message to the cloud to acquire device data when it is first powered on or restored to factory settings, that is, when the desktop needs to be rearranged. The cloud acquires device data from IoT devices in real time and can send the most recently acquired device data to the central control device.

[0164] S802: The central control module generates a card ID and saves the corresponding relationship between the card ID and the device.

[0165] For example, the central control module can receive device data for multiple IoT devices sent from the cloud. It generates a unique card ID for each IoT device and stores the correspondence between the device data and the card ID. For example, card ID 1 corresponds to the device data for a TV, and card ID 2 corresponds to the device data for an air conditioner.

[0166] S803, the central control module sends the card ID and device data to the card application.

[0167] Exemplarily, the central control module filters the device data and sends only the device type, device name, device status, and allowed status range together with the card ID to the card application to instruct the card application to generate a corresponding device card, thereby protecting the information security of the device.

[0168] S804: The card application generates a card.

[0169] For example, the card application can generate a corresponding device card (can be simply referred to as a card) based on the acquired device data, that is, a user interface corresponding to the device control to be displayed on the desktop, which can also be called a device card view. For example, the card application records the correspondence between each card and the card ID.

[0170] S805: The card application sends the card and card ID to the central control module.

[0171] Exemplarily, the card application generates multiple cards, and the card application sends each card and its corresponding card ID to the central control module.

[0172] S806: The central control module displays the card in the designated functional area.

[0173] For example, as described above, the central control module can divide the display area 602 into multiple functional areas, and some or all of the multiple functional areas can be used to display cards. The specific areas can be determined according to the instructions in the configuration information and are not limited in this application. For example, the "Device Management" area is an area for displaying device cards. The central control module can display multiple acquired device cards in the device management area.

[0174] For example, the shape and size of each device card can be the same or different. The central control module can schematically layout the device cards in the device management area based on the shape and size of the device cards to enhance the aesthetics of the card display. For example, the device management area can include multiple sub-pages. For example, if the first sub-page area is insufficient to display all cards, the central control module can set up a second sub-page in the device management area to display all cards in the second sub-page. Multiple sub-pages can be arranged sequentially, and users can browse multiple sub-pages through the device management area.

[0175] For example, Figure 10 is an exemplary card display diagram. Referring to Figure 10, the card application generates a device card corresponding to the bedroom light based on the device data of the bedroom light, including, for example, the device name (i.e., bedroom light), device type (i.e., light), device status (currently on), and allowed range (i.e., on and off), and transmits it to the central control module. The central control module receives the device card and card ID for the bedroom light. The central control module displays card 1001 in the device management area (e.g., area 1). The card includes, but is not limited to, information such as the device name (i.e., bedroom light) and device status (i.e., on).

[0176] In an embodiment of the present application, after the central control module completes the desktop layout, the laid out desktop can be displayed each time the central control device switches to the foreground, which can also be understood as switching to the desktop, or switching to the main page.

[0177] FIG11 is a flow chart of an exemplary control method. Referring to FIG11 , the control method specifically includes:

[0178] S1101: The card application determines device status update information based on an operation event.

[0179] For example, please refer to Figure 12a. The user can click on the card corresponding to the bedroom light to turn off the bedroom light. The touch sensor of the central control device can detect the user's touch position and send the touch event to the central control module and the card application. The card application can determine the card touched by the user based on the user's touch position, and determine the corresponding card ID and the status of the device adjusted by the user. For example, as described above, the user operates the bedroom light control displayed on the desktop of the central control device and clicks to turn off the bedroom light. The card application can determine the status update information of the corresponding device based on the received user operation. The status update information is used to indicate the status of the adjusted device, such as turning off the bedroom light.

[0180] S1102: The card application sends the card ID and device status update information to the central control module.

[0181] For example, the card application can determine the card ID corresponding to the card operated by the user based on the correspondence between the card ID and the card, and the card application can send the card ID and status update information (such as the bedroom light is turned off) to the central control module.

[0182] S1103: The central control module verifies the card ID and the operation event.

[0183] Exemplarily, after the central control module receives the card ID and status update information, it verifies the card ID and the operation event. Exemplarily, as described above, the central control module can also receive touch events reported by the touch sensor, and the central control module can determine that a touch event has occurred. In other words, the card ID and status update information sent by the card application are sent after a user operation event actually occurs. This prevents the central control device from being attacked by malware. For example, malware may disguise itself as a card application and send status update information to the central control module. After the central control module receives the status update information, if it does not receive the touch event reported by the touch sensor, it can be determined that the status update information is not indicated by the user, and the central control module will not process it. Alternatively, the central control module can display an alarm message to indicate that there is currently a malware attack.

[0184] Exemplarily, the central control module verifies the card ID to detect whether the card ID is valid. In an embodiment of the present application, if the user clicks on any control to enter the control setting interface, or when the central control device is off, that is, the desktop is not displayed in the foreground, that is, the central control module detects that the desktop has switched to the background, the central control module will invalidate all card IDs. Optionally, the central control module can mark the corresponding relationship items (including card ID and device data, etc.) to which the card ID belongs as invalid. Optionally, the central control module can also mark the card ID as invalid. The specific marking method can be set according to actual needs and is not limited in this application. For example, please refer to Figure 12b. Exemplarily, after the user clicks on the bedroom light control, the central control module switches the desktop to the background in response to the received operation and displays the bedroom light control interface. The control interface is sent to the central control module by the card application. Optionally, the display of the interface can be displayed based on the process in Figure 8. Optionally, the interface can also be directly generated by the card application, which is not limited in this application.

[0185] For example, the central control module detects that the desktop has been switched to the background and invalidates all card IDs to prevent malware attacks. For example, malware may obtain the card ID of a card application and send the card ID and status update information to the central control software. At this time, because the desktop is in the background, all card IDs are invalid. After receiving the card ID, the central control module detects that the card ID is invalid and does not process it or issues an alarm.

[0186] In the embodiment of the present application, after the card ID and the touch event are successfully verified at the same time, the central control module executes S1104 to improve the security of the central control device.

[0187] S1104, the central control device sends the device ID and device status update information to the cloud.

[0188] For example, after the central control device successfully verifies the card ID and the touch event, the central control module searches for the device identification information (such as the device ID) corresponding to the card ID based on the correspondence between the card ID and the device data, and sends the device ID and status update information to the cloud.

[0189] S1105, cloud control device status update.

[0190] For example, after receiving the device ID and status update information, the cloud can determine the device that needs to be controlled based on the device ID, and adjust the status of the device based on the status update information, such as turning off the bedroom light.

[0191] S1106: The cloud sends the device ID and device status to the central control module.

[0192] For example, in an embodiment of the present application, the cloud can obtain the device status in real time. Device status changes include those controlled by the cloud, such as the cloud controlling the bedroom light to turn off in S1105. Device status changes also include those controlled manually by the user, such as the user manually controlling the bedroom light to turn off by turning on the bedroom light switch. Upon detecting a device status update, the cloud sends the device ID and current device status to the central control module, which can also be understood as the updated device status, such as the bedroom light being turned off.

[0193] S1107: The central control module determines the card ID based on the device ID.

[0194] For example, the central control module may determine the card ID corresponding to the device ID based on the stored correspondence between the card ID and the device data.

[0195] S1108: The central control module sends the card ID and device status to the card application.

[0196] Exemplarily, the central control module sends the card ID and the device status (ie, the current status of the device) to the card application to instruct the device application to update the card.

[0197] S1109: The card application updates the device's card based on the card ID and device status.

[0198] For example, the card application receives a card ID and device status. Based on the card ID, the card application can determine the card that needs to be updated. Based on the device status, the card application can update the content of the card. Optionally, the card application can regenerate a card corresponding to the device based on the device status, with the device status indicated in the new card being the updated device status, such as the bedroom light being off. Optionally, the card application can also only update the content of some controls in the card, which is not limited in this application.

[0199] S1110 , the card application sends the card ID and the device card to the central control module.

[0200] In one example, as described above, the card application may generate a new card, and the card application sends the card ID and the newly generated card to the central control module.

[0201] In another example, a card application can update part of a device card's content. For example, the card corresponding to the bedroom light only needs to update the bedroom light's status, that is, update the currently displayed "on" to "off." For example, a device card can also be viewed as a card composed of multiple controls. The card application can send the image (or user interface) of the control to be updated to the central control module.

[0202] S1111, the central control module updates the desktop.

[0203] For example, the central control module can determine the card that needs to be updated based on the received card ID. In one example, if the card application sends a new card, the central control module will update the card corresponding to the card ID to the new card. In another example, if the card application sends a partial control of a card, the central control module will update the partial control of the card corresponding to the card ID.

[0204] FIG13 is a flow chart of an exemplary control method. Referring to FIG13 , the control method specifically includes:

[0205] S1301: The cloud detects a device update.

[0206] For example, in this embodiment, device update refers to adding or removing a device, for example, a new speaker purchased at home and connected to the cloud. Another example is when a TV at home is disconnected from the cloud or unregistered from the cloud, which can also be called TV offline.

[0207] S1302: The cloud sends device data to the central control module.

[0208] For example, the cloud sends the device data of the added or deleted device to the central control module. The concept of device data can be referred to above and will not be repeated here.

[0209] S1303: The central control module detects that the device has been deleted and deletes the device data, card, and card ID.

[0210] For example, in this embodiment, the central control module determines that a device is deleted based on the cloud instruction, such as a TV is removed from the user's home. The central control module deletes the saved TV device data and the corresponding card and card ID based on the TV device data.

[0211] In another example, if the central control module determines based on the cloud's instructions that a device is to be added, such as the user purchases a new speaker at home and connects it to the cloud, it can be processed according to the steps in S802 to S806, which will not be repeated here.

[0212] S1304: The central control module sends a deletion instruction message to the card application.

[0213] Exemplarily, the central control module sends a deletion instruction message to the card application, where the instruction message includes a deletion instruction and a card ID, and is used to instruct the card application to delete the corresponding card.

[0214] S1305: The card application deletes the card.

[0215] Exemplarily, the card application deletes the card corresponding to the card ID in response to the received deletion instruction information.

[0216] In one possible implementation, if the desktop is not displayed in the foreground when the central control device executes the steps in FIG13 , for example, if the central control device is currently in the off-screen state, the central control module and the card application still execute the steps in FIG13 . In the scenario where a device is added, the central control module generates a card ID for the device and then marks the card ID as invalid. After detecting that the desktop has switched to the foreground, the central control module can display the updated desktop.

[0217] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or 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 in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0218] In an example, FIG14 shows a schematic block diagram of a device 1400 according to an embodiment of the present application. The device 1400 may include: a processor 1401 and a transceiver / transceiver pin 1402 , and optionally, a memory 1403 .

[0219] The various components of the device 1400 are coupled together via a bus 1404, wherein the bus 1404 includes, in addition to a data bus, a power bus, a control bus, and a status signal bus. However, for the sake of clarity, all buses are referred to as bus 1404 in the figure.

[0220] Optionally, the memory 1403 may be used for instructions in the aforementioned method embodiment. The processor 1401 may be used to execute instructions in the memory 1403 and control the receiving pin to receive a signal and control the transmitting pin to send a signal.

[0221] The apparatus 1400 may be the electronic device or a chip of the electronic device in the above method embodiment.

[0222] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0223] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.

[0224] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the method in the above-mentioned embodiment.

[0225] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the methods in the above-mentioned method embodiments.

[0226] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0227] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0228] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0229] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0230] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0231] Any content of each embodiment of this application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of this application.

[0232] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A control method, characterized in that: Applied to a central control device, the method comprises: Based on the first configuration information, the display area is divided into a plurality of grids; the first configuration information is used to indicate the number of grids in the display area and the size of a single grid; Based on the second configuration information, determining the layout of the multiple functional areas in the display area; wherein the second configuration information is used to indicate the number of grids occupied by each functional area in the multiple functional areas and the position of each functional area in the display area; In at least one functional area of ​​the multiple functional areas, multiple device controls are displayed; the multiple device controls correspond one-to-one to the multiple electronic devices controlled by the central control device; each of the device controls includes device information of the corresponding electronic device; the device information of the electronic device is obtained by the central control device from the cloud.

2. The method according to claim 1, characterized in that The first configuration information includes first quantity information and size information, the first quantity information is used to indicate the number of grids in the horizontal direction of the display area and the number of grids in the vertical direction of the display area; the size information is used to indicate the width and height of the single grid.

3. The method according to claim 2, characterized in that The plurality of grids are evenly arranged in the transverse direction and the longitudinal direction of the display area.

4. The method according to claim 1, characterized in that: The second configuration information includes second quantity information and starting position information, wherein the second quantity information is used to indicate the number of grids occupied by each of the multiple functional areas; and the starting position information is used to indicate the position of the starting grid in each of the functional areas in the display area.

5. The method according to claim 1, characterized in that The displaying of a plurality of device controls in at least one of the plurality of functional areas comprises: Acquire device information of the plurality of electronic devices from the cloud, the device information comprising at least one of the following: device identification information of a single electronic device, a type of a single electronic device, status information of a single electronic device, and allowable adjustment range information of a single electronic device; Generate corresponding control identification information for each of the multiple electronic devices, and save the corresponding relationship between the device information of the multiple electronic devices and the multiple control identification information; indicating to a target application part of the device information and a plurality of device identification information generated for the plurality of electronic devices, wherein the part of the device information includes at least one piece of information in the device information; In the at least one functional area, the plurality of device controls are displayed; wherein the plurality of device controls are generated by the target application based on the partial device information.

6. The method according to claim 5, characterized in that The method further comprises: Acquire the touch event information of the target application, wherein the touch event information includes the control label of the target electronic device. identification information and status update information of the target electronic device, the touch event information is used to indicate that a touch event of a control of the target electronic device is received, the touch event is used to indicate updating the status of the target electronic device, and the target electronic device belongs to the multiple electronic devices; Verifying the control identification information of the target electronic device and the touch event; After the control identification information of the target electronic device is successfully verified with the touch event, the control of the target electronic device is updated.

7. The method according to claim 6, characterized in that The verifying the identification information of the target electronic device and the touch event includes: Detecting whether the control identification information of the target electronic device is invalid, wherein the control identification information of the target electronic device is invalid when the central control device does not display the multiple functional areas; the control identification information of the target electronic device is valid when the central control device displays the multiple functional areas; It is detected that the control identification information of the electronic device is valid, and it is determined that the verification of the target electronic device is successful.

8. The method according to claim 6, characterized in that The verifying the identification information of the target electronic device and the touch event includes: Determining whether a touch operation on the display area is received based on parameters detected by the touch sensor; A touch operation on the display area is detected, and it is determined that the touch event verification is successful.

9. The method according to claim 6, characterized in that The updating of the control of the target electronic device includes: Determining the device identification information of the target electronic device corresponding to the control identification information of the target electronic device based on the correspondence between the device information of the multiple electronic devices and the multiple control identification information; Sending a status update request message to the cloud, the status update request message including the device identification information of the target electronic device and the status update information of the target electronic device, the status update request message being used to instruct the cloud to update the current status of the target electronic device to the status indicated by the status update information; Receiving a status update response message sent by the cloud, the status update response message including device identification information of the target electronic device and current status information of the target electronic device, the current status information being used to indicate a status of the target electronic device after being updated based on an instruction from the cloud; Determining the control identification information of the target electronic device corresponding to the device identification information of the target electronic device based on the correspondence between the device information of the multiple electronic devices and the multiple control identification information; Transmitting the control identification information of the target electronic device and the current state information to the target application, so as to instruct the target application to update the control of the target electronic device; A new control generated by the target application and corresponding to the target electronic device is obtained, and the control of the target electronic device is updated to the new control; the new control is generated by the target application based on the current state information.

10. A central control device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the central control device performs the following steps: Based on the first configuration information, the display area is divided into a plurality of grids; the configuration information is used to indicate the number of grids in the display area and the size of a single grid; Based on the second configuration information, determining the layout of the multiple functional areas in the display area; wherein the second configuration information is used to indicate the number of grids occupied by each functional area in the multiple functional areas and the position of each functional area in the display area; In at least one functional area of ​​the multiple functional areas, multiple device controls are displayed; the multiple device controls correspond one-to-one to the multiple electronic devices controlled by the central control device; each of the device controls includes device information of the corresponding electronic device; the device information of the electronic device is obtained by the central control device from the cloud.

11. The device according to claim 10, characterized in that The first configuration information includes first quantity information and size information, the first quantity information is used to indicate the number of grids in the horizontal direction of the display area and the number of grids in the vertical direction of the display area; the size information is used to indicate the width and height of the single grid.

12. The device according to claim 11, characterized in that The plurality of grids are evenly arranged in the transverse direction and the longitudinal direction of the display area.

13. The device according to claim 10, characterized in that The second configuration information includes second quantity information and starting position information, wherein the second quantity information is used to indicate the number of grids occupied by each of the multiple functional areas; and the starting position information is used to indicate the position of the starting grid in each of the functional areas in the display area.

14. The device according to claim 10, characterized in that When the computer program is executed by the one or more processors, the central control device performs the following steps: Acquire device information of the plurality of electronic devices from the cloud, the device information comprising at least one of the following: device identification information of a single electronic device, a type of a single electronic device, status information of a single electronic device, and allowable adjustment range information of a single electronic device; Generate corresponding control identification information for each of the multiple electronic devices, and save the corresponding relationship between the device information of the multiple electronic devices and the multiple control identification information; indicating to a target application part of the device information and a plurality of device identification information generated for the plurality of electronic devices, wherein the part of the device information includes at least one piece of information in the device information; In the at least one functional area, the plurality of device controls are displayed; wherein the plurality of device controls are generated by the target application based on the partial device information.

15. The device according to claim 14, characterized in that When the computer program is executed by the one or more processors, the central control device performs the following steps: Acquire touch event information of the target application, the touch event information including control identification information of the target electronic device and status update information of the target electronic device, the touch event information is used to indicate that a touch event to a control of the target electronic device is received, the touch event is used to indicate updating the status of the target electronic device, and the target electronic device belongs to the multiple electronic devices; Verifying the control identification information of the target electronic device and the touch event; After the control identification information of the target electronic device is successfully verified with the touch event, the control of the target electronic device is updated.

16. The device according to claim 15, characterized in that When the computer program is executed by the one or more processors, the central control device performs the following steps: Detecting whether the control identification information of the target electronic device is invalid, wherein the control identification information of the target electronic device is invalid when the central control device does not display the multiple functional areas; the control identification information of the target electronic device is valid when the central control device displays the multiple functional areas; It is detected that the control identification information of the electronic device is valid, and it is determined that the verification of the target electronic device is successful.

17. The device according to claim 15, characterized in that When the computer program is executed by the one or more processors, the central control device performs the following steps: Determining whether a touch operation on the display area is received based on parameters detected by the touch sensor; A touch operation on the display area is detected, and it is determined that the touch event verification is successful.

18. The device according to claim 15, characterized in that When the computer program is executed by the one or more processors, the central control device performs the following steps: Determining the device identification information of the target electronic device corresponding to the control identification information of the target electronic device based on the correspondence between the device information of the multiple electronic devices and the multiple control identification information; Sending a status update request message to the cloud, the status update request message including the device identification information of the target electronic device and the status update information of the target electronic device, the status update request message being used to instruct the cloud to update the current status of the target electronic device to the status indicated by the status update information; Receiving a status update response message sent by the cloud, the status update response message including device identification information of the target electronic device and current status information of the target electronic device, the current status information being used to indicate a status of the target electronic device after being updated based on an instruction from the cloud; Determining the control identification information of the target electronic device corresponding to the device identification information of the target electronic device based on the correspondence between the device information of the multiple electronic devices and the multiple control identification information; Transmitting the control identification information of the target electronic device and the current state information to the target application, so as to instruct the target application to update the control of the target electronic device; A new control generated by the target application and corresponding to the target electronic device is obtained, and the control of the target electronic device is updated to the new control; the new control is generated by the target application based on the current state information.

19. A computer storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 9.

20. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 9.

21. A chip, characterized in that: It comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send the signal to the processor, wherein the signal includes a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the method described in any one of claims 1 to 9.