Control method and apparatus for wireless electronic device, storage medium, and related device
By detecting the calling status and usage habits of terminal devices, the system controls wireless electronic devices to enter a low-power mode, solving the problem of short battery life and achieving power saving and improved battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- IFLYTEK CO LTD
- Filing Date
- 2022-08-31
- Publication Date
- 2026-04-21
AI Technical Summary
Wireless electronic devices rely on batteries for power, resulting in short battery life.
By detecting the calling status of terminal devices, the system controls wireless electronic devices to enter a lower power consumption working mode, including power saving mode or sleep mode. The system uses the wireless receiver to generate status commands to adjust the working mode and optimizes the set duration by combining usage habit data.
It effectively saves power and increases the battery life of wireless electronic devices.
Smart Images

Figure CN115454229B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless electronic equipment technology, and in particular to a control method, apparatus, storage medium and related equipment for wireless electronic equipment. Background Technology
[0002] Wireless electronic devices such as wireless microphones, wireless mice, and wireless keyboards are widely used due to their advantage of not being bound by wires. However, precisely because wireless electronic devices are not bound by wires, they can only be powered by a battery installed in the device itself, resulting in short battery life. Summary of the Invention
[0003] Based on the above requirements, this application proposes a control method, apparatus, storage medium and related equipment for wireless electronic devices to solve the problem of short battery life of wireless electronic devices in the prior art.
[0004] The technical solution proposed in this application is as follows:
[0005] On the one hand, this application provides a control method for a wireless electronic device, including:
[0006] Based on the activation signal of the wireless electronic device, control the wireless electronic device to enter the first working mode;
[0007] The system detects whether a first status command is received from the wireless receiver. If a first status command is received from the wireless receiver, the system controls the wireless electronic device to enter a second operating mode. The power consumption of the first operating mode is greater than that of the second operating mode.
[0008] The first status instruction is generated when the terminal device stops calling the wireless electronic device.
[0009] Furthermore, in the method described above, the second operating mode includes an energy-saving mode or a sleep mode, and the method further includes:
[0010] When the wireless electronic device is in the power-saving mode, if it is determined that the terminal device calls the wireless electronic device, the wireless electronic device is controlled to enter the first working mode.
[0011] When the wireless electronic device is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, then the wireless electronic device is controlled to enter the power-saving mode.
[0012] Furthermore, the method described above also includes:
[0013] When the wireless electronic device is in the sleep mode, if a second state command from the wireless receiver is detected, it is determined that the terminal device is in a calling environment for the wireless electronic device.
[0014] The second status instruction is generated when the wireless receiver detects that the target application on the terminal device has returned to the foreground running state; the target application is a program running on the terminal device that controls the wireless electronic device; the second status instruction includes an acoustic wave signal of a set frequency.
[0015] On the other hand, this application also provides a control method for a wireless electronic device, including:
[0016] When the wireless electronic device is in its first operating mode, detect whether the terminal device has stopped calling the wireless electronic device;
[0017] If it is detected that the terminal device stops calling the wireless electronic device, a first status command is sent to the wireless electronic device so that the wireless electronic device enters a second working mode according to the first status command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0018] Furthermore, in the method described above, detecting whether the terminal device stops calling the wireless electronic device includes:
[0019] Detect whether the target application on the terminal device is started, and / or detect whether the target application on the terminal device executes control commands to the wireless electronic device;
[0020] If the target application remains in an inactive state for more than a first preset duration, or if the target application remains in an active state for more than a second preset duration without executing control commands to the wireless electronic device, then the terminal device is determined to stop calling the wireless electronic device.
[0021] The target application is a program that runs on the terminal device and controls the wireless electronic device.
[0022] Furthermore, in the method described above, the second operating mode includes an energy-saving mode or a sleep mode, and the method further includes:
[0023] When the wireless electronic device is in the power-saving mode, if it is determined that the terminal device calls the wireless electronic device, a third state instruction is sent to the wireless electronic device so that the wireless electronic device enters the first working mode according to the third state instruction;
[0024] When the wireless electronic device is in the sleep mode, if it is determined that the target application on the terminal device has been restored to the foreground running state, a second state instruction is sent to the wireless electronic device so that the wireless electronic device enters the power saving mode according to the second state instruction;
[0025] The target application is a program running on the terminal device that controls the wireless electronic device; the second status command includes an acoustic wave signal of a set frequency.
[0026] Furthermore, the method described above also includes:
[0027] Collect data on the target users' usage habits of the target application;
[0028] Based on the usage habit data, the first set duration and / or the second set duration are adjusted.
[0029] On the other hand, this application also provides a control device for a wireless electronic device, comprising:
[0030] The control module is used to control the wireless electronic device to enter a first working mode based on the activation signal of the wireless electronic device;
[0031] The detection module is used to detect whether a first status command is obtained from the wireless receiver. If a first status command is obtained from the wireless receiver, the wireless electronic device is controlled to enter a second working mode. The power consumption of the first working mode is greater than the power consumption of the second working mode.
[0032] The first status instruction is generated when the terminal device stops calling the wireless electronic device.
[0033] On the other hand, this application also provides a control device for a wireless electronic device, comprising:
[0034] The detection module is used to detect whether the terminal device has stopped calling the wireless electronic device when the wireless electronic device is in the first working mode;
[0035] The transmitting module is configured to send a first status command to the wireless electronic device if it detects that the terminal device has stopped calling the wireless electronic device, so that the wireless electronic device enters a second working mode according to the first status command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0036] On the other hand, this application also provides a wireless microphone, including a connected main processor and a wireless communication module;
[0037] The wireless communication module is used to acquire instruction information;
[0038] The main processor is configured to control the wireless microphone to enter a first working mode based on the activation signal of the wireless microphone; detect whether the acquired instruction information is a first state instruction from the wireless receiver; if the acquired instruction information is a first state instruction from the wireless receiver, control the wireless microphone to enter a second working mode; the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0039] The first status instruction is generated when the terminal device stops using the wireless microphone.
[0040] Furthermore, the wireless microphone described above also includes a sound receiving module connected to the main processor;
[0041] The second operating mode includes either energy-saving mode or sleep mode;
[0042] The radio module is used to acquire sound wave signals;
[0043] The main processor is configured to, when the wireless microphone is in the power-saving mode, if it is determined from the acquired instruction information that the terminal device is calling the wireless microphone, control the wireless microphone to enter the first working mode; and when the wireless microphone is in the sleep mode, if it is determined from the acquired sound wave signal that the terminal device is in an environment that calls the wireless microphone, control the wireless microphone to enter the power-saving mode.
[0044] On the other hand, this application also provides a wireless receiver, including a main processor, a wireless communication module, and an interface module;
[0045] The interface module is used to obtain the status information of the terminal device;
[0046] The main processor is configured to generate a first state instruction if it determines, based on the state information of the terminal device, that the terminal device has stopped using the wireless microphone.
[0047] The wireless communication module is used to send the first status command to the wireless microphone so that the wireless microphone enters a second working mode according to the first status command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0048] Furthermore, the wireless receiver described above also includes a sound module electrically connected to the main processor;
[0049] The second operating mode includes either energy-saving mode or sleep mode;
[0050] The main processor is configured to generate a third state instruction if, when the wireless microphone is in the power-saving mode, it determines that the terminal device is calling the wireless microphone based on the state information; and to generate a second state instruction if, when the wireless microphone is in the sleep mode, it determines that the target application on the terminal device is restored to the foreground running state based on the state information.
[0051] The wireless communication module is further configured to send a third state command to the wireless microphone, so that the wireless microphone enters the first working mode according to the third state command;
[0052] The sound module is used to send a second state command to the wireless microphone so that the wireless microphone enters the power-saving mode according to the second state command;
[0053] The target application is a program running on the terminal device that controls the wireless microphone; the second status command includes a sound wave signal with a set frequency.
[0054] On the other hand, this application also provides a wireless electronic system, including: a wireless microphone as described in any of the above claims, and a wireless receiver as described in any of the above claims.
[0055] On the other hand, this application also provides a storage medium, including: a computer program stored on the storage medium, wherein when the computer program is executed by a processor, it implements the various steps of the control method of the wireless electronic device described in any one of the above.
[0056] The control method for the wireless electronic device proposed in this application can control the wireless electronic device to enter a first working mode after it is started. In the first working mode, it detects whether a first state command is received from the wireless receiver. If a first state command is received from the wireless receiver, it controls the wireless electronic device to enter a second working mode. The first state command is generated by the wireless receiver when it detects that the terminal device has stopped using the wireless electronic device. The power consumption of the first working mode is greater than that of the second working mode. This application can automatically control the wireless electronic device to enter a lower power consumption working mode when the terminal device stops using the wireless electronic device, effectively saving power and improving the battery life of the wireless electronic device. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0058] Figure 1 This is a flowchart illustrating a control method for a wireless electronic device provided in an embodiment of this application;
[0059] Figure 2 This is a flowchart illustrating another control method for a wireless electronic device provided in an embodiment of this application;
[0060] Figure 3 This application provides a flowchart illustrating the process of adjusting the set duration.
[0061] Figure 4 This is a schematic diagram of the structure of a control device for a wireless electronic device provided in an embodiment of this application;
[0062] Figure 5 This is a schematic diagram of the structure of a control device for another wireless electronic device provided in an embodiment of this application;
[0063] Figure 6 This is a schematic diagram of the structure of a wireless microphone provided in an embodiment of this application;
[0064] Figure 7 This is a schematic diagram of the structure of a wireless receiver provided in an embodiment of this application;
[0065] Figure 8 This is a schematic diagram of the structure of a main processor provided in an embodiment of this application;
[0066] Figure 9 This is a schematic diagram of the structure of a wireless electronic system provided in an embodiment of this application. Detailed Implementation
[0067] The technical solution of this application embodiment is applicable to application scenarios of energy-saving control of wireless electronic devices. By adopting the technical solution of this application embodiment, the wireless electronic device can be automatically controlled to enter a lower energy consumption working mode without affecting the normal operation of the wireless electronic device, thereby saving power and improving battery life.
[0068] For example, the technical solutions of this application can be applied to hardware devices such as hardware processors, or packaged as software programs and run. When the hardware processor executes the processing procedure of the technical solutions of this application, or when the aforementioned software program is run, energy-saving control of wireless electronic devices can be achieved. This application only provides illustrative descriptions of the specific processing procedure of the technical solutions of this application, and does not limit the specific execution form of the technical solutions of this application. Any technical implementation form that can execute the processing procedure of the technical solutions of this application can be adopted by this application.
[0069] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0070] This embodiment proposes a control method for a wireless electronic device, which is applied to a wireless electronic device. See [link to documentation]. Figure 1 As shown, the method includes:
[0071] S101. Based on the start signal of the wireless electronic device, control the wireless electronic device to enter the first working mode.
[0072] The aforementioned wireless electronic devices refer to electronic devices capable of interacting with terminal devices via wireless networks to achieve their intended purpose, including wireless microphones, wireless mice, and wireless keyboards. However, wireless electronic devices generally cannot interact directly with terminal devices via wireless networks; instead, they interact through a wireless receiver.
[0073] A wireless receiver acts as a bridge, forwarding information transmitted by a wireless electronic device to a terminal device, and vice versa. The wireless receiver can be built into the wireless electronic device or be a separate unit. In the embodiments of this application, to reduce the number of devices requiring power in the wireless electronic device and improve its battery life, a separate wireless receiver is used. During use, the wireless receiver is simply installed on the terminal device. Terminal devices typically have interfaces, such as USB, Type-C, or Lightning interfaces. Inserting the wireless receiver into one of these interfaces on the terminal device completes the installation of the wireless receiver.
[0074] Terminal devices include mobile phones, tablets, or computers. For example, a wireless microphone can wirelessly interact with a mobile phone, tablet, or computer via a wireless receiver to collect sound signals; a wireless mouse or keyboard can wirelessly interact with a mobile phone, tablet, or computer via a wireless receiver to input information via a wireless network.
[0075] Typically, wireless electronic devices include a main processor, a wireless communication module, and a power module. The power module is connected to both the main processor and the wireless communication module, providing power to both. The main processor is also connected to the wireless communication module; it controls the operation of the wireless electronic device, while the wireless communication module interacts with terminal devices via a wireless receiver, used for receiving or sending wireless information.
[0076] The aforementioned activation signal refers to the signal that controls the power-on of the wireless electronic device. Wireless electronic devices are generally powered on by a power button. Users can send a activation signal to the wireless electronic device by pressing the power button located on the device, and the device will power on upon receiving the signal. Alternatively, if the wireless electronic device is powered on using other methods, such as voice activation or fingerprint recognition, the user can perform the corresponding power-on operation; this embodiment does not impose such limitations.
[0077] Wireless electronic devices have at least three modes after being powered on: working mode, power-saving mode, and sleep mode.
[0078] In working mode, the main processor and wireless communication module of the wireless electronic device are both in normal working condition. The wireless communication module can interact normally with the terminal device through the wireless receiver, ensuring the normal operation of the wireless electronic device. For example, if the wireless electronic device is a wireless microphone, in working mode, the wireless communication module and main processor of the wireless microphone are both working normally, and the wireless communication module can transmit the audio file captured by the wireless microphone to the wireless receiver in real time, and then send it to the terminal device through the wireless receiver. If the wireless electronic device is a wireless mouse, in working mode, the wireless communication module and main processor of the wireless mouse are both working normally, and the wireless communication module can transmit the audio file captured by the wireless mouse to the wireless receiver in real time, and then send it to the terminal device through the wireless receiver.
[0079] In power-saving mode, the main processor controls the wireless communication device to enter a low-power mode. In this mode, the wireless receiver can only be used for brief command word communication. For example, if the wireless electronic device is a wireless microphone, in power-saving mode, the wireless communication module cannot transmit the audio files captured by the wireless microphone to the wireless receiver in real time; it can only be used for brief command word communication. Similarly, if the wireless electronic device is a wireless mouse, in power-saving mode, the wireless communication module cannot transmit the audio files captured by the wireless mouse to the wireless receiver in real time; it can only be used for brief command word communication. Correspondingly, when the wireless electronic device is in power-saving mode, the wireless receiver can also enter power-saving mode to save power.
[0080] In hibernation mode, both the main processor and the wireless communication module enter hibernation.
[0081] Among them, the power consumption of the three modes—working mode, energy-saving mode, and sleep mode—is ranked as follows: working mode consumes more power than energy-saving mode and sleep mode, and energy-saving mode consumes more power than sleep mode.
[0082] The first operating mode mentioned above is either the operating mode or the energy-saving mode. That is to say, in this embodiment, when the wireless electronic device receives the start signal, it first enters the above-mentioned operating mode or energy-saving mode.
[0083] S102. Detect whether a first status command is received from the wireless receiver. If a first status command is received from the wireless receiver, control the wireless electronic device to enter the second working mode.
[0084] When the wireless electronic device is in the first operating mode, it checks whether a first status command has been received from the wireless receiver. That is, in this embodiment, when the wireless electronic device is in operating mode or power-saving mode, it checks whether a first status command has been received from the wireless receiver.
[0085] The wireless communication module in the wireless electronic device acquires the aforementioned first state instruction and sends it to the main processor, which then performs further processing based on the first state instruction. The first state instruction is a command word communication instruction, and the wireless communication module in the wireless electronic device can acquire it regardless of whether the wireless electronic device is in normal mode or power-saving mode.
[0086] The first state instruction is generated by the wireless receiver when it receives a stop instruction from the terminal device, or when it detects that the terminal device has stopped calling the wireless electronic device.
[0087] The aforementioned stop command is sent by the user through the terminal device. Specifically, if the user needs to terminate or pause the use of the wireless electronic device, they can operate the terminal device to generate a stop command and send it to the wireless receiver. Upon detecting the stop command, the wireless receiver sends a first status command to the wireless electronic device.
[0088] Users can control a target application on a terminal device to generate a stop command and send it to the wireless receiver. This target application is a program installed on the terminal device that controls the wireless electronic device. The target application can be application software, an app, or a WeChat mini-program, etc., and this embodiment is not limited to any particular application.
[0089] For example, if the wireless electronic device is a wireless microphone and the target application is a video shooting app, the user can send a signal to end shooting or pause shooting to the video shooting app through the pause shooting or end shooting function provided in the video shooting app. After the video shooting app receives the signal to end shooting or pause shooting, it generates a stop working command and sends the stop working command to the wireless receiver.
[0090] Another example is that if the wireless electronic device is a wireless keyboard and the target application is the control software of the wireless keyboard, the user can send a signal to end input or pause input to the control software of the wireless keyboard through the pause input or stop input function provided by the control software of the wireless keyboard. After the control software of the wireless keyboard receives the signal to end input or pause input, it generates a stop working command and sends the stop working command to the wireless receiver.
[0091] The above-mentioned situation where the wireless receiver detects that the terminal device has stopped calling the wireless electronic device means that the wireless receiver detects that within a set time period, the terminal device has not executed or issued any control commands to the wireless electronic device, and has stopped calling the wireless electronic device. The wireless receiver then generates a first status command and sends the first status command to the wireless electronic device.
[0092] Specifically, when the wireless electronic device is in the first working mode, if the wireless receiver detects that the target application has been in an inactive state for more than a first set time, or if the target application has been in an active state but has not executed control commands to the wireless electronic device for more than a second set time, then the terminal device stops calling the wireless electronic device, and the wireless receiver sends a first status command to the wireless electronic device.
[0093] It should be noted that the target application being in the startup state includes both the target application running in the foreground and the target application running in the background.
[0094] The first and second set durations mentioned above can be set according to actual conditions, and this embodiment does not impose any limitations.
[0095] In the embodiments of this application, after receiving a first state instruction from a wireless receiver, the wireless electronic device controls itself to update from a first operating mode to a second operating mode. The power consumption of the first operating mode is greater than the power consumption of the second operating mode.
[0096] Specifically, if the first operating mode of the wireless electronic device is normal mode, after receiving the first state instruction, the wireless electronic device can be updated to sleep mode or power saving mode; if the first operating mode of the wireless electronic device is power saving mode, after receiving the first state instruction, the wireless electronic device can be updated to sleep mode.
[0097] For example, after receiving a power-on signal, the first operating mode a wireless electronic device enters is the normal operating mode. While in normal operating mode, if a first status command is detected from the wireless receiver, the wireless electronic device enters a power-saving mode. While in power-saving mode, if another first status command is detected from the wireless receiver, the wireless electronic device enters a sleep mode. As another example, after receiving a power-on signal, the first operating mode a wireless electronic device enters is the power-saving mode. While in power-saving mode, if a first status command is detected from the wireless receiver, the wireless electronic device enters a sleep mode.
[0098] In another embodiment, if the wireless electronic device is detected to have been inactive for a set period of time while it is in the first operating mode, it can also be controlled to enter the second operating mode, thereby reducing the power consumption of the wireless electronic device.
[0099] Specifically, a sensor can be installed in the wireless electronic device to detect whether the wireless electronic device is working within a set time period.
[0100] For example, if the wireless electronic device is a wireless microphone, a motion sensor can be included in the wireless microphone to detect whether the wireless sensor is moving. By detecting whether the wireless sensor moves and whether it acquires a sound signal, the working state of the wireless microphone can be determined. That is, if the wireless microphone does not move and does not acquire a sound signal within a set time period, it means that the wireless microphone is not working within the set time period. Similarly, if the wireless electronic device is a wireless mouse, a motion sensor can also be included in the wireless mouse. By detecting whether the wireless sensor moves, the working state of the wireless mouse can be determined. That is, if the wireless microphone does not move within a set time period, it means that the wireless mouse is not working within the set time period.
[0101] Furthermore, in another embodiment, when the wireless electronic device is in the first operating mode, it can simultaneously detect whether a first status command is received from the wireless receiver, and whether the wireless microphone is working within a set period of time. If it is detected that the wireless electronic device has received a first status command from the wireless receiver, or if it is detected that the wireless electronic device has not worked within the set period of time, the wireless electronic device is controlled to enter the second operating mode.
[0102] The above-mentioned set duration can be set according to actual conditions, and this embodiment does not impose any limitations. It should be noted that the set duration when the wireless electronic device is in working mode and the working duration when the wireless electronic device is in sleep mode can be the same or different. That is, when the wireless electronic device is in working mode, if it is detected that the wireless electronic device has not been working for a set duration 'a', the wireless electronic device is controlled to enter sleep mode or power-saving mode; when the wireless electronic device is in power-saving mode, if it is detected that the wireless electronic device has not been working for a set duration 'b', the wireless electronic device is controlled to enter sleep mode. The set durations 'a' and 'b' can be the same or different. The above-mentioned set durations 'a' and 'b' can be automatically adjusted based on the user's usage habits.
[0103] In the above embodiments, after the wireless electronic device is started, it can be controlled to enter a first working mode. In the first working mode, it is detected whether a first status command from the wireless receiver is obtained. If a first status command from the wireless receiver is obtained, the wireless electronic device is controlled to enter a second working mode. The first status command is generated by the wireless receiver when it detects that the terminal device has stopped using the wireless electronic device. The power consumption of the first working mode is greater than that of the second working mode. In this application, when the terminal device stops using the wireless electronic device, it can automatically control the wireless electronic device to enter a lower power consumption working mode, effectively saving the power of the wireless electronic device and improving its battery life.
[0104] As an optional implementation, another embodiment of this application discloses a control method for the wireless electronic device of the above embodiments, which may specifically include the following steps:
[0105] When the wireless electronic device is in power-saving mode, if it is determined that the terminal device is calling the wireless electronic device, the wireless electronic device is controlled to enter the first working mode; when the wireless electronic device is in sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, the wireless electronic device is controlled to enter power-saving mode.
[0106] Specifically, the second operating mode of this embodiment includes either energy-saving mode or hibernation mode.
[0107] When the wireless electronic device is in the aforementioned energy-saving mode, if it is determined that the terminal device will call the wireless electronic device, in order to avoid affecting the normal use of the wireless electronic device, the wireless electronic device can be controlled to enter the first working mode, that is, to control the wireless electronic device to return to the normal working mode.
[0108] In this embodiment, the wireless transmitter can detect in real time whether the terminal device calls the wireless electronic device. If the wireless transmitter detects that the terminal device calls the wireless electronic device, it can send a third state instruction to the wireless electronic device so that the wireless electronic device can determine that the terminal device has called the wireless electronic device according to the third state instruction and update the power saving mode to the normal working mode.
[0109] For example, a user can control a target application on a terminal device to invoke a wireless electronic device, thereby initiating control of the wireless electronic device.
[0110] For example, if the wireless electronic device is a wireless microphone and the target application is a video shooting app, the user can control the video shooting app to call the wireless microphone through the start shooting function provided in the video shooting app. After the wireless transmitter detects that the video shooting app has called the wireless microphone, it generates a third state command and sends the third state command to the wireless microphone.
[0111] Another example is that if the wireless electronic device is a wireless keyboard and the target application is the control software of the wireless keyboard, the user can use the start input function provided in the control software of the wireless keyboard to control the control software of the wireless keyboard to call the wireless keyboard. After the wireless transmitter detects that the control software of the wireless keyboard has called the wireless keyboard, it generates a third state command and sends the third state command to the wireless keyboard.
[0112] If the terminal device is in a calling environment for the wireless electronic device when the wireless electronic device is in sleep mode, the wireless electronic device is controlled to enter power-saving mode.
[0113] The terminal device being in an environment that invokes wireless electronic devices refers to the suspicion that the target user may be initiating invocation of wireless electronic devices. In such cases, the wireless electronic device can be switched from sleep mode to power-saving mode to conserve energy and avoid affecting its normal use. For example, if the target application is detected to be starting up, or if the target application switches from background to foreground, it can be determined that the terminal device is in an environment that invokes wireless electronic devices.
[0114] In the above embodiments, when it is detected that a user is calling or may call the wireless electronic device, the wireless electronic device is controlled to return to the energy-saving mode or working mode, so as to save energy and avoid affecting the normal use of the wireless electronic device.
[0115] As an optional implementation, another embodiment of this application discloses the control method for the wireless electronic device of the above embodiments, which may further include the following steps:
[0116] If a second state command from a wireless receiver is detected when the wireless electronic device is in sleep mode, it is determined that the terminal device is in a calling environment for the wireless electronic device.
[0117] The second state instruction is generated when the wireless receiver detects that the target application on the terminal device has returned to the foreground running state; the target application is a program running on the terminal device that controls the wireless electronic device; the second state instruction includes an acoustic wave signal of a set frequency.
[0118] Specifically, the wireless electronic device in this embodiment also includes a radio module connected to the main processor, capable of acquiring sound wave signals of a set frequency. When the wireless electronic device is in sleep mode, the radio module operates normally. To extend the battery life of the wireless electronic device, the radio module can be in sleep mode when the wireless electronic device is in power-saving mode or operating mode.
[0119] When the wireless electronic device is in sleep mode, the radio module of the wireless electronic device is used to detect whether a second state command is received from the wireless receiver, wherein the second state command is a sound wave signal of a set frequency.
[0120] If a second state command is detected from a wireless receiver while the wireless electronic device is in sleep mode, it is determined that the terminal device is in a calling environment for the wireless electronic device.
[0121] In this system, when the wireless receiver detects that a target application on the terminal device has resumed running from a closed or background state to a foreground state, it can infer that the user may be calling the wireless electronic device. In sleep mode, the wireless communication module of the wireless electronic device is in a sleep state and cannot receive commands. To prevent the wireless electronic device from failing to respond when the target user calls it, the wireless receiver sends a second state command. Upon receiving the second state command, the receiver module generates an interrupt signal, waking up the main processor and the wireless communication module from sleep mode. The wireless electronic device then switches from sleep mode to power-saving mode. After waking up, the wireless communication module enters a low-power mode, capable of receiving short command word communications. This allows the wireless electronic device to promptly resume normal operation upon receiving the third state command from the wireless receiver, without affecting normal user operation.
[0122] If the wireless electronic device receives a first state command after updating from sleep mode to power saving mode, or if the wireless electronic device does not work within a set time, the wireless electronic device will update from power saving mode to sleep mode.
[0123] In the above embodiments, when it is suspected that a user may call the wireless electronic device, the wireless electronic device can be controlled to update from sleep mode to power-saving mode without affecting the user's normal use.
[0124] This embodiment proposes another control method for wireless electronic devices, applied to wireless receivers. See [link to relevant documentation]. Figure 2 As shown, the method includes:
[0125] S201. When the wireless electronic device is in the first working mode, detect whether the terminal device stops calling the wireless electronic device.
[0126] The wireless receiver includes a main processor, an interface module, and a wireless communication module. The interface module is used to connect to the terminal device. On the one hand, the interface module can obtain the terminal device's operating information; on the other hand, the interface module can obtain power from the terminal device. The interface module is connected to both the main processor and the wireless communication module, providing power to them.
[0127] The wireless communication module is used to wirelessly interact with wireless electronic devices, sending status commands to the devices and obtaining their current operating mode. The main processor generates status commands based on the terminal device's operating information obtained from the interface module and the wireless electronic device's current operating mode, and then sends these commands to the wireless electronic device via the wireless communication module.
[0128] In the embodiments of this application, when the wireless electronic device is in the first working mode, detecting whether the terminal device stops calling the wireless electronic device refers to detecting whether the terminal device executes or issues any control commands to the wireless electronic device within a set time period.
[0129] S202. If it is detected that the terminal device stops calling the wireless electronic device, a first state instruction is sent to the wireless electronic device so that the wireless electronic device enters the second working mode according to the first state instruction.
[0130] If it is detected that the terminal device has not executed or issued any control commands to the wireless electronic device within the set time period, it is determined that the terminal device has stopped calling the wireless electronic device, and a first status command is sent to the wireless electronic device so that the wireless electronic device enters the second working mode according to the first status command.
[0131] In the above embodiments, when the wireless electronic device is in a first operating mode, it can detect whether the terminal device has stopped calling the wireless electronic device. If the terminal device stops calling the wireless electronic device, it sends a first status command to the wireless electronic device to control it to enter a second operating mode. The power consumption of the first operating mode is greater than that of the second operating mode. In this embodiment, when the terminal device stops calling the wireless electronic device, it can automatically control the wireless electronic device to enter a lower power consumption operating mode, effectively saving power and improving the battery life of the wireless electronic device.
[0132] As an optional implementation, another embodiment of this application discloses that the steps of detecting whether the terminal device stops calling the wireless electronic device in the above embodiments may specifically include the following steps:
[0133] The system detects whether the target application on the terminal device is running, and / or whether the target application on the terminal device executes control commands to the wireless electronic device; if the target application is in an inactive state for more than a first preset time, or if the target application is running but has not executed control commands to the wireless electronic device for more than a second preset time, then the system determines that the terminal device stops calling the wireless electronic device.
[0134] The aforementioned target application is a program running on a terminal device that controls a wireless electronic device. Specifically, in the embodiments of this application, if the target application is detected to be in an inactive state for a period exceeding a first preset time, or if the target application is in an active state but has not executed control commands to the wireless electronic device for a period exceeding a second preset time, then it is determined that the terminal device will stop calling the wireless electronic device.
[0135] For example, if the wireless electronic device is a wireless microphone and the target application is a video shooting APP, when the wireless microphone is in the first working mode, if it is detected that the video shooting APP has not been started and the duration of the inactive state exceeds a first set duration, or if it is detected that the video shooting APP has been started but has not performed video shooting and the duration of the inactive state reaches a second set duration, then it can be determined that the terminal device stops calling the wireless microphone.
[0136] The first and second set durations mentioned above can be set according to actual conditions, and this embodiment does not impose any limitations.
[0137] In the embodiments of this application, if the duration of the target application being in an inactive state exceeds a first preset duration, or if the duration of the target application being in an active state without executing control commands to the wireless electronic device exceeds a second preset duration, then the terminal device determines that it must stop calling the wireless electronic device and sends a first status command to the wireless electronic device so that the wireless electronic device enters a second working mode according to the first status command, thereby reducing the power consumption of the wireless electronic device.
[0138] As an optional implementation, another embodiment of this application discloses a control method for the wireless electronic device described in the above embodiments, which may specifically include the following steps:
[0139] When the wireless electronic device is in power-saving mode, if it is determined that the terminal device will call the wireless electronic device, a third state instruction is sent to the wireless electronic device so that the wireless electronic device enters the first working mode according to the third state instruction; when the wireless electronic device is in sleep mode, if it is determined that the target application on the terminal device will resume running in the foreground, a second state instruction is sent to the wireless electronic device so that the wireless electronic device enters the power-saving mode according to the second state instruction.
[0140] The wireless receiver also includes a sound module connected to the main processor of the wireless receiver, which is capable of emitting sound wave signals at a set frequency.
[0141] Specifically, when the wireless electronic device is in power-saving mode, if it is determined that the terminal device will call the wireless electronic device, the wireless receiver can send a third state command to the wireless electronic device through the wireless communication module, so that the wireless electronic device can enter the first working mode according to the third state command, that is, control the wireless electronic device to restore the normal working mode.
[0142] When a wireless electronic device is in sleep mode, if it is determined that the target application on the terminal device will resume running in the foreground, the wireless receiver can send a second state command via its sound module. This second state command is a sound wave signal at a set frequency. The sound module of the wireless electronic device can then receive the second state command, causing the device to enter power-saving mode accordingly.
[0143] In the above embodiments, a third state command can be sent to the wireless electronic device when the user may use it, so that the wireless electronic device enters the working mode according to the third state command; a second state command can be sent to the wireless electronic device when it is suspected that the user may call the wireless electronic device, so as to control the wireless electronic device to update from the sleep mode to the power saving mode without affecting the user's normal use.
[0144] As an optional implementation method, such as Figure 3 As shown in another embodiment of this application, the control method of the wireless electronic device of the above embodiments is disclosed, which may further include the following steps:
[0145] S301. Collect data on the target user's usage habits of the target application.
[0146] In the embodiments of this application, user usage habit data when using the target application can be collected, including the length of habitual use time, the length of time between two uses, etc.
[0147] For example, if the wireless electronic device is a wireless microphone and the target application is a video shooting app, the usage habit data includes data such as the length of time the target user usually uses the video shooting app and the length of the shooting interval.
[0148] S302. Adjust the first set duration and / or the second set duration based on usage habit data.
[0149] Based on the target users' usage habits of the target application, the first set duration and / or the second set duration are adjusted to meet the different usage habits of different users, which can play a greater role in energy saving of the system without affecting the user experience.
[0150] For example, if the wireless electronic device is a wireless microphone and the target application is a video shooting app, it can also obtain user usage characteristics, and then collect data such as the volume and movement of the wireless microphone. Based on the above data, it can continuously optimize and improve the accuracy of judging user behavior.
[0151] It should be noted that other specific limitations of this method can be found in the limitations of the control method for wireless electronic devices mentioned above, and will not be repeated here.
[0152] As an optional implementation, if the wireless electronic device is a wireless microphone and the target application is a video recording app, another embodiment of this application discloses an application scenario:
[0153] After the wireless microphone is powered on, it first enters power-saving mode. The main processor of the wireless microphone controls the wireless communication module to enter a low-power mode, which is used for short command word communication; correspondingly, the wireless receiver's wireless communication module is also in this mode. The wireless receiver detects the usage of the video recording app. If it detects that the video recording app has started recording video, the wireless receiver determines that the terminal device has called the wireless microphone and sends a third-state command to the wireless microphone. After receiving the command, the wireless microphone enters normal working mode.
[0154] When the wireless microphone is in normal working mode, if the wireless receiver detects that the video recording app is running but has not started recording for a period of time that reaches the second preset duration, or detects that the video recording app has been closed for a period of time that reaches the first preset duration, the wireless receiver detects that the terminal device has stopped using the wireless microphone and sends a first status command to the wireless microphone. After receiving the command, the wireless microphone enters power saving mode.
[0155] After the wireless microphone enters power-saving mode, if the wireless receiver detects that the video recording app is running but has not started recording for a period of time that reaches the second preset duration, or detects that the video recording app has been closed for a period of time that reaches the first preset duration, the wireless receiver detects that the terminal device has stopped using the wireless microphone and sends a first status command to the wireless microphone. After receiving the command, the wireless microphone enters sleep mode.
[0156] When the wireless microphone is in sleep mode, if the wireless receiver detects that the shooting app has switched to foreground operation and determines that the terminal device is in the environment of calling the wireless microphone, the wireless receiver sends a second state command to the wireless microphone. The second state command is a specific high-frequency sound wave signal. After the wireless microphone's sound receiving module obtains the high-frequency sound wave signal, it generates an interrupt and sends it to the wireless microphone's main processor. The wireless microphone's main processor is woken up, and the wireless microphone enters power-saving mode.
[0157] As an optional implementation, if the wireless electronic device is a wireless microphone and the target application is a video recording app, another application scenario is disclosed in another embodiment of this application:
[0158] After powering on, the wireless microphone and receiver will first enter normal operating mode. The wireless receiver detects the usage of the shooting app. If the shooting app is opened normally and starts recording video, the wireless microphone continues to operate normally. If the shooting app is not launched and the first preset time exceeds, the wireless microphone enters power-saving mode; if the shooting app is launched normally but does not start recording video and the second preset time exceeds, the wireless microphone enters power-saving mode; if the third preset time exceeds and no microphone usage is detected, the wireless microphone enters power-saving mode.
[0159] If no microphone is detected to be in use after the fourth set time in power-saving mode, the wireless microphone will enter sleep mode.
[0160] Corresponding to the control method of the aforementioned wireless electronic device, this application also discloses a control device for a wireless electronic device, applied in the wireless electronic device, see [link to relevant documentation]. Figure 4 As shown, the device includes:
[0161] The control module 100 is used to control the wireless electronic device to enter the first working mode according to the start signal of the wireless electronic device;
[0162] The detection module 110 is used to detect whether a first status command is obtained from the wireless receiver. If a first status command is obtained from the wireless receiver, the wireless electronic device is controlled to enter a second working mode. The power consumption of the first working mode is greater than that of the second working mode.
[0163] The first state instruction is generated when it is detected that the terminal device has stopped calling the wireless electronic device.
[0164] As an optional implementation, another embodiment of this application discloses that the second operating mode includes a power-saving mode or a sleep mode. The control module 100 of the wireless electronic device in the above embodiments is further used for:
[0165] When the wireless electronic device is in power-saving mode, if it is determined that the terminal device is calling the wireless electronic device, the wireless electronic device is controlled to enter the first working mode; when the wireless electronic device is in sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, the wireless electronic device is controlled to enter power-saving mode.
[0166] As an optional implementation, another embodiment of this application discloses that the control device for the wireless electronic device of the above embodiments further includes:
[0167] The determination module is used to determine that the terminal device is in a calling environment for the wireless electronic device if a second state instruction from the wireless receiver is detected when the wireless electronic device is in sleep mode.
[0168] The second state instruction is generated when the wireless receiver detects that the target application on the terminal device has returned to the foreground running state; the target application is a program running on the terminal device that controls the wireless electronic device; the second state instruction includes an acoustic wave signal of a set frequency.
[0169] For details on the specific operation of each unit of the control device of the aforementioned wireless electronic device, please refer to the content of the above method embodiments, which will not be repeated here.
[0170] Corresponding to the control method of the aforementioned wireless electronic device, this application also discloses a control device for a wireless electronic device, applied in a signal receiver, see [link to relevant documentation]. Figure 5 As shown, the device includes:
[0171] The detection module 200 is used to detect whether the terminal device has stopped calling the wireless electronic device when the wireless electronic device is in the first working mode;
[0172] The sending module 210 is used to send a first state command to the wireless electronic device if it detects that the terminal device has stopped calling the wireless electronic device, so that the wireless electronic device enters a second working mode according to the first state command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0173] As an optional implementation, another embodiment of this application discloses the detection module 200 of the above embodiments, which includes:
[0174] The detection unit is used to detect whether the target application on the terminal device is started, and / or to detect whether the target application on the terminal device executes control commands to the wireless electronic device.
[0175] The determining unit is configured to determine that the terminal device stops calling the wireless electronic device if the target application is in an inactive state for a period of time exceeding a first preset time, or if the target application is in an active state and has not executed control commands to the wireless electronic device for a period of time exceeding a second preset time.
[0176] The target application is a program that runs on a terminal device and controls wireless electronic devices.
[0177] As an optional implementation, another embodiment of this application discloses that the second operating mode includes a power-saving mode or a hibernation mode;
[0178] The control device for the wireless electronic device in the above embodiments further includes:
[0179] The first transmitting unit is used to send a third state instruction to the wireless electronic device when the wireless electronic device is in power-saving mode, so that the wireless electronic device enters the first working mode according to the third state instruction if it is determined that the terminal device calls the wireless electronic device.
[0180] The second transmitting unit is used to send a second state command to the wireless electronic device when the wireless electronic device is in sleep mode, if it is determined that the target application on the terminal device has been restored to the foreground running state, so that the wireless electronic device enters power saving mode according to the second state command.
[0181] The target application is a program that runs on a terminal device and controls wireless electronic devices; the second state instruction includes an acoustic wave signal with a set frequency.
[0182] As an optional implementation, another embodiment of this application discloses that the control device for the wireless electronic device of the above embodiments further includes:
[0183] The data collection module is used to collect data on the target users' usage habits of the target application;
[0184] The adjustment module is used to adjust the first set duration and / or the second set duration based on usage habit data.
[0185] For details on the specific operation of each unit of the control device of the aforementioned wireless electronic device, please refer to the content of the above method embodiments, which will not be repeated here.
[0186] Another embodiment of this application also provides a wireless microphone, see [link to relevant documentation] Figure 6 As shown, the wireless microphone includes a connected main processor 300 and a wireless communication module 310.
[0187] The wireless communication module 310 is used to acquire instruction information;
[0188] The main processor 300 is used to control the wireless microphone to enter the first working mode according to the start signal of the wireless microphone; detect whether the instruction information obtained by the wireless communication module 310 is the first state instruction from the wireless receiver; if the instruction information obtained is the first state instruction from the wireless receiver, then control the wireless microphone to enter the second working mode; the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0189] The first state instruction is generated when it is detected that the terminal device has stopped using the wireless microphone.
[0190] As an optional implementation, another embodiment of this application discloses that the second operating mode includes a power-saving mode or a hibernation mode, and the main processor 300 is further used for:
[0191] When the wireless microphone is in power-saving mode, if the terminal device is determined to use the wireless microphone according to the instruction information, the wireless microphone is controlled to enter the first working mode.
[0192] If the terminal device is in a calling environment for the wireless microphone when it is in sleep mode, the wireless microphone will be controlled to enter power-saving mode if the instruction information determines that the wireless microphone is in a calling environment.
[0193] As an optional implementation, another embodiment of this application discloses that the wireless microphone also includes a sound receiving module 320 connected to the main processor 300;
[0194] The second operating mode includes either energy-saving mode or hibernation mode;
[0195] The radio module 320 is used to acquire sound wave signals;
[0196] The main processor 300 is used to control the wireless microphone to enter the first working mode if the terminal device is determined to call the wireless microphone based on the acquired instruction information when the wireless microphone is in power-saving mode; and to control the wireless microphone to enter the power-saving mode if the terminal device is determined to call the wireless microphone based on the acquired sound wave signal when the wireless microphone is in sleep mode.
[0197] As an optional implementation, another embodiment of this application discloses that the wireless microphone also includes a power module 330, which is connected to the audio receiving module 320, the main processor 300, and the wireless communication module 310 respectively, and supplies power to the audio receiving module 320, the main processor 300, and the wireless communication module 310.
[0198] The wireless microphone provided in this embodiment belongs to the same application concept as the control method of the wireless electronic device provided in the above embodiments of this application. It can execute the control method of the wireless electronic device provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the control method of the wireless electronic device. For technical details not described in detail in this embodiment, please refer to the specific processing content of the control method of the wireless electronic device provided in the above embodiments of this application, which will not be repeated here.
[0199] Another embodiment of this application also provides a wireless receiver, see [link to relevant documentation] Figure 7 As shown, the wireless receiver includes a main processor 400, a wireless communication module 410, and an interface module 420.
[0200] Interface module 420 is used to obtain the status information of the terminal device;
[0201] The main processor 400 is used to generate a first state instruction if it is determined, based on the state information of the terminal device, that the terminal device has stopped using the wireless microphone.
[0202] The wireless communication module 410 is used to send a first state command to the wireless microphone so that the wireless microphone enters a second working mode according to the first state command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
[0203] As an optional implementation, another embodiment of this application discloses that when the main processor 400 determines, based on the state information of the terminal device, that the terminal device has stopped accessing the wireless microphone, it specifically performs the following:
[0204] Detect whether the target application on the terminal device is started, and / or detect whether the target application on the terminal device executes control commands to the wireless microphone;
[0205] If the target application remains inactive for more than a first set time, or if the target application remains active for more than a second set time without executing control commands to the wireless microphone, then the terminal device will stop accessing the wireless microphone.
[0206] The target application is a program that runs on a terminal device and controls a wireless microphone.
[0207] As an optional implementation, another embodiment of this application discloses that it also includes a speech module 430 electrically connected to the main processor;
[0208] The second operating mode includes either energy-saving mode or hibernation mode;
[0209] The main processor 400 is used to generate a third state instruction if the terminal device calls the wireless microphone when the wireless microphone is in power-saving mode and the state information determines that the wireless microphone is being used; and to generate a second state instruction if the target application on the terminal device is restored to the foreground running state when the wireless microphone is in sleep mode and the state information determines that the target application on the terminal device is being restored to the foreground running state.
[0210] The wireless communication module 410 is also used to send a third state command to the wireless microphone so that the wireless microphone enters the first working mode according to the third state command.
[0211] The sound module 430 is used to send a second state command to the wireless microphone so that the wireless microphone enters an energy-saving mode according to the second state command.
[0212] The target application is a program running on a terminal device that controls a wireless microphone; the second state instruction includes a sound wave signal with a set frequency.
[0213] As an optional implementation, another embodiment of this application discloses that the interface module 420 of the above embodiments is connected to the main processor 400, the sound module 430, and the wireless communication module 410, respectively. The interface module 420 can obtain power from the terminal device and simultaneously supply power to the main processor 400, the sound module 430, and the wireless communication module 410.
[0214] As an optional implementation, another embodiment of this application discloses that the main processor 400 of the above embodiments is further used for:
[0215] Collect data on target users' usage habits of the target application;
[0216] Based on usage data, the first set duration and / or the second set duration are adjusted.
[0217] The wireless receiver provided in this embodiment belongs to the same application concept as the control method of the wireless electronic device provided in the above embodiments of this application. It can execute the control method of the wireless electronic device provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the control method of the wireless electronic device. For technical details not described in detail in this embodiment, please refer to the specific processing content of the control method of the wireless electronic device provided in the above embodiments of this application, which will not be repeated here.
[0218] This embodiment also provides a main processor, see [link to documentation]. Figure 8 As shown, the main processor includes:
[0219] Memory 500 and processor 510;
[0220] The memory 500 is connected to the processor 510 and is used to store programs.
[0221] The processor 510 is configured to implement the control method for a wireless electronic device or a wireless receiver disclosed in any of the above embodiments by running a program stored in the memory 500.
[0222] Specifically, the aforementioned electronic device may also include: a bus, a communication interface 520, an input device 530, and an output device 540.
[0223] The processor 510, memory 500, communication interface 520, input device 530, and output device 540 are interconnected via a bus. Among them:
[0224] A bus can include a pathway for transmitting information between various components of a computer system.
[0225] The processor 510 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0226] The processor 510 may include a main processor, as well as a baseband chip, modem, etc.
[0227] The memory 500 stores a program for executing the technical solution of this application, and may also store an operating system and other critical business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 500 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.
[0228] Input device 530 may include a device for receiving user input data and information, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.
[0229] Output device 540 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0230] The communication interface 520 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0231] The processor 510 executes the program stored in the memory 500 and calls other devices, which can be used to implement the various steps of the control method for a wireless electronic device or a wireless receiver provided in the above embodiments of this application.
[0232] Another embodiment of this application also proposes a wireless electronic system, see [link to relevant documentation] Figure 9As shown, the wireless electronic system includes a wireless microphone 600 and a wireless receiver 610 as described in the above embodiments. The wireless microphone 600 and the wireless receiver 610 interact through a wireless network. The wireless receiver 610 is installed on the terminal device 620 and transmits signals through a data cable.
[0233] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions. When executed by processor 510, the computer program instructions cause processor 510 to perform the various steps of the control method for a wireless electronic device or a wireless receiver provided in the above embodiments.
[0234] Computer program products can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0235] Furthermore, embodiments of this application may also be computer-readable storage media storing computer program instructions, which, when executed by a processor, cause the processor 510 to perform the various steps of the control method for a wireless electronic device or a wireless receiver provided in the above embodiments.
[0236] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0237] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0238] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0239] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.
[0240] The modules and sub-modules in the various embodiments of the present application's devices and terminals can be merged, divided, and deleted according to actual needs.
[0241] It should be understood that the disclosed terminals, devices, and methods can be implemented in other ways, given the several embodiments provided in this application. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0242] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.
[0243] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.
[0244] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0245] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0246] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0247] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method for a wireless electronic device, characterized in that, include: Based on the activation signal of the wireless electronic device, control the wireless electronic device to enter the first working mode; The system detects whether a first status command is received from the wireless receiver. If a first status command is received from the wireless receiver, the system controls the wireless electronic device to enter a second operating mode. The power consumption of the first operating mode is greater than that of the second operating mode. The first status instruction is generated by the wireless receiver when it detects that the terminal device has stopped calling the wireless electronic device; The second operating mode includes an energy-saving mode or a sleep mode, and the method further includes: When the wireless electronic device is in the power-saving mode, if it is determined that the terminal device calls the wireless electronic device, the wireless electronic device is controlled to enter the first working mode. When the wireless electronic device is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, then the wireless electronic device is controlled to enter the power-saving mode.
2. The method according to claim 1, characterized in that, Also includes: When the wireless electronic device is in the sleep mode, if a second state command from the wireless receiver is detected, it is determined that the terminal device is in a calling environment for the wireless electronic device. The second status instruction is generated when the wireless receiver detects that the target application on the terminal device has returned to the foreground running state; the target application is a program running on the terminal device that controls the wireless electronic device; the second status instruction includes an acoustic wave signal of a set frequency.
3. A control method for a wireless electronic device, characterized in that, include: When the wireless electronic device is in its first operating mode, detect whether the terminal device has stopped calling the wireless electronic device; If it is detected that the terminal device stops calling the wireless electronic device, a first status command is sent to the wireless electronic device so that the wireless electronic device enters a second working mode according to the first status command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode; The second operating mode includes an energy-saving mode or a sleep mode, and the method further includes: When the wireless electronic device is in the power-saving mode, if it is determined that the terminal device calls the wireless electronic device, the wireless electronic device is controlled to enter the first working mode. When the wireless electronic device is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, then the wireless electronic device is controlled to enter the power-saving mode.
4. The method according to claim 3, characterized in that, Detecting whether the terminal device has stopped calling the wireless electronic device includes: Detect whether the target application on the terminal device is started, and / or detect whether the target application on the terminal device executes control commands to the wireless electronic device; If the target application remains in an inactive state for more than a first preset duration, or if the target application remains in an active state for more than a second preset duration without executing control commands to the wireless electronic device, then the terminal device is determined to stop calling the wireless electronic device. The target application is a program that runs on the terminal device and controls the wireless electronic device.
5. The method according to claim 3, characterized in that, The second operating mode includes an energy-saving mode or a sleep mode, and the method further includes: When the wireless electronic device is in the power-saving mode, if it is determined that the terminal device calls the wireless electronic device, a third state instruction is sent to the wireless electronic device so that the wireless electronic device enters the first working mode according to the third state instruction; When the wireless electronic device is in the sleep mode, if it is determined that the target application on the terminal device has been restored to the foreground running state, a second state instruction is sent to the wireless electronic device so that the wireless electronic device enters the power saving mode according to the second state instruction; The target application is a program running on the terminal device that controls the wireless electronic device; the second status command includes an acoustic wave signal of a set frequency.
6. The method according to claim 4, characterized in that, Also includes: Collect data on the target users' usage habits of the target application; Based on the usage habit data, the first set duration and / or the second set duration are adjusted.
7. A control device for a wireless electronic device, characterized in that, include: The control module is used to control the wireless electronic device to enter a first working mode based on the activation signal of the wireless electronic device; The detection module is used to detect whether a first status command is obtained from the wireless receiver. If a first status command is obtained from the wireless receiver, the wireless electronic device is controlled to enter a second working mode. The power consumption of the first working mode is greater than the power consumption of the second working mode. The first status instruction is generated by the wireless receiver when it detects that the terminal device has stopped calling the wireless electronic device; The second operating mode includes either energy-saving mode or sleep mode; The control module is further configured to, when the wireless electronic device is in the power-saving mode, if it is determined that the terminal device is calling the wireless electronic device, control the wireless electronic device to enter the first working mode; and when the wireless electronic device is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless electronic device, control the wireless electronic device to enter the power-saving mode.
8. A control device for a wireless electronic device, characterized in that, include: The detection module is used to detect whether the terminal device has stopped calling the wireless electronic device when the wireless electronic device is in the first working mode; The transmitting module is configured to send a first status command to the wireless electronic device if it detects that the terminal device has stopped calling the wireless electronic device, so that the wireless electronic device enters a second working mode according to the first status command; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode; The second operating mode includes either energy-saving mode or sleep mode; The detection module is further configured to, when the wireless electronic device is in the power-saving mode, detect whether the terminal device calls the wireless electronic device, and if so, control the wireless electronic device to enter the first working mode; and when the wireless electronic device is in the sleep mode, detect whether the terminal device is in an environment that calls the wireless electronic device, and if so, control the wireless electronic device to enter the power-saving mode.
9. A wireless microphone, characterized in that, Includes a connected main processor and a wireless communication module; The wireless communication module is used to acquire instruction information; The main processor is configured to control the wireless microphone to enter a first working mode based on the activation signal of the wireless microphone; detect whether the acquired instruction information is a first state instruction from the wireless receiver; if the acquired instruction information is a first state instruction from the wireless receiver, control the wireless microphone to enter a second working mode; the power consumption of the first working mode is greater than the power consumption of the second working mode. The first status instruction is generated by the wireless receiver when it detects that the terminal device has stopped accessing the wireless microphone; The second operating mode includes either energy-saving mode or sleep mode; The main processor is further configured to, when the wireless microphone is in the power-saving mode, if it is determined that the terminal device is calling the wireless microphone, control the wireless microphone to enter the first working mode; and when the wireless microphone is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless microphone, control the wireless microphone to enter the power-saving mode.
10. The wireless microphone according to claim 9, characterized in that, It also includes a radio module connected to the main processor; The second operating mode includes either energy-saving mode or sleep mode; The radio module is used to acquire sound wave signals; The main processor is configured to, when the wireless microphone is in the power-saving mode, if it is determined from the acquired instruction information that the terminal device is calling the wireless microphone, control the wireless microphone to enter the first working mode; and when the wireless microphone is in the sleep mode, if it is determined from the acquired sound wave signal that the terminal device is in an environment that calls the wireless microphone, control the wireless microphone to enter the power-saving mode.
11. A wireless receiver, characterized in that, Includes a main processor, a wireless communication module, and an interface module; The interface module is used to obtain the status information of the terminal device; The main processor is configured to generate a first state instruction if it determines, based on the state information of the terminal device, that the terminal device has stopped using the wireless microphone. The wireless communication module is used to send the first status command to the wireless microphone so that the wireless microphone enters the second working mode according to the first status command. The second operating mode includes either energy-saving mode or sleep mode. The main processor is further configured to, when the wireless microphone is in the power-saving mode, if it is determined that the terminal device is calling the wireless microphone, control the wireless microphone to enter a first working mode; when the wireless microphone is in the sleep mode, if it is determined that the terminal device is in an environment that calls the wireless microphone, control the wireless microphone to enter the power-saving mode; wherein the power consumption of the first working mode is greater than the power consumption of the second working mode.
12. The wireless receiver according to claim 11, characterized in that, It also includes a speech module electrically connected to the main processor; The second operating mode includes either energy-saving mode or sleep mode; The main processor is configured to generate a third state instruction if, when the wireless microphone is in the power-saving mode, it determines that the terminal device is calling the wireless microphone based on the state information; and to generate a second state instruction if, when the wireless microphone is in the sleep mode, it determines that the target application on the terminal device is restored to the foreground running state based on the state information. The wireless communication module is further configured to send a third state command to the wireless microphone, so that the wireless microphone enters the first working mode according to the third state command; The sound module is used to send a second state command to the wireless microphone so that the wireless microphone enters the power-saving mode according to the second state command; The target application is a program running on the terminal device that controls the wireless microphone; the second status command includes a sound wave signal with a set frequency.
13. A wireless electronic system, characterized in that, include: The wireless microphone of claim 9 or 10, and the wireless receiver of claim 11 or 12.
14. A storage medium, characterized in that, include: The storage medium stores a computer program, which, when executed by a processor, implements the various steps of the control method for a wireless electronic device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Bluetooth controller power consumption control method and apparatus
CN108377484A
Bluetooth equipment control method and device, electronic equipment and storage medium
CN110784858A