Electronic equipment, control method thereof, control equipment and readable storage medium
By receiving wake-up instructions in multiple electronic devices and managing the wake-up state of the device, the problem of poor response control effect when multiple devices share the network is solved, and more accurate device response is achieved.
Patent Information
- Application Number
- CN202311814623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
When multiple electronic devices share a network connection area, the user's voice control may cause all devices to respond, resulting in poor response control.
By receiving the first wake-up instruction, the first device of the M electronic devices enters the wake-up state and exits the wake-up state upon receiving the second wake-up instruction, ensuring that only the device controlled by the user is expected to respond.
It effectively avoids electronic devices that are not intended to control by users and improves the response control effect of electronic devices.
Smart Images

Figure CN120216041A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent electronic technologies, and particularly to an electronic device, a control method thereof, a control device, and a readable storage medium. Background Art
[0002] Voice control has been widely used in intelligent devices, and the application of intelligent devices in households is also becoming more and more extensive. In some technologies, when a user performs voice control on an electronic device and there are multiple electronic devices in the network connection area, all electronic devices respond to the user's control, which may be different from the user's expected control effect, resulting in a poor response control effect of the electronic device.
[0003] It should be noted that the above content is only used to assist in understanding the technical problems solved by the present invention, and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide an electronic device, a control method thereof, a control device, and a readable storage medium, aiming to enable an electronic device that is not the user's expected control to exit the wake-up state in a timely manner and improve the response control effect of the electronic device.
[0005] Based on this, the present invention provides a control method for an electronic device, which is applied to a control device. The control method for the electronic device includes the following steps:
[0006] When receiving a first wake-up instruction, a first device among M electronic devices responds to the first wake-up instruction and enters a wake-up state, where M is a positive integer greater than or equal to 2;
[0007] When receiving a second wake-up instruction, the first device exits the wake-up state, and a second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state.
[0008] Optionally, the step of when receiving the first wake-up instruction, a first device among M electronic devices responds to the first wake-up instruction includes:
[0009] The first device gives feedback on the first wake-up instruction;
[0010] After receiving the second wake-up instruction, it further includes:
[0011] The first device does not give feedback on the second wake-up instruction.
[0012] Optionally, before the step of a first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, it further includes:
[0013] Determine the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state;
[0014] Select the electronic device with the highest corresponding wake-up priority among the M electronic devices as the first device.
[0015] Optionally, the step of determining the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state includes:
[0016] Obtain the device wake-up information of the electronic devices in the M electronic devices that are in the non-wake-up state, where the device wake-up information includes at least one of a device wake-up distance, a device wake-up communication strength, a device wake-up volume, and a user wake-up preference setting;
[0017] Based on the device wake-up information, determine the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state.
[0018] The present invention further provides a control method for an electronic device, which is applied to a first electronic device. The control method for the electronic device includes the following steps:
[0019] When receiving a first wake-up instruction, the first device responds to the first wake-up instruction and enters the wake-up state;
[0020] When receiving a second wake-up instruction, the first device exits the wake-up state.
[0021] The present invention further provides a control method for an electronic device, which is applied to a second electronic device. The control method for the electronic device includes the following steps:
[0022] When receiving a first wake-up instruction, the second device does not enter the wake-up state;
[0023] When receiving a second wake-up instruction, the second device enters the wake-up state.
[0024] Optionally, after the step in which the second device enters the wake-up state, the method further includes:
[0025] When receiving a control instruction within a preset time interval, send an instruction to the first device to exit the wake-up state, so that when the first device receives the instruction to exit the wake-up state, it exits the wake-up state, where the first device is the device that has not received a control instruction within the preset time interval.
[0026] The present invention further provides a control device, which includes a memory, a processor, and a control program of the control device stored in the memory and executable on the processor. When the control program of the control device is executed by the processor, the steps of the control method for the electronic device as described above are implemented.
[0027] The present invention also provides a first device, which includes a memory, a processor, and a control program of the first device stored in the memory and executable on the processor. When the control program of the first device is executed by the processor, the steps of the control method of the electronic device as described above are implemented.
[0028] The present invention also provides a second device, which includes a memory, a processor, and a control program of the second device stored in the memory and executable on the processor. When the control program of the second device is executed by the processor, the steps of the control method of the electronic device as described above are implemented.
[0029] The present invention also provides a computer-readable storage medium, which stores a control program of an electronic device. When the control program of the electronic device is executed by a processor, the steps of the control method of the electronic device as described above are implemented.
[0030] For the electronic device, its control method, control device, and readable storage medium provided by the present invention, in the embodiments of the present invention, when a first wake-up instruction is received, the first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, where M is a positive integer greater than or equal to 2; when a second wake-up instruction is received, it indicates that the first device is not the device expected to be controlled by the user, and the first device is executed to exit the wake-up state, which can avoid the situation that an electronic device not expected to be controlled by the user responds to the user's control. The second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state, and the judgment process of whether the second device is the electronic device expected to be controlled by the user can be entered. Therefore, the effect of the electronic device responding to the control is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0032] Figure 1 It is a schematic diagram of the hardware environment architecture related to the control method of the electronic device provided by the present invention;
[0033] Figure 2 It is a schematic flowchart of the first embodiment of the control method of the electronic device provided by the present invention;
[0034] Figure 3 It is a schematic flowchart of the second embodiment of the control method of the electronic device provided by the present invention;
[0035] Figure 4 This is a schematic flowchart of the third embodiment of the control method for the electronic device provided by the present invention.
[0036] The realization of the object of the present invention, functional features and advantages will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments
[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] In the related art, when a user performs voice control on an electronic device, when there are multiple electronic devices in the network connection area, all electronic devices respond to the user's control, which may be different from the user's expected control effect, resulting in a poor response control effect of the electronic device.
[0039] Based on this, in the control method for the electronic device provided by the embodiments of the present invention, when a first wake-up instruction is received, a first device among M electronic devices responds to the first wake-up instruction and enters a wake-up state, where M is a positive integer greater than or equal to 2; when a second wake-up instruction is received, it indicates that the first device is not the device expected to be controlled by the user, and the first device is executed to exit the wake-up state, which can avoid the situation that an electronic device not expected to be controlled by the user responds to the user's control. A second device among the M electronic devices responds to the second wake-up instruction and enters a wake-up state, and a judgment process on whether the second device is the electronic device expected to be controlled by the user can be entered. Therefore, the response control effect of the electronic device is improved.
[0040] In order to better understand the technical solutions provided by the embodiments of the present invention, the exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.
[0041] As an implementation manner, the hardware environment architecture involved in the control method for the electronic device can be as Figure 1 shown.
[0042] Optionally, the hardware architecture involved in the control method for the electronic device includes a control device and electronic devices, etc. Among them, the control device is such as a central control screen or a wire control box, etc., and the electronic devices include but are not limited to air conditioners, televisions, etc.
[0043] As an implementation, the control device or the electronic device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. Among them, the communication bus 103 is used to realize the connection and communication between these components. The processor 101 is used to call an application program to perform control operations.
[0044] The memory 102 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory.
[0045] It can be understood that in an embodiment, the control program of the electronic device for realizing the control process of the electronic device is stored in the memory 102 or in a computer-readable storage medium. When the processor 101 calls the control program of the electronic device from the memory 102 or the computer-readable storage medium, the following operations are performed:
[0046] When receiving a first wake-up instruction, the first device among the M electronic devices responds to the first wake-up instruction and enters a wake-up state, where M is a positive integer greater than or equal to 2;
[0047] When receiving a second wake-up instruction, the first device exits the wake-up state, and the second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state.
[0048] Alternatively, when the processor 101 calls the control program of the electronic device from the memory 102 or the computer-readable storage medium, the following operations are performed:
[0049] When receiving a first wake-up instruction, the first device responds to the first wake-up instruction and enters a wake-up state;
[0050] When receiving a second wake-up instruction, the first device exits the wake-up state.
[0051] Alternatively, when the processor 101 calls the control program of the electronic device from the memory 102 or the computer-readable storage medium, the following operations are performed:
[0052] When receiving a first wake-up instruction, the second device does not enter a wake-up state;
[0053] When receiving a second wake-up instruction, the second device enters the wake-up state.
[0054] Based on the above hardware architecture of the control device or the mobile device, the following various embodiments of the present invention are proposed.
[0055] The first embodiment
[0056] Please refer to Figure 2, the control method of the electronic device proposed by the embodiment of the present invention includes the following steps:
[0057] Step S110, when the first wake-up instruction is received, the first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, where M is a positive integer greater than or equal to 2;
[0058] Among them, the execution terminal of this embodiment is the control device; the electronic devices include but are not limited to air conditioners, dehumidifiers, microwave ovens, rice cookers, refrigerators, etc.; all instructions involved in the full text (including the first wake-up instruction, the second wake-up instruction, and the exit wake-up state instruction mentioned throughout the text) include but are not limited to remote control instructions, voice instructions, etc.; the electronic devices involved in the full text have a communication function for receiving and responding to various instructions, and the instructions include but are not limited to wake-up instructions, control instructions, exit wake-up state instructions, etc.; the M electronic devices are the electronic devices configured in the preset use space, and the preset use space is the space set in advance for waiting for the control of the electronic devices. The preset use space can be a single room, or a house composed of multiple rooms, or a building composed of multiple houses.
[0059] Optionally, in some embodiments, the first wake-up instruction is the only wake-up instruction, that is, only one electronic device receives the first wake-up instruction at a time.
[0060] Optionally, in some other embodiments, the first wake-up instruction can be a non-unique wake-up instruction, that is, multiple electronic devices receive the first wake-up instruction at a time.
[0061] Optionally, when the control device receives the first wake-up instruction, it sends the first wake-up instruction to the first device for the first device to respond to the first wake-up instruction and enter the wake-up state; or, the control device controls the first device to respond to the first wake-up instruction and enter the wake-up state.
[0062] Optionally, in some embodiments, when the first wake-up instruction is a remote control instruction, when the control device receives the first wake-up instruction, it outputs the infrared coding signal corresponding to the first wake-up instruction as the first wake-up instruction.
[0063] Or, in some other embodiments, when the first wake-up instruction is a voice instruction, when the control device receives the preset voice instruction, it performs voice recognition on the preset voice instruction to obtain a recognition field. If the recognition field meets the preset wake-up field condition, it is determined that the preset voice instruction is the first wake-up instruction.
[0064] Optionally, in some other embodiments, when the first wake-up instruction is a non-unique wake-up instruction, X first devices respond to the first wake-up instruction, where X is a positive integer greater than or equal to 2.
[0065] Optionally, in one embodiment, when M is greater than a preset quantity threshold, the first wake-up instruction is a non-unique wake-up instruction; when M is less than or equal to the preset quantity threshold, the first wake-up instruction is a unique wake-up instruction.
[0066] Optionally, when receiving the first wake-up instruction, the steps for the first device among the M electronic devices to respond to the first wake-up instruction include:
[0067] The first device gives feedback on the first wake-up instruction;
[0068] Optionally, in some embodiments, the ways for the first device to give feedback on the first wake-up instruction include but are not limited to lighting up, flashing, voice identification, etc.
[0069] Step S120, when receiving the second wake-up instruction, the first device exits the wake-up state, and the second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state.
[0070] Among them, the second wake-up instruction and the first wake-up instruction are different in the receiving order in terms of time sequence. Specifically, the receiving time corresponding to the second wake-up instruction is later than the receiving time corresponding to the first wake-up instruction. The instruction contents of the second wake-up instruction and the first wake-up instruction may be the same or different.
[0071] Optionally, in some embodiments, when the first wake-up instruction is a unique wake-up instruction, when a first device receives the second wake-up instruction, the first device exits the wake-up state.
[0072] Or, in still some other embodiments, when the first wake-up instruction is a non-unique wake-up instruction, when receiving the second wake-up instruction, all X first devices exit the wake-up state.
[0073] Further, when the first wake-up instruction is a non-unique wake-up instruction, if the second wake-up instruction is not received and a control instruction is received, then obtain the selection operation of the user for the X first devices, use the device corresponding to the selection operation as the target device, and control the target device to respond to the control instruction.
[0074] In this way, it is ensured that when the first wake-up instruction is a non-unique wake-up instruction, the electronic device responding to the control instruction is the device expected to be controlled by the user.
[0075] Optionally, the specific implementation manner for the second device among the M electronic devices to respond to the second wake-up instruction and enter the wake-up state may refer to the specific implementation manner in step 110 above, and will not be elaborated here.
[0076] Optionally, after the second device among the M electronic devices enters the wake-up state in response to the second wake-up instruction, it outputs the second wake-up instruction as the corresponding first wake-up instruction, outputs the second device as the corresponding first device, continuously detects the second wake-up instruction, and when a control instruction is received within a preset time interval, outputs the second device at that moment as the target device, and controls the target device to respond to the control instruction, where the preset time interval is the time required for the user to select the target device.
[0077] Optionally, in some embodiments, after detecting the target device, an instruction to exit the wake-up state is generated, and the instruction to exit the wake-up state is sent to the devices in the wake-up state other than the target device, so that the devices in the wake-up state other than the target device respond to the instruction to exit the wake-up state and exit the wake-up state; or, control the devices in the wake-up state other than the target device to respond to the instruction to exit the wake-up state and exit the wake-up state.
[0078] Optionally, after receiving the second wake-up instruction, it further includes:
[0079] The first device does not give feedback on the second wake-up instruction.
[0080] Optionally, in some embodiments, when the way the first device gives feedback on the first wake-up instruction is by lighting up or flashing, the way the first device does not give feedback on the second wake-up instruction is set to turning off the light.
[0081] Optionally, the way the second device responds to the second wake-up instruction may refer to the content of the feedback of the first device on the first wake-up instruction as described above, which will not be elaborated here.
[0082] In this way, since the second device will give feedback on the second wake-up instruction when receiving the second wake-up instruction, by not giving feedback on the second wake-up instruction by the first device, it is avoided that the user cannot distinguish the first device and the second device.
[0083] Optionally, before the step that the first device among the M electronic devices enters the wake-up state in response to the first wake-up instruction, it further includes:
[0084] Determine the wake-up priorities of the electronic devices in the non-wake-up state among the M electronic devices;
[0085] Optionally, in some embodiments, obtain the wake-up priorities of the electronic devices in the non-wake-up state among the M electronic devices set by the user as needed; or, obtain the wake-up priorities of the electronic devices in the non-wake-up state among the M electronic devices determined in advance.
[0086] Optionally, the step of determining the wake-up priorities of the electronic devices in the M electronic devices that are in an unawakened state includes:
[0087] Obtain the device wake-up information of the electronic devices in the M electronic devices that are in an unawakened state, where the device wake-up information includes at least one of a device wake-up distance, a device wake-up communication strength, a device wake-up volume, and a user wake-up preference setting;
[0088] Wherein, the device wake-up distance is the distance between the initiation position of the first wake-up instruction and the locations of the M electronic devices respectively; the device wake-up communication strength is the communication strength between the initiation position of the first wake-up instruction and the locations of the M electronic devices respectively; the device wake-up volume is the volume at which the M electronic devices sense the first wake-up instruction respectively; the user wake-up preference setting is the wake-up preference degree set by the user for the M electronic devices respectively.
[0089] Based on the device wake-up information, determine the wake-up priorities of the electronic devices in the M electronic devices that are in an unawakened state.
[0090] Optionally, in some embodiments, for each of the M electronic devices, when the device wake-up information includes the device wake-up distance, the shorter the device wake-up distance corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up communication strength, the higher the device wake-up communication strength corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up volume, the larger the device wake-up volume corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the user wake-up preference setting, the higher the wake-up preference degree of the user wake-up preference setting corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device.
[0091] Optionally, in some other embodiments, for each of the M electronic devices, when the device wake-up information includes multiple items of information, construct each item of information corresponding to the electronic device according to the above rules, and construct the single-item priority corresponding to each item of information; according to the weight corresponding to each item of information, perform weighted aggregation on each single-item priority to obtain the wake-up priority corresponding to the electronic device, where the weight corresponding to each item of information can be set by the user as needed.
[0092] Further, multiply the weight corresponding to each item of information by the single-item priority corresponding to each item of information to obtain the weighted priority corresponding to each item of information; sum up the weighted priorities to obtain the wake-up priority corresponding to the electronic device.
[0093] Select the electronic device with the highest corresponding wake-up priority among the M electronic devices as the first device.
[0094] In this way, the selection order of the first device is specified. Since the wake-up priority is determined based on the device wake-up information, the probability that the selected first device is the device that the user expects to control can be made as high as possible.
[0095] It can be understood that when M is small, a unique wake-up instruction can be sent to each electronic device, so that the first device can be woken up one by one. When M is large, and / or when there are multiple electronic devices that the user expects to control, the M electronic devices can be woken up in batches (that is, multiple first devices are woken up successively). Then, based on the above method, it is confirmed one by one whether the electronic device that receives the control instruction is the electronic device that the user expects to control. In this case, since there may be a situation where multiple first devices do not receive the control instruction within the preset time interval when they are in the wake-up state, when using this method, it is no longer necessary to separately confirm one by one whether each of the multiple first devices this time is the electronic device that the user expects to control. Therefore, the confirmation time for the electronic devices in the same batch that have not received the control instruction is saved, and the efficiency of the electronic device's response to control is improved.
[0096] In this embodiment, when the control device receives the first wake-up instruction, the first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, where M is a positive integer greater than or equal to 2; when the second wake-up instruction is received, it means that the first device is not the device that the user expects to control, and the first device is made to exit the wake-up state, which can avoid the situation where the electronic device that is not the device that the user expects to control responds to the user's control. The second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state, and the process of determining whether the second device is the electronic device that the user expects to control can be entered. Therefore, the effect of the electronic device's response to control is improved.
[0097] Second Embodiment
[0098] Please refer to Figure 3 , the control method of the electronic device proposed in the inventive embodiment of this embodiment includes the following steps:
[0099] Step S210, when the first wake-up instruction is received, the first device responds to the first wake-up instruction and enters the wake-up state;
[0100] Among them, the execution terminal of this embodiment is the first device, and the first device includes but is not limited to air conditioners, dehumidifiers, microwave ovens, rice cookers, refrigerators, etc.; all instructions involved throughout the text (including the first wake-up instruction, the second wake-up instruction, and the exit wake-up state instruction mentioned throughout the text) include but are not limited to remote control instructions, voice instructions, etc.; the electronic devices involved throughout the text have a communication function and are used to receive and respond to various instructions, and the instructions include but are not limited to wake-up instructions, control instructions, exit wake-up state instructions, etc.; the first device is one of the M electronic devices, and the M electronic devices are the electronic devices configured in the preset usage space. The preset usage space is the space set in advance for waiting to control the electronic devices. The preset usage space can be a single room, or a house composed of multiple rooms, or a building composed of multiple houses.
[0101] Optionally, in some embodiments, the first wake-up instruction is the only wake-up instruction, that is, only one electronic device receives the first wake-up instruction at a time.
[0102] Optionally, in some other embodiments, the first wake-up instruction can be a non-unique wake-up instruction, that is, multiple electronic devices receive the wake-up instruction at a time.
[0103] Optionally, when the first device receives the first wake-up instruction, it responds to the first wake-up instruction and enters the wake-up state.
[0104] Optionally, in some embodiments, when the first wake-up instruction is a remote control instruction, when the first device receives the first wake-up instruction, it uses the infrared coding signal corresponding to the first wake-up instruction as the output corresponding to the first wake-up instruction.
[0105] Alternatively, in some other embodiments, when the first wake-up instruction is a voice instruction, when the first device receives the preset voice instruction, it performs voice recognition on the preset voice instruction to obtain a recognition field. If the recognition field meets the preset wake-up field condition, it is determined that the preset voice instruction is the first wake-up instruction.
[0106] Optionally, in some other embodiments, when the first wake-up instruction is a non-unique wake-up instruction, X first devices respond to the first wake-up instruction, where X is a positive integer greater than or equal to 2.
[0107] Optionally, in one embodiment, when M is greater than the preset quantity threshold, the first wake-up instruction is a non-unique wake-up instruction, and when M is less than or equal to the preset quantity threshold, the first wake-up instruction is the only wake-up instruction.
[0108] Optionally, the steps for the first device to respond to the first wake-up instruction include:
[0109] The first device gives feedback on the first wake-up instruction;
[0110] Optionally, in some embodiments, the ways for the first device to give feedback on the first wake-up instruction include but are not limited to lighting up, flashing, voice identification, etc.
[0111] Step S220, when receiving the second wake-up instruction, the first device exits the wake-up state.
[0112] Wherein, the second wake-up instruction and the first wake-up instruction are different in the receiving order in terms of time sequence. Specifically, the receiving time corresponding to the second wake-up instruction is later than the receiving time corresponding to the first wake-up instruction. The instruction contents of the second wake-up instruction and the first wake-up instruction may be the same or different.
[0113] Optionally, in some embodiments, when the first wake-up instruction is the only wake-up instruction, when a first device receives the second wake-up instruction, the first device exits the wake-up state.
[0114] Or, in some other embodiments, when the first wake-up instruction is not the only wake-up instruction, when receiving the second wake-up instruction, X first devices all exit the wake-up state.
[0115] In this way, it is ensured that when the first wake-up instruction is not the only wake-up instruction, the electronic device responding to the control instruction is the device expected to be controlled by the user.
[0116] Optionally, after receiving the second wake-up instruction, it further includes:
[0117] The first device does not give feedback on the second wake-up instruction.
[0118] Optionally, in some embodiments, when the way for the first device to give feedback on the first wake-up instruction is lighting up or flashing, then the way for the first device not to give feedback on the second wake-up instruction is set to turning off the light.
[0119] In this way, by the first device not giving feedback on the second wake-up instruction, it is avoided that the user cannot distinguish between the first device and the second device.
[0120] Optionally, before the step of the first device responding to the first wake-up instruction, it further includes:
[0121] Obtain the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state;
[0122] Among them, the wake-up priorities are respectively determined by the device wake-up information of the electronic device, and the device wake-up information includes at least one of a device wake-up distance, a device wake-up communication strength, a device wake-up volume, and a user wake-up preference setting; when the device wake-up information includes the device wake-up distance, the shorter the device wake-up distance corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up communication strength, the higher the device wake-up communication strength corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up volume, the larger the device wake-up volume corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the user wake-up preference setting, the higher the wake-up preference degree of the user wake-up preference setting corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device.
[0123] If the wake-up priority of the current device is the maximum value among the wake-up priorities corresponding to the M electronic devices, it is determined that the current device is the first device;
[0124] If the wake-up priority of the current device is not the maximum value among the wake-up priorities corresponding to the M electronic devices, it is determined that the current device is not the first device.
[0125] In this way, the determination rule of the first device is specified. Since the wake-up priority is determined by the device wake-up information, the probability that the determined first device is the device expected to be controlled by the user can be made as high as possible.
[0126] It can be understood that when M is small, a unique wake-up instruction can be sent to each electronic device, so that the first device can be woken up one by one. When M is large, and / or when there are multiple electronic devices that the user expects to control, the M electronic devices can be woken up in batches (that is, multiple first devices are woken up successively), and then based on the above method, it is confirmed one by one whether the electronic device that receives the control instruction is the electronic device that the user expects to control. In this case, since there may be a situation where multiple first devices do not receive the control instruction within the preset time interval when they are in the wake-up state, when using this method, there is no need to confirm one by one whether each of the multiple first devices in this time is the electronic device that the user expects to control. Therefore, the confirmation time for the electronic devices in the same batch that have not received the control instruction is saved, and the efficiency of the electronic device's response to control is improved.
[0127] When the first device in this embodiment receives the first wake-up instruction, the first device responds to the first wake-up instruction and enters the wake-up state. When it receives the second wake-up instruction, at this time, the first device is not the device expected to be controlled by the user, and the first device exits the wake-up state, so that the electronic device that is not the device expected to be controlled by the user exits the wake-up state in time, improving the effect of the electronic device's response to control.
[0128] Third Embodiment
[0129] Please refer to Figure 4 , the control method of the electronic device proposed in this embodiment includes the following steps:
[0130] Step S310, when the first wake-up instruction is received, the second device does not enter the wake-up state;
[0131] Among them, the execution terminal of this embodiment is the second device, and the second device includes but is not limited to air conditioners, dehumidifiers, microwave ovens, rice cookers, refrigerators, etc.; all instructions involved in the full text (including the second wake-up instruction, the second wake-up instruction and the exit wake-up state instruction mentioned in the full text) include but are not limited to remote control instructions, voice instructions, etc.; the electronic devices involved in the full text have a communication function for receiving and responding to various instructions, and the instructions include but are not limited to wake-up instructions, control instructions, exit wake-up state instructions, etc.; the second device is one of the M electronic devices, and the M electronic devices are the electronic devices configured in the preset use space, and the preset use space is the space set in advance for waiting for the control of the electronic device. The preset use space can be a single room, or a house composed of multiple rooms, or a building composed of multiple houses.
[0132] Optionally, before the step that when the first wake-up instruction is received, the second device does not enter the wake-up state, it further includes:
[0133] Obtain the wake-up priorities of the electronic devices that have not been woken up and are in the non-wake-up state among the M electronic devices;
[0134] Among them, the wake-up priorities are determined by the device wake-up information of the electronic devices, and the device wake-up information includes at least one of device wake-up distance, device wake-up communication strength, device wake-up volume, and user wake-up preference settings; when the device wake-up information includes the device wake-up distance, the shorter the device wake-up distance corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up communication strength, the higher the device wake-up communication strength corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the device wake-up volume, the larger the device wake-up volume corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device; or, when the device wake-up information includes the user wake-up preference settings, the higher the wake-up preference degree of the user wake-up preference settings corresponding to the electronic device, the higher the wake-up priority corresponding to the electronic device.
[0135] If the wake-up priority of the current device is the maximum value among the wake-up priorities of the electronic devices that have not been woken up and are in the non-wake-up state among the M electronic devices, then determine that the current device is the second device;
[0136] If the wake-up priority of the current device has not been awakened among the M electronic devices and is not the maximum value among the wake-up priorities of the electronic devices in the unawakened state, it is determined that the current device is not the second device.
[0137] In this way, the determination rule of the second device is specified. Since the wake-up priority is determined from the device wake-up information, the probability that the determined second device is the device expected to be controlled by the user can be made as high as possible.
[0138] Step S320, when the second wake-up instruction is received, the second device enters the wake-up state.
[0139] Optionally, when the second device receives the second wake-up instruction, it responds to the second wake-up instruction and enters the wake-up state.
[0140] Optionally, in some embodiments, when the second wake-up instruction is a remote control instruction, when the second device receives the second wake-up instruction, it outputs the infrared coding signal corresponding to the second wake-up instruction as the corresponding output of the second wake-up instruction.
[0141] Or, in some other embodiments, when the second wake-up instruction is a voice instruction, when the second device receives the preset voice instruction, it performs voice recognition on the preset voice instruction to obtain a recognition field. If the recognition field meets the preset wake-up field condition, it is determined that the preset voice instruction is the second wake-up instruction.
[0142] Optionally, after the step of receiving the second wake-up instruction, it further includes:
[0143] The second device gives feedback on the second wake-up instruction.
[0144] Optionally, in some embodiments, the ways for the second device to give feedback on the second wake-up instruction include but are not limited to lighting, flashing, voice identification, etc.
[0145] Optionally, after the step in which the second device enters the wake-up state, it further includes:
[0146] When a control instruction is received within a preset time interval, an exit wake-up state instruction is sent to the first device, so that when the first device receives the exit wake-up state instruction, it exits the wake-up state, where the first device is the device that has not received a control instruction within the preset time interval.
[0147] Among them, the preset time interval is the time required for the reserved user to select the target device.
[0148] Optionally, as an embodiment, an exit wake-up state instruction is sent to the first device in the wake-up state.
[0149] Optionally, after sending an instruction to exit the wake-up state to the first device in the wake-up state, it further includes: the second device responding to the control instruction.
[0150] In the second device of this embodiment, when receiving the first wake-up instruction, the second device does not enter the wake-up state, realizing the unique wake-up state of the first wake-up instruction. When receiving the second wake-up instruction, the second device enters the wake-up state, and the judgment process of whether the second device is the electronic device expected to be controlled by the user can be entered, thereby improving the effect of the electronic device's response control.
[0151] The present invention also provides a control device, which is used to control each electronic device. The control device includes a memory, a processor, and a control program of the electronic device stored in the memory and operable on the processor. When the control program of the electronic device is executed by the processor, it implements the control method of the electronic device as described above.
[0152] The present invention also provides a first device, which includes a memory, a processor, and a control program of the first device stored in the memory and operable on the processor. When the control program of the first device is executed by the processor, it implements the control method of the electronic device as described above.
[0153] The present invention also provides a second device, which includes a memory, a processor, and a control program of the second device stored in the memory and operable on the processor. When the control program of the second device is executed by the processor, it implements the control method of the electronic device as described above.
[0154] The present invention also provides a computer-readable storage medium, which stores a control program of the electronic device. When the control program of the electronic device is executed by the processor, it implements the control method of the electronic device as described above.
[0155] It should be noted that the above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structural or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied to other related technical fields, shall be included in the patent protection scope of the present invention by the same token.
Claims
1. A control method for an electronic device, characterized in that The control method of the electronic device includes the following steps: When a first wake-up instruction is received, the first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, where M is a positive integer greater than or equal to 2; When a second wake-up instruction is received, the first device exits the wake-up state, and the second device among the M electronic devices responds to the second wake-up instruction and enters the wake-up state.
2. The control method of the electronic device according to claim 1, wherein, The step that when a first wake-up instruction is received, the first device among the M electronic devices responds to the first wake-up instruction includes: The first device gives feedback on the first wake-up instruction; After receiving the second wake-up instruction, it further includes: The first device does not give feedback on the second wake-up instruction.
3. The control method of the electronic device according to claim 1, characterized in that, Before the step that the first device among the M electronic devices responds to the first wake-up instruction and enters the wake-up state, it further includes: Determine the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state; Select the electronic device with the highest corresponding wake-up priority among the M electronic devices as the first device.
4. The control method of the electronic device according to claim 3, characterized in that, The step of determining the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state includes: Obtain the device wake-up information of the electronic devices in the M electronic devices that are in the non-wake-up state, where the device wake-up information includes at least one of device wake-up distance, device wake-up communication strength, device wake-up volume, and user wake-up preference settings; Based on the device wake-up information, determine the wake-up priorities of the electronic devices in the M electronic devices that are in the non-wake-up state.
5. A control method for an electronic device, characterized in that, The control method of the electronic device includes the following steps: When a first wake-up instruction is received, the first device responds to the first wake-up instruction and enters the wake-up state; When a second wake-up instruction is received, the first device exits the wake-up state.
6. A control method for an electronic device, characterized in that, The control method of the electronic device includes the following steps: When a first wake-up instruction is received, the second device does not enter the wake-up state; When a second wake-up instruction is received, the second device enters the wake-up state.
7. The control method of the electronic device according to claim 6, characterized in that, After the step that the second device enters the wake-up state, it further includes: When a control instruction is received within a preset time interval, send an instruction to exit the wake-up state to the first device, so that when the first device receives the instruction to exit the wake-up state, it exits the wake-up state, where the first device is the device that has not received a control instruction within the preset time interval.
8. A control device, characterized in that, The control device is used to control the electronic device. The control device includes a memory, a processor, and a control program of the control device stored in the memory and executable on the processor. When the control program of the control device is executed by the processor, it implements the steps of the control method of the control device as described in any one of claims 1 to 4.
9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a control program of the electronic device stored in the memory and executable on the processor. When the control program of the electronic device is executed by the processor, it implements the steps of the control method of the electronic device as described in claim 5 or any one of claims 6 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a control program for an electronic device. When the control program of the electronic device is executed by a processor, it implements the steps of the control method of the electronic device according to any one of claims 1 to 4, claim 5, or any one of claims 6 to 7.