Disclosure of Invention
The embodiment of the application provides a method and a device for reducing power consumption of intelligent wearable equipment, which are used for intelligently adjusting the working mode of the intelligent wearable equipment and reducing the power consumption of the intelligent wearable equipment.
In a first aspect, an embodiment of the present application provides a method for reducing power consumption of an intelligent wearable device, which is applied to a micro control module of the intelligent wearable device, where the intelligent wearable device includes the micro control module and a navigation communication module, and the navigation communication module includes a modem module and a radio frequency transceiver module, and the method includes:
After the navigation requirement is acquired, a channel activation receiving instruction is sent to the modem module, wherein the channel activation receiving instruction is used for indicating a target preamble of a navigation signal, the target preamble is from the radio frequency transceiver module after being activated, the working mode of the radio frequency transceiver module after being activated is a signal transceiver mode, and the working mode of the radio frequency transceiver module before being activated is a standby mode after channel detection is completed;
after the completion of the receiving of the target preamble by the radio frequency transceiver module is detected, controlling the working mode of the radio frequency transceiver module to be the standby mode;
Determining an ideal preamble corresponding to the navigation signal according to a pre-stored ideal preamble list;
When the target lead code is detected to be consistent with the ideal lead code, an interrupt signal is sent to the modem module, wherein the interrupt signal is used for indicating the working mode of the modem module to be the standby mode;
And when the target preamble is detected to be inconsistent with the ideal preamble, switching the working mode of the radio frequency receiving and transmitting module into the signal receiving and transmitting mode, so that the preamble which is consistent with the ideal preamble in a matching way is received in the receiving time, and switching the working mode of the navigation communication module into the standby mode after the receiving time.
The navigation communication module further comprises a phase-locked loop circuit module, and after the radio frequency receiving and transmitting module is detected to receive the target preamble, the method further comprises: and controlling the working mode of the phase-locked loop circuit module to be the standby mode.
Wherein, before obtaining the navigation requirement, the method further comprises: transmitting a channel detection instruction to the modem module; and after the channel detection result from the modem module is obtained, controlling the working mode of the navigation communication module to be the standby mode.
The pre-stored ideal lead code list comprises a plurality of navigation signals and ideal lead codes corresponding to each navigation signal in the navigation signals; before the working mode of the radio frequency transceiver module is switched to the signal transceiver mode, the method further comprises: determining whether the target preamble has a data marking sequence, wherein the data marking sequence is used for marking a supervision code of a data frame; and if the data mark sequence exists, controlling the working mode of the navigation communication module to be the standby mode.
Before the working mode of the radio frequency transceiver module is switched to the signal transceiver mode, the method further comprises: if the data mark sequence does not exist, determining whether the sequence in the ideal preamble and the sequence in the target preamble are identical; if the first cycle times and the second cycle times of the ideal lead code are the same, the first cycle times are used for indicating the cycle times of sequences in the repeated sequence of the ideal lead code, and the second cycle times are used for indicating the cycle times of sequences in the repeated sequence of the target lead code; and if the first cycle times and the second cycle times are in integral multiple relation, controlling the working mode of the navigation communication module to be the standby mode.
Wherein the receive duration is associated with a length of the ideal preamble.
Before the channel detection instruction is sent to the modem module, the method further comprises: locking the phase-locked loop circuit module and controlling the working mode of the navigation communication module to be the standby mode.
In a second aspect, an embodiment of the present application provides an apparatus for reducing power consumption of an intelligent wearable device, which is applied to a micro control module of the intelligent wearable device, where the intelligent wearable device includes the micro control module and a navigation communication module, and the navigation communication module includes a modem module and a radio frequency transceiver module, and the apparatus includes:
the first sending unit is used for sending a channel activation receiving instruction to the modem module after the navigation requirement is acquired, wherein the channel activation receiving instruction is used for indicating a target lead code of a navigation signal, the target lead code is from the radio frequency transceiver module after being activated, the working mode of the radio frequency transceiver module after being activated is a signal transceiver mode, and the working mode of the radio frequency transceiver module before being activated is a standby mode after the channel detection is completed;
The control unit is used for controlling the working mode of the radio frequency transceiver module to be the standby mode after detecting that the radio frequency transceiver module finishes receiving the target preamble;
A determining unit, configured to determine an ideal preamble corresponding to the navigation signal according to a pre-stored ideal preamble list;
The second sending unit is used for sending an interrupt signal to the modem module when the target preamble is detected to be consistent with the ideal preamble, wherein the interrupt signal is used for indicating the working mode of the modem module to be the standby mode;
And the receiving unit is used for switching the working mode of the radio frequency receiving and transmitting module into the signal receiving and transmitting mode when the target preamble is detected to be inconsistent with the ideal preamble, so that the preamble matched and consistent with the ideal preamble is received in the receiving time, and switching the working mode of the navigation communication module into the standby mode after the receiving time.
In a third aspect, an embodiment of the present application provides an intelligent wearable device, including a micro-control module and a communication navigation module, where the communication navigation module includes a modem module and a radio frequency transceiver module, and the micro-control module executes the method according to any one of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of the first aspects.
It can be seen that in the embodiment of the present application, a method for reducing power consumption of an intelligent wearable device is provided, first, after a navigation requirement is acquired, a channel activation receiving instruction is sent to the modem module, where the channel activation receiving instruction is used to indicate a target preamble of a navigation signal, the target preamble is from the radio frequency transceiver module after being activated, a working mode after the radio frequency transceiver module is activated is a signal transceiver mode, and a working mode before the radio frequency transceiver module is activated is a standby mode after channel detection is completed; after the completion of the receiving of the target preamble by the radio frequency transceiver module is detected, controlling the working mode of the radio frequency transceiver module to be the standby mode; then determining an ideal preamble corresponding to the navigation signal according to a pre-stored ideal preamble list; when the target lead code is detected to be consistent with the ideal lead code, an interrupt signal is sent to the modem module, wherein the interrupt signal is used for indicating the working mode of the modem module to be the standby mode; and when the target preamble is detected to be inconsistent with the ideal preamble, switching the working mode of the radio frequency receiving and transmitting module into the signal receiving and transmitting mode, so that the preamble which is consistent with the ideal preamble in a matching way is received in the receiving time, and switching the working mode of the navigation communication module into the standby mode after the receiving time. Through the intelligent regulation to the operating mode of navigation communication module, reduced intelligent wearing equipment's consumption, strengthened intelligent wearing equipment's duration.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Currently, in the processing of navigation signals of intelligent wearable equipment, the sleep time of the intelligent wearable equipment cannot be intelligently adjusted, and the cruising of the intelligent wearable equipment is greatly influenced.
In view of the foregoing, embodiments of the present application provide a method and an apparatus for reducing power consumption of an intelligent wearable device, and the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic diagram of an intelligent wearable device according to an embodiment of the application. As shown in fig. 1, the smart wearable device 10 includes a micro-control module 101 and a navigation communication module 102, wherein the navigation communication module 102 includes a modem module 1021 and a radio frequency transceiver module 1022. After the micro control module 101 obtains the navigation requirement, it sends a channel activation receiving instruction to the modem module 1021, and after the modem module 1021 receives the instruction, it controls the radio frequency transceiver module 1022 to obtain the navigation signal and the preamble of the navigation signal. The working mode of the radio frequency transceiver module 1022 after being activated is a signal transceiver mode, and the working mode of the radio frequency transceiver module 1022 before being activated is a standby mode after the channel detection is completed; the micro control module 101 controls the radio frequency transceiver module 1022 to enter a standby mode after detecting that the radio frequency transceiver module 1022 receives the navigation signal and the preamble of the navigation signal; the micro control module 101 then determines an ideal preamble corresponding to the navigation signal according to a pre-stored ideal preamble list; when detecting that the preamble is consistent with the ideal preamble, the device sends an interrupt signal to the modem module 1021 to instruct the operation mode of the navigation communication module 102 to switch to a standby mode; and when detecting that the preamble is inconsistent with the ideal preamble, switching the working mode of the radio frequency transceiver module 1022 to the signal transceiver mode, receiving the preamble in a receiving duration, and switching the working mode of the navigation communication module 102 to a standby mode after the receiving duration. Through the operating time of intelligent wearing equipment of intelligent regulation, strengthened intelligent wearing equipment's duration.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for reducing power consumption of a smart wearable device according to an embodiment of the application. The method is applied to a micro control module of intelligent wearable equipment, the intelligent wearable equipment comprises the micro control module and a navigation communication module, the navigation communication module comprises a modulation-demodulation module and a radio frequency transceiver module, and the method comprises the following steps.
S210, after the navigation requirement is acquired, a channel activation receiving instruction is sent to the modem module, wherein the channel activation receiving instruction is used for indicating a target lead code of a navigation signal, the target lead code is from the radio frequency transceiver module after being activated, the working mode of the radio frequency transceiver module after being activated is a signal transceiver mode, and the working mode of the radio frequency transceiver module before being activated is a standby mode after channel detection is completed.
The micro control module is mainly used for processing and controlling the acquired data, generating corresponding interface display and operation instructions according to the data, and controlling functions of power management, screen display, key input and the like of the intelligent wearable equipment. The navigation communication module is mainly used for positioning and communication with low power consumption, wherein the modulation and demodulation module is used for carrying out digital signal processing on receiving and transmitting signals of wireless communication; the radio frequency transceiver module is used for converting the digital signal into a radio frequency signal and transmitting the radio frequency signal, and simultaneously can also receive the radio frequency signal and convert the radio frequency signal into the digital signal. The navigation communication module also comprises a radio frequency front end module and a phase-locked loop circuit module, wherein the radio frequency front end module comprises the functions of gain amplification, filtering, mixing, modulation and demodulation of radio frequency signals and the like. The radio frequency front end is used for processing radio frequency signals, so that the radio frequency front end can adapt to the requirements of wireless transmission and provide clear and stable signal transmission. The phase-locked loop circuit module is used for realizing synchronization of an external input signal and an internal oscillation signal, and is in a sleep mode for most of the time, namely, only the sine wave oscillator is started. Wherein the micro control module is in communication connection with the navigation communication module.
Before the navigation requirement is acquired, the micro control module sends a channel detection instruction to the modulation and demodulation module, and the modulation and demodulation module executes channel detection operation by utilizing a radio frequency channel of the navigation communication module so as to determine available channels in a plurality of channels. And the micro control module controls the working mode of the navigation communication module to be a standby mode after obtaining the channel detection result from the modulation and demodulation module. The channel activity detection duration depends on the configuration of the spreading factor SF and the communication bandwidth BW, and in the channel activity detection time, the modem module is in a signal receiving and transmitting mode in (2SF+32)/BW seconds, and the rest time is in a low-power consumption state, so that the power consumption is reduced.
After the navigation requirement is acquired, a channel activation receiving instruction is sent to the modulation and demodulation module, the modulation and demodulation module responds to the channel activation receiving instruction and then switches to a signal receiving mode after receiving the channel activation receiving instruction, and the radio frequency receiving and transmitting module is controlled to acquire a navigation signal and a lead code of the navigation signal from the channel, wherein current consumption in the period corresponds to the current of the designated signal receiving mode. The preamble is used for helping the radio frequency transceiver module to synchronize time and frequency and estimating a wireless channel. The preamble is followed by information about the payload. The preamble may include a cyclic prefix and a sequence, and the reception of the preamble of the navigation signal is completed when the radio frequency transceiver module acquires the complete sequence.
S220, after the radio frequency receiving and transmitting module is detected to receive the target lead code, controlling the working mode of the radio frequency receiving and transmitting module to be the standby mode.
The navigation communication module further comprises a phase-locked loop circuit module. After detecting the navigation signal and the receiving operation of the lead code of the navigation signal, the micro control module controls the radio frequency transceiver module and the phase-locked loop circuit module to enter a standby mode and starts to execute digital signal processing. Wherein the target preamble may comprise a first cyclic prefix, a first repeating sequence, or further comprise a data marking sequence, wherein the data marking sequence is used to mark a supervision code of the data frame, wherein the supervision code may be a string generated from a data packet following the target preamble to mark that the target preamble is followed by real valid data for the micro control module to receive the data.
S230, determining an ideal lead code corresponding to the navigation signal according to a pre-stored ideal lead code list.
The pre-stored ideal lead code list comprises a plurality of navigation signals and ideal lead codes corresponding to the navigation signals, and the ideal lead codes corresponding to the acquired navigation signals can be determined by looking up a table according to the acquired navigation signals. Wherein the ideal preamble includes a second cyclic prefix and a second repeated sequence.
And S240, when the target lead code is detected to be consistent with the ideal lead code, an interrupt signal is sent to the modem module, wherein the interrupt signal is used for indicating the working mode of the modem module to be the standby mode.
Comparing the first cyclic prefix with the second cyclic prefix, and if the first cyclic prefix and the second cyclic prefix are inconsistent, determining that the target preamble is inconsistent with the ideal preamble; if so, determining whether the first repeated sequence and the second repeated sequence are identical, if so, determining that the target preamble symbol is identical to the ideal preamble symbol, and if not, determining that the target preamble symbol is not identical to the ideal preamble symbol. When the target preamble is detected to be consistent with the ideal preamble, the micro control module generates an interrupt instruction to control the working mode of the navigation communication module to be a standby mode, and then receives the data after the target preamble through the micro control module to perform cyclic redundancy check and read the data.
And S250, when the target preamble is detected to be inconsistent with the ideal preamble, switching the working mode of the radio frequency transceiver module into the signal transceiver mode, so that the preamble matched and consistent with the ideal preamble is received within the receiving time, and switching the working mode of the navigation communication module into the standby mode after the receiving time.
When the preamble is detected to be inconsistent with the ideal preamble, whether the preamble has a data marking sequence or not can be determined, wherein the data marking sequence is used for marking a supervision code of a data frame, wherein the supervision code can be a character string generated according to a data packet following the preamble, and the character string indicates that the preamble is followed by real effective data. If the data mark sequence exists in the lead code, the micro control module receives the data, performs cyclic redundancy check and reads the data, and controls the navigation communication module to enter a standby state.
If the data mark sequence does not exist, determining whether the sequence in the first repeated sequence and the sequence in the second repeated sequence are identical; if the sequences are the same sequence but the repeated times are different, determining whether the cyclic times are in an integer multiple relationship, for example, the sequences in the second repeated sequence are circulated for 2 times, but the sequences in the first repeated sequence are circulated for 8 times, and if the cyclic times are in the integer multiple relationship, the cyclic times indicate that the preamble is indirectly consistent with the ideal preamble, and the navigation communication module can be controlled to enter a standby state by the micro control module.
The receiving duration can be a fixed value, the duration of the preamble consistent with the ideal preamble can be obtained through calculation according to the length of the ideal preamble, and the duration can be determined as the receiving duration; if the preamble is not received within the receiving duration, the receiving timeout is judged, and the working mode of the navigation communication module is controlled to be a standby mode.
The receiving duration may be a non-fixed value, and since the preamble exists after the user has a navigation requirement is detected, the receiving duration may be appropriately adjusted according to the communication speed of the intelligent wearable device, the duration of receiving the preamble consistent with the ideal preamble, and the receiving duration of the maximum preamble, so that the navigation communication module switches to a receiving mode to restart receiving the navigation signal, ensure that the detection result of detecting the preamble and the ideal preamble is consistent within the set receiving duration, and end receiving without receiving the detection preamble under the condition that the detection result is consistent.
It can be seen that, in this embodiment, after the navigation requirement is acquired, the channel activation is performed to acquire the target preamble, and whether the target preamble is consistent with the ideal preamble is determined, and if so, the navigation communication module is controlled to enter the standby mode; and setting an acceptance time length under the condition of inconsistency, receiving the target lead code in the acceptance time length, and controlling the navigation communication module to enter a standby mode after the acceptance time length. Through the intelligent regulation to the operating mode of navigation communication module, reduced intelligent wearing equipment's consumption, strengthened intelligent wearing equipment's duration.
In one possible embodiment, the navigation communication module further includes a phase-locked loop circuit module, and after detecting that the radio frequency transceiver module has completed receiving the target preamble, the method further includes: and controlling the working mode of the phase-locked loop circuit module to be the standby mode.
The phase-locked loop circuit module is locked after the navigation communication module is initialized for a period of time, so that the phase-locked loop is stable in operation. When the micro control module does not receive the target preamble, the phase-locked loop circuit module keeps a receiving mode all the time; and after the micro control module receives the target preamble, controlling the working mode of the phase-locked loop circuit module to be a standby mode.
In this embodiment, after receiving the target preamble, the pll circuit module is controlled to enter a standby mode to reduce power consumption of the smart wearable device.
In one possible embodiment, before obtaining the navigation requirement, the method further comprises: transmitting a channel detection instruction to the modem module; and after the channel detection result from the modem module is obtained, controlling the working mode of the navigation communication module to be the standby mode.
The navigation communication module (JTM 1100 module) has low receiving current of 10mA, low power consumption property maintained by the 1uA register, and supports a channel activation detection function, so that the radio frequency transceiver module can work in a monitoring mode to achieve the purpose of saving power consumption, and in the scene, the phase-locked loop circuit module is in a dormant mode for most of time, namely only a sine wave oscillator is started. The low power consumption listening mode of the JTM1100 module may be designed as: referring to fig. 3, fig. 3 is a schematic diagram of a navigation communication module in a listening mode according to an embodiment of the application. As shown in fig. 3, in the listening mode, the navigation communication module periodically enters a receiving mode, i.e. receives a preamble signal; and periodically entering an idle (sleep) mode, namely closing the navigation communication module, wherein the radio frequency transceiver module can wake up and search for navigation signals periodically. If the radio frequency transceiver module does not detect a signal within a certain time, the radio frequency transceiver module is closed until the next receiving period is awakened; if a signal is detected, the RF transceiver module will remain on. When receiving the data packet, an interrupt request is generated to control the navigation communication module to enter a standby state. In this embodiment, the rf transceiver module is activated by the navigation requirement and then detects the navigation signal.
The workflow of the monitoring mode is as follows:
1. In the reception mode, a preamble signal is received. The receiving mode is that after the modulation-demodulation module receives the channel activation receiving instruction, the modulation-demodulation module responds to the instruction and then switches to the receiving mode, and the radio frequency receiving-transmitting module is controlled to acquire the navigation signal and the lead code of the navigation signal from the channel. If the radio frequency receiving and transmitting module detects the preamble, the preamble is transmitted to the micro control module, and after the micro control module receives the preamble, the modulation and demodulation module and the radio frequency receiving and transmitting module are closed;
2. Referring to fig. 4, fig. 4 is a schematic diagram of a navigation communication module in a no-signal state in a listening mode, as shown in fig. 4, if no signal is received, a phase-locked loop circuit module wakes up once every Time of "timer 1 (Time 1) +timer 2 (Time 2)", the idle (sleep) mode duration is determined by the timer 1 (Time 1), the receiving mode, i.e. the duration of receiving the preamble is determined by the timer 2 (Time 2), and the Time2 may be a fixed Time or may be adaptively adjusted according to multiple factors. If no preamble signal is detected, the phase-locked loop circuit module switches back to the idle mode, i.e. the sleep mode, in which only the sine wave oscillator is operated.
3. Referring to fig. 5, fig. 5 is a schematic diagram of a signal state of a navigation communication module in a listening mode, and as shown in fig. 5, when a timer 2 (Time 2), that is, a receiving mode is in, a radio frequency transceiver module detects a preamble signal, the signal is transmitted to a micro control module, and after receiving the preamble, the micro control module closes a modem module and the radio frequency transceiver module and generates an interrupt instruction to control the navigation communication module to integrally enter a standby mode. After the micro-control module receives the data payload, a Cyclic Redundancy Check (CRC) may be performed, through which the data is read. Referring to fig. 6, fig. 6 is a schematic diagram of a state machine switching of a navigation communication module in a monitoring mode according to an embodiment of the present application, and as shown in fig. 6, after the smart wearable device is started, the smart wearable device is set to a sleep mode, and after the initialization of the radio frequency transceiver module is completed, the smart wearable device enters the sleep mode. Setting a period T1 as a receiving duration, switching the radio frequency receiving and transmitting module to a receiving mode to start receiving signals when the period T1 arrives, and switching to a sleep mode if a preamble is not monitored in the period T1; the period T2 is set as the sleep period.
It can be seen that in this embodiment, the duration of the working mode of the navigation communication module is controlled intelligently, so as to reduce the power consumption of the intelligent wearable device.
In a possible embodiment, the pre-stored ideal preamble list includes a plurality of navigation signals and ideal preambles corresponding to each of the plurality of navigation signals; before the working mode of the radio frequency transceiver module is switched to the signal transceiver mode, the method further comprises: determining whether the target preamble has a data marking sequence, wherein the data marking sequence is used for marking a supervision code of a data frame; and if the data mark sequence exists, controlling the working mode of the navigation communication module to be the standby mode.
The target preamble may include a first cyclic prefix, a first repeated sequence, or further include a data tag sequence, the ideal preamble may include a second cyclic prefix and a second repeated sequence, and if the target preamble includes the data tag sequence, the data tag sequence may be located at a position except for a head and a tail in the first repeated sequence. When the target preamble is detected to be inconsistent with the ideal preamble, whether the target preamble has a data mark sequence or not can be determined; if the data marking sequence exists, the micro control module receives the data behind the lead code, reads the data after cyclic redundancy check, and controls the navigation communication module to enter a standby state.
In this embodiment, when it is detected that the target preamble is inconsistent with the ideal preamble, it is determined whether the data tag sequence exists, so that the detection efficiency of the preamble can be improved, and the power consumption can be reduced.
In one possible embodiment, before the operation mode of the radio frequency transceiver module is switched to the signal transceiver mode, the method further includes: if the data mark sequence does not exist, determining whether the sequence in the ideal preamble and the sequence in the target preamble are identical; if the first cycle times and the second cycle times of the ideal lead code are the same, the first cycle times are used for indicating the cycle times of sequences in the repeated sequence of the ideal lead code, and the second cycle times are used for indicating the cycle times of sequences in the repeated sequence of the target lead code; and if the first circulation times and the second circulation times are in integral multiple relation, controlling the navigation communication module to enter a standby state.
Wherein the repeated sequence is obtained by repeatedly expanding the same sequence. When the target preamble is inconsistent with the ideal preamble, whether the sequence in the second repeated sequence and the sequence in the first repeated sequence are the same sequence can be judged, if so, the repeated times of the sequences are respectively determined, when the repeated times are in an integer multiple relationship, the data connected with the preamble is received, and the navigation communication module is controlled to enter a standby state. Wherein the number of repetitions is related to the size of the data following the preamble.
It can be seen that, in this embodiment, when the target preamble is detected to be inconsistent with the ideal preamble and the data tag sequence does not exist, the relationship of the repetition times is determined, so that the detection efficiency of the preamble can be improved, and the power consumption can be reduced.
In one possible embodiment, the reception duration is associated with the length of the ideal preamble.
Under the condition that the receiving duration is a fixed value, calculating the duration required by each acquired preamble symbol according to the length of the acquired preamble, predicting the duration of the acquired preamble consistent with the ideal preamble according to the duration required by each acquired preamble symbol and the length of the ideal preamble, and determining the duration as the receiving duration; wherein, time2 in the receiving mode and the receiving Time length determined according to the ideal preamble can be compared, and in the case that Time2 is larger than the receiving Time length determined according to the ideal preamble, time2 thereof can be determined as the receiving Time length; if the preamble signal is received within the receiving duration, whether the receiving duration is over or not, the working mode of the navigation communication module is controlled to be a standby mode.
Under the condition that the receiving duration is not a fixed value, the receiving duration can be properly adjusted according to the communication speed of the intelligent wearable device, the duration of receiving the preamble consistent with the ideal preamble and the receiving duration of the maximum preamble, and can be adjusted according to the navigation signal of the position of the user, and the detected duration of the preamble consistent with the ideal preamble is comprehensively adjusted, so that the detection result of detecting the preamble consistent with the ideal preamble in the set receiving duration is ensured.
In this embodiment, the target preamble is received within the receiving duration, and the working mode of the navigation communication module is switched to the standby mode after the receiving duration, so that the power consumption of the intelligent wearable device can be reduced.
In one possible embodiment, before the sending the channel detection instruction to the modem module, the method further includes: locking the phase-locked loop circuit module and controlling the working mode of the navigation communication module to be the standby mode.
Before sending a channel detection instruction to the modem module, after the modem module and the radio frequency transceiver module are initialized, locking the phase-locked loop circuit module and controlling the working mode of the navigation communication module to be a standby mode.
Therefore, in this embodiment, after the modem module and the radio frequency transceiver module are powered on, the navigation communication module is controlled to enter the standby mode, so that the power consumption of the intelligent wearable device can be reduced.
In one possible embodiment, referring to fig. 7, fig. 7 is a flowchart of a method for reducing power consumption of a smart wearable device in a specific scenario provided by the embodiment of the present application, where, as shown in fig. 7, the smart wearable device may be a smart wristwatch.
Step 1, a micro control module of an intelligent wristwatch informs a power management module to supply power to a modulation-demodulation module and a radio frequency transceiver module for initialization, and controls to enter a standby mode; the phase-locked loop circuit module of the navigation communication module is locked after being electrified for a period of time; phase-locked loop locking is a physical process that indicates that phase-locked loop operation is stable.
Step 2, the micro control module of the intelligent wristwatch sends a channel detection instruction to the modem module of the navigation communication module, and instructs the modem module of the navigation communication module to execute channel detection operation by using the radio frequency channel of the navigation communication module; the channel activity detection duration depends on the configuration of the spreading factor SF and the communication bandwidth BW, and in the channel activity detection time, the radio frequency transceiver module is in a receiving mode in (2SF+32)/BW seconds, and the rest time is in a low-power consumption state, so that the power consumption is reduced.
Step 3, waiting for the modem module to detect the available channel, and automatically switching the navigation communication module to a standby mode after the micro control module receives a channel detection completion instruction from the modem module of the navigation communication module;
step 4, the micro control module of the intelligent wristwatch receives the navigation demand and sends a channel activation receiving instruction to the modulation and demodulation module;
Step 5, the modem module of the navigation communication module receives the channel activation receiving instruction, responds to the instruction and enters a receiving mode, and controls the radio frequency transceiver module to acquire the lead code of the navigation signal from the channel, wherein the current consumption in the period corresponds to the current of the designated receiving mode;
Step 6, waiting for receiving the preamble, after the micro control module detects that the receiving operation of the preamble of the navigation signal is completed, controlling the radio frequency transceiver module and the phase-locked loop circuit module of the navigation communication module to be closed to enter a standby mode, and starting to execute the following digital processing process (the time required by the digital processing process is only slightly less than one symbol period:
The micro control module of the intelligent wristwatch acquires a navigation signal acquired by the navigation communication module and a preamble of the navigation signal; and determining an ideal preamble of the navigation signal according to the navigation signal and a pre-stored ideal preamble list; and determining whether the preamble is consistent with the ideal preamble determined by the table lookup;
If the detection results are consistent, an interrupt instruction is generated and sent to the modem module so that the whole navigation communication module enters a standby mode;
If the inconsistency is detected, the navigation communication module is controlled to interrupt the standby mode of the internal circuit module, switch to a single receiving mode or a continuous receiving mode, and restart receiving the navigation signal.
And 7, after the consistency is detected, the navigation communication module integrally enters a standby mode, performing Cyclic Redundancy Check (CRC) on the received data, reading the data after passing the CRC, and waiting for the next receiving period. If the CRC does not pass, the next receiving period is waited.
And 8, if the preamble is not received within the set receiving duration, judging that the receiving is overtime, waiting for the next receiving period, or switching the working mode of the navigation communication module when the channel activating instruction is received.
Therefore, in this embodiment, when the navigation signal of the intelligent wristwatch is processed, the power consumption of the intelligent wearable device is reduced and the endurance of the intelligent wearable device is enhanced by intelligently adjusting the working mode of the navigation communication module.
In accordance with the foregoing embodiments, referring to fig. 8, fig. 8 is a functional unit block diagram of an apparatus for reducing power consumption of a smart wearable device according to an embodiment of the present application. The means 80 for reducing power consumption of the smart wearable device comprises: the first sending unit 81 is configured to send a channel activation receiving instruction to the modem module after obtaining a navigation requirement, where the channel activation receiving instruction is used to indicate a target preamble of a navigation signal, the target preamble is from the radio frequency transceiver module after being activated, a working mode of the radio frequency transceiver module after being activated is a signal transceiver mode, and a working mode of the radio frequency transceiver module before being activated is a standby mode after channel detection is completed; the control unit 82 is configured to control, after detecting that the rf transceiver module has completed receiving the target preamble, the operating mode of the rf transceiver module to be the standby mode; a determining unit 83, configured to determine an ideal preamble corresponding to the navigation signal according to a pre-stored ideal preamble list; a second sending unit 84, configured to send an interrupt signal to the modem module when the target preamble is detected to be consistent with the ideal preamble, where the interrupt signal is used to indicate that the working mode of the modem module is the standby mode; and a receiving unit 85, configured to switch, when it is detected that the target preamble is inconsistent with the ideal preamble, the working mode of the radio frequency transceiver module to the signal transceiver mode, so that a preamble that is consistent with the ideal preamble in a matching manner is received within a receiving period, and switch, after the receiving period, the working mode of the navigation communication module to the standby mode.
In one possible embodiment, the navigation communication module further includes a phase-locked loop circuit module, and the device 80 for reducing power consumption of the smart wearable device is specifically further configured to, after detecting that the radio frequency transceiver module has completed receiving the target preamble: and controlling the working mode of the phase-locked loop circuit module to be the standby mode.
In one possible embodiment, before obtaining the navigation requirement, the apparatus 80 for reducing power consumption of the smart wearable device is specifically further configured to: transmitting a channel detection instruction to the modem module; and after the channel detection result from the modem module is obtained, controlling the working mode of the navigation communication module to be the standby mode.
In one possible embodiment, the pre-stored ideal preamble list includes a plurality of navigation signals and ideal preambles corresponding to each of the plurality of navigation signals; before the working mode of the radio frequency transceiver module is switched to the signal transceiver mode, the device 80 for reducing power consumption of the smart wearable device is specifically further configured to: determining whether the target preamble has a data marking sequence, wherein the data marking sequence is used for marking a supervision code of a data frame; and if the data mark sequence exists, controlling the working mode of the navigation communication module to be the standby mode.
In one possible embodiment, before the operation mode of the radio frequency transceiver module is switched to the signal transceiver mode, the device 80 for reducing power consumption of the smart wearable device is specifically further configured to: if the data mark sequence does not exist, determining whether the sequence in the ideal preamble and the sequence in the target preamble are identical; if the first cycle times and the second cycle times of the ideal lead code are the same, the first cycle times are used for indicating the cycle times of sequences in the repeated sequence of the ideal lead code, and the second cycle times are used for indicating the cycle times of sequences in the repeated sequence of the target lead code; and if the first cycle times and the second cycle times are in integral multiple relation, controlling the working mode of the navigation communication module to be the standby mode.
In one possible embodiment, in determining the receiving duration, the apparatus 80 for reducing power consumption of the smart wearable device is specifically further configured to: the reception duration is associated with a length of the ideal preamble.
In one possible embodiment, before sending the channel detection instruction to the modem module, the apparatus 80 for reducing power consumption of the smart wearable device is specifically further configured to: locking the phase-locked loop circuit module and controlling the working mode of the navigation communication module to be the standby mode.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, which is not described herein.
In the case of using integrated units, please refer to fig. 9, fig. 9 is a block diagram of functional units of another apparatus for reducing power consumption of a smart wearable device according to an embodiment of the present application. In fig. 9, an apparatus 80 for reducing power consumption of a smart wearable device includes: a processing module 902 and a communication module 901. The processing module 902 is configured to control and manage actions of the apparatus 80 for reducing power consumption of the smart wearable device, e.g., performing steps of the first sending unit 81, the control unit 82, the determining unit 83, the second sending unit 84, and the receiving unit 85, and/or for performing other processes of the techniques described herein. The communication module 901 is used for reducing the interaction between the device 80 of the power consumption of the smart wearable device and other devices. As shown in fig. 9, the means 80 for reducing power consumption of the smart wearable device may further include a storage module 903, where the storage module 903 is configured to store program code and data of the means 80 for reducing power consumption of the smart wearable device.
The processing module 902 may be a Processor or controller, such as a central processing unit (Central Processing Unit, CPU), a general purpose Processor, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an ASIC, FPGA or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 901 may be a transceiver, RF circuit, or communication interface, etc. The storage module 903 may be a memory.
All relevant contents of each scenario related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein. The apparatus 80 for reducing power consumption of the smart wearable device may perform the method for reducing power consumption of the smart wearable device shown in fig. 2.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments, and that the acts and modules involved are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional divisions when actually implemented, such as multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules, may be stored in a computer-readable memory for sale or use as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned memory includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, and the memory may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of the embodiments of the application in order that the detailed description of the principles and embodiments of the application may be implemented in conjunction with the detailed description of the embodiments that follows, the claims being merely intended to facilitate the understanding of the method and concepts underlying the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.