Equipment control method and device, electronic equipment and storage medium
By acquiring and analyzing the action data of the remote control, the problem of difficult to find buttons in dark environments is solved, and the convenience of controlling the device without key operation is achieved.
Patent Information
- Application Number
- CN202411447213.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-10-16
AI Technical Summary
It is difficult to find specific buttons in existing remote controls in dark environments, resulting in a decrease in user convenience in controlling the remote control.
By acquiring the first action data of the control device, awakening the control device and obtaining the working data, controlling the controlled device or executing the target function according to the action data type, so as to enable the control of the device to be controlled without a button operation.
It improves the wake-up convenience, control convenience, function start-up convenience and control convenience of controlled devices.
Smart Images

Figure CN119472376A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent control, and more specifically, to a device control method, apparatus, electronic device and storage medium. Background Art
[0002] Smart devices are usually divided into control devices and controlled devices. Users control controlled devices by operating control devices. The entire control process consists of two parts. The first part is that the user operates the control device so that the control device transmits corresponding instructions to the controlled device, and the second part is that the controlled device performs corresponding actions according to the instructions. With the development of technology, users have a variety of ways to operate control devices, such as pressing buttons on control devices, voice input, etc. Taking remote controls as an example, most of the current remote controls have voice recognition functions, allowing users to control remote controls through conversations.
[0003] However, the current remote control requires the user to press a specific button on the remote control to put the remote control into voice recognition mode before the user can control the remote control through dialogue. In a dark environment, it is difficult for the user to find the specific button, resulting in reduced convenience for the user to control the remote control. Summary of the invention
[0004] The present application provides a device control method, apparatus, device and storage medium to at least solve the technical problem of poor control convenience of the device.
[0005] According to a first aspect of an embodiment of the present application, there is provided a device control method, including:
[0006] Acquire first motion data of a control device, where the first motion data represents a magnitude and / or a type of motion of the control device;
[0007] wake up the control device according to the first action data and obtain working data of the control device, wherein the working data is data received or generated by the control device within a preset first target period after the control device performs an action corresponding to the first action data;
[0008] According to the data type of the working data, controlling a first controlled device associated with the control device to make the first controlled device act;
[0009] Or, the control device is controlled to execute a target function according to the data type of the working data.
[0010] According to a second aspect of an embodiment of the present application, a control device is provided, comprising a processing unit, a motion recognition unit and a speech recognition unit; the motion recognition unit and the speech recognition unit are electrically connected to the processing unit respectively;
[0011] The action recognition unit is used to recognize the action of the control device and generate corresponding action data, wherein the action data includes first action data and action-type work data generated in sequence;
[0012] The processing unit is used to wake up the motion recognition unit and / or the speech recognition unit according to the first motion data, wherein the waking up includes at least one of switching from an off state to an on state and switching from a low power consumption state to a high power consumption state;
[0013] The action recognition unit is used to identify the action type of the action-class work data, control the first controlled device associated with the control device according to the type of action corresponding to the work data, or start the voice recognition unit according to the type of action corresponding to the work data;
[0014] The speech recognition unit is used to collect speech data so that the processing unit performs corresponding actions according to the speech data.
[0015] According to a third aspect of an embodiment of the present application, there is provided a control device, including a sleep mode, a recognition mode, a voice collection mode and a motion control mode, as well as a motion recognition function, a voice collection function and a communication function;
[0016] The control device is configured to:
[0017] If in the sleep mode, the motion recognition function is in a low power consumption mode, and at least one of the voice collection function and the communication function is in a closed or low power consumption mode, wherein the motion recognition function in the low power consumption mode generates first motion data when the control device takes action, and the control device switches to the recognition mode according to the amplitude of the action represented by the first motion data or switches to the voice collection mode according to the type of action represented by the first motion data;
[0018] If in the recognition mode, the action recognition function is in a high power consumption mode, wherein the action recognition function in the high power consumption mode generates action-type work data when the control device takes action, and the control device switches to the voice collection mode or the action control mode according to the action type of the action-type work data; wherein, the high power consumption mode refers to a mode in which the power consumption of the control device is greater than the power consumption in the low power consumption mode; the amount of data and / or the number of data types of the action data generated when the action recognition function is in the high power consumption mode is greater than that in the low power consumption mode.
[0019] According to a fourth aspect of the embodiments of the present application, there is provided a device control system, comprising a control device and a controlled device, wherein the controlled device comprises a second controlled device and a first controlled device that is pre-communicatively connected with the control device;
[0020] The control device operates according to the device control method described above, wherein the first controlled device and the second controlled device include controllable devices.
[0021] According to a fifth aspect of an embodiment of the present application, there is provided a device control apparatus, including:
[0022] A first acquisition module, used to acquire first motion data of a control device, wherein the first motion data represents a magnitude and / or a type of motion of the control device;
[0023] a wake-up module, configured to wake up the control device according to the first action data and obtain working data of the control device, wherein the working data is data received or generated by the control device within a preset first target period after the control device performs an action corresponding to the first action data;
[0024] an execution module, configured to control a first controlled device associated with the control device according to a data type of the working data, so as to enable the first controlled device to act;
[0025] Or, the control device is controlled to execute a target function according to the data type of the working data.
[0026] According to a sixth aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a device control method is stored in the memory, and the processor is used to adopt the device control method described above when executing the device control method.
[0027] According to a seventh aspect of an embodiment of the present application, a computer-readable storage medium is provided, storing a computer program that can be loaded by a processor and execute the above-mentioned method.
[0028] In the embodiment of the present application, the first action data represents the amplitude and / or type of the action of the control device, so the user can wake up the control device by manipulating the control device, which improves the convenience of waking up the control device. Similarly, the working data is the data received or generated by the control device after the control device performs the action corresponding to the first action data, so that the user can generate the first action data and the working data respectively by manipulating the control device twice, thereby realizing the control of the control device and improving the convenience of manipulating the control device.
[0029] In addition, different action types will cause the control device to perform different functions. Specifically, under a certain action type, the control device will perform a communication function, thereby controlling the first controlled device, so that the user can directly control the first controlled device by causing the control device to act, thereby improving the convenience of controlling the first controlled device. Specifically, under a certain action type, the control device will perform a target function, thereby improving the convenience of starting the target function of the control device.
[0030] In summary, by utilizing the first action data generated when the control device is in action and the work data received or generated thereafter, the convenience of waking up, operating, and starting functions of the control device and the convenience of controlling the first controlled device are improved, that is, the convenience of controlling the device is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The diagram is a schematic diagram of an application environment of a device control method in an embodiment.
[0032] Figure 2 is a flow chart of a device control method in an embodiment.
[0033] Figure 3 The present invention is a flowchart of controlling a device to perform a voice function in a device control method in an embodiment.
[0034] Figure 4 is a structural block diagram of a control device in an embodiment.
[0035] Figure 5 is a structural block diagram of a control device in another embodiment.
[0036] Figure 6 It is a structural block diagram of a wireless remote control device in an embodiment.
[0037] Figure 7 It is a schematic diagram of mode switching of a wireless remote control device in an embodiment.
[0038] Figure 8 is a control flow chart of a wireless remote control device in an embodiment.
[0039] Fig. 9 It is a structural block diagram of a device control device in an embodiment.
[0040] Fig.10 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0043] According to an embodiment of the present application, an embodiment of a device control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] Smart devices are usually divided into control devices and controlled devices. Users control controlled devices by operating control devices. The entire control process consists of two parts. The first part is that the user operates the control device so that the control device transmits corresponding instructions to the controlled device, and the second part is that the controlled device performs corresponding actions according to the instructions. With the development of technology, users have a variety of ways to operate control devices, such as pressing buttons on control devices, voice input, etc. Taking remote controls as an example, most of the current remote controls have voice recognition functions, allowing users to control remote controls through conversations.
[0045] However, the current remote control requires the user to press a specific button on the remote control first, and then the remote control enters the voice recognition mode by pressing the button, and then the user can control the remote control by dialogue. In a dark environment, it is difficult for the user to find the specific button, resulting in reduced convenience for the user to control the remote control.
[0046] Based on this, the device control method provided in the embodiment of the present application detects the action occurring in the control device itself, obtains the action data of the control device itself, and then makes the control device selectively perform actions according to the action type of the action data. Among them, the control device selectively performs actions such as starting a certain function of itself (such as voice detection function, voice recognition function and communication function, etc.), sending a preset instruction to a controlled device (such as sending a start instruction to start the controlled device, a shut down instruction to shut down the controlled device, etc.) and transmitting data to a target device (such as transmitting received voice data to the gateway and transmitting action data to the gateway, etc.). When the user wants to control the control device or a controlled device, he only needs to control the control device to perform actions of different action types, which improves the convenience of control.
[0047] It should be noted that in some embodiments below, the above-mentioned action data includes first action data and action-type work data, the controlled device includes a first controlled device and a second controlled device, and the action types include picking up, shaking, rotating, knocking, pushing and vibrating. Among them, shaking and swinging belong to the shaking action type.
[0048] The device control method provided in this application can be applied to Figure 1 In the application environment shown, the application environment includes a smart device 10 , a gateway 20 , a router 30 , a server 40 and a user terminal 50 .
[0049] Specifically, the user terminal 50, which can also be considered as a user end or terminal, can deploy (also understood as install) the client associated with the smart device 10. This user terminal 50 can be a smart phone, a laptop computer, a personal computer, a tablet computer, a smart control panel or other electronic device that can implement a network connection, which is not limited here.
[0050] Among them, the user terminal 50 is associated with the smart device 10, which essentially means that the user registers an account in the user terminal 50 and configures the smart device 10 in the user terminal 50. For example, the configuration includes adding a device identification to the smart device 10, so that when the user terminal 50 is running, it can provide the user with functions such as device display and device control of the smart device 10. This user terminal 50 can be in the form of an application or a web page. Accordingly, the interface for device display of the user terminal 50 can be in the form of a program window or a web page, which is not limited here.
[0051] The smart device 10 is deployed in the gateway 20, and communicates with the gateway 20 through its own configured communication module, and is then controlled by the gateway 20. It should be understood that the smart device 10 generally refers to one of a plurality of smart devices 10, and the embodiment of the present application only takes the smart device 10 as an example, that is, the embodiment of the present application does not limit the number and device type of the smart devices 10 deployed in the gateway 20. In an application scenario, the smart device 10 accesses the gateway 20 through a local area network, and is thus deployed in the gateway 20. The process of the smart device 10 accessing the gateway 20 through the local area network includes: the gateway 20 first establishes a local area network, and the smart device 10 joins the local area network established by the gateway 20 by connecting to the gateway 20. This local area network includes, but is not limited to: ZI GBEE or Bluetooth. Among them, the smart device 10 can be a smart printer, a smart fax machine, a smart camera, a smart air conditioner, a smart door lock, a smart light, a smart curtain, or a remote control equipped with a communication module, a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a magic cube controller, a curtain motor and other electronic devices.
[0052] The interaction between the user terminal 50 and the smart device 10 can be realized through a local area network or a wide area network. In one application scenario, the user terminal 50 establishes a communication connection between the router 30 and the gateway 20 in a wired or wireless manner, for example, the wired or wireless manner includes but is not limited to WI FI, so that the user terminal 50 and the gateway 20 are deployed in the same local area network, so that the user terminal 50 can interact with the smart device 10 through the local area network path. In another application scenario, the user terminal 50 establishes a communication connection between the server 40 and the gateway 20 in a wired or wireless manner, for example, the wired or wireless manner includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 50 and the gateway 20 are deployed in the same wide area network, so that the user terminal 50 can interact with the smart device 10 through the wide area network path.
[0053] The server 40 may also be considered as a cloud, a cloud platform, a platform end, a service end, etc. The server 40 may be a single server 40, or a server 40 cluster composed of multiple servers 40, or a cloud computing center composed of multiple servers 40, so as to better provide background services to a large number of user terminals 50. For example, the background service includes a smart device 10 control service.
[0054] In an application scenario, the server 40 obtains the first action data of the smart device 10 as the controlling device and wakes up the smart device 10 as the controlling device; the server 40 then obtains the working data of the smart device 10 as the controlling device and controls the action of the smart device 10 as the controlled device according to the data type of the working data or controls the smart device 10 as the controlling device to perform a target function according to the data type of the working data.
[0055] In another application scenario, the smart device 10 as a controlling device obtains its own first action data and wakes itself up, and then obtains its own working data and controls the action of the smart device 10 as a controlled device according to the data type of the working data or runs its own target function according to the data type of the working data.
[0056] Based on this, the present application provides a device control method, such as Figure 2 As shown, the method is applicable to an electronic device, which may be Figure 1 The server 40 of the application environment shown may also be Figure 1 The user terminal 50 of the application environment shown may also be Figure 1 A smart device 10 is shown for the application environment.
[0057] In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.
[0058] like Figure 2 As shown, the method may include the following steps:
[0059] S100: Acquire first action data of a control device.
[0060] It is understandable that when the control device takes action, the electronic device obtains the first action data corresponding to the action taken by the control device. When the electronic device is the control device itself, such as the main control chip of the control device, the main control chip will obtain the action data transmitted by the detector in the control device used to detect the action of the control device itself and generate action data, and use this as the first action data; when the electronic device is a user terminal or server, the user terminal or server obtains the action data transmitted by the detector through communication technology as the first action data. Among them, the detector refers to a detection device that can detect and generate action data, such as a six-axis sensor.
[0061] Among them, the control device refers to a device with a control function, that is, a device that can control the action of the controlled device, such as a remote control, a thermostat, etc.; it should be noted that if an intelligent device can both control the controlled device and be controlled by other intelligent devices, then the intelligent device can be used as both a control device and a controlled device of other control devices, and this embodiment does not make specific limitations on this.
[0062] Correspondingly, a controlled device refers to a device with a controlled function, that is, a device that can be controlled by a controlling device, such as a lamp, a curtain, an air conditioner, a refrigerator, etc., which is not specifically limited in this embodiment.
[0063] Among them, the first action data characterizes the amplitude of the action of the control device and / or the type of action. Specifically, in one application scenario, the object that generates the first action data is the entire control device, which is different from the button on the control device being pressed. In other words, when the control device as a whole moves, the corresponding action data can be used as the first action data. If only one or more buttons on the control device are pressed, the data generated by it cannot be used as the first action data. In another application scenario, in addition to the corresponding action data when the control device as a whole moves can be used as the first action data, the corresponding action data generated when one or more buttons are pressed can also be used as the first action data.
[0064] S102: Wake up the control device according to the first action data and obtain working data of the control device.
[0065] After the electronic device obtains the first action data, it will wake up the control device according to the first action data. It should be noted that, in one embodiment, waking up the control device includes two situations: the first situation: enabling the awakened control device to generate corresponding data after the awakened control device itself takes action; the second situation: enabling the awakened control device to receive voice data.
[0066] Therefore, when the content represented by the first action data is different, the wake-up result of the control device is also different. For example, when the type of action represented by the first action data does not belong to the preset characteristic type but the amplitude of the represented action meets the requirement, the control device is woken up in the first case; when the type of action represented by the first action data belongs to the preset characteristic type, the control device is woken up in the second case.
[0067] It can be understood that whether the electronic device wakes up the control device and the condition of the control device after being awakened needs to be determined according to the amplitude and / or type of the control device's action, which can be specifically distinguished by preset wake-up conditions. This embodiment does not make specific limitations on this.
[0068] After waking up the control device, the electronic device obtains the working data of the control device. It can be seen that the working data refers to the data obtained by the control device after the first action data. Unlike the first action data, the working data can be data received by the control device or data generated by the control device. Specifically, the working data can be data such as voice and face recognition received by the control device, and the working data can also be data generated by the action of the control device.
[0069] It should be noted that when the working data includes data generated by the action of the control device, the working data is not only concerned with the amplitude of the action of the control device, but may also include data such as the action direction, action speed and number of actions of the control device. This embodiment does not make specific limitations on this.
[0070] If the working data includes data generated by the action of the control device, then in one embodiment, when the electronic device identifies the first action data and the working data, it can distinguish the first action data and the working data by means of a preset time threshold. For example, it is preset that only data acquired 100ms after the first action data is generated can be used as working data. This makes it possible for all action data generated by the control device within a continuous period of time to be determined as the first action data, which helps to improve the recognition accuracy of the first action data and the working data.
[0071] In another embodiment, the first action data and the working data may be continuous action data. For example, when the user picks up the control device, the control device will generate action data that lasts for 5 seconds, and the electronic device will continue to receive the action data generated by the control device. At the 2nd second, the electronic device determines the action data of the previous 2 seconds as the first action data and meets the conditions for waking up the control device. At this time, the electronic device wakes up the control device and automatically uses the action data after 2 seconds as the working data, so that when the user operates the control device, there is no need to intentionally interrupt the action of the control device, which helps to improve the convenience of operation of the control device.
[0072] It should be noted that the action type represented by the working data may be the same as or different from the action type represented by the first action data, and this embodiment does not specifically limit this. For example, the action type represented by the first action data and the working data may both be rotation. When the control device is not awakened, the user rotates the control device, and the electronic device uses the received action data as the first action data and wakes up the control device according to the first action data; after the control device is awakened, the user still rotates the control device, and the control device generates data related to the starting action, and the electronic device uses this part of the data as working data.
[0073] In one embodiment, the working data is data of an action that occurs again in the control device within a preset first target period after the control device occurs an action corresponding to the first action data. Specifically, the first target period represents a length of time, and the first target period can be set according to actual needs. The first target period is only used to constrain the maximum time interval between the first action data and the working data, so as to avoid the electronic device from continuously being in a state of acquiring working data after acquiring the first action data. For example, the first target period can be 100ms, 200ms or 250ms. Taking 100ms as an example, if the electronic device obtains action data within 100ms after acquiring the first action data, the action data will be used as working data. If it exceeds 100ms, the electronic device will no longer use the obtained action data as working data.
[0074] S104. According to the data type of the working data, control the first controlled device associated with the control device to make the first controlled device act, or control the control device to execute a target function according to the data type of the working data.
[0075] After the electronic device obtains the working data, it can know whether the working data is formed by the data received by the control device or the data generated by the control device. Based on this, the working data includes multiple data types. For example, when the working data is formed by the voice received by the control device, the data type of the working data can be determined as a voice type, and when the working data is data generated by the control device taking action, the data type of the working data can be determined as an action type. When the data type is different, the subsequent execution action of the electronic device is also different. Preferably, the subsequent execution action of the electronic device specifically includes controlling the action of the first controlled device associated with the control device or controlling the control device to execute the target function.
[0076] In one embodiment, the working data can characterize the action type of the action performed by the control device, such as picking up, shaking, rotating, knocking, pushing and vibrating, etc., which is not specifically limited in this embodiment. Regarding how to distinguish the action type according to the working data, this embodiment still does not specifically limit it. Specifically, the action type can be identified according to the specific content of the working data, for example, according to the action direction and action acceleration of the control device in the working data.
[0077] In one embodiment, the first controlled device refers to a controlled device that is pre-associated with the control device, and the action of the first controlled device is related to the first controlled device. For example, if the first controlled device is an air conditioner, the action of the first controlled device may include turning on, off, heating, cooling, changing the operating mode, etc.; when the first controlled device is a fan, the action of the first controlled device may include turning on, off, forward rotation, reverse rotation, acceleration, deceleration, etc.; this embodiment does not make specific limitations on this.
[0078] It should be noted that when there are multiple first controlled devices, different action types can be used to control different first controlled devices. For example, the first controlled devices include a living room air conditioner, a living room refrigerator, a bedroom air conditioner, and a kitchen refrigerator. Rotation is pre-associated with the living room air conditioner, knocking is pre-associated with the living room refrigerator, pushing is pre-associated with the bedroom air conditioner, and vibration is pre-associated with the kitchen refrigerator. When the action type of the working data is rotation, the living room air conditioner action will be controlled, and so on.
[0079] Since the first controlled device may include multiple actions, the action that the first controlled device needs to perform may also be set in a preconfigured manner. For example, the rotation is associated with the action of turning on the living room air conditioner, so that after the user rotates the control device, the living room air conditioner performs the turning-on action.
[0080] Similarly, different action types correspond to different target functions of the control device. For example, picking up or shaking corresponds to a voice recognition function, so that when the user picks up or shakes the control device, the electronic device controls the control device to perform the voice recognition function.
[0081] Through the above content, the first action data represents the amplitude and / or type of the control device action, so the user can wake up the control device by manipulating the control device action, which improves the convenience of waking up the control device. Similarly, the working data is the data received or generated by the control device after the control device performs the action corresponding to the first action data, so that the user can generate the first action data and the working data respectively by manipulating the control device action twice, thereby realizing the control of the control device and improving the convenience of manipulating the control device.
[0082] In addition, different action types will cause the control device to perform different functions. Specifically, under a certain action type, such as rotating, tapping, pushing or shaking, the control device will perform a communication function, thereby controlling the action of the first controlled device associated with the control device, so that the user can directly control the first controlled device simply by causing the control device to move, without the need for the user to press a button or input voice, thereby improving the convenience of controlling the first controlled device; specifically, under a certain action type, such as picking up or shaking, the control device will perform a target function, so that the user does not need to press a button to start the function of the control device (such as a voice function), thereby improving the convenience of starting the target function of the control device.
[0083] In summary, by utilizing the first action data generated when the control device is in action and the work data received or generated thereafter, the convenience of waking up, operating, and starting functions of the control device and the convenience of controlling the first controlled device are improved, that is, the convenience of controlling the device is improved.
[0084] In another embodiment of the present application, the data type of the working data includes a voice type;
[0085] like Figure 3 As shown, the control device is controlled to execute the target function according to the data type of the working data, including:
[0086] If the data type of the working data is voice type, then S200 is executed to collect voice data.
[0087] That is, when the first action data directly wakes up the voice function of the control device, the data type of the working data is the voice type. At this time, the electronic device collects voice data.
[0088] Controlling the control device to perform one of the following target functions according to the voice data;
[0089] S202: Transmit the voice data to a preset target device, so that the target device controls the corresponding second controlled device action according to the voice data.
[0090] Among them, the target device refers to a device with a voice processing function, such as a gateway, a server, etc. Specifically, it means that the target device can identify the controlled device that needs to be controlled based on the voice data, that is, the second controlled device, and can identify the specific action that needs to be controlled to be performed by the second controlled device based on the voice data. For example, the control device is a voice remote control. After the electronic device controls the voice remote control to start the voice function, the voice remote control can collect the user's voice and generate voice data. The voice data contains the object to be controlled (the second controlled device) ---- the air conditioner, and the action to be controlled --- turn on. After the target device (gateway or server) obtains the voice data, it will use the air conditioner as the second controlled device and control the air conditioner to perform the turn-on action.
[0091] S204: Control the action of the corresponding second controlled device according to the voice data.
[0092] In one embodiment, the control device has a voice processing function, that is, it can analyze voice data to determine the controlled device that needs to be controlled, and use the control device as the second controlled device, and determine the action that the second controlled device needs to perform based on the voice data. For example, the voice data is the user saying "turn on the air conditioner", and the control device is a voice remote control. After the voice remote control obtains the voice data, it processes the voice data, determines the object to be controlled---the air conditioner, and the action to be controlled---turn on, and then sends relevant instructions to the air conditioner, so that the air conditioner performs the turn-on action after receiving the relevant instructions.
[0093] S206: Determine the second controlled device or determine the operating parameters of the second controlled device that need to be adjusted according to the voice data.
[0094] In one embodiment, the voice data may only include the controlled device that needs to be controlled, but does not include the action that the controlled device needs to perform. For example, the voice data is the user saying "adjust the bedroom light". At this time, the control device uses the bedroom light as the second controlled device. As for what action to control the second controlled device to perform, it can be determined based on subsequent controls. This embodiment does not make specific limitations on this. For ease of understanding, for example, the user subsequently shakes the control device, and according to the pre-configured data, shaking it twice controls the bedroom light to turn on, and shaking it four times controls the bedroom light to turn off.
[0095] In one embodiment, the voice data includes the controlled device to be controlled and also includes the operating parameters to be controlled. For example, if the voice data is the user saying "the air conditioner rises by 2 degrees", it can be determined that the second controlled device is the air conditioner, and the operating parameter to be adjusted is to rise by 2 degrees.
[0096] It should be noted that which of steps S202-S206 is to be executed specifically needs to be determined based on the specific voice data, that is, it needs to be determined based on the content of what the user says.
[0097] Through the above content, the control device executes the voice function and realizes different control methods according to the specific content of the voice data, thereby improving the convenience of voice control of the control device.
[0098] In another embodiment of the present application, after determining the second controlled device or determining the operating parameters of the second controlled device that need to be adjusted according to the voice data, the method further includes:
[0099] The second motion data of the control device is acquired.
[0100] The second action data is data of an action that the control device performs again within a preset second target period after the control device receives the working data.
[0101] Specifically, the second target period is the same as the first target period and will not be described in detail.
[0102] The second controlled device is controlled to adjust the operating parameters in a corresponding direction according to the action characteristics of the second action data.
[0103] If only the second controlled device or only the operating parameters are determined based on the voice data, but it is not possible to determine how to adjust the operating parameters, the second action data will be obtained and the direction of adjusting the operating parameters will be determined based on the action characteristics of the second action data.
[0104] The action feature is determined by the second action data, and the action feature includes at least one of a rotation direction, a number of tapping times, a tapping rhythm, a vibration frequency, and a pushing distance.
[0105] For example, when the rotation direction is clockwise, it indicates that the operation parameter is adjusted to increase, and when the rotation direction is counterclockwise, it indicates that the operation parameter is adjusted to decrease. Similarly, when the number of knocks is an odd number, the operation parameter is adjusted to increase, and when the number of knocks is an even number, the operation parameter is adjusted to decrease. This embodiment does not make specific limitations on this.
[0106] Through the above content, after executing the voice function, the second controlled device can be controlled according to the overall action of the control device itself, that is, the second action data, thereby improving the convenience of device control.
[0107] In another embodiment of the present application, after collecting the voice data, the method further includes:
[0108] If the control device stops collecting voice data or the operation of the control device meets the condition of stopping collecting voice data, the control device is controlled to enter the sleep mode.
[0109] When the control device stops collecting voice data or the condition for stopping collecting voice data is met, the electronic device controls the control device to enter the sleep mode.
[0110] The control device stops collecting voice data, which means that the control device actively stops collecting voice data, for example, the user presses a button for stopping collecting voice data. The condition for stopping collecting voice data is, for example, that the user's voice is not detected within 10 seconds, which is not specifically limited in this embodiment.
[0111] Sleep mode refers to a state where the control device is in a lower power consumption state than when awake, and the power consumption can be reduced by turning off some functions or hardware of the control device, which is not specifically limited in this embodiment. For ease of understanding, for example, the display brightness of the control device is turned off or reduced.
[0112] Through the above content, timely controlling the control device to enter the sleep mode helps to reduce the power consumption of the control device.
[0113] In another embodiment of the present application, the data type of the working data includes an action class, and the action class includes at least one action type.
[0114] According to the data type of the working data, controlling the first controlled device associated with the control device to make the first controlled device act, including:
[0115] The first controlled device for communication is determined according to the action type and a preset first relationship, or the action performed by the first controlled device is determined according to the action type and a preset second relationship.
[0116] When controlling the first controlled device, there are two situations. One is that there is only one first controlled device, and the other is that there are multiple first controlled devices. Since the first controlled device is a controlled device that is pre-associated with the control device, the number of the first controlled devices is determined and known. When there are multiple first controlled devices, the first controlled device that needs to communicate is determined according to the action type and the first relationship; when there is only one first controlled device, the action to be performed is determined according to the action type and the second relationship.
[0117] The first relationship includes a correspondence relationship between different action types and corresponding first controlled devices, and the second relationship includes a correspondence relationship between different action types and actions of the first controlled device;
[0118] If the first controlled device is determined, the working data is sent to the first controlled device, so that the first controlled device acts according to the working data.
[0119] That is to say, the control device is pre-associated with multiple first controlled devices. In the first relationship, different action types correspond to corresponding first controlled devices, so that after the electronic device determines the first controlled device according to the first relationship, it sends the working data to the determined first controlled device, and the first controlled device performs the corresponding action according to the working data. For example, the first controlled device includes a living room air conditioner and a bedroom air conditioner. The first relationship includes vibration associated with the living room air conditioner, and pushing associated with the bedroom air conditioner. If the action type of the working data is vibration, the working data is transmitted to the living room air conditioner, so that the living room air conditioner acts according to the working data. Among them, what kind of action the first controlled device performs according to the working data can be achieved by pre-configuring the corresponding data, and this embodiment does not make specific restrictions on this. For example, when the received working data in the living room air conditioner is pre-configured as vibration, the living room air conditioner starts.
[0120] If the action to be performed by the first controlled device is determined, a control instruction is determined according to the working data and then sent to the first controlled device, so that the first controlled device acts according to the control instruction.
[0121] That is to say, the control device is associated with only one first controlled device. At this time, the electronic device determines the control instruction according to the working data, so that the first controlled device performs the corresponding action according to the control instruction. In other words, the first controlled device includes multiple actions, and the action type of the working data is different, and the first controlled device performs different actions. For example, the voice remote control is used as the control device, the control chip in the voice remote control is used as the electronic device, the first controlled device is the living room air conditioner, and the actions that the living room air conditioner can perform include opening / closing, heating, cooling, increasing air volume and reducing air volume, shaking is associated with opening / closing, knocking is associated with heating, rotation is associated with cooling, vibration is associated with increasing air volume, and translation is associated with reducing air volume. The voice remote control is only pre-associated with the living room air conditioner, so when the voice remote control generates working data, the control chip inside the voice remote control will identify the action type of the working data. If the action type of the working data is shaking, the control chip generates a control instruction that can control the living room air conditioner to turn on or off; if the action type of the working data is vibration, the control chip generates a control instruction that can control the living room air conditioner to increase the air volume.
[0122] Through the above content, during control, working data of different action types correspond to different actions of the first controlled device, which realizes the distinction between various situations, allowing the user to control the first controlled device more flexibly and improving the convenience of device control.
[0123] In another embodiment of the present application, the action of the first controlled device includes at least one of a device state adjustment action and an operation parameter adjustment action.
[0124] Among them, the device status adjustment action refers to the action of changing the device status, such as on, off, different modes, etc.; the operating parameter adjustment action refers to the action of changing the operating parameters of the device, such as parameters under a certain mode. Taking air conditioning as an example, the device status includes on, off, cooling, dehumidification, etc. of the air conditioner, and the operating parameters include operating time, operating temperature, etc.
[0125] Through the above content, the device state and operating parameters of the first controlled device can be adjusted, thereby improving the flexibility of device control.
[0126] In another embodiment of the present application, the data type of the working data includes an action class, and the action class includes a first type of action and a second type of action;
[0127] Methods include:
[0128] If the data type of the working data is action type and belongs to the first type, the execution control device starts the target function.
[0129] If the data type of the working data is action type and belongs to the second type, the first controlled device associated with the controlling device is controlled to make the first controlled device act.
[0130] That is to say, in the case where the work data belongs to the action type, the type of action represented by the work data will be further distinguished, specifically into the first type of action and the second type of action. It should be noted that since the first type and the second type have different execution schemes, the first type and the second type of action cannot be the same.
[0131] Among them, the first type can be one or more of all action types, such as picking up, shaking, etc. Shaking is one of the shaking situations, and this embodiment does not make any specific limitation on this.
[0132] The second type refers to an action type different from the first type, and the specific type is not specifically limited in this embodiment. For example, when the first type is picking up, the second type may include other actions except picking up.
[0133] In order to facilitate understanding, a simple example is given to illustrate the above scheme, as follows.
[0134] When the user picks up the control device, the control device generates the first action data. Since the wake-up condition of the control device is pre-configured, the control device determines which functions of the control device to wake up according to the amplitude and type of the action. Among them, the pre-configured wake-up condition is: if the type of action is picking up and the amplitude of the action exceeds 10, the voice function of the control device is directly awakened, so that the control device can collect voice; if the type of action is not picking up and the amplitude of the action exceeds 10, the action recognition function of the control device is awakened.
[0135] It can be seen that since the user picked up the control device and the amplitude exceeded 10, the voice function of the control device was awakened and the data type of the working data was determined to be voice type. Then, the control device collected voice and used the voice data as working data. On the contrary, if the user rotated the control device and the amplitude exceeded 10, because the type of action was not picking up, the action recognition function of the control device would be awakened and the data type of the working data would be determined to be action type. Then, when the control device moves again, action data is generated and used as working data.
[0136] Based on this, when the user pre-configures the work data as voice type, the corresponding controlled device action is controlled according to the specific voice meaning of the work data; when the work data is action type, if the action type is rotation, the curtains are controlled to open, if the action type is translation, the lights are controlled to turn on, and if it is knocking, the control device starts the voice function.
[0137] In this example, the user says "turn on the air conditioner", and the control device controls the air conditioner to turn on according to the meaning of the voice.
[0138] In other examples, if the user first rotates the control device so that the control device wakes up, and then translates the control device, the control device will control the light to turn on.
[0139] It can be seen that in the above example, the first action data is the data generated when the user picks up the control device; the action types include rotation and translation, among which rotation and translation belong to the second type, and tapping belongs to the first type.
[0140] That is to say, this embodiment includes three main control modes:
[0141] The first type: the user manipulates the control device to activate the voice function of the control device, and then the user inputs voice to control the controlled device;
[0142] The second type: the user manipulates the control device to activate the action recognition function of the control device, and then the user manipulates the control device to perform the first type of action, so that the voice function is activated, and the user inputs voice to control the controlled device;
[0143] The third type: the user manipulates the control device to activate the action recognition function of the control device, and then the user manipulates the control device to perform the second type of action, so that the control device controls the pre-associated controlled device.
[0144] Through the above content, the control methods of the equipment are diverse, which makes it easy to improve the flexibility and convenience of equipment control.
[0145] In another embodiment of the present application, the working data includes acceleration and / or angular velocity when the control device is in motion;
[0146] The method also includes:
[0147] The type of action represented by the working data is determined according to the acceleration and / or angular velocity of the control device when it is in action.
[0148] Through the above content, acceleration and / or angular velocity are easy to obtain and calculate, which is conducive to reducing the difficulty of calculation and reducing the occupation of computing resources.
[0149] In another embodiment of the present application, waking up the control device according to the first action data includes:
[0150] If the characteristic value of the amplitude of the first action data representing the action of the control device exceeds a preset amplitude threshold, the control device is awakened to obtain the working data received or generated by the control device.
[0151] The amplitude threshold is preset, and when the amplitude of the control device action represented by the first action data exceeds the amplitude threshold, the control device is awakened, otherwise the control device is not awakened and is kept in the sleep mode.
[0152] The first motion data includes acceleration and / or angular velocity when the control device is in motion.
[0153] It can be understood that the amplitude of the control device action can be calculated based on the acceleration and / or angular velocity, and then compared with the amplitude threshold. The acceleration or angular velocity can also be directly used as data to characterize the amplitude of the control device action. In this case, the amplitude threshold is also the acceleration value or angular velocity value.
[0154] If the type of the control device action represented by the first action data is a preset characteristic type, the voice function of the control device is awakened to obtain the working data generated by the control device receiving the voice.
[0155] That is to say, a specified action type is preset as the feature type, such as picking up, shaking, etc. When the action type represented by the first action data is the same as the feature type, the voice function of the control device is awakened, so that the control device can collect voice and generate voice data. At this time, the voice data is the working data received by the control device.
[0156] Through the above content, by setting the amplitude threshold, it is helpful to reduce the misjudgment rate. At the same time, when the action amplitude and / or action type of the first action data are different, the wake-up conditions of the control device will be different, thereby making the data type of the working data different, which helps to improve the convenience and diversity of device control.
[0157] In another embodiment of the present application, the first action data and the working data are generated by a same action of the control device.
[0158] That is, in one embodiment, the first action data and the working data are generated by a continuous action, such as a picking up action. For example, the user picks up the control device from the table, and the whole process lasts for 4 seconds, from the beginning to the end of the 2nd second, the first action data is generated, and the data generated thereafter is used as the working data.
[0159] The above content helps to reduce the complexity of user operation and control of the device, thereby improving the convenience of device control.
[0160] In another embodiment of the present application, the first type includes at least one of picking up and shaking, and the second type includes at least one of rotating, knocking, pushing and vibrating.
[0161] That is to say, in an application scenario, the first type and the second type correspond to different actions, so that the actions performed by the control device after waking up are clearly distinguished. Specifically, when the user picks up the control device, since the second type does not include the picking up action, the control device will not be triggered to perform actions such as turning on the voice function, communicating with the target device or the controlled device, etc.
[0162] Through the above content, picking up, shaking, rotating, tapping, pushing and vibrating are easy to identify based on acceleration and / or angular velocity, which is conducive to improving the recognition accuracy of the action type.
[0163] The present application also provides a control device, such as Figure 4 As shown, it includes a processing unit 1, a motion recognition unit 2 and a speech recognition unit 3; the motion recognition unit 2 and the speech recognition unit 3 are electrically connected to the processing unit 1 respectively.
[0164] The electrical connection refers to a signal connection, which may be a wireless connection implemented by a wireless module, using electromagnetic waves to transmit signals, or a wired connection implemented by a physical cable, using electrical signals to transmit signals. The wireless module is, for example, a Bluetooth module, and the wired cable is, for example, an electric wire.
[0165] The action recognition unit 2 is used to recognize the action of the control device and generate corresponding action data, and the action data includes first action data and action-type working data generated in sequence.
[0166] When the control device as a whole performs an action, the action recognition unit 2 generates action data. The first action data and the action-type working data have a sequence, and only after the first action data is obtained, the action of the control device will be determined as the action-type working data.
[0167] The processing unit 1 is used to wake up the motion recognition unit 2 and / or the speech recognition unit 3 according to the first motion data.
[0168] In one embodiment, an amplitude threshold is preset, and the first motion data is used to characterize the amplitude of the control device motion. When the amplitude of the control device motion exceeds the amplitude threshold, the processing unit 1 wakes up the motion recognition unit 2 and / or the speech recognition unit 3. Preferably, when the control device is in motion, the acceleration and angular velocity of the control device will change, and the first motion data is obtained by collecting the acceleration and / or angular velocity of the control device, and the amplitude of the control device motion is determined by the acceleration and / or angular velocity.
[0169] The awakening includes at least one of switching from an off state to an on state and switching from a low power consumption state to a high power consumption state.
[0170] Specifically, the off state refers to the state in which the motion recognition unit and the voice recognition unit are off, that is, not turned on. Correspondingly, the on state refers to the state in which the motion recognition unit and the voice recognition unit are turned on. The low power consumption in the low power consumption state is compared to the high power consumption in the high power consumption state, that is, in the low power consumption state, the energy consumption of the motion recognition unit or the voice recognition unit is lower than that in the high power consumption state.
[0171] The action recognition unit 2 is used to identify the type of action corresponding to the action-type work data, control the first controlled device associated with the control device according to the type of action corresponding to the work data, or start the voice recognition unit 3 according to the type of action corresponding to the work data.
[0172] The speech recognition unit 3 is used to collect speech data so that the processing unit 1 can perform corresponding actions according to the speech data.
[0173] Through the above content, the processing unit 1 can wake up the action recognition unit 2 and / or the voice recognition unit 3 according to the first action data, so that when the user needs to start the action recognition function and / or the voice recognition function of the control device, there is no need to press a button at a specific position on the control device, thereby improving the user's convenience in controlling the control device. The processing unit 1 can also control the first controlled device or start the voice recognition unit 3 according to the working data, thereby improving the convenience of controlling the device.
[0174] In another embodiment of the present application, the motion recognition unit includes a six-axis sensor, and the speech recognition unit includes a microphone.
[0175] In one embodiment, the six-axis sensor is always in an activated state, and when the control device is in action, corresponding action data is generated. The control device determines the action data generated by the six-axis sensor as the first action data or working data according to the mode it is in. When the control device is in a voice collection mode or performs a voice collection function, the microphone is activated and the microphone is used to collect sound, thereby collecting voice and generating voice data.
[0176] Through the above content, the six-axis sensor can detect both the acceleration and angular velocity of the control device when it is in motion, which is beneficial to increase the data volume and data coverage of the first motion data and working data, and at the same time is beneficial to reduce the amount of hardware in the control device, thereby reducing the cost of the control device.
[0177] In another embodiment of the present application, the control device also includes an indicator light and a buzzer, and the indicator light and the buzzer are electrically connected to the processing unit. The processing unit is used to control the indicator light and / or the buzzer to start when the device status and / or device data of the control device meet the preset prompt conditions.
[0178] It should be noted that the prompt condition is not specifically limited in this embodiment, and the prompt condition can be set according to the actual situation. For example, when the voice recognition unit 3 or the action recognition unit 2 cannot be awakened, a prompt can be given; for another example, when the action type of the working data cannot be identified, a prompt can also be given.
[0179] Through the above content, by setting prompt conditions, prompts can be given immediately to improve the user experience.
[0180] The present application also provides a control device, such as Figure 5 As shown, it includes sleep mode, recognition mode, voice collection mode and motion control mode, as well as motion recognition function, voice collection function and communication function;
[0181] The control device is configured as:
[0182] If in sleep mode, the motion recognition function is in low power consumption mode, and at least one of the voice collection function and the communication function is in off or low power consumption mode, wherein the motion recognition function in low power consumption mode generates first motion data when the control device takes action, and the control device switches to the recognition mode according to the amplitude of the action represented by the first motion data or switches to the voice collection mode according to the type of the action represented by the first motion data;
[0183] If it is in the recognition mode, the motion recognition function is in the high power consumption mode, wherein the motion recognition function in the high power consumption mode generates action-type work data when the control device takes action, and the control device switches to the voice collection mode or the motion control mode according to the action type of the action-type work data; wherein, the high power consumption mode refers to a mode in which the power consumption of the control device is greater than that in the low power consumption mode; the amount of data and / or the number of data types of the motion data generated when the motion recognition function is in the high power consumption mode is greater than that in the low power consumption mode.
[0184] It is understandable that when the control device is not in action, it is in sleep mode. The overall power consumption of the control device in sleep mode is low, which is achieved by reducing the power consumption of the action recognition function and turning off the voice collection function and communication function.
[0185] The switch between the sleep mode and the recognition mode is realized by the first action data generated by the control device. Specifically, whether to switch from the sleep mode to the recognition mode is determined according to the amplitude of the action represented by the first action data. In the recognition mode, the overall power consumption of the control device is increased, which is specifically achieved by increasing the power consumption of the action recognition function and turning on the voice collection function and / or the action recognition function.
[0186] In the recognition mode, when the control device is in motion, action-type work data is generated and the corresponding mode is switched according to the action type of the action-type work data. Specifically, if the action type of the action-type work data is the first type, it is switched to the voice collection mode, and if the action type of the action-type work data is the second type, it is switched to the action control mode.
[0187] For ease of understanding, the remote control is used as the control device and the washing machine is used as the first controlled device as an example for explanation. When the user picks up the remote control, the remote control generates the first action data and determines that the amplitude of the action meets the conditions for switching to the identification mode, so the remote control switches from the sleep mode to the identification mode. Then the user rotates the remote control, the remote control generates working data and identifies the action type as the second type (rotation). When the remote control determines that the action type is the second type (rotation) according to the pre-configured data, it enters the action control mode. After the remote control enters the action control mode, the working data is sent to the washing machine, so that the washing machine performs actions such as turning on, off, and heating according to the working data. Similarly, if the user translates the remote control, the remote control generates working data and identifies the action type as the first type (translation).
[0188] Through the above content, when the control device is in sleep mode, it will be in low power consumption mode and can switch to identification mode according to the first action data. Since the first action data is the data generated when the control device takes action, it is convenient and quick for the user to switch the control device from sleep mode to identification mode, thereby improving the convenience of operation of the control device.
[0189] Similarly, when the control device switches from recognition mode to voice collection mode or motion control mode, it is based on the working data, which also improves the control convenience of the control device.
[0190] In another embodiment of the present application, when in the sleep mode, if the characteristic value of the amplitude of the action represented by the first action data exceeds a preset amplitude threshold, the recognition mode is switched to.
[0191] Or, when in the sleep mode, if the type of the action represented by the first action data is a preset feature type, switch to the voice collection mode.
[0192] It can be understood that in one embodiment, an amplitude threshold is preset, and when the amplitude of the first action data representing the action of the control device exceeds the amplitude threshold, the recognition mode is switched, otherwise the sleep mode is maintained. In another embodiment, a feature type is preset, and when the type of the first action data representing the action of the control device is the same as the feature type, the voice collection mode is switched.
[0193] The first motion data includes acceleration and / or angular velocity when the control device is in motion.
[0194] It can be understood that the amplitude of the control device action can be calculated based on the acceleration and / or angular velocity as a characteristic value, and then compared with the amplitude threshold. The acceleration or angular velocity can also be directly used as a characteristic value to characterize the amplitude of the control device action. In this case, the amplitude threshold is also the acceleration value or angular velocity value.
[0195] Through the above content, by setting the amplitude threshold, it is helpful to reduce the error probability of switching from sleep mode to identification mode and improve the user experience of controlling the device.
[0196] In another embodiment of the present application, when in the recognition mode, if the data volume of the action-related working data meets a preset data volume threshold, the action recognition function is switched to a low power consumption mode.
[0197] In one embodiment, the control device will continue to generate working data from the beginning to the end of the action, and when the amount of working data reaches the data amount threshold, the action recognition function will be switched to low power mode. For example, the user controls the control device to rotate, and the acceleration and / or angular velocity sensors in the control device generate corresponding data as the working data when the control device starts to rotate. As the control device rotates, the acceleration and / or angular velocity of the control device changes (or may not change), and the sensor continues to generate corresponding data, so that the amount of working data increases, until the data amount threshold is reached, the action recognition function is switched to low power mode and switched to voice collection mode or action control mode according to the action type of the working data.
[0198] Through the above content, when the data volume meets the data volume threshold, switching to low power consumption mode is beneficial to reducing the power consumption of the control device.
[0199] In another embodiment of the present application, when in the voice collection mode, if the voice signal is transmitted to the target device or it is determined that the voice signal cannot be transmitted to the target device, the sleep mode is entered;
[0200] When in the action control mode, if the action-related working data is transmitted to the pre-associated first controlled device or it is determined that the action-related working data cannot be transmitted to the first controlled device, the sleep mode is entered.
[0201] It can be understood that once the control device transmits the voice signal to the target device, it will switch from the voice collection mode to the sleep mode, or once the control device determines that the voice signal cannot be transmitted to the target device, it will switch from the voice collection mode to the sleep mode. Among them, this embodiment does not limit the specific determination method for determining that the voice signal cannot be transmitted to the target device. For example, it can be achieved by setting a time threshold or a number threshold. Taking the setting of the number threshold as an example, after the control device transmits the voice signal to the target device, if the signal fed back by the target device is not received, it counts once and retransmits the voice signal to the target device, and repeats the cycle until the accumulated number reaches the number threshold, and it is determined that the voice signal cannot be transmitted to the target device. In addition, it should be noted that in the case where the control device cannot establish a communication connection with the target device (for example, the target device or the control device is in a network disconnected state), it can be directly determined that the voice signal cannot be transmitted to the target device.
[0202] Similarly, in the action control mode, after the control device transmits the working data to the target device, it will switch from the action control mode to the sleep mode, or the control device determines that the working data cannot be transmitted to the target device, and then switches from the action control mode to the sleep mode. Among them, this embodiment does not limit the specific determination method for determining that the working data cannot be transmitted to the target device. For example, it can be achieved by setting a time threshold or a number threshold. Taking the setting of the time threshold as an example, after the control device transmits the working data to the target device, if the signal fed back by the target device is not received, the timing is started and the working data is retransmitted to the target device, and the cycle is repeated until the accumulated time reaches the time threshold, and it is determined that the working data cannot be transmitted to the target device. In addition, it should be noted that in the case where the control device cannot establish a communication connection with the target device (for example, the target device or the control device is in a disconnected state), it can be directly determined that the working data cannot be transmitted to the target device.
[0203] Through the above content, when the voice signal is successfully transmitted to the target device or cannot be transmitted to the target device, it will enter the sleep mode, which is beneficial to reduce the power consumption of the control device.
[0204] The embodiment of the present application also provides a device control system, including a control device and a controlled device, wherein the controlled device includes a second controlled device and a first controlled device that is pre-communicatively connected with the control device;
[0205] The control device operates according to the above-mentioned device control method, wherein the first controlled device and the second controlled device include devices that can be controlled.
[0206] Through the above content, the control device operates according to the above device control method, making the control device easy to control and improving the control convenience of the control device.
[0207] In another embodiment of the present application, the control device is the above-mentioned control device.
[0208] Specifically, the application of the above device control method in the field of smart home is taken as an example for explanation.
[0209] Traditionally, users control controlled devices such as air conditioners, lights, curtains, etc. by pressing physical buttons on the remote control (i.e., the control device).
[0210] With the development of science and technology, the emergence of speech recognition technology has promoted the development of artificial intelligence. Through the speech recognition function, the machine can understand human voice and complete the corresponding operation according to human verbal commands, realizing direct language communication and control between man and machine. For example, wireless remote control equipment can realize the effect of voice control of the controlled equipment through the speech recognition function of the remote control.
[0211] Wireless remote control equipment technology is mainly based on speech recognition technology, speech synthesis technology and intelligent control technology. These technologies together provide users with a more convenient and user-friendly operation method.
[0212] In the field of smart home, voice control function has been widely used. For example, users can use voice to turn on lights, adjust light brightness, start home theater, control air conditioning, switch audio and video channels, etc., which makes the function of home automation a big step forward.
[0213] However, in existing solutions, some remote controllers that control controlled devices through voice recognition require pressing a physical button to enable the voice wake-up function, and commands can only be sent through voice. As a result, existing remote control solutions use physical buttons to directly control controlled devices, and one button can only correspond to one command. Some remote controllers that control controlled devices through voice recognition require picking up the remote controller and pressing a physical button to enable the voice wake-up function, which reduces the convenience of device control.
[0214] To this end, the device control method provided in this embodiment is applied to a wireless remote control device, which can send out wireless signals to remotely control the controlled device and can control the controlled device by a combination of voice and action control. When the user picks up the wireless remote control device, the voice recognition of the wireless remote control device is triggered. At this time, the user sends a command through voice to control the specified controlled device, and then continues to rotate (or other actions) to adjust the state of the specified controlled device.
[0215] For example, the following scenarios:
[0216] Scenario 1: Pick up the wireless remote control device to trigger the voice recognition of the wireless remote control device. The user says "adjust the brightness of the light" and then rotates the wireless remote control device to adjust the brightness of the light. Turn right to brighten it and turn left to dim it. That is, the voice recognition function of the wireless remote control device is first awakened by the user's "pick up" action, and then the specified device is controlled by voice.
[0217] It can be understood that scenario 1 is to first manipulate the control device (i.e. wireless remote control device) to act (i.e. pick up) to wake up the voice function, then determine the second controlled device (i.e. lamp) according to the working data (i.e. adjusting the brightness of the lamp), and finally adjust the operating parameters (i.e. brightness) of the lamp according to the second action data (i.e. right / left rotation), so that the second controlled device (i.e. lamp) performs the brightness adjustment action.
[0218] Scenario 2: Pick up the wireless remote control device to trigger voice recognition, and say "adjust the volume". Then rotate the wireless remote control device to adjust the volume of the sound. Turn right to increase the volume, and turn left to decrease the volume. That is, the voice recognition of the wireless remote control device is first awakened by the user's "pick up" action, and then the specified device is controlled by voice.
[0219] It can be understood that scenario 2 is to first manipulate the control device (i.e. wireless remote control device) to act (i.e. pick up) to wake up the voice function, then determine the operating parameter (i.e. volume) that needs to be adjusted according to the working data (i.e. adjusting the volume), and finally adjust the operating parameter (i.e. brightness) of the corresponding second controlled device (i.e. audio) according to the second action data (i.e. right / left rotation), so that the second controlled device (i.e. audio) performs the volume adjustment action.
[0220] The difference from scenario 1 is that the second controlled device in scenario 1 is determined according to the working data, while the second controlled device in scenario 2 is pre-set.
[0221] Scenario 3: Pick up the wireless remote control device to trigger voice recognition, and say "adjust the curtains". Then rotate the wireless remote control device to adjust the opening and closing of the curtains. Turn right to gradually open the curtains, and turn left to gradually close the curtains. That is, the user's "pick up" action first wakes up the voice recognition of the wireless remote control device, and then controls the specified device through voice.
[0222] It can be understood that scenario 3 is to first manipulate the control device (i.e., wireless remote control device) to act (i.e., pick up) to wake up the voice function, then determine the second controlled device (i.e., curtain) that needs to be adjusted according to the working data (i.e., adjusting the curtain), and finally adjust the corresponding operating parameters (i.e., opening and closing degree) according to the second action data (i.e., right rotation / left rotation), so that the second controlled device (i.e., curtain) performs the action of opening and closing adjustment.
[0223] The difference from scene 1 is that the operating parameters in scene 1 are determined according to the working data, while the operating parameters in scene 3 are pre-set. For example, the operating parameters of the curtain are configured as the opening and closing degree in advance, so that when the second controlled device is determined to be a curtain, the opening and closing degree is adjusted.
[0224] Scenario 4: Pick up the wireless remote control device to trigger voice recognition, and say "turn on the light", and the light will turn on. In other words, you can directly control the specified device by voice without subsequent actions, that is, use the voice function alone.
[0225] It can be understood that scenario 4 is to first manipulate the control device (i.e. wireless remote control device) to act (i.e. pick up) to wake up the voice function, and then determine the second controlled device (i.e. light) and the operating parameters to be adjusted (i.e. on / off state) based on the working data (i.e. turning on the light), so that the second controlled device (i.e. light) performs the action of adjusting the on / off state.
[0226] The difference from scenes 1-3 is that after obtaining the working data in scene 4, the second controlled device and the operating parameters that need to be adjusted can be determined at the same time, so the user does not need to operate the control device again, that is, there is no need to generate the second action data.
[0227] Scene 5: After configuring the automation, you can turn on the light by rotating the wireless remote control and shaking it (or other actions, such as reversing or pushing it). In other words, you can directly adjust the state of the specified device only through actions, that is, use action control alone.
[0228] It can be understood that scenario 5 is to wake up the action recognition function by first manipulating the control device (i.e., wireless remote control device) to act (i.e., rotate), and then determine the first controlled device (i.e., lamp) and the operating parameters that need to be adjusted (i.e., on / off status) according to the type of working data (i.e., shake). The first controlled device (i.e., lamp) performs the action of adjusting the on / off status. It should be noted that if the user taps the wireless remote control device after waking up the action recognition function, the air conditioner will be controlled to turn on, that is, the action type of the working data is different, and the first controlled device is different. The operating parameters that need to be adjusted for different first controlled devices are determined based on pre-configured automated data.
[0229] The difference from scenes 1-4 is that in scene 5, different action types are used to make the wireless remote control device no longer start the voice function, but execute the action recognition function, and then perform action manipulation to achieve control of the designated first controlled device.
[0230] The above scenarios are only examples, and can be controlled according to the actual automation configuration of the user. That is to say, if the wireless remote control device is pre-configured with automation data between the action and the controlled device, the wireless remote control device can act according to the configured automation data after the corresponding action occurs. For example, in scenario 5 in the above scenario, because the automation data is pre-configured, when the user shakes the wireless remote control device, the wireless remote control device will control the light to turn on. In other words, if the automation data associates shaking with the air conditioner, then after the user shakes the wireless remote control device, it is the air conditioner that turns on, not the light.
[0231] like Figure 6 As shown, it is a structural block diagram of a wireless remote control device, which includes a microphone, a main control, a memory, a six-axis sensor, a battery and a voice recognition unit, wherein the battery can be a button battery, and the button battery supplies power to the entire wireless remote control device; the main control controls the communication, calculation and control of the entire wireless remote control device; the six-axis sensor communicates with the main control through an I IC interface, and performs motion recognition on the signal of the six-axis sensor. Generally, the six-axis sensor works in a low power consumption mode; the voice recognition unit is used to collect voice signals; the number of speech recognition units can be one or more, which is not limited in this embodiment.
[0232] like Figure 7 As shown, the wireless remote control device includes 4 working modes:
[0233] (1) Under normal circumstances, the wireless remote control device is in sleep mode; sleep mode means that the main control enters sleep state, the microphone is turned off, the memory is disabled, and only the six-axis sensor measures at a low rate. The six-axis sensor includes a 3-axis acceleration sensor and a gyroscope. In sleep mode, the 3-axis acceleration sensor works in a low-power mode and the gyroscope is turned off.
[0234] (2) When the wireless remote control device is moved, if the measurement value of the 3-axis acceleration sensor is greater than the threshold, the main control is awakened and the wireless remote control device enters the identification mode; the identification mode refers to the working mode in which the main control reads the measurement value of the six-axis sensor and performs calculations and identification actions. The specific working process is as follows;
[0235] First, the six-axis sensor turns on the power of the internal gyroscope, which starts working and increases the sampling rate of the three-axis acceleration sensor.
[0236] Secondly, the six-axis sensor samples the values of the three-axis acceleration sensor and the gyroscope at the same time and writes the sampled values into the built-in memory of the six-axis sensor. When the built-in memory of the six-axis sensor is full, an interrupt is output to the main control. The main control reads the measurement data of the three-axis acceleration sensor and the gyroscope in the built-in memory of the six-axis sensor, and notifies the six-axis sensor to enter the sleep mode after reading enough data (how much data needs to be read is defined when writing software and algorithms).
[0237] After that, the main control chip uses the read data to calculate and identify the action type, which includes six types of action recognition: picking up, shaking, rotating, tapping, pushing and vibrating. Finally, the recognized action determines whether the device enters sleep mode, thread mode or voice collection mode.
[0238] (3) If the "pick up" or "shake" action is recognized, the device enters the voice collection mode, which is the working mode that sends audio data to the gateway;
[0239] 1. The master controller starts and tries to connect to the gateway;
[0240] 2. The speech recognition unit starts sampling audio and transmits the audio data to the main control;
[0241] 3. The master controller determines whether it is connected to the gateway; if connected, the audio data is sent to the gateway. If not connected to the gateway device, the audio data is stored in the chip until the device is connected to the gateway and all data is sent to the gateway. If the master controller cannot connect to the gateway within 3 seconds, the sampled and stored data is discarded and the device enters sleep mode directly.
[0242] 4. If the device receives the recognition success flag sent by the gateway device, it turns off the power of the voice recognition unit, stops reading and sending audio data, and enters sleep mode; if it does not receive the recognition success flag sent by the gateway device, it continues to read, compress and send audio data to the gateway for a total of 10 seconds (the duration can be adjusted adaptively as needed) during the process of the voice recognition unit sampling audio data; then the device automatically enters sleep mode;
[0243] It can be understood that after the "pick up" or "shake" action is recognized, the action type can continue to be judged. This judgment is a further judgment after the first "pick up" or "shake" action. If one of the actions of rotating, knocking, pushing and vibrating is recognized, the controlled device is directly controlled to perform the action.
[0244] (4) If one of the following actions, namely rotation, tapping, pushing and vibration, is recognized, the device enters thread mode, which refers to a working mode in which the recognized action data is sent to the gateway;
[0245] The master starts the protocol, connects to the gateway that supports the protocol, and transmits the identified actions to the bound device through the protocol;
[0246] If an undefined motion is detected, the device goes back into sleep mode.
[0247] The working process of wireless remote control equipment is as follows Figure 8 shown.
[0248] In the first step, initially the wireless remote control device is in sleep mode and the six-axis sensor measures the device motion amplitude in low power mode;
[0249] In the second step, if the measured motion amplitude does not exceed the preset threshold, the device remains in sleep mode; when the motion amplitude exceeds the threshold, the main control is awakened and the six-axis sensor is configured to turn on the gyroscope power and the acceleration sensor for high-speed measurement and read their values to calculate the motion type.
[0250] In the third step, if the action type is one of "shake", "tap (twice)", "push" and "rotate", the master starts the protocol to connect to the gateway (the bound gateway or parent node that supports the protocol): if the gateway is connected, the identified action type is sent to the gateway (the gateway performs the corresponding action according to the preset operation rules) and then automatically enters the first step; if the gateway is not connected, it will automatically enter the first step after a reminder;
[0251] Step 4: If the action type is "pick up" or "shake", the master starts the protocol to connect to the gateway (the bound gateway or parent node that supports the protocol), turns on the power of the two voice recognition units, reads the audio data, and compresses the audio data;
[0252] If the gateway is connected, the master controller will send the compressed audio data to the gateway via wireless communication and read the audio data of the two voice recognition units at the same time, compress the audio data, and stop reading, compressing and wirelessly sending the audio data until the "recognition success" mark is received from the gateway, and automatically enter the first step; otherwise, it will continue to read, compress and wirelessly send the audio data until the "recognition success" mark is not received from the gateway after 10s, then it will automatically stop reading, compressing and wirelessly sending the audio data and automatically enter the first step.
[0253] The present application also provides a device control device, such as Fig. 9 As shown, it includes a first acquisition module 11, which is used to acquire first action data of the control device, and the first action data represents the amplitude of the action of the control device;
[0254] A wake-up module 12 is used to wake up the control device according to the first action data and obtain working data of the control device, wherein the working data is data of the action that the control device takes again within a preset first target period after the control device takes the action corresponding to the first action data;
[0255] An execution module 13, configured to control a first controlled device associated with the control device according to an action type of the working data, so as to make the first controlled device act;
[0256] Or, the control device is controlled to execute the target function according to the action type of the working data.
[0257] Through the above content, the wake-up module 12 can wake up the control device according to the first action data. Since the first action data is generated according to the overall action of the control device, there is no need for the user to press a button at a specific position on the control device, which improves the convenience of waking up the control device. The execution module 13 can control the first controlled device according to the working data or the control device can execute the target function. Since the working data is generated according to the overall action of the control device, there is no need for the user to press a button at a specific position on the control device, which improves the control convenience of the first controlled device or the control convenience of the control device.
[0258] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein a device control method is stored in the memory, and the processor is used to adopt the above-mentioned device control method when executing the device control method.
[0259] Specifically, Fig.10 As shown, the electronic device includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400 and a memory 500. The communication bus 200 is configured to realize connection and communication between these components. The user interface 300 may include a display screen, and the external communication interface 400 may include a standard wired interface and a wireless interface. The memory 500 stores a device control method. The processor 100 is used to adopt the above method when executing the device control method stored in the memory 500.
[0260] An embodiment of the present application also provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute the above method.
[0261] The above description of the electronic device and storage medium embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the electronic device and storage medium embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0262] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0263] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0264] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0265] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0266] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0267] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-On l yMemory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0268] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A device control method, characterized in that: include: Acquire first motion data of a control device, where the first motion data represents a magnitude and / or a type of motion of the control device; wake up the control device according to the first action data and obtain working data of the control device, wherein the working data is data received or generated by the control device within a preset first target period after the control device performs an action corresponding to the first action data; According to the data type of the working data, controlling a first controlled device associated with the control device to make the first controlled device act; Or, the control device is controlled to start a target function according to the data type of the working data.
2. The device control method according to claim 1, characterized in that: The data type of the working data includes voice type; The controlling the control device to execute a target function according to the data type of the working data comprises: If the data type of the work data is the voice type, collecting voice data; Controlling the control device to perform one of the following target functions according to the voice data; Transmitting the voice data to a preset target device, so that the target device controls the corresponding second controlled device action according to the voice data; Controlling the corresponding action of the second controlled device according to the voice data; The second controlled device is determined according to the voice data, or an operating parameter of the second controlled device that needs to be adjusted is determined.
3. The device control method according to claim 2, characterized in that: After determining the second controlled device according to the voice data or determining the operating parameters of the second controlled device that need to be adjusted, the method further includes: Acquire second action data of the control device, wherein the second action data is data of an action that occurs again by the control device within a preset second target period after the control device receives the working data; Control the second controlled device to adjust the operating parameters in the corresponding direction according to the action characteristics of the second action data, wherein the action characteristics are determined by the second action data, and the action characteristics include at least one of rotation direction, number of tapping times, tapping rhythm, shaking frequency and pushing distance.
4. The device control method according to any one of claims 2 to 3, characterized in that: After collecting the voice data, the method further includes: If the control device stops collecting voice data or the operation status of the control device meets the condition of stopping collecting voice data, the control device is controlled to enter the sleep mode.
5. The device control method according to claim 1, characterized in that: The data type of the working data includes an action class, and the action class includes at least one action type; The controlling, according to the data type of the working data, a first controlled device associated with the control device so as to make the first controlled device act, includes: Determining the first controlled device for communication according to the action type and a preset first relationship or determining the action performed by the first controlled device according to the action type and a preset second relationship, wherein the first relationship includes a correspondence relationship between different action types and corresponding first controlled devices, and the second relationship includes a correspondence relationship between different action types and actions of the first controlled device; If the first controlled device is determined, the working data is sent to the first controlled device so that the first controlled device acts according to the working data. If the action to be performed by the first controlled device is determined, a control instruction is determined according to the working data and the control instruction is sent to the first controlled device, so that the first controlled device acts according to the control instruction.
6. The device control method according to claim 5, characterized in that: The action of the first controlled device includes at least one of a device state adjustment action and an operation parameter adjustment action.
7. The device control method according to claim 1, characterized in that: The data type of the working data includes an action class, and the action class includes a first type of action and a second type of action; The method comprises: If the data type of the working data is the action type and belongs to the first type, then controlling the control device to start the target function is executed, If the data type of the working data is the action type and belongs to the second type, the step of controlling the first controlled device associated with the control device is performed to enable the first controlled device to act.
8. The device control method according to claim 7, characterized in that: The first type includes at least one of picking up and shaking, and the second type includes at least one of rotating, knocking, pushing and shaking.
9. The device control method according to any one of claims 1-3, 5-8, characterized in that: The working data includes acceleration and / or angular velocity of the control device when it is in action; The method further comprises: The action type represented by the working data is determined according to the acceleration and / or angular velocity of the control device when it is in action.
10. The device control method according to any one of claims 1-3, 5-8, characterized in that: The waking up the control device according to the first action data includes: If the characteristic value of the amplitude of the control device action represented by the first motion data exceeds a preset amplitude threshold, the control device is awakened to obtain the working data received or generated by the control device, wherein the first motion data includes the acceleration and / or angular velocity of the control device when the control device is in action; If the first action data represents that the type of the control device action is a preset characteristic type, the voice function of the control device is awakened to obtain the working data generated by the control device receiving the voice.
11. The device control method according to any one of claims 1-3, 5-8, characterized in that: The working data includes data generated by the action of the control device; The first action data and the working data are generated by the same action of the control device.
12. A control device, characterized in that: It includes a processing unit, a motion recognition unit and a voice recognition unit; the motion recognition unit and the voice recognition unit are electrically connected to the processing unit respectively; The action recognition unit is used to recognize the action of the control device and generate corresponding action data, wherein the action data includes first action data and action-type work data generated in sequence; The processing unit is used to wake up the motion recognition unit and / or the speech recognition unit according to the first motion data, wherein the waking up includes at least one of switching from an off state to an on state and switching from a low power consumption state to a high power consumption state; The action recognition unit is used to identify the type of action corresponding to the action-class work data, and control the first controlled device associated with the control device according to the type of action corresponding to the work data, or start the voice recognition unit according to the type of action corresponding to the work data; The speech recognition unit is used to collect speech data so that the processing unit performs corresponding actions according to the speech data.
13. The control device according to claim 12, characterized in that The motion recognition unit includes a six-axis sensor, and the voice recognition unit includes a microphone.
14. The control device according to claim 12, characterized in that The control device also includes an indicator light and a buzzer, and the indicator light and the buzzer are both electrically connected to the processing unit. The processing unit is used to control the indicator light and / or the buzzer to start when the device status and / or device data of the control device meet the preset prompt conditions.
15. A control device, characterized in that: Including sleep mode, recognition mode, voice collection mode and motion control mode, as well as motion recognition function, voice collection function and communication function; The control device is configured to: If in the sleep mode, the motion recognition function is in a low power consumption mode, and at least one of the voice collection function and the communication function is in a closed or low power consumption mode, wherein the motion recognition function in the low power consumption mode generates first motion data when the control device takes action, and the control device switches to the recognition mode according to the amplitude of the action represented by the first motion data or switches to the voice collection mode according to the type of action represented by the first motion data; If in the recognition mode, the action recognition function is in a high power consumption mode, wherein the action recognition function in the high power consumption mode generates action-type work data when the control device takes action, and the control device switches to the voice collection mode or the action control mode according to the action type of the action-type work data; wherein, the high power consumption mode refers to a mode in which the power consumption of the control device is greater than the power consumption in the low power consumption mode; the amount of data and / or the number of data types of the action data generated when the action recognition function is in the high power consumption mode is greater than that in the low power consumption mode.
16. The control device according to claim 15, characterized in that The control device switches to the voice collection mode or the action control mode according to the action type of the action-related work data, including: If the action type of the action-type work data is the first type, the voice collection mode is entered, wherein when in the voice collection mode, the voice collection function is turned on and voice data is collected, and the voice data is sent to a preset target device; If the action type of the working data is the second type, the action control mode is entered, wherein when in the action control mode, the communication function is turned on, and the control device sends the working data to the associated first controlled device, so that the first controlled device acts according to the working data. Or when in the action control mode, the communication function is turned on, the control device determines a control instruction according to the working data and sends the control instruction to the first controlled device, so that the first controlled device acts according to the control instruction.
17. The control device according to claim 15, characterized in that When in the sleep mode, if the characteristic value of the amplitude of the action represented by the first action data exceeds a preset amplitude threshold, switching to the recognition mode, Or, when in the sleep mode, if the type of action represented by the first action data is a preset feature type, switch to the voice collection mode.
18. The control device according to claim 15, characterized in that When in the recognition mode, if the data volume of the action-related working data meets a preset data volume threshold, the action recognition function is switched to the low power consumption mode.
19. The control device according to claim 16, characterized in that When in the voice collection mode, if the voice signal is transmitted to the target device or it is determined that the voice signal cannot be transmitted to the target device, then entering the sleep mode; When in the action control mode, if the action-related working data is transmitted to the pre-associated first controlled device or it is determined that the action-related working data cannot be transmitted to the first controlled device, the sleep mode is entered.
20. A device control system, characterized in that: The method comprises a control device and a controlled device, wherein the controlled device comprises a second controlled device and a first controlled device which is pre-communicatively connected with the control device; The control device operates according to the device control method according to any one of claims 1 to 11, wherein the first controlled device and the second controlled device include controllable devices.
21. The device control system according to claim 19, characterized in that: The control device is the control device described in any one of claims 12-19.
22. A device control device, characterized in that: include: A first acquisition module, used to acquire first motion data of a control device, wherein the first motion data represents a magnitude and / or a type of motion of the control device; a wake-up module, configured to wake up the control device according to the first action data and obtain working data of the control device, wherein the working data is data received or generated by the control device within a preset first target period after the control device performs an action corresponding to the first action data; an execution module, configured to control a first controlled device associated with the control device according to a data type of the working data, so as to enable the first controlled device to act; Or, the control device is controlled to execute a target function according to the data type of the working data.
23. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a device control method, and the processor is used to adopt the device control method according to any one of claims 1 to 11 when executing the device control method.
24. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Starting method, device and system and remote controller of voice recognition function
CN106251605A
Equipment control method and device, electronic equipment and medium
CN114613362A
Equipment control method and device, electronic equipment and storage medium
CN115547324A
Voice command recognition system
US20220358915A1
Cited By
Device control method, and device
WO2026082133A1