Control methods and devices for electronic equipment
By identifying the target device and obtaining its configuration file through the control device, the problems of numerous and limited remote controls are solved, enabling unified control of multiple electronic devices and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HISENSE VISUAL TECH CO LTD
- Filing Date
- 2021-09-30
- Publication Date
- 2026-04-17
AI Technical Summary
Different electronic devices typically require their own remote controls, resulting in users needing to operate a large number of remote controls with limited functionality, which negatively impacts the user experience.
A control device is provided that determines a target device among multiple controlled devices through a first communication unit, obtains its corresponding configuration file, and sends control commands in a data format according to the received control command instructions, thereby realizing unified control of multiple electronic devices.
The functionality of the control device has been enriched, enabling one control device to control multiple electronic devices separately, thus improving the user experience.
Smart Images

Figure CN115914702B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a control method and apparatus for an electronic device. Background Technology
[0002] Currently, with the continuous development of electronic technology, people use a variety of electronic devices in their daily lives, such as televisions and air conditioners. Meanwhile, with the increasing attention people pay to air quality in recent years, electronic devices used to improve air quality, such as air purifiers, have also been more widely used.
[0003] In related technologies, different electronic devices typically have their own remote controls. For example, each television set has its own remote control, each air conditioner has its own remote control, and each air purifier has its own remote control. This results in users of electronic devices needing to operate a large number of remote controls. Taking a remote control for a display device such as a television as an example, this remote control can only be used to control the television, making its function relatively limited and thus affecting the user experience of electronic devices. Summary of the Invention
[0004] This application provides a control method and apparatus for an electronic device, which can overcome the problem that the control device of the display device in the related art has relatively simple functions, so that the control device can realize richer control functions and thus improve the user experience of the control device.
[0005] A first aspect of this application provides a control method for an electronic device, applied to a control device controlling multiple controlled devices. The control method includes: determining that the control device is facing a target controlled device among the multiple controlled devices; determining a first configuration file corresponding to the target controlled device; wherein the first configuration file includes multiple control commands for the target controlled device and a data format corresponding to each control command; upon receiving an instruction to send a first control command, determining the data format corresponding to the first control command from the first configuration file; and sending the first control command to the target controlled device according to the data format.
[0006] The second aspect of this application provides a control device for an electronic device, used to perform the control method for the electronic device as described in any of the first aspects of this application.
[0007] In summary, the control method and apparatus for electronic devices provided in this application enable the control device to determine the target electronic device among multiple electronic devices after determining its orientation through the first communication unit, determine the configuration file corresponding to the target electronic device, and then send the control command to the target electronic device according to the data format corresponding to the target electronic device in the configuration file when receiving an instruction to send a control command. This allows multiple electronic devices to be controlled separately using a single control device, thereby greatly enriching the functions of the control device of the display device and improving the user experience of the control device. Attached Figure Description
[0008] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 The diagram illustrates an operational scenario between the display device and the control device according to an embodiment.
[0010] Figure 2 The diagram above exemplarily illustrates a hardware structure diagram of a hardware system in a display device according to an exemplary embodiment;
[0011] Figure 3 A schematic diagram of the structure of an embodiment of a control system provided in this application;
[0012] Figure 4 This application provides a schematic diagram of the structure of another embodiment of a control system.
[0013] Figure 5 A schematic diagram showing air parameters for the display device provided in this application;
[0014] Figure 6 A schematic diagram of another embodiment of the control system for a display device provided in this application;
[0015] Figure 7 A schematic diagram of another embodiment of the control device provided in this application;
[0016] Figure 8 A flowchart illustrating an embodiment of the control method for the controlled device provided in this application;
[0017] Figure 9 A schematic diagram of the structure of an embodiment of the control device provided in this application;
[0018] Figure 10A schematic diagram illustrating the determination of the target controlled device by the processing unit provided in this application;
[0019] Figure 11 A schematic diagram showing a UWB tag on the display device provided in this application;
[0020] Figure 12 A control timing diagram of the control device provided in this application;
[0021] Figure 13 A flowchart illustrating an embodiment of the control method for the controlled device provided in this application;
[0022] Figure 14 A flowchart illustrating an embodiment of the control method for the controlled device provided in this application;
[0023] Figure 15 A flowchart illustrating an embodiment of the control method for the controlled device provided in this application;
[0024] Figure 16 A schematic flowchart of an embodiment of the control method for the control device provided in this application;
[0025] Figure 17 A schematic diagram illustrating the display device provided in this application that displays a battery level indicator;
[0026] Figure 18 A schematic flowchart of another embodiment of the control method of the control device provided in this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0028] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] The concepts involved in this application will first be described with reference to the accompanying drawings. It should be noted that the following description of various concepts is only to make the content of this application easier to understand and does not imply a limitation on the scope of protection of this application. Among them, the terms "module", "unit", "component", etc. used in various embodiments of this application can refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with the element.
[0030] The term "remote control" as used in the embodiments of this application refers to a component of an electronic device (such as a display device in this application) that can wirelessly control the electronic device over a relatively short distance. This component can generally connect to the electronic device using infrared and / or radio frequency (RF) signals and / or Bluetooth and / or UWB, and may also include functional modules such as WiFi, wireless USB, Bluetooth, motion sensors, and UWB.
[0031] Figure 1 The diagram illustrates an operational scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the control device 100.
[0032] Specifically, the control device 100 can be a remote control, which can communicate with the display device 200 via infrared, Bluetooth, ZigBee, UWB, or other short-range communication methods to control the display device 200 wirelessly. Users can input commands through buttons, voice input, and control panel input on the remote control 100 to control the display device 200. For example, users can input corresponding control commands through the volume up / down buttons, channel control buttons, up / down / left / right movement buttons, voice input buttons, menu buttons, and power buttons on the remote control 100A to control the display device 200.
[0033] like Figure 1 As shown, the display device 200 can also communicate with the server 300 via various communication methods. In various embodiments of this application, the display device 200 may establish a wired or wireless communication connection with the server 300 via a local area network, wireless local area network, or other networks. The server 300 may provide the display device 200 with various content and interactive features.
[0034] For example, display device 200 interacts by sending and receiving information, as well as with an Electronic Program Guide (EPG), receiving software updates, or accessing a remotely stored digital media library. Server 300 can be a group or multiple groups, and can be one or more types of servers. Other network services, such as video-on-demand and advertising services, are provided through server 300.
[0035] The display device 200 can be, in one sense, a liquid crystal display, an OLED (Organic Light Emitting Diode) display, or a projection display device; in another sense, it can be a smart TV or a display system consisting of a monitor and a set-top box. The specific type, size, and resolution of the display device are not limited, but those skilled in the art will understand that the display device 200 can be modified in terms of performance and configuration as needed.
[0036] In addition to providing broadcast television reception functionality, the display device 200 may also include smart network television functionality that provides computer support. Examples include IPTV, smart TV, Internet Protocol TV (IPTV), etc. In some embodiments, the display device may not have broadcast television reception functionality.
[0037] In other examples, the display device 200 may have additional functions or fewer of the aforementioned functions. This application does not specifically limit the implementation of the display device 200; for example, the display device 200 may be any electronic device such as a television set.
[0038] For example, Figure 2 The image below exemplarily illustrates a hardware structure diagram of the hardware system in the display device 200 according to an exemplary embodiment. For example... Figure 2 As shown, the display device 200 includes: a panel 1, a backlight assembly 2, a motherboard 3, a power board 4, a back cover 5, and a base 6. The panel 1 is used to display the image to the user; the backlight assembly 2, located below the panel 1, typically consists of optical components that provide sufficient brightness and a uniformly distributed light source, enabling the panel 1 to display images correctly. The backlight assembly 2 also includes a back plate 20, on which the motherboard 3 and power board 4 are mounted. Typically, some protruding structures are stamped into the back plate 20, and the motherboard 3 and power board 4 are fixed to the protrusions by screws or hooks; the back cover 5 covers the panel 1 to conceal the backlight assembly 2, motherboard 3, and power board 4, achieving an aesthetically pleasing effect; the base 6 supports the display device. Optionally, Figure 2 The device also includes a keypad, which can be mounted on the back panel of the display device; this application does not limit this.
[0039] In addition, the display device 200 may also include a sound reproduction device (not shown in the figure), such as an audio component, including an I2S interface with a power amplifier (AMP) and a speaker, for the purpose of sound reproduction. Typically, the audio component can achieve at least two channels of sound output; to achieve a panoramic surround sound effect, multiple audio components are required to output multiple channels of sound, which will not be described in detail here.
[0040] It should be noted that the display device 200 can be implemented using specific forms such as an OLED display screen. Thus, for example... Figure 2 The template included in the display device 200 shown has been changed accordingly, which will not be described in detail here. This application does not limit the specific internal structure of the display device 200.
[0041] The following detailed description of the specific implementation of the control device 100 provided in this application, using specific embodiments, illustrates the technical solution. The control device 100 provided in this application can be used to control multiple electronic devices, and the electronic devices that the control device 100 can control are referred to as the controlled devices. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0042] Specifically, the control device 100 provided in this application can be a remote control corresponding to a display device 200 such as a television, or it can also be a remote control corresponding to an electronic device such as an air conditioner or an air purifier. In the various embodiments of this application, the remote control corresponding to a television is used as an example, not as a limitation. Furthermore, the remote control can be considered to have a corresponding relationship with one of the controlled devices. For example, taking the display device 200 as an example, the manufacturer of the display device 200 can simultaneously provide the display device 200 and its corresponding control device 100. For instance, the manufacturer can provide a remote control corresponding to the television when selling it, or the manufacturer can provide more remote controls for other uses or replacements. In this case, the control device 100 of the display device 200 can control not only the display device 200, but also multiple controlled devices other than the display device 200.
[0043] Figure 3 A schematic diagram of an embodiment of a control system provided in this application is shown below. Figure 3 As shown, the control system provided in this embodiment includes multiple controlled devices and a control device 100. The control device provided in this embodiment includes a processing unit 101, a first communication unit 103, and a second communication unit 104. The first communication unit 103 and the second communication unit 104 are both connected to the processing unit 101.
[0044] Figure 4 A schematic diagram of another embodiment of the control system provided in this application is shown below. Figure 4 The control device 100 shown is in Figure 3 The system also includes at least one air detection unit 102, which is connected to the processing unit 101. Figure 4 The control device 100 shown has an air detection function, so as to... Figure 1 As shown in the example scenario, in addition to using the control device 100 to control the display device 200, the control device 100 can also obtain the air parameters of the environment in which the control device 100 is located through at least one air detection unit 102 set inside it. Figure 3 At least one air detection unit in the control device 100 is referred to as air detection unit a, air detection unit b, etc. These air detection units 102 are configured to acquire air parameters of the environment in which the control device 100 is located and send them to the processing unit, which then performs further processing on the air parameters.
[0045] In some embodiments, the housing of the control device 100 is provided with an opening, so that the air detection unit 102 inside the control device 100 can collect air parameters outside the control device 100 through the opening, thereby enabling the detection of the environment of the user using the control device 100.
[0046] In some embodiments, this application as Figure 3 He Ru Figure 4 The provided control device 100 has at least two communication units, referred to as a first communication unit 103 and a second communication unit 104. The first communication unit 103 is configured to determine the current signal transmission direction of the control device toward a target controlled device among a plurality of controlled devices, and the second communication unit 104 is configured to communicate with any one of the plurality of controlled devices.
[0047] For example, in such Figure 3 and Figure 4In the scenario shown, the environment in which the control device 100 is located includes multiple controlled devices, denoted as controlled device A, controlled device B, ..., controlled device N. The control device 100 can control any one of these controlled devices. Therefore, it can be understood that the control device 100 provided in this embodiment, in addition to communicating with any controlled device using the second communication unit 104, also includes a first communication unit 103 for determining the specific orientation of the control device 100 towards a target controlled device among the multiple controlled devices, enabling the control device 100 to simultaneously control multiple controlled devices in the environment. Therefore, it can be understood that the control device 100 provided in this embodiment, in addition to communicating with the controlled devices using the second communication unit 104, also includes a first communication unit 103 for determining the specific connection of the control device 100 to a target controlled device among the multiple controlled devices, enabling the control device 100 to separately control multiple controlled devices in the environment.
[0048] In some embodiments, the processing unit 101 in the control device 100 is configured to control different controlled devices.
[0049] In one scenario, when the processing unit 101 determines through the first communication unit 104 that the control device 100 is facing the target controlled device among multiple controlled devices, the processing unit 101 obtains the air parameters through at least one air detection unit 102 and then sends the air parameters to the target controlled device through the first communication unit 103.
[0050] In another scenario, when the processing unit 101 of the control device 100 determines, via the first communication unit, that the control device 100 is oriented towards a target controlled device among multiple controlled devices, it sends a control command to the target controlled device via the second communication unit 104. The control command may be the control command corresponding to the target controlled device from the set of control commands for multiple controlled devices determined by the processing unit 101 based on air parameters; or, the control command may be determined by the processing unit based on air parameters and the target controlled device being oriented towards; or, the control command may be determined by the processing unit based on an instruction from the user of the control device 100 to send a control command.
[0051] In some embodiments, such as Figure 3The control device 100 and the target controlled device 200 are corresponding. For example, when the target controlled device 200 is a display device, the control device 100 is the remote control for that display device. In this case, the control device 100 can send a control command to the target controlled device 200 when it is determined that it is facing the target controlled device 200. Since the control device 100 corresponds to the target controlled device, it can also send the control parameters to the target controlled device via the second communication unit after obtaining air parameters through at least one air detection unit, without needing to determine whether it is facing the target controlled device. However, when controlling other controlled devices without a corresponding relationship, the control device still needs to first determine the direction of the controlled device before sending air parameters and / or control commands to that device. For example, since the control device 100 corresponds to the display device 200, when the processing unit 101 in the control device 100 receives the air parameters, it directly sends the air parameters to the display device 200 via the second communication unit, which can be Bluetooth, WIFI, etc.
[0052] In some embodiments, the target controlled device can be a display device. After the control device 100 collects the air parameters and sends them to the display device 200, the display device can display the air parameters on its screen. For example, Figure 5 This is a schematic diagram of the display device provided in this application displaying air parameters, in which... Figure 5 In scenario A shown, after receiving the air parameters sent by the control device, the display device 200 can display the air parameters at any position on its display screen 201. Alternatively, in scenarios such as... Figure 5 In scenario B, when the display device 200 has multiple display screens, while the main display screen 201 displays the content the user is currently viewing, the secondary display screen 202 can display other content such as time, date, and air quality parameters. In some embodiments, the display device 200 can directly display the received air quality parameters, or it can determine the correspondence between the intervals corresponding to the received air quality parameters and the evaluation results, and then display the evaluation results of the air quality parameters (good, medium, poor, etc.), operation suggestions (suggesting that the air purifier be turned on), etc.
[0053] In some embodiments, since the control device can control different controlled devices, the processing unit 101 can store information such as the data format of control commands corresponding to different controlled devices. When the processing unit 101 of the control device 100 determines that it is facing a television via the first communication unit 103, if it receives a click operation from the user on the "up" button on the control device 100, the processing unit 101 determines the control command information corresponding to the "up" button for the television from the storage unit, and sends a control command to the television to increase the volume according to the control command information via the second communication unit 104. Similarly, when the processing unit 101 of the control device 100 determines that it is facing an air conditioner via the first communication unit 103, if it receives a click operation from the user on the "up" button on the control device 100, the processing unit 101 determines the control command information corresponding to the "up" button for the air conditioner from the storage unit, and sends a control command to the air conditioner to increase the temperature according to the control command information via the second communication unit 104, thereby enabling the control of different controlled devices with the same button. For example, when the second communication unit 104 is an infrared transceiver, the storage unit can store different infrared data formats corresponding to different control commands.
[0054] In some embodiments, the processing unit 101 may also determine control commands corresponding to multiple controlled devices based on the received air parameters, and send the corresponding control commands to the multiple controlled devices; or, after determining the control commands based on the air parameters, when the processing unit 101 determines that the control device 100 is facing a controlled device, it sends the corresponding control command to that controlled device.
[0055] In some embodiments, the first communication unit provided in this application for determining the connection between the control device 100 and the target controlled device may specifically be an ultra-wideband (UWB) communication unit. For example, Figure 6 This is a schematic diagram of another embodiment of the control system for a display device provided in this application. Figure 6 The control device 100 in the middle can be Figure 3 or Figure 4 The control device in the middle, Figure 6 China and Israel Figure 4 Taking the control device as an example, the first communication unit 103 provided in the control device 100 is referred to as the first UWB unit. Correspondingly, each controlled device is also provided with a UWB communication unit, and the UWB communication unit provided in the controlled device is referred to as the second UWB communication unit.
[0056] In some embodiments, such as Figure 6The first UWB communication unit shown is specifically configured to perform UWB communication. The processing unit 101 within the control device 100 can send a UWB tag acquisition request through the first UWB communication unit. When a second UWB communication unit within any of the multiple controlled devices receives the UWB tag acquisition request, it will send the UWB tag corresponding to that second UWB communication unit. For example... Figure 4 In the example shown, the second UWB communication unit 1 of the display device 200 corresponds to UWB tag 1, the second UWB communication unit 2 of the air conditioner 210 corresponds to UWB tag 2, and the second UWB unit 3 of the air purifier 220 corresponds to UWB tag 3. When the second UWB communication unit 1 of the display device 200 sends UWB tag 1 to the control device, the processing unit 101 within the control device 100 receives UWB tag 1 through the first UWB unit. The processing unit 101 can then determine the display device 200 as the target controlled device based on UWB tag 1. Subsequently, the processing unit 101 can execute the steps described in the foregoing embodiments of this application, namely, sending air parameters and / or control commands to the display device 200.
[0057] In some embodiments, such as Figure 5 In the control system shown, each controlled device is also equipped with a third communication unit for communicating with the second communication unit 104 in the control device 100. For example, when the control device determines, based on the UWB tag 1, that the current control device 100 is connected to and controlling the display device 200, the processing unit 101 sends air parameters and / or control commands to the display device 200 through the second communication unit 104, and the display device 200 receives the air parameters and / or control commands sent by the control device 100 according to the third communication unit 1.
[0058] Figure 7 This is a schematic diagram of another embodiment of the control device provided in this application, as shown below. Figure 7 The control device 100 shown is in Figure 3 , Figure 4 and Figure 6 Based on the control device 100 shown, it also includes:
[0059] The attitude detection unit 105 is configured to determine the attitude of the control device 100, including the direction the control device is facing, which is the direction in which the control device 100 can communicate, such as the direction in which infrared light is emitted. For example, the attitude detection unit 105 can be a gyroscope used to detect information such as the angle of the control device 100 and the angle with the horizontal plane, and send it to the processing unit. In some embodiments, the first UWB communication unit in the control device 100 can test the angle and distance of the received UWB tag source through its UBW antenna. The test results, combined with the orientation direction of the control device detected by the attitude detection unit 105, can determine the current positional relationship between the control device 100 and the controlled device.
[0060] At least one interaction unit 106 is configured to receive instructions from a user of the control device and / or issue prompts to the user of the control device. For example, at least one interaction unit 106 may include at least one of the following: a keyboard 1061 and a microphone 1062, respectively for receiving instructions issued by the user via pressing and sound; a vibration motor 1063 and a buzzer 1064, respectively for issuing prompts to the user via vibration and sound. The interaction unit 106 may also include LED indicator lights, etc.
[0061] In some embodiments, such as Figure 7 In the control device 100 shown, the second communication unit specifically includes an infrared communication unit 1032 and / or a Bluetooth communication unit 1031, which are used to send data to the controlled device via infrared and Bluetooth communication methods, respectively. The data sent includes air parameters and / or control commands. When the second communication unit includes both the infrared communication unit 1032 and the Bluetooth communication unit 1031, the processing unit 101 can select either the infrared communication unit 1032 or the Bluetooth communication unit 1031 to send control signals to the target controlled device according to the third communication unit set in the target controlled device.
[0062] In some embodiments, such as Figure 7 The control device 100 shown includes at least one air detection unit 102 comprising at least one of the following: a fine particulate matter (PM) sensor 1021, a total volatile organic compounds (TVOC) sensor 1022, and a temperature and humidity sensor 1023. These sensors are merely examples; any one or more of these sensors may be installed in the control device 100, or other air detection units for acquiring air parameters may also be installed.
[0063] In some embodiments, such as Figure 7The control device processing unit 101 shown is connected to all other units. Functionally, the processing unit 101 can be divided into a data acquisition module and a logic processing module. The data acquisition module is used to acquire data through communication units, sensors and other units. The logic processing unit is used to process the data and is responsible for task scheduling and timing control of various communication units, sensors and other units.
[0064] In summary, the control device for the display device provided in this application embodiment includes an air detection unit for detecting air parameters and a second communication unit for determining the target controlled device to which the control device is connected. This allows the control device to send the air parameters obtained by the air detection unit and / or control commands to the target controlled device via the first communication unit when the second communication unit determines that it is connected to a target controlled device among multiple controlled devices. Therefore, although the control device provided in this application embodiment corresponds to the display device, it can also control other controlled devices, thereby enriching the functionality of the control device. Furthermore, the control device also includes an air detection unit for detecting the air parameters of the environment in which the control device is located. Subsequently, the display device can display the air parameters, or the control device can execute corresponding control commands based on the air parameters, further defining the functionality of the control device, improving its intelligence, and thus enhancing the user experience of both the display device and the control device.
[0065] The control device based on the display device provided in the embodiments of this application can be used to control multiple controlled devices, so that the control device needs to send different control commands to different controlled devices when controlling different controlled devices. Therefore, this application also provides a control method for an electronic device, in which the control device, when controlling multiple controlled devices, determines the target controlled device among the multiple controlled devices, obtains the configuration file corresponding to the target controlled device, and then, after receiving a control command from the user for the target controlled device, sends the control command to the target controlled device according to the data format corresponding to the target controlled device in the configuration file, thereby enabling the user to control multiple controlled devices separately through the control device. For example, Figure 8 A schematic flowchart of an embodiment of the control method for the controlled device provided in this application is shown below. Figure 8 The control method shown can be executed by the control device provided in any embodiment of this application, specifically by the processing unit in the control device. The control method includes:
[0066] S101: The processing unit in the control device determines the direction of the control device toward the target controlled device among multiple controlled devices through the first communication unit.
[0067] In some embodiments, when the first communication unit is a first UWB communication unit, the processing unit first sends a UWB tag acquisition request in the direction it is facing through the first UWB communication unit in S1011; then, when the target controlled device among the multiple controlled devices receives the UWB tag acquisition request, it sends the UWB tag of the target controlled device to the first UWB communication unit in S1012, so that after the processing unit receives the UWB tag sent from the target controlled device through the first UWB communication unit, it can determine the target controlled device that the control device is facing at this time based on the received UWB tag in S1013.
[0068] In some embodiments, Figure 9 A schematic diagram of an embodiment of the control device provided in this application is shown below. Figure 9 The control device 100 shown is equipped with a housing. A first communication unit and a second communication unit are arranged inside the area 110 above the housing in the figure. The direction A indicated by the upward arrow in the figure is the direction in which the control device 100 faces. At this time, the antennas of the first communication unit and the second communication unit in the area 110 also face the direction A, so that both communication units can communicate in the direction A. For example, the first UWB communication unit can send a UWB tag acquisition request to the direction A and receive a UWB tag from the direction A, and the second communication unit can send control commands to the direction A, etc.
[0069] In some embodiments, when such Figure 9 When the control device shown includes an air detection unit, the air detection unit can be disposed in the lower region 120 of the housing, and an opening is provided in the region 120 of the housing so that the air detection unit inside the housing can detect the air outside the housing through the opening.
[0070] In some embodiments, such as Figure 9 The control device shown also has multiple buttons on its casing, allowing users to issue control commands by clicking these buttons. Figure 9 In the example shown, the control device includes a power switch 131, a circular touch button 132, and volume up / down buttons 133. It should be noted that, as... Figure 9 The structure of the control device 100 shown is only an example. The control device 100 can also be in other shapes and include buttons with other functions. This application does not limit the number, position and function of the buttons on the outside of the control device 100.
[0071] In some embodiments, in S1013, the processing unit can determine the angle that the control device is facing at this time by the attitude detection unit provided in the control device, and combine the signal arrival angle and signal arrival time when the UWB tag is received through the first UWB communication unit to determine the target controlled device that the current control device is facing.
[0072] For example, Figure 10 A schematic diagram illustrating the determination of the target controlled device by the processing unit provided in this application is shown below. Figure 9 The structure of the control device 100 shown is such that when a user uses the control device 100 to face the controlled device 200, the first UWB communication unit of the control device 100 sends a UWB tag acquisition request in the A direction. At the same time, the attitude detection data unit, such as the gyroscope, installed in the control device 100 can detect the current attitude data of the control device 100 and send it to the processing unit, so that the processing unit determines the attitude of the control device 100 as facing the A direction based on the attitude data. Figure 10 In the diagram, direction A is designated as the signal transmission direction of the control device.
[0073] Simultaneously, when the processing unit within the control device 100 receives a UWB tag sent by the second UWB communication unit 2001 within the controlled device 200 via the first UWB communication unit, it can determine the arrival direction B of the UWB signal when the UWB tag is received based on the two antennas of the first UWB communication unit, and record the direction B as the signal receiving direction of the control device. Furthermore, the processing unit can also, based on the Time-of-Flight (ToF) method, multiply the time length between the first moment when the processing unit sends the UWB tag acquisition request via the first UWB communication unit and the second moment when the processing unit receives the UWB tag via the first UWB communication unit by the propagation speed of the UWB signal (the speed of light in air, c), to obtain the round-trip distance of the UWB signal between the control device 100 and the controlled device 200. Half of this distance is the distance L between the control device 100 and the controlled device 200.
[0074] For example, when the processing unit sends a UWB tag acquisition request through the first UWB communication unit, it records the timestamp information of the first moment TX when the request is sent. Subsequently, when the processing unit receives the UWB tag through the first UWB communication unit at the second moment, it can obtain the timestamp information of the second moment RX when the UWB tag is received. Then, the distance L between the control device 100 and the controlled device 200 can be obtained by L = (RX-TX)*c / 2.
[0075] Alternatively, in some embodiments, the control device 100 may also have a separate ranging module, such as a ToF laser ranging module, and the module's signal transmission / reception direction is aligned with the same signal transmission direction as the first UWB communication unit. Thus, when the first UWB communication unit is facing the target electronic device, the ranging module simultaneously determines the distance L between the control device 100 and the controlled device 200. Through parallel processing with the first UWB communication unit, distance determination does not depend on whether a UWB tag is received through the first UWB communication unit. Therefore, the ranging module has a certain degree of independence, which improves the overall processing efficiency of the control device.
[0076] Finally, the processing unit determines that when the angle α between the signal transmission direction A and the signal reception direction B of the control device 100 is less than the first threshold, and the distance L between the control device 100 and the controlled device 200 is less than the second threshold, the controlled device 200 currently being directed by the control device is determined to be the target controlled device, and the control device 100 can subsequently control the target controlled device.
[0077] In some embodiments, the first threshold can be 7°, and the second threshold can be 5m, etc. The first and second thresholds can be preset according to different application scenarios or set by the user. This application does not limit the specific values of the first and second thresholds.
[0078] The example of S1013 described above provides a method for a processing unit to determine the specific implementation of the target controlled device based on a single UWB tag received through the first UWB communication unit. However, in practical applications, since the controlled device is typically located in a room with limited space, when the processing unit of the control device sends a UWB tag acquisition request through the first UWB communication unit, the processing unit may receive multiple UWB tags sent by the controlled devices. In this case, the processing unit also needs to determine the target controlled device that the user actually wants to control from among the controlled devices corresponding to these multiple UWB tags.
[0079] In some embodiments, when the processing unit receives multiple UWB tags sent by multiple controlled devices through the first communication unit in S1012, if the processing unit cannot determine the target controlled device that the user is currently pointing the control device at, the processing unit can send the received multiple UWB tags to the display device, so that the display device prompts the user on its display screen to determine the target controlled device from the multiple controlled devices corresponding to the multiple UWB tags. Subsequently, the display device sends the UWB tag and other information of the target controlled device selected by the user to the control device, so that the control device determines the target controlled device according to the information sent by the display device.
[0080] For example, Figure 11 This diagram illustrates the display device for displaying UWB tags provided in this application. When the display device 200 receives multiple UWB tags sent by the control device 100, it displays the name, image, and other information of the controlled device corresponding to each UWB tag on its display screen 201. This allows the user of the display device 200 to indicate the target controlled device from among the multiple controlled devices via the control device, voice, or buttons on the display device. Subsequently, the display device 200 sends the target controlled device selected by the user to the control device 100, enabling the control device 100 to confirm the target controlled device.
[0081] In some embodiments, since the positions of controlled devices such as display devices and air conditioners are relatively fixed in practical applications, the posture of the control device is also relatively fixed after the user uses the control device to face these controlled devices. Therefore, when the control device receives the target controlled device sent by the display device in the above embodiments, it can also simultaneously determine the orientation angle of the control device with the posture detection unit and store the correspondence between the orientation angle and the target controlled device. For example, in... Figure 10 In the example shown, when the control device 100 determines that the current orientation direction A corresponds to the controlled device 200, it can store the correspondence between direction A and controlled device 200. Similarly, the correspondence between direction C and controlled device 210, direction D and controlled device 220, etc., can be stored in the form of tables such as Table 1 below.
[0082] Table 1
[0083] direction Information of the controlled device A 200 controlled devices C Controlled device 210 D Controlled device 220
[0084] In some embodiments, when the processing unit receives multiple UWB tags sent by multiple controlled devices through the first UWB communication unit in S1012, the processing unit can determine the current orientation of the control device based on the attitude detection unit. Then, it can determine the controlled device corresponding to the current orientation as the target controlled device from the mapping relationship. For example, when the processing unit simultaneously receives UWB tag 1 from controlled device 200 and UWB tag 2 from controlled device 210 through the first UWB communication unit, it determines controlled device 200 as the target controlled device based on the current orientation direction A. Furthermore, if the current orientation direction is determined to be D, but UWB tag 3 from controlled device 220 is not received, the received multiple UWB tags can be sent to the display device for selection by the user of the display device.
[0085] S102: The processing unit of the control device further determines the first configuration file corresponding to the target controlled device based on the target controlled device determined in S101.
[0086] In some embodiments, since the control device can control multiple different controlled devices, and the control commands for each controlled device need to be sent in different forms, the storage unit of the control device can pre-store configuration files corresponding to multiple controlled devices, so that after the processing unit determines the target controlled device, it can retrieve the first configuration file corresponding to the target controlled device from the storage unit.
[0087] In some embodiments, the configuration files of multiple different controlled devices stored in the storage unit of the control device may be preset and pre-stored in the controlled devices. Alternatively, before the user uses the control device to control the target controlled device for the first time, the user binds the control device to the target controlled device on the display device and configures the control device to control the target device. After this, the display device sends the first configuration information of the target controlled device to the control device, which then stores it.
[0088] In some embodiments, the control device may not store configuration files. Instead, after determining the target controlled device, it sends a configuration file retrieval request to the display device, which then sends the first configuration file of the target controlled device to the control device. This reduces the storage space occupied by the control device storing different configuration files.
[0089] For example, the configuration file described in this application can be the data format of control commands for different buttons on a control device when those buttons control the controlled device to perform preset functions. Figure 9 The control device shown is an example, when... Figure 9 When the control device 100 is facing the air conditioner, the volume up / down buttons 133 correspond to control commands instructing the air conditioner to increase or decrease the temperature. Therefore, the configuration file corresponding to the air conditioner includes the correspondence between the "+" button and the "data format of the first infrared signal," and the "-" button and the "data format of the second infrared signal." When... Figure 9 When the control device 100 shown is facing the air purifier, the volume up / down button 133 corresponds to the control command indicating the increase or decrease of the fan speed. Therefore, the configuration file corresponding to the air purifier includes the correspondence between the "+ button" and the "data format of the third infrared signal", and the "- button" and the "data format of the fourth infrared signal".
[0090] S103: After determining the first configuration file in S102, the control device can control the target controlled device according to the first configuration file. Specifically, when the processing unit of the control device receives an instruction to send a first control command to the target controlled device via an interaction unit such as a button, it determines the data format corresponding to the first control command from the first configuration file.
[0091] S104: After the control device determines the data format of the first control command, it can send the first control command to the target controlled device through the second communication unit according to the data format, so as to control the target controlled device.
[0092] Similarly Figure 9 The control device 100 shown is an example, when... Figure 9 When the control device 100 is oriented towards the air conditioner, after steps S101-S102, the processing unit of the control device has determined the first configuration file. The control device then detects a user's click on the "+" button in the volume up / down buttons 133, corresponding to an instruction to send a first control command to the air conditioner to increase the temperature. The data format of the first infrared signal corresponding to this first control command is obtained from the first configuration file. Subsequently, in step S104, the processing unit, based on the data format of the first infrared signal, sends the first infrared signal through its second communication unit as a first control command instructing the air conditioner to increase the temperature, thereby controlling the air conditioner.
[0093] In some embodiments, the above-described example of sending infrared signals via the second communication unit is merely an example. The second communication unit may include one or more communication units such as an infrared communication unit, a Bluetooth communication unit, and a WIFI communication unit. The first configuration file may then include the data format of control commands corresponding to the communication method of the target controlled device. The control device can select infrared, Bluetooth, or WIFI from the second communication unit to send control commands to the target controlled device according to the instructions in the first configuration file.
[0094] For example, when the second communication unit includes a Bluetooth communication unit, and the third communication unit of the target controlled device to which the control device faces is also a Bluetooth communication unit, the control device will send a first control command to the target controlled device via the Bluetooth communication unit using the Bluetooth communication protocol. At this time, the first configuration file may also include the Bluetooth information of the target controlled device. The specific communication steps include: the control unit activating the Bluetooth communication unit, searching for the Bluetooth signal of the target controlled device based on the Bluetooth information, establishing a Bluetooth connection with the Bluetooth communication unit of the target controlled device, and then sending the control command. Finally, after the first control command is sent, the connection is disconnected and Bluetooth is turned off. Alternatively, the Bluetooth connection between the two can be maintained even after the first control command is sent.
[0095] For example, when the second communication unit includes an infrared communication unit, and the third communication unit of the target controlled device to which the control device faces is also an infrared communication unit, the control device will send a first control command to the target controlled device via the infrared communication unit using an infrared communication protocol. For instance, the infrared communication protocol can modulate the binary digital signal in the first control command into an infrared pulse sequence and transmit it as a light pulse through an infrared transmitter. The third communication unit of the target controlled device converts the received light pulse into an electrical signal, performs demodulation and other processing, and then restores it to a binary digital signal for further processing. In this case, the data format in the first configuration file can be a binary digital signal corresponding to the control command of the target controlled device. For example, in the first configuration file, the data format of the first control command is "1100" and the data format of the second control command is "0011". When the processing unit receives an instruction to send the first control command, it determines from the first configuration file that the data format of the first control command is "1100", and then modulates the above data format into an infrared pulse via the infrared communication unit and sends it to the target controlled device.
[0096] Similarly, the control device provided in this application can determine the configuration file corresponding to the target controlled device when it is determined to be facing any target controlled device among multiple controlled devices through the first communication unit. Then, when a control command is received, the control command is sent to the target controlled device according to the data format corresponding to the target controlled device in the configuration file. This enables the use of the same button on a single control device to control multiple controlled devices separately, thereby greatly enriching the functions of the control device of the display device and improving the user experience of the display device.
[0097] In the control method for the controlled device provided in this application, the first communication unit in the control device needs to continuously determine the target controlled device that the control device is currently facing in order to achieve subsequent control. For example, when the first communication unit is a UWB communication unit, even if the user is not using the control device and it is placed on the table, the control device still continuously sends UWB tag acquisition requests, which greatly consumes the power of the control device. Therefore, in some embodiments, the control device can be set to a sleep mode (also known as a low-power mode, etc.). In the sleep mode, the first communication unit may not send UWB tag acquisition requests, and the air detection unit may not acquire air parameters, so that the power consumption rate of the control device in the sleep mode is lower than that in the normal working mode. When the user picks up the control device to use it to control the controlled device, the control device needs to switch from the sleep mode to the working mode as soon as possible to meet the user's needs.
[0098] In some embodiments, the control device provided in this application includes an attitude detection unit that can detect the attitude of the control device to determine whether the control device has moved. When the processing unit determines that the control device has moved based on the attitude data detected by the attitude detection unit, it indicates that the user has picked up the control device and is about to use it to control the controlled device. At this time, the processing unit can control the entire control device to switch from sleep mode to normal operating mode. For example, the power supply of the control device can be switched to supply power to the first communication unit and the air detection unit, or the first communication unit and the air detection unit can be activated to send UWB tag acquisition requests and collect air parameters, etc., respectively. This allows the switching of the control device's operating mode to be completed before the user picks up the control device and before the user actually operates it.
[0099] Figure 12 A control timing diagram of the control device provided in this application is shown below. Figure 12 As shown, before time T0, the user does not use the control device, and the control device is placed on the table, so the control device is in sleep mode, and the first communication unit, air detection unit, etc., inside the control device are not working. At time T0, when the user picks up the control device, the processing unit inside the control device determines that the attitude of the control device has changed through attitude detection units such as gyroscopes, and then begins to switch the control device from sleep mode to working mode. For example, the processing unit can control the power supply to the first communication unit, air detection unit, etc., and after these units complete initialization operations, the working mode switch is completed at time T1. Subsequently, at time T2 after time T1, after the user actually points the control device toward the target controlled device, the control device can execute the control method of the controlled device provided in any of the foregoing embodiments of this application, which will not be described again. At time T3, when the user puts down the control device, the processing unit inside the control device determines that the attitude of the control device has not changed for a certain period of time through attitude detection units such as gyroscopes, and then begins to switch to sleep mode, for example, the processing unit controls the power supply to stop supplying power to the first communication unit, air detection unit, etc. After time T4, the control device will continue to remain in sleep mode to save power.
[0100] From the above Figure 12As can be seen, the control device is only in working mode between times T1 and T4, after the user picks it up and before putting it down, and remains in sleep mode for the entire period. This significantly reduces power consumption. Furthermore, even when in sleep mode, the control device can intelligently and automatically switch from sleep mode to working mode before the user actually uses it (time T0). This switching process is unknown to the user and requires no user intervention. Therefore, the control device can save power without affecting normal user operation, further improving the user experience.
[0101] In some embodiments, when the control device provided in this application is equipped with at least one air detection unit, the control device can not only acquire air parameters, but also perform subsequent processing on the air parameters, such as determining the control command to be sent to the controlled device based on the air parameters, thereby "replacing" the user in determining the appropriate control command for the controlled device, improving the intelligence level of the control device, reducing the complexity for the user when using the control device, and further improving the user experience of the control device.
[0102] Figure 13 A schematic flowchart of an embodiment of the control method for the controlled device provided in this application is shown below. Figure 13 The control method for the controlled device shown can be applied to any of the control devices described in the foregoing embodiments of this application. The control device includes a processing unit, a first communication unit, a second communication unit, and at least one air detection unit. For example... Figure 13 The control methods for the controlled equipment shown include:
[0103] In S201, at least one air detection unit in the control device acquires the air parameters of the environment in which the control device is located and sends them to the processing unit. For example, the air parameters may include: a temperature of 28 degrees Celsius, a humidity of 40% RH, and a CO2 concentration of 550 ppm.
[0104] In some embodiments, the control device may execute S201 once at regular intervals, for example, acquiring air parameters through at least one air detection unit every 5 minutes. Alternatively, when the control device includes multiple air detection units, each air detection unit may be configured to collect its own air parameters at different intervals, so that the control device receives the air parameters sent by the air detection units respectively.
[0105] S202: The processing unit can determine control commands for at least two target controlled devices among multiple controlled devices based on the received control parameters. Specifically, the processing unit can compare the air parameters obtained in S201 with thresholds. When the relationship between the air parameters and thresholds meets preset conditions, the processing unit determines the control command corresponding to the target controlled device. For example, based on a temperature of 28 degrees Celsius, which is greater than the preset temperature threshold of 26 degrees Celsius, the processing unit determines the control command to be sent to the air conditioner as "cooling mode, temperature 26 degrees Celsius"; based on a CO2 concentration of 550 ppm, which is greater than the preset CO2 threshold of 500 ppm, the processing unit determines the control command to be sent to the air purifier as "turn on fresh air, high airflow," etc. The control commands for the multiple different controlled devices can form a control command set.
[0106] In some embodiments, the processing unit can also pre-store the correspondence between different air parameters and control commands for different target controlled devices. For example, for an air conditioner, in summer when the temperature is above 26°C, the control command is to set the mode to cooling and the temperature to 26°C. When the temperature is below 26°C and the humidity is above 60%RH, the control command is to set the mode to dehumidification. In winter when the temperature is below 20°C, the control command is to set the mode to heating and the temperature to 20°C. In some embodiments, when the air conditioner includes a fresh air function, the control command is to shut off the fresh air when the air quality is determined to be excellent (excellent, good, or poor) based on the evaluation rating of PM2.5 and TVOC data values; low fresh air volume for good, medium fresh air volume for average, and high fresh air volume for poor. For another example, when the CO2 concentration from the TVOC sensor in the air detection unit is 400–500 ppm, the control command is to shut off the fresh air; 500–600 ppm, the control command is to set a low fresh air volume; 600–700 ppm, the control command is to set a medium fresh air volume; and above 700 ppm, the control command is to set a high fresh air volume. When the CO2 determination result is inconsistent with the PM2.5 / TVOC, the fresh air volume corresponding to the control command should be selected according to the higher principle.
[0107] S203: The processing unit determines the orientation of the control device toward the target controlled device through the first communication unit. The specific implementation method and principle of the processing unit determining the orientation of the control device toward the target controlled device are as follows: Figure 8 The same applies to S101 shown, so it will not be described again here.
[0108] S204: The first control command of the target controlled device from the set of control commands determined in the target controlled device S202 by the processing unit.
[0109] For example, suppose the set of control commands determined in S202 includes: a first control command sent to the air conditioner as "cooling mode, temperature 26 degrees" and a second control command sent to the air purifier as "turn on fresh air, high airflow". Then, when it is determined in S203 that the target controlled device 1 currently facing the control device is the air conditioner, the first control command "cooling mode, temperature 26 degrees" is determined from the set of control commands and sent to the target controlled device 1 through the first communication unit. The specific implementation method and principle of sending the first control command are the same as those described above. Figure 8 The same applies to S104 shown. For example, when the processing unit determines to send the first control command, it can determine the first configuration file corresponding to the target controlled device, then determine the data format of the first control command from the first configuration file, and then use the corresponding data format to send the first control command to the target controlled device through the first communication unit.
[0110] Understandably, in the same manner described above, in S2032, when the processor determines through the first communication unit that the control device is facing the target controlled device 2, it determines the second control command corresponding to the target controlled device 2 from the control set, and then sends the second control command to the target controlled device 2 through the second communication unit.
[0111] Therefore, as Figure 13 The control method for the controlled device provided in the illustrated embodiment allows the control device to acquire air parameters based on at least one internal air detection unit, and the processing unit to determine a set of control commands for at least two target controlled devices among a plurality of controlled devices. Subsequently, when a user uses the control device and directs it toward the target controlled device, the processing unit within the control device can determine the target controlled device through a first communication unit and determine the first control command corresponding to the target controlled device in the set of control commands. Finally, without requiring user intervention, the control unit "actively" sends the first control command on behalf of the user to control the target controlled device and set it to a more suitable mode. In summary, the control device provided in this embodiment can greatly improve the intelligence level of the control device and enhance the user experience.
[0112] In some embodiments, such as Figure 13In the example shown, the control device can determine the control command that can be used to control the target device based on air parameters, even when the user is not using the control device to control the target device. This allows the user to send the control command when they subsequently point the control device at the target device. However, in some scenarios, when the target device is in a powered-off state, the control device needs to receive a power-on instruction from the user before sending the first control command. Then, the control device's processing unit sends a power-on command to the target device via a second communication unit. After the target device is powered on, the processing unit then sends the first control command to the target device via the second communication unit. For the user, taking the control device as an example... Figure 9 The structure shown is an example. When the user points the control device at the air conditioner, they only need to press the power switch button 131 on the control device. After receiving the power-on instruction, the control device will not only send a power-on command to the air conditioner, but also send a first control command that the control device has determined in advance based on the air parameters, such as setting the temperature to 26 degrees and the fresh air volume to high. This eliminates the need for the user to make any further settings to the air conditioner, giving the user the effect of "one-click start and setting" when using the control device to control the controlled device.
[0113] In the above embodiments, after the processing unit of the control device determines the control commands for different target controlled devices based on the pre-acquired air parameters, the control device can send the corresponding control command to a target controlled device once it is aligned with that device. To reduce the unnecessary power consumption caused by the control device frequently determining control commands, this application also provides a control method in which the control device determines the first control command for the target controlled device based on the air parameters after determining the orientation of the target controlled device.
[0114] For example, Figure 14 This is a flowchart illustrating an embodiment of the control method for the controlled device provided in this application. Figure 14 S301 and Figure 13 Similar to S201, the processing unit can acquire air parameters using at least one air detection unit at regular time intervals. Subsequently, even after acquiring the air parameters, the processing unit does not immediately determine a control command but stores them. In S302, after determining the current orientation towards the target controlled device via the first communication unit, S303 determines the first control command corresponding to the target controlled device based on the air parameters acquired in S301. Finally, in S304, the first control command is sent to the target controlled device using the second communication unit. Therefore, in... Figure 14In the process shown, the control device only determines the control command corresponding to the target controlled device after determining the orientation of the target controlled device, based on the control parameters. This reduces the number of control commands determined, making it more targeted and reducing power consumption while satisfying the need for intelligent control. Similarly, as... Figure 14 Before the control device shown sends the first control command in S304, it can also send a power-on command to the target controlled device after receiving the power-on instruction from the target controlled device, so that the target controlled device is powered on and then the first control command is sent, thus realizing "one-click start and setting".
[0115] In some embodiments, this application also provides a control method in which, after the control device determines the orientation of the target controlled device, it acquires air parameters through an air detection unit, and then determines a first control command for the target controlled device based on the air parameters, thereby further reducing the power consumption caused by the frequent acquisition of air parameters by the air detection unit in the control device.
[0116] For example, Figure 15 A schematic flowchart of an embodiment of the control method for the controlled device provided in this application is shown below. Figure 15 In step S401, after the processing unit of the control device determines that the control device is facing the target controlled device via the first communication unit, it then obtains the air parameters corresponding to the target controlled device from the air detection unit corresponding to that target controlled device via step S402. For example, when the control device is facing an air conditioner, the processing unit only obtains the temperature via a thermometer; when the control device is facing an air purifier, the processing unit only obtains air quality parameters via a fine particulate matter sensor, a TVOC sensor, etc. Subsequently, in step S403, the processing unit determines the first control command corresponding to the target controlled device based on the air parameters obtained in step S402. Finally, in step S404, the first control command is sent to the target controlled device using the second communication unit. Therefore, in situations such as... Figure 15 In the process shown, the control device only obtains the air parameters corresponding to the target controlled device through the air detection unit after determining the orientation of the target controlled device. This reduces the number of times the air detection unit obtains air parameters. Subsequently, the control command corresponding to the target controlled device is determined more directly based on the control parameters, which further reduces the number of control commands determined. This satisfies the intelligence of the control device while further reducing its power consumption. Similarly, as... Figure 15 Before the control device shown sends the first control command in S404, it can also send a power-on command to the target controlled device after receiving the power-on instruction from the target controlled device, so that the target controlled device is powered on and then the first control command is sent, thus realizing "one-click start and setting".
[0117] In some embodiments, the control device of the display device provided in this application includes, in addition to the communication unit for controlling the controlled device, at least one air detection unit. The control device can periodically acquire air parameters through these air detection units and obtain control commands for different controlled devices. For example, in Figure 13 In the example shown, the control device can periodically execute S201-S202, allowing the processing unit within the control device to determine a set of control commands based on air parameters even when the control device is not facing the target controlled device. For example, the processing unit in the control device acquires the current air temperature every 5 minutes via a temperature sensor in the air detection unit and determines a set of control commands for the target controlled device, such as an air conditioner, based on the air temperature. After 5 minutes, the processing unit acquires the air temperature again and determines the set of control commands. During the 5-minute interval between these two air temperature acquisitions, if it is determined that the control device is facing the air conditioner, a first control command is sent to the air conditioner based on the set of control commands.
[0118] In some embodiments, when the control device includes multiple air detection units, different detection cycles can be set for different air detection units. After the processing unit obtains the air parameters from different air detection units, it generates control commands for different controlled devices. For example, assuming the air detection units in the control device include a temperature sensor and a particulate matter sensor, the temperature sensor can be set to collect air temperature data every 5 minutes, and the particulate matter sensor can be set to collect air quality data every 10 minutes. (Refer to...) Figure 13 The process shown involves the processing unit acquiring the air temperature every 5 minutes via a temperature sensor and determining the set of control commands for target controlled devices such as air conditioners. Additionally, the processing unit acquires the air quality every 10 minutes via a particulate matter detection sensor and determines the set of control commands for target controlled devices such as air purifiers. During this process, when the processing unit determines that the control device is facing the target controlled device, it selects the corresponding control command from the already determined set of control commands and sends it to the target controlled device.
[0119] In some embodiments, since the control device is powered by its internal battery or other power supply unit, adding a large number of air detection units to the control device increases the power consumption of the control device. Therefore, this application also provides a control method for the control device, which can be used in the control device of the display device in any of the foregoing embodiments of this application. Based on the power information of its internal power supply, the method determines the operating parameters for the air detection units to acquire air parameters, thereby employing different detection strategies when the power level of the control device is in different states. This ensures that air parameters are acquired as much as possible while saving power consumption of the control device. For example, Figure 16 A schematic flowchart of an embodiment of the control method for the control device provided in this application is shown below. Figure 16 The control method shown can be executed by a processing unit in a control device, and the method includes:
[0120] S501: Obtain the power information of the power supply unit in the control device.
[0121] The processing unit in the control device can be configured to acquire the power supply unit's power information at regular intervals. The power supply unit can be a battery in the control device, and the power information can be the remaining power of the power supply unit (expressed as a percentage between 0 and 1, such as 10%, 50%, etc.), or it can be the rate at which the battery power is consumed per unit time. For example, the power supply unit can calculate the rate at which the battery power is consumed within the interval based on the ratio of the battery power acquired at regular intervals to the length of the interval.
[0122] S502: Based on the electrical power information obtained in S501, determine the operating parameters of the control device when it obtains air parameters through multiple air detection units.
[0123] In some embodiments, to determine operating parameters, the control device can pre-determine a mapping relationship based on the power range corresponding to the remaining power. Then, when the power information includes the remaining power of the power supply unit, the operating parameters corresponding to the power range containing the remaining power can be determined based on the mapping relationship. The operating parameters provided in this embodiment include: identification information of at least one target air detection unit among the multiple air detection units of the control device, the detection order of the at least one target air detection unit, and the interval at which the processing unit periodically acquires air parameters through the at least one target air detection unit.
[0124] For example, the remaining battery power in the battery information can be divided into three ranges: high, medium, and low, based on the percentage. In the mapping relationship, the operating parameters corresponding to the high battery range could be: target air detection unit 1 - detection interval of 10 minutes, target air detection unit 2 - detection interval of 10 minutes, target air detection unit 3 - detection interval of 20 minutes, etc. The operating parameters corresponding to the medium battery range could be: target air detection unit 1 - detection interval of 20 minutes, target air detection unit 2 - detection interval of 20 minutes, etc. The operating parameters corresponding to the low battery range could be: target air detection unit 1 - detection interval of 30 minutes, target air detection unit 2 - detection interval of 30 minutes, etc. The order of the target air detection units in the above operating parameters represents the detection order.
[0125] S503: The processing unit, based on the working parameters determined in S502, uses at least one target air detection unit corresponding to the identification information in the working parameters to acquire air parameters according to the detection sequence and detection interval time in the working parameters.
[0126] For example, assuming the working parameters are target air detection unit 1 - detection interval time of 20 minutes and target air detection unit 2 - detection interval time of 20 minutes, the processing unit will obtain air parameters through target air detection unit 1 and target air detection unit 2 respectively at 20-minute intervals, in the above order.
[0127] Subsequently, after obtaining the air parameters, it can be done according to, for example... Figure 13 The method shown determines the set of control commands and performs subsequent processing, or it can also send air parameters to a display device, etc. Figure 16 In the illustrated embodiment, the processing of the air parameters by the control device after acquiring them is not limited.
[0128] As can be seen from the above example, when the power information includes remaining power, the value of the remaining power is inversely proportional to the detection interval of the target air detection unit in the corresponding working parameters of the mapping relationship for different power ranges; and / or, the value of the remaining power is directly proportional to the number of target air detection units in the corresponding working parameters. Therefore, when the control device obtains air parameters based on the working parameters, it can perform more air parameter detections using more air detection units when the remaining power is sufficient, thereby maximizing the real-time performance of the air parameters; when the remaining power is insufficient, it can reduce the number of air detection units and the detection frequency used for air parameter detection, thereby reducing further power consumption of the control device and extending its service life.
[0129] In some embodiments, the aforementioned power information may further include the power consumption rate of the power supply unit. In the mapping relationship, multiple intervals containing different power consumption rates correspond to multiple operating parameters. Furthermore, among these operating parameters, the value of the power consumption rate is directly proportional to the detection interval time of the target air detection unit in the corresponding operating parameter; and / or, the value of the power consumption rate is inversely proportional to the number of target air detection units in the corresponding operating parameter. In this case, the control device can perform more air parameter detections using a larger number of air detection units when power consumption is slow, thereby maximizing the real-time performance of the air parameters. Conversely, when power consumption is too fast, the number of air detection units and the detection frequency used for air parameter detection can be reduced, thereby reducing further power consumption of the control device and extending its operating time.
[0130] In some embodiments, the power information may also include the remaining power and the power consumption rate, and based on the different intervals in which the two are located, they may correspond to a common operating parameter. The trend of the operating parameter should be the same as the trend of each of the above embodiments, and can be set in advance.
[0131] In some embodiments, in addition to dividing the power range into high, medium, and low according to the power information in the above example, an extremely low power range can also be separately defined. In this extremely low range, the power supply unit is about to run out of power. At this time, after the control device obtains the power information, it determines to stop obtaining air parameters through the air detection unit based on the fact that the power information is extremely low, so as to save the power consumption of the control device.
[0132] In some embodiments, when the control device determines that the power supply unit's power information corresponds to an extremely low power range, the control device can send a power indication to the display device corresponding to the control device, causing the display device to show power reminder information to the user. For example, Figure 17 A schematic diagram illustrating the display device for displaying a battery level indicator provided in this application, as shown below. Figure 17 After receiving an instruction from the control device, the display device shown displays a message such as "Remote control battery low" on the display screen 201, prompting the user that the control device needs to be charged.
[0133] like Figure 16 In the control method shown, the processing unit of the control device can determine the operating parameters based on the power information, and then obtain the air parameters based on the operating parameters. In other embodiments, the operating parameters of the control device can also be determined by the display device corresponding to the control device, thereby reducing the computational load of the control device and further reducing the power consumption of the control device.
[0134] Figure 18 A schematic flowchart of another embodiment of the control method of the control device provided in this application is shown below. Figure 18 In the control method shown, after the processing unit in the control device obtains the power information, it sends the power information to the display device via S601. The display device then determines the operating parameters based on the power information in S602 and sends them to the control device via S603. Subsequently, the processing unit of the control device obtains the air parameters through the target air detection unit based on the operating parameters in S604. Figure 18 In the illustrated embodiment, the display device determines the operating parameters based on the power information. Figure 16 The principle and implementation of the control device are the same, so they will not be described in detail here.
[0135] In some embodiments, the same control device can be used as... Figure 18The control method shown determines the operating parameters, or alternatively, the following methods can be used: Figure 18 The control method shown determines the operating parameters, and the user of the display device can set the method by which the control device determines the operating parameters. Alternatively, after obtaining its power information, if the remaining power of the control device is greater than a preset threshold (for example, if the power information corresponds to the high and medium power range, indicating that the power is sufficient), the control device can then... Figure 16 The control device automatically determines its operating parameters based on the battery level information, as shown. When the remaining battery level is less than a preset threshold (e.g., when the battery level information corresponds to a low battery range), the control device can send the battery level information to its corresponding display device, which then processes the information as shown. Figure 18 The operating parameters are determined in the manner shown to save on the power consumption of the control device.
[0136] In the foregoing embodiments, the control method for the electronic device provided in this application has been described. To achieve the functions of the methods provided in the embodiments of this application, a control device can be used to implement these functions, specifically a processing unit within the control device. The control device / processing unit may further include hardware structures and / or software modules, implementing the functions in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.
[0137] It should be noted that the division of modules in the control and display devices provided in this application is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. These modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. Processing elements can be separate entities or integrated into a chip within the aforementioned device. Alternatively, they can be stored as program code in the device's memory, invoked and executed by a processing element. The implementation of other modules is similar. Furthermore, these modules can be fully or partially integrated together or implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0138] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together to implement a system-on-a-chip (SOC).
[0139] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0140] This application also provides an electronic device, including: a processor and a memory; wherein the memory stores computer execution instructions, and when the processor executes the computer execution instructions stored in the memory, the processor can be used to execute the control method of any of the electronic devices in the foregoing embodiments of this application.
[0141] This application also provides a computer-readable storage medium storing a computer program, which, when executed, can be used to perform a control method for an electronic device as described in any of the foregoing embodiments of this application.
[0142] This application also provides a chip for executing instructions, the chip being used to execute the control method of the electronic device as described in any of the foregoing embodiments of this application.
[0143] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A control method of an electronic device, characterized by, This device is used to control multiple controlled devices, and the control device includes a first communication unit, which is a first UWB communication unit. The control method includes: Air parameters are acquired through at least one air detection unit; Determine the set of control commands for at least two target controlled devices among a plurality of controlled devices; Send a UWB tag acquisition request through the first UWB communication unit; When the first UWB communication unit receives a UWB tag sent by the target controlled device among the plurality of controlled devices, the UWB tag is used to determine that the control device is facing the target controlled device; The first control command corresponding to the target controlled device is determined from the control command set based on the air parameters. A first configuration file corresponding to the target controlled device is determined; wherein the first configuration file includes multiple control commands for the target controlled device, and the data format corresponding to each control command; The first control command is sent to the target controlled device according to the data format corresponding to the first control command in the first configuration file.
2. The control method according to claim 1, characterized in that, The step of determining the orientation of the control device toward the target controlled device via the UWB tag includes: The signal transmission direction of the control device is determined by the attitude detection unit; The first UWB communication unit determines the signal reception direction when receiving the UWB tag, as well as the distance between the control device and the target controlled device. When the angle between the signal transmission direction and the signal reception direction is less than a first threshold and the distance is less than a second threshold, it is determined that the control device is facing the target controlled device.
3. The control method according to claim 1, characterized in that, After sending the UWB tag acquisition request through the first UWB communication unit, the method further includes: When multiple UWB tags are received through the first UWB communication unit, the orientation of the control device is determined by the attitude detection unit. Based on the mapping relationship, the controlled device corresponding to the orientation direction is determined as the target controlled device; wherein, the mapping includes multiple orientation angles and the correspondence between the orientation angles and the controlled devices.
4. The control method according to claim 3, characterized in that, Determining that the control device is oriented toward a target controlled device among the plurality of controlled devices includes: When multiple UWB tags sent by controlled devices are received through the first UWB communication unit, the multiple UWB tags are sent to the display device; The device receives information about the target controlled device sent by the display device, wherein the target controlled device is selected by the user of the display device from a plurality of controlled devices; The orientation of the control device is determined by the attitude detection unit; The correspondence between the orientation direction and the target controlled device is stored in the mapping relationship.
5. The control method according to any one of claims 1-4, characterized in that, The step of determining the first configuration file corresponding to the target controlled device includes: The first configuration file corresponding to the target controlled device is determined from the storage unit; wherein, the first configuration file is stored in the storage unit in advance, or, the first configuration file is sent to the control device by the display device and stored in the storage unit after the control device is configured to control the target controlled device; Alternatively, a configuration file retrieval request may be sent to the display device, and the first configuration file corresponding to the target controlled device may be received from the display device.
6. The control method according to any one of claims 1-4, characterized in that, Before determining that the control device is oriented toward the target controlled device among the plurality of controlled devices, the method further includes: When the attitude detection unit determines that the attitude of the control device has changed, it controls the control device to switch from sleep mode to working mode.
7. The control method according to any one of claims 1-4, characterized in that, Before sending the first control command, the method further includes: When the control device receives a power-on instruction from the user for the target controlled device, it sends a power-on command to the target controlled device to power it on.
8. A control device for an electronic device, characterized in that, For performing the control method of the electronic device as described in any one of claims 1-7.
Citation Information
Patent Citations
Control method, control device and control system
CN102891784A
Household appliance control method and device and terminal equipment
CN107222374A
Equipment control method and device, control equipment and storage medium
CN111343058A
Equipment calibration method and device, electronic equipment and storage medium
CN113163248A