CN114301502B - Power line carrier communication module, power consumption management method and device thereof and storage medium - Google Patents

Power line carrier communication module, power consumption management method and device thereof and storage medium Download PDF

Info

Publication number
CN114301502B
CN114301502B CN202111371862.1A CN202111371862A CN114301502B CN 114301502 B CN114301502 B CN 114301502B CN 202111371862 A CN202111371862 A CN 202111371862A CN 114301502 B CN114301502 B CN 114301502B
Authority
CN
China
Prior art keywords
state
communication module
standby
sub
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111371862.1A
Other languages
Chinese (zh)
Other versions
CN114301502A (en
Inventor
赵晓庆
周春良
迟海明
罗丹
王贤辉
肖德勇
李德建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202111371862.1A priority Critical patent/CN114301502B/en
Publication of CN114301502A publication Critical patent/CN114301502A/en
Application granted granted Critical
Publication of CN114301502B publication Critical patent/CN114301502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a power line carrier communication module, a power consumption management method, a device and a storage medium thereof, wherein the method comprises the following steps: when the communication module is in a standby state, the communication module is controlled to switch between a standby dormant sub-state and a standby receiving sub-state, wherein the standby state comprises the standby dormant sub-state and the standby receiving sub-state; in the switching process, the running time of the standby dormancy sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module. Therefore, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby sleep sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby sleep sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.

Description

Power line carrier communication module, power consumption management method and device thereof and storage medium
Technical Field
The present invention relates to the field of carrier communication technologies, and in particular, to a power line carrier communication module, and a power consumption management method, apparatus and storage medium thereof.
Background
The high-speed power line carrier communication is a common communication technology for low-voltage power line data transmission, and the control and management of the power consumption by the current high-speed power line carrier communication module mainly adopts a half-duplex scheme, namely, a sub-module related to data receiving is closed during data transmission, and the sub-module related to data transmission is closed during data reception.
Along with the gradual penetration of the low-carbon energy-saving environment-friendly concept, the power consumption requirement of the power grid on the high-speed power line carrier communication module is higher and higher, and the requirement of further reducing the operation power consumption of the communication module is difficult to be met by the traditional half-duplex scheme.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a power consumption management method of a power line carrier communication module, which realizes fine management of power consumption of the power line carrier communication module by periodically switching a standby sleep sub-state and a standby receive sub-state and dynamically adjusting operation time of the standby sleep sub-state and the standby receive sub-state according to a data receiving condition of the communication module, thereby further reducing average power consumption of the communication module.
A second object of the present invention is to propose a computer readable storage medium.
A third object of the present invention is to provide a power line carrier communication module.
A fourth object of the present invention is to provide a power consumption management device of a power line carrier communication module.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a power consumption management method of a power line carrier communication module, the method including: when the communication module is in a standby state, the communication module is controlled to switch between a standby dormant sub-state and a standby receiving sub-state, wherein the standby state comprises the standby dormant sub-state and the standby receiving sub-state; in the switching process, the running time of the standby dormancy sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module.
According to the power consumption management method of the power line carrier communication module, when the communication module is in the standby state, the communication module is controlled to be switched between the standby sleep sub-state and the standby receiving sub-state, and the running time of the standby sleep sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module. Therefore, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby sleep sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby sleep sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
According to one embodiment of the invention, when the communication module is in the standby sleep sub-state, the data receiving sub-module and the data transmitting sub-module of the communication module are controlled to be in the closed state, and the main frequency of the communication module is controlled to be in the low-speed state.
According to one embodiment of the invention, when the communication module is in the standby receiving sub-state, the data receiving sub-module of the communication module is controlled to be in an operating state, the data transmitting sub-module is controlled to be in an off state, and the main frequency of the communication module is controlled to be in a full-speed state, wherein the frequency of the low-speed state is smaller than the frequency of the full-speed state.
According to one embodiment of the present invention, dynamically adjusting the operation time of the standby sleep sub-state and the standby receive sub-state according to the data reception condition of the communication module includes: setting the running time of the standby dormancy sub-state and the standby receiving sub-state as second preset time in the first preset time after the communication module is electrified; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, the communication module is controlled to enter a temporary working state to try to access the network; if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
According to one embodiment of the present invention, the method dynamically adjusts the operation time of the standby sleep sub-state and the standby receive sub-state according to the data receiving condition of the communication module, and further includes: and if the network is successfully accessed within the third preset time, controlling the communication module to enter a working state.
According to one embodiment of the present invention, the method dynamically adjusts the operation time of the standby sleep sub-state and the standby receive sub-state according to the data receiving condition of the communication module, and further includes: and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to be fourth preset time.
According to one embodiment of the present invention, the method dynamically adjusts the operation time of the standby sleep sub-state and the standby receive sub-state according to the data receiving condition of the communication module, and further includes: and in the process of receiving the effective data by the communication module, if the current time reaches the operation ending time of the standby receiving sub-state, continuing to receive the effective data until the effective data is received.
According to an embodiment of the present invention, the power consumption management method of the power line carrier communication module further includes: when the communication module is in a receiving state, controlling the front end synchronization sub-module to be in a working state so as to receive synchronous data, wherein the data receiving sub-module of the communication module comprises a front end synchronization sub-module and a rear end demodulation decoding sub-module; when synchronous data is received, the back-end demodulation decoding submodule is controlled to be in a working state so as to process the data, and the back-end demodulation decoding submodule enters a closed state after the data processing is completed; and when the synchronous data is not received, controlling the back-end demodulation decoding submodule to be in a closed state.
According to an embodiment of the present invention, the power consumption management method of the power line carrier communication module further includes: when the communication module is in a working state, acquiring a phase line to which each competition time slot in the beacon frame time slots belongs in a slicing way; if the phase line of the current competition time slot fragment is consistent with the phase line of the communication module, controlling the main frequency of the communication module in a full speed state in the competition time slot fragment; and if the phase line to which the current competitive time slot fragment belongs is inconsistent with the phase line to which the communication module belongs, controlling the communication module to be in a standby dormancy sub-state in the competitive time slot fragment.
According to one embodiment of the present invention, each contention slot slice in a beacon frame slot belongs to a phase line, comprising: receiving beacon frame information; and acquiring the phase line to which each competitive time slot fragment belongs according to the beacon frame information.
To achieve the above object, a second aspect of the present invention provides a computer-readable storage medium having stored thereon a power consumption management program of a power line carrier communication module, which when executed by a processor, implements a power consumption management method of the power line carrier communication module as in the first aspect embodiment described above.
According to the computer readable storage medium of the embodiment of the invention, through the power consumption management method of the power line carrier communication module, the power consumption of the power line carrier communication module is managed finely by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
To achieve the above object, an embodiment of a third aspect of the present invention provides a power line carrier communication module, including: the power consumption management method of the power line carrier communication module in the embodiment of the first aspect is implemented when the processor executes the program.
According to the power line carrier communication module provided by the embodiment of the invention, through the power consumption management method of the power line carrier communication module, the standby dormant sub-state and the standby receiving sub-state are periodically switched, and the running time of the standby dormant sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module, so that the power consumption of the power line carrier communication module is finely managed, and the average power consumption of the communication module is further reduced.
To achieve the above object, a fourth aspect of the present invention provides a power consumption management apparatus of a power line carrier communication module, the apparatus comprising: the control module is used for controlling the communication module to switch between a standby dormancy sub-state and a standby receiving sub-state when the communication module is in the standby state, wherein the standby state comprises the standby dormancy sub-state and the standby receiving sub-state; and the adjusting module is used for dynamically adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state according to the data receiving condition of the communication module in the switching process.
According to the power consumption management device of the power line carrier communication module, when the communication module is in a standby state, the communication module is controlled to be switched between a standby sleep sub-state and a standby receiving sub-state through the control module, and the operation time of the standby sleep sub-state and the standby receiving sub-state is dynamically adjusted through the adjustment module according to the data receiving condition of the communication module. Therefore, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby sleep sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby sleep sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
According to an embodiment of the present invention, the control module is further configured to control, when the communication module is in the standby sleep sub-state, the data receiving sub-module and the data transmitting sub-module of the communication module to be in the closed state, and to make the main frequency of the communication module be in the low-speed state.
According to one embodiment of the present invention, the control module is further configured to control the data receiving sub-module of the communication module to be in an operating state and the data transmitting sub-module to be in an off state when the communication module is in the standby receiving sub-state, and to make the main frequency of the communication module be in a full-speed state, wherein the frequency of the low-speed state is less than the frequency of the full-speed state.
According to one embodiment of the invention, the adjustment module is specifically configured to: setting the running time of the standby dormancy sub-state and the standby receiving sub-state as second preset time in the first preset time after the communication module is electrified; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, the communication module is controlled to enter a temporary working state to try to access the network; if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
According to one embodiment of the invention, the adjustment module is further configured to: and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to be fourth preset time.
According to one embodiment of the invention, the control module is further configured to: when the communication module is in a receiving state, controlling the front end synchronization sub-module to be in a working state so as to receive synchronous data, wherein the data receiving sub-module of the communication module comprises a front end synchronization sub-module and a rear end demodulation decoding sub-module; when synchronous data is received, the back-end demodulation decoding submodule is controlled to be in a working state so as to process the data, and the back-end demodulation decoding submodule enters a closed state after the data processing is completed; and when the synchronous data is not received, controlling the back-end demodulation decoding submodule to be in a closed state.
According to one embodiment of the invention, the apparatus further comprises: the acquisition module is used for acquiring the phase line to which each competition time slot fragment in the beacon frame time slot belongs when the communication module is in the working state; the control module is also used for: if the phase line of the current competition time slot fragment is consistent with the phase line of the communication module, controlling the main frequency of the communication module in a full speed state in the competition time slot fragment; and if the phase line to which the current competitive time slot fragment belongs is inconsistent with the phase line to which the communication module belongs, controlling the communication module to be in a standby dormancy sub-state in the competitive time slot fragment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of a power consumption management method of a power line carrier communication module according to an embodiment of the present invention;
fig. 2 is a flowchart of a power consumption management method in a standby state of a power line carrier communication module according to an embodiment of the present invention;
fig. 3 is a flowchart of a power consumption management method of a power line carrier communication module according to another embodiment of the present invention;
FIG. 4 is a block diagram of a data receiving sub-block according to one embodiment of the invention;
fig. 5 is a flowchart of a power consumption management method in a power line carrier communication module receiving state according to an embodiment of the present invention;
fig. 6 is a flowchart of a power consumption management method of a power line carrier communication module according to still another embodiment of the present invention;
fig. 7 is a schematic diagram of time slot division of beacon frame information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a power consumption management apparatus of a power line carrier communication module according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The power line carrier communication module, the power consumption management method, the power consumption management device and the storage medium thereof according to the embodiment of the invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a power consumption management method of a power line carrier communication module according to an embodiment of the present invention. As shown in fig. 1, the power consumption management method of the power line carrier communication module includes the following steps:
step S101, when the communication module is in the standby state, the communication module is controlled to switch between a standby sleep sub-state and a standby receive sub-state, wherein the standby state includes the standby sleep sub-state and the standby receive sub-state.
Specifically, when the power line carrier communication module is in the standby state, the transmitting or receiving sub-module in the communication module is not required to be turned on all the time, in order to reduce the power consumption of the communication module in the standby state as much as possible, the standby state can be subdivided into a standby dormant sub-state and a standby receiving sub-state, and the sub-module in the standby state in the communication module is controlled to periodically switch between the standby dormant sub-state and the standby receiving sub-state.
In some embodiments, when the communication module is in the standby sleep sub-state, the data receiving sub-module and the data transmitting sub-module of the communication module are controlled to be in the closed state, and the main frequency of the communication module is in the low-speed state.
Specifically, after the communication module is switched to the standby sleep sub-state, the data receiving sub-module and the data transmitting sub-module in the communication module are closed, that is, external data is not received through the data receiving sub-module, and the data is not transmitted to the outside through the data transmitting sub-module, so that the overall power consumption of the communication module in the standby sleep sub-state is reduced, the main frequency of the communication module is adjusted to a low-speed running state, the power consumption in the standby sleep sub-state is further reduced, and when the running time of the communication module in the standby sleep sub-state reaches the designated time, the communication module enters the standby receiving sub-state, and the switching from the standby sleep sub-state to the standby receiving sub-state is realized.
In some embodiments, when the communication module is in the standby receiving sub-state, the data receiving sub-module of the communication module is controlled to be in an operating state, the data transmitting sub-module is controlled to be in an off state, and the main frequency of the communication module is set to be in a full-speed state, wherein the frequency of the low-speed state is smaller than the frequency of the full-speed state.
Specifically, after the communication module is switched from the standby sleep sub-state to the standby receiving sub-state, the data receiving sub-module is opened to receive data externally sent to the communication module, the data sending sub-module still keeps the closed state, and meanwhile, the main frequency of the communication module is adjusted to the full-speed running state, so that the stability of data receiving is ensured.
It should be noted that, only when the running time of the communication module in the standby receiving sub-state reaches the designated time and no valid data entering the working state is received, the communication module is switched to the standby sleep sub-state again so as to reduce the average power consumption of the communication module in the standby state; and if the communication module receives the effective data entering the working state in the standby receiving sub-state, controlling the communication module to exit from the standby receiving sub-state and enter the working state.
Step S102, in the switching process, the running time of the standby dormancy sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module.
Specifically, the communication module dynamically allocates the standby sleep sub-state and the running time of the standby receiving sub-state according to the data receiving condition, and improves the quick response capability of the communication module as much as possible under the condition of keeping the average power consumption of the communication module to reduce, so as to accelerate the network access speed of the communication module under the premise of meeting the low power consumption.
In some embodiments, dynamically adjusting the standby dormant sub-state and the run time of the standby receiving sub-state according to the data receiving condition of the communication module includes: setting the running time of the standby dormancy sub-state and the standby receiving sub-state as second preset time in the first preset time after the communication module is electrified; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, the communication module is controlled to enter a temporary working state to try to access the network; if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
Specifically, timers T0, T1 and T2 are provided inside the communication module, the timer T0 is provided with a first preset time (N seconds) after the communication module is powered on, and when the communication module is powered on and enters a standby state, the timers T1 and T2 are provided with a second preset time (M1 ms) and the second preset time is used as an initial running time of the standby sleep sub-state and the standby receiving sub-state.
Further, taking the communication module in the standby receiving sub-state after being powered on as an example, when the communication module is in the standby receiving sub-state and valid data is not received within a second preset time M1 ms, that is, a complete carrier data frame is not received in the standby receiving sub-state, the communication module is controlled to enter the standby dormant sub-state to reduce average power consumption of the communication module in the standby state, and meanwhile, the operation time of the standby dormant sub-state and/or the operation time of the standby receiving sub-state are adjusted as required, for example, the operation time of the standby dormant sub-state is changed to M2 ms only, and the operation time of the standby receiving sub-state is kept unchanged, that is, the operation time of the standby receiving sub-state is M1 ms, wherein M2 is smaller than M1; the running time of the standby receiving sub-state can be changed to M3 milliseconds, and the running time of the standby dormancy sub-state is kept unchanged, namely the running time of the standby dormancy sub-state is M1 milliseconds, wherein M3 is larger than M1; or changing the running time of the standby receiving sub-state to M3 milliseconds, and changing the running time of the standby dormant sub-state to M2 milliseconds, wherein M2 is smaller than M3. The adjustment mode can ensure that the running time of the communication module in the standby receiving sub-state is longer than that of the standby dormant sub-state, and the relative extension of the running time of the standby receiving sub-state can improve the capability of receiving effective data, thereby improving the quick response capability of the communication module.
When the communication module is in the standby receiving sub-state and receives effective data within the second preset time M1 ms, the communication module is controlled to enter a temporary working state, a timer T3 in the communication module is started, a third preset time (P seconds) is arranged in the timer T3, the communication module tries to access the network in the temporary working state, if the communication module does not successfully access the network within the third preset time P seconds, the temporary working state is exited, the second preset time (M1 ms) of the timers T1 and T2 is adjusted to be a fourth preset time (M4 ms), and the fourth preset time is used as the running time of the standby dormancy sub-state and the standby receiving sub-state. It should be noted that, the fourth preset time is longer than the second preset time, that is, M4 is longer than M1, and the extension of the standby receiving sub-state running time improves the capability of receiving the effective data, and further accelerates the quick response capability of the communication module.
In some embodiments, dynamically adjusting the standby dormant sub-state and the running time of the standby receiving sub-state according to the data receiving condition of the communication module further comprises: and if the network is successfully accessed within the third preset time, controlling the communication module to enter a working state.
That is, when the communication module enters the temporary working state and successfully accesses the network within the third preset time P seconds, the communication module is controlled to enter the working state, i.e. the power consumption management mode of the communication module in the standby state is exited, the timing of the timers T0, T1, T2 and T3 is stopped, and the normal working state is entered.
In some embodiments, dynamically adjusting the standby dormant sub-state and the running time of the standby receiving sub-state according to the data receiving condition of the communication module further comprises: and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to be fourth preset time.
Specifically, if the communication module fails to access the network within the first preset time (N seconds), including failing to receive the valid data within N seconds or failing to access the network after receiving the valid data, the operation time of the standby sleep sub-state and the standby receive sub-state after the first preset time is adjusted to be a fourth preset time (M4 milliseconds), and the N second timer T0 is restarted, and the fourth preset time is adopted as the initial operation time of the standby sleep sub-state and the standby receive sub-state in the following period, so that the quick response capability of the communication module is accelerated, and the network access speed of the communication module is further improved.
In some embodiments, dynamically adjusting the standby dormant sub-state and the running time of the standby receiving sub-state according to the data receiving condition of the communication module further comprises: and in the process of receiving the effective data by the communication module, if the current time reaches the operation ending time of the standby receiving sub-state, continuing to receive the effective data until the effective data is received.
Specifically, when the communication module reaches the operation end time of the standby receiving sub-state in the process of receiving the valid data, the communication module is not required to be switched to the standby dormant sub-state at this time, and is still in the standby receiving sub-state to receive the valid data until the valid data is received. That is, when the communication module is receiving valid data and reaches the operation end time of the standby receiving sub-state just now, since complete valid data is not obtained within the current second preset time, in order to obtain complete valid data, it is not necessary to switch to the standby sleep sub-state at this time, and keep the standby receiving sub-state to receive valid data, alternatively, the time of entering the standby sleep sub-state may be delayed until the next designated time, for example, until the next second preset time, that is, after the next second preset time, the standby sleep sub-state is switched.
Further, as a specific example, referring to fig. 2, the power consumption management method in the standby state of the power line carrier communication module may include the steps of:
in step S201, the communication module is powered on and starts a timer T0 of N seconds and timers T1 and T2 of M1 ms.
Specifically, the communication module starts a timer T0 of N seconds after power-up, and starts timers T1 and T2 of M1 ms when entering a standby state.
In step S202, the communication module enters a standby receiving sub-state.
Specifically, the communication module firstly enters a standby receiving sub-state when in a standby state, and the data receiving sub-module is opened in the standby state to receive data externally sent to the communication module, and meanwhile, the main frequency of the communication module is adjusted to a full-speed running state, so that the stability of data receiving is ensured.
In step S203, the times set by the timers T1 and T2 are respectively set as the standby sleep sub-state operation time and the standby reception sub-state operation time.
In step S204, it is determined whether the timer T0 reaches N seconds. If yes, step S205 is performed, otherwise step S207 is performed.
Step S205, determining whether the communication module accesses the network. If yes, step S216 is executed, otherwise step S206 is executed.
In step S206, the timers T1 and T2 are changed to M4 milliseconds and the N second timer T0 is restarted. That is, if the communication module fails to access the network within N seconds, the timer T1 and T2 are changed from the original M1 ms to M4 ms, and the N second timer T0 is restarted, and M4 ms is used as the initial running time of the standby sleep sub-state and the standby receive sub-state in the next period.
Step S207, judging whether valid data is received. If yes, step S212 is performed, otherwise step S208 is performed.
Step S208, it is determined whether the standby receiving sub-state operation time is reached. If yes, step S209 is executed, otherwise, step S202 is returned to.
In step S209, the standby sleep sub-state operation time and the standby receive sub-state operation time corresponding to the timers T1 and T2 are adjusted. That is, when the communication module is in the standby reception sub-state and valid data is not received within M1 ms, the timers T1 and T2 are adjusted as needed to change the standby sleep sub-state and/or the running time of the standby reception sub-state. For example, the running time of the timer T1 is changed to be M2 milliseconds, and the running time of the timer T2 is unchanged, wherein M2 is smaller than M1; the running time of the timer T2 can be changed to M3 milliseconds, and the running time of the timer T1 is unchanged; or the running time of the timer T2 is changed to M3 ms, while the running time of the timer T1 is changed to M2 ms, wherein M2 is smaller than M3.
In step S210, the communication module enters a standby sleep sub-state.
Specifically, the data receiving sub-module and the data sending sub-module in the communication module are closed, external data is not received, and the data is not sent to the outside, so that the overall power consumption of the communication module in the standby sleep sub-state is reduced, and meanwhile, the main frequency of the communication module is adjusted to a low-speed running state, and the power consumption in the standby sleep sub-state is further reduced.
Step S211, determining whether the standby receiving sub-state operation time is reached. If yes, step S202 is executed, otherwise, step S210 is returned.
Step S212, whether the running time of the standby receiving sub-state is reached when receiving the valid data. If yes, step S213 is performed, otherwise step S214 is performed.
Step S213, continuing to receive the valid data until the valid data reception is completed. That is, when the communication module is receiving the valid data and the running end time of the standby receiving sub-state is just reached, since the complete valid data is not obtained in the current second preset time, in order to obtain the complete valid data, it is not necessary to switch to the standby dormant sub-state at this time, and the standby receiving sub-state is continuously maintained to receive the valid data.
Step S214, entering into temporary working state and attempting to access the network, starting a timer T3 of P seconds.
Specifically, when the communication module receives the valid data, the communication module is controlled to enter a temporary working state, a timer T3 in the communication module is started, the timing time of the timer T3 is set to be P seconds, and the communication module tries to access the network in the temporary working state within the P seconds.
Step S215, judging whether the network is successfully accessed in P seconds. If yes, step S216 is executed, otherwise step S217 is executed.
Step S216, entering a normal working state.
Specifically, after the communication module enters the working state, the power consumption management mode of the communication module in the standby state is exited, the timing of the timers T0, T1, T2 and T3 is stopped, and the work is performed normally.
Step S217, the temporary operation state is exited, and the timers T1 and T2 are changed to M4 ms.
Specifically, if the network is not successfully accessed within P seconds, the temporary working state is exited, and meanwhile, the timing time of the timers T1 and T2 is adjusted from M1 ms to M4 ms, and M4 ms is used as the running time of the standby sleep sub-state and the standby receiving sub-state.
Therefore, when the communication module is in the standby state, the communication module is controlled to periodically switch between the standby sleep sub-state and the standby receiving sub-state, and the running time of the standby sleep sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module, so that the average power consumption of the communication module in the standby state is reduced, the quick response capability of the communication module is improved, and the network access speed of the communication module is accelerated.
In some embodiments, as shown in fig. 3, the power consumption management method of the power line carrier communication module further includes:
in step S301, when the communication module is in the receiving state, the front end synchronization sub-module is controlled to be in the working state to receive the synchronization data, where the data receiving sub-module of the communication module includes a front end synchronization sub-module and a back end demodulation sub-module.
It should be noted that, the data receiving sub-module of the power line carrier communication module is generally composed of an analog front end, an automatic gain control module, a clock/frame synchronization module, a fast fourier transform module, a demodulation module, a diversity combining module, a channel de-interleaving module, a Turbo decoding module and a descrambling module, and because the power line carrier communication technology adopts complex Turbo coding, the later coding and decoding are also complex, and meanwhile, larger power consumption is required.
Specifically, in order to reduce unnecessary power consumption in the receiving state of the power line carrier communication module, as shown in fig. 4, the application divides the data receiving sub-module into a front-end synchronization sub-module and a back-end demodulation decoding sub-module according to a working flow, wherein the front-end synchronization sub-module includes an analog front-end, an automatic gain control and a clock/frame synchronization module, and the back-end demodulation decoding sub-module includes a fast fourier transform, demodulation, diversity combining, channel deinterleaving, turbo decoding and descrambling module.
When the power line carrier communication module is in a receiving state, the front end synchronization sub-module is controlled to be in a working state, the front end synchronization sub-module is responsible for searching the synchronous data of the power line carrier signal, the searched synchronous data is preprocessed, input data is provided for the rear end demodulation decoding sub-module, and the rear end demodulation decoding sub-module is responsible for demodulating and decoding the input data of the front end synchronization sub-module into final communication data.
In step S302, when the synchronization data is received, the back-end demodulation sub-module is controlled to be in a working state for data processing, and enters a closed state after the data processing is completed.
That is, after the front-end synchronous submodule receives the synchronous data, the back-end demodulation submodule is controlled to work and process the data, wherein the data processed by the back-end demodulation submodule is the synchronous data preprocessed by the front-end synchronous submodule, and when the data processing of the back-end demodulation decoding submodule is finished, the back-end demodulation submodule is closed to reduce the average power consumption of the receiving state of the communication module.
In step S303, when the synchronization data is not received, the back-end demodulation sub-module is controlled to be in a turned-off state.
Specifically, when the power line carrier communication module is in a receiving state and synchronous data is not received, the back-end demodulation decoding submodule is controlled to be in a closed state so as to reduce unnecessary power consumption.
Further, as a specific example, referring to fig. 5, the power consumption management method in the power line carrier communication module receiving state may include the steps of:
in step S401, the front-end synchronization submodule is in an operating state, and the back-end demodulation and decoding submodule is in a closed state.
Specifically, in the initial state, when the communication module is in the receiving state, the front end synchronous submodule is controlled to be in the working state, and the back end demodulation submodule is controlled to be in the closing state, so that the power consumption of the communication module is reduced.
In step S402, the front-end synchronization sub-module continuously searches for synchronization data. Namely, the front end synchronization submodule is responsible for searching the synchronous data of the power line carrier signal.
Step S403, determining whether synchronous data is searched. If yes, step S404 is executed, otherwise step S405 is executed.
In step S404, the back-end demodulation sub-module is controlled to be in a closed state. When the power line carrier communication module does not receive the synchronous data, the back-end demodulation decoding submodule is controlled to be in a closed state so as to reduce unnecessary power consumption.
In step S405, after the data required by the back-end modulation code sub-module is prepared, the back-end demodulation code sub-module is opened.
Specifically, after receiving the synchronous data, the front-end synchronous submodule pre-processes the searched synchronous data, and opens the back-end demodulation and decoding submodule to process the data, wherein the data processed by the back-end demodulation and decoding submodule is the synchronous data pre-processed by the front-end synchronous submodule.
In step S406, after the back-end modulation and decoding submodule completes the demodulation and decoding operations, the back-end modulation and decoding submodule is turned off. And after the data processing of the back-end demodulation sub-module is finished, closing the back-end demodulation sub-module to reduce the average power consumption of the receiving state of the communication module.
Therefore, by dividing the front-end synchronous submodule and the rear-end demodulation and decoding submodule, when the front-end synchronous submodule does not search synchronous data, namely, when no data is provided for the rear-end demodulation and decoding submodule, the rear-end demodulation and decoding submodule is controlled to be in a closed state; when the front-end synchronous submodule searches synchronous data, the back-end demodulation and decoding submodule is opened to process the data after the pre-processed synchronous data is prepared, and the back-end demodulation and decoding submodule is closed after the data processing of the back-end demodulation and decoding submodule is completed, so that the back-end demodulation and decoding submodule with larger power consumption is in an on-demand working state, and the average power consumption of the communication module in a receiving state is reduced.
In some embodiments, as shown in fig. 6, the power consumption management method of the power line carrier communication module further includes:
in step S501, when the communication module is in a working state, a phase line to which each contention slot slice in the beacon frame slots belongs is acquired.
It should be noted that, the power line carrier communication network includes a CCO (Central Coordinator ) module and a communication module, where the CCO module is responsible for organizing and coordinating the network, and the CCO module periodically sends beacon frames to schedule the communication module in the network to send data frames, and in an operating state, the power consumption management method of the present application is mainly applied to the communication module in the power line carrier network.
Further, the powerline carrier communication protocol employs a beacon frame based channel access mechanism in which a communication channel is divided into a beacon slot, a TDMA (Time Division Multiple Access ) slot, a CSMA (Carrier Sense Multiple Access, carrier sense multiple access) slot, and a bonded CSMA slot in units of beacon periods. In general, beacon slots and TDMA slots are slots explicitly allocated to CCO modules or to specific uses by communication modules, and are therefore referred to as non-contention slots; whereas CSMA slots and binding CSMA slots need to be used in competition by communication modules with communication requirements and are therefore called contention slots.
When the communication module is in a working state, the communication module is distributed on different power line phase lines, CSMA time slots and binding CSMA time slots are also uniformly distributed on different phase lines according to certain time slot fragments, the phase line to which each competition time slot fragment in the beacon frame time slots belongs is obtained, namely the phase line where each time slot fragment in the CSMA time slots and the binding CSMA time slots is located is obtained, and when the communication module communicates with the CCO module, the factors of the power line phase lines are needed to be considered, so that the corresponding competition time slot fragment is selected to communicate with the CCO according to the phase line where the communication module is located.
In some embodiments, each contention slot slice in the beacon frame slot belongs to a phase line, including: receiving beacon frame information; and acquiring the phase line to which each competitive time slot fragment belongs according to the beacon frame information.
Specifically, the powerline carrier communication module obtains the starting time point of the current beacon period and the length information of the beacon time slot and the TDMA time slot from the received beacon frame information, allocates the length information of the CSMA time slot and the binding CSMA time slot for each phase line, determines the CSMA time slot fragment length information, and after determining the starting time point of the CSMA time slot and the binding CSMA time slot, can perform phase division on the CSMA time slot and the binding CSMA time slot by taking the CSMA time slot fragment as a unit so as to obtain the phase line to which each competition time slot fragment belongs, and after determining the CSMA time slot fragment length information of the CSMA phase, the CSMA time slot and the binding CSMA time slot are divided by the phase of a phase, the phase of B phase and the phase of C phase, as shown in fig. 7, so as to obtain the phase line to which each competition time slot fragment belongs.
Step S502, if the phase line to which the current contention slot slice belongs is consistent with the phase line in which the communication module is located, the main frequency of the communication module is controlled to be in a full speed state in the contention slot slice.
Specifically, after the CSMA time slot or the binding CSMA time slot divides the corresponding competition time slot into slices according to different phases, checking whether the phase of the current time slot slice is consistent with the phase of the communication module per se at the starting time of each time slot slice, if so, controlling the main frequency of the communication module in the competition time slot slice to be in a full-speed state, for example, when the communication module is in an A phase line, judging whether the time slot slice in the CSMA time slot or the binding CSMA time slot is the A phase line, and if so, keeping the main frequency full-speed working state in the time slot slice of the A phase line corresponding to the CSMA time slot or the binding CSMA time slot.
In step S503, if the phase line to which the current contention slot slice belongs is inconsistent with the phase line to which the communication module belongs, the communication module is controlled to be in a standby sleep sub-state in the contention slot slice.
Specifically, if it is determined that the phase of the current time slot slice is inconsistent with the phase of the communication module, the communication module is controlled to be in a standby sleep state in the contention time slot slice, for example, when the communication module is in an a-phase line, it is determined whether the time slot slice in the CSMA time slot or the binding CSMA time slot is the a-phase line, and if not, the communication module is controlled to be in the standby sleep sub-state in the time slot slice of the a-phase line corresponding to the CSMA time slot or the binding CSMA time slot.
Further, as a specific example, taking the case that the communication module of the a-phase line receives the beacon frame of the CCO module, the following arrangement is performed on the acquired beacon frame time slots: the starting time of the beacon period is set to be T0, the duration of the beacon period is assumed to be 2 seconds, the number of the central beacon time slots is 3, the number of the time slots of the non-central beacon is 2, the occupied time length of the beacon time slots is 80 milliseconds, no TDMA time slot arrangement exists, no binding CSMA time slots exist, the number of CSMA time slot phase lines is 3, the fragment length of the CSMA time slots is 100 milliseconds, the length of CSMA time slots allocated to the A phase line is 600 milliseconds, the length of CSMA time slots allocated to the B phase line is 500 milliseconds, and the length of CSMA time slots allocated to the C phase line is 500 milliseconds.
According to the above beacon frame time slot arrangement, a complete beacon period and a corresponding time point of each time slot can be obtained, which is specifically as follows:
time T0: the beacon period starts, and the beacon time slot of the A phase line is T0-T0 +80 milliseconds;
time T1: the beacon time slot of the B phase line is T1-T1+80 milliseconds, wherein T1=T0+80 milliseconds;
time T2: the beacon time slot of the C phase line is T2-T2+80 milliseconds, wherein T2=T1+80 milliseconds;
time T3: the non-central beacon slot is t3 to t3+80 milliseconds, where t3=t2+80 milliseconds;
Time T4: the non-central beacon slot is t4 to t4+80 milliseconds, where t4=t3+80 milliseconds;
time T5: CSMA slots T5-t5+100 milliseconds for phase a, where t5=t4+80 milliseconds;
time T6: CSMA slots T6 to t6+100 milliseconds for the B phase line, where t6=t5+100 milliseconds;
time T7: CSMA slots T7 to t7+100 milliseconds for the C phase line, where t7=t6+100 milliseconds;
time T8: CSMA slots T8-t8+100 milliseconds for phase a, where t8=t7+100 milliseconds;
and analogizing downwards according to the time slot arrangement of the frame until the whole beacon period is divided.
After the communication module of the A phase line receives and analyzes the beacon frame at the time T0, a Timer1 triggered at the time T5 is started, the communication module is set to be in a normal working state after the Timer1 reaches the time T5, namely, the main frequency of the communication module is controlled to be in a full-speed state, meanwhile, the triggering time of the Timer1 is set to be at the ending time (T6) of the current A phase line CSAM time slot, the communication module is set to be in a standby sleep sub-state after the Timer1 reaches the time T6, the triggering time of the Timer1 is set to be at the starting time (T8) of the next A phase line CSAM time slot, and the Timer is repeated until the next A phase line CSMA time slot does not exist, at the moment, the triggering time of the Timer1 is set to be at the ending time of the current beacon period, so that the communication module in the A phase line keeps in the full-speed working state in the corresponding A phase line CSAM time slot slicing time, and is in the standby sub-state in the time slicing time of other phase lines, and the average power consumption of the communication module in the normal working state is reduced.
It should be noted that, when the B-phase line or C-phase line communication module receives the beacon frame of the CCO module, a similar method may be adopted, and the periodic operation or dormancy of the B-phase line or C-phase line communication module may be implemented by changing the trigger timing of the Timer 1.
Therefore, the time slot slicing is divided according to the phase lines, the full-speed working state is only required to be kept in the time slot slicing time corresponding to the phase line where the communication module is located, and the standby dormancy state is kept in the time slot slicing time of other phase lines, so that the average power consumption of the communication module in the normal working state is reduced.
In summary, according to the power consumption management method of the power line carrier communication module of the embodiment of the present invention, when the communication module is in the standby state, the communication module is controlled to switch between the standby sleep sub-state and the standby receive sub-state, and the operation time of the standby sleep sub-state and the standby receive sub-state is dynamically adjusted according to the data receiving condition of the communication module. Therefore, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby sleep sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby sleep sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon a power consumption management program of a power line carrier communication module, which when executed by a processor, implements a power consumption management method of the power line carrier communication module as described above.
According to the computer readable storage medium of the embodiment of the invention, through the power consumption management method of the power line carrier communication module, the power consumption of the power line carrier communication module is managed finely by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
The embodiment of the invention also provides a power line carrier communication module, which comprises: the power consumption management method of the power line carrier communication module is realized when the processor executes the program.
According to the power line carrier communication module provided by the embodiment of the invention, through the power consumption management method of the power line carrier communication module, the standby dormant sub-state and the standby receiving sub-state are periodically switched, and the running time of the standby dormant sub-state and the standby receiving sub-state is dynamically adjusted according to the data receiving condition of the communication module, so that the power consumption of the power line carrier communication module is finely managed, and the average power consumption of the communication module is further reduced.
Fig. 8 is a schematic structural diagram of a power consumption management apparatus of a power line carrier communication module according to an embodiment of the present invention. As shown in fig. 8, the power consumption management apparatus 100 of the power line carrier communication module includes: a control module 110 and a second path adjustment module 120.
The control module 110 is configured to control the communication module to switch between a standby sleep sub-state and a standby receive sub-state when the communication module is in the standby state, where the standby state includes the standby sleep sub-state and the standby receive sub-state; the adjustment module 120 is configured to dynamically adjust the operation time of the standby sleep sub-state and the standby receive sub-state according to the data receiving condition of the communication module during the switching process.
In some embodiments, the control module 110 is further configured to control, when the communication module is in the standby sleep sub-state, the data receiving sub-module and the data transmitting sub-module of the communication module to be in the off state, and to make the main frequency of the communication module be in the low-speed state.
In some embodiments, the control module 110 is further configured to control the data receiving sub-module of the communication module to be in an operating state and the data sending sub-module to be in an off state when the communication module is in the standby receiving sub-state, and to make the main frequency of the communication module be in a full-speed state, where the frequency of the low-speed state is less than the frequency of the full-speed state.
In some embodiments, the adjustment module 120 is specifically configured to: setting the running time of the standby dormancy sub-state and the standby receiving sub-state as second preset time in the first preset time after the communication module is electrified; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, the communication module is controlled to enter a temporary working state to try to access the network; if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
In some embodiments, the adjustment module 120 is further to: and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to be fourth preset time.
In some embodiments, the control module 120 is further to: when the communication module is in a receiving state, controlling the front end synchronization sub-module to be in a working state so as to receive synchronous data, wherein the data receiving sub-module of the communication module comprises a front end synchronization sub-module and a rear end demodulation decoding sub-module; when synchronous data is received, the back-end demodulation decoding submodule is controlled to be in a working state so as to process the data, and the back-end demodulation decoding submodule enters a closed state after the data processing is completed; and when the synchronous data is not received, controlling the back-end demodulation decoding submodule to be in a closed state.
In some embodiments, the power consumption management device of the power line carrier communication module further includes an obtaining module (not shown in the figure), where the obtaining module is configured to obtain, when the communication module is in an operating state, a phase line to which each contention slot slice in the beacon frame slot belongs; the control module 120 is further configured to: if the phase line of the current competition time slot fragment is consistent with the phase line of the communication module, controlling the main frequency of the communication module in a full speed state in the competition time slot fragment; and if the phase line to which the current competitive time slot fragment belongs is inconsistent with the phase line to which the communication module belongs, controlling the communication module to be in a standby dormancy sub-state in the competitive time slot fragment.
It should be noted that, for the description of the power consumption management device of the power line carrier communication module in the present application, please refer to the description of the power consumption management method of the power line carrier communication module in the present application, and detailed descriptions thereof are omitted herein.
According to the power consumption management device of the power line carrier communication module, when the communication module is in a standby state, the communication module is controlled to be switched between a standby sleep sub-state and a standby receiving sub-state through the control module, and the operation time of the standby sleep sub-state and the standby receiving sub-state is dynamically adjusted through the adjustment module according to the data receiving condition of the communication module. Therefore, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby sleep sub-state and the standby receiving sub-state and dynamically adjusting the running time of the standby sleep sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, so that the average power consumption of the communication module is further reduced.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (13)

1. A method for managing power consumption of a power line carrier communication module, the method comprising:
when the communication module is in a standby state, controlling the communication module to switch between a standby dormancy sub-state and a standby receiving sub-state, wherein the standby state comprises the standby dormancy sub-state and the standby receiving sub-state; when the communication module is in the standby dormancy sub-state, controlling the data receiving sub-module and the data sending sub-module of the communication module to be in a closed state, and enabling the main frequency of the communication module to be in a low-speed state; when the communication module is in the standby receiving sub-state, controlling the data receiving sub-module of the communication module to be in a working state, controlling the data sending sub-module to be in a closing state, and enabling the main frequency of the communication module to be in a full-speed state, wherein the frequency of the low-speed state is smaller than that of the full-speed state;
in the switching process, dynamically adjusting the standby dormancy sub-state and the running time of the standby receiving sub-state according to the data receiving condition of the communication module; wherein the dynamically adjusting the standby sleep sub-state and the operation time of the standby receive sub-state according to the data receiving condition of the communication module includes: in a first preset time after the communication module is powered on, setting the running time of the standby dormancy sub-state and the standby receiving sub-state as a second preset time; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access a network; and if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
2. The power consumption management method of a power line carrier communication module according to claim 1, wherein the dynamically adjusting the standby sleep sub-state and the operation time of the standby receive sub-state according to the data reception condition of the communication module further comprises:
and if the network is successfully accessed within the third preset time, controlling the communication module to enter a working state.
3. The power consumption management method of a power line carrier communication module according to claim 1, wherein the dynamically adjusting the standby sleep sub-state and the operation time of the standby receive sub-state according to the data reception condition of the communication module further comprises:
and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to the fourth preset time.
4. The power consumption management method of a power line carrier communication module according to claim 1, wherein the dynamically adjusting the standby sleep sub-state and the operation time of the standby receive sub-state according to the data reception condition of the communication module further comprises:
And in the process of receiving the effective data by the communication module, if the current time reaches the operation ending time of the standby receiving sub-state, continuing to receive the effective data until the effective data is received.
5. The power consumption management method of a power line carrier communication module according to claim 1, characterized in that the method further comprises:
when the communication module is in a receiving state, controlling a front end synchronous submodule to be in a working state so as to receive synchronous data, wherein the data receiving submodule of the communication module comprises a front end synchronous submodule and a rear end demodulation decoding submodule;
when the synchronous data is received, the back-end demodulation and decoding submodule is controlled to be in a working state so as to process the data, and the back-end demodulation and decoding submodule enters a closing state after the data processing is completed;
and when the synchronous data is not received, controlling the back-end demodulation and decoding submodule to be in a closed state.
6. The power consumption management method of a power line carrier communication module according to claim 1, characterized in that the method further comprises:
when the communication module is in a working state, acquiring a phase line to which each competition time slot in the beacon frame time slots belongs in a slicing way;
If the phase line of the current competitive time slot fragment is consistent with the phase line of the communication module, controlling the main frequency of the communication module in a full-speed state in the competitive time slot fragment;
and if the phase line to which the current competitive time slot fragment belongs is inconsistent with the phase line to which the communication module belongs, controlling the communication module to be in the standby dormancy sub-state in the competitive time slot fragment.
7. The power consumption management method of a power line carrier communication module according to claim 6, wherein each contention slot slice in the beacon frame slot belongs to a phase line, comprising:
receiving beacon frame information;
and acquiring the phase line to which each competitive time slot fragment belongs according to the beacon frame information.
8. A computer-readable storage medium, characterized in that a power consumption management program of a power line carrier communication module is stored thereon, which power consumption management program, when executed by a processor, implements the power consumption management method of a power line carrier communication module according to any one of claims 1 to 7.
9. A power line carrier communication module, comprising: a memory, a processor and a power consumption management program of a power line carrier communication module stored on the memory and executable on the processor, the processor implementing the power consumption management method of the power line carrier communication module according to any one of claims 1 to 7 when executing the program.
10. A power consumption management apparatus of a power line carrier communication module, the apparatus comprising:
the control module is used for controlling the communication module to switch between a standby sleep sub-state and a standby receiving sub-state when the communication module is in the standby state, wherein the standby state comprises the standby sleep sub-state and the standby receiving sub-state; the control module is further used for controlling the data receiving sub-module and the data sending sub-module of the communication module to be in a closed state when the communication module is in the standby sleep sub-state, and enabling the main frequency of the communication module to be in a low-speed state; the control module is further configured to control the data receiving sub-module of the communication module to be in an operating state and the data transmitting sub-module to be in an off state when the communication module is in the standby receiving sub-state, and to make the main frequency of the communication module be in a full-speed state, where the frequency of the low-speed state is smaller than the frequency of the full-speed state
The adjustment module is used for dynamically adjusting the standby dormancy sub-state and the running time of the standby receiving sub-state according to the data receiving condition of the communication module in the switching process; the adjusting module is specifically configured to: in a first preset time after the communication module is powered on, setting the running time of the standby dormancy sub-state and the standby receiving sub-state as a second preset time; if the communication module does not receive the effective data in the standby receiving sub-state, adjusting the standby dormancy sub-state and/or the running time of the standby receiving sub-state; if the communication module receives effective data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access a network; and if the network is not successfully accessed within the third preset time, the temporary working state is exited, and the running time of the standby dormancy sub-state and the standby receiving sub-state is adjusted to be fourth preset time.
11. The power consumption management apparatus of the power line carrier communication module according to claim 10, wherein the adjustment module is further configured to:
and if the communication module is not successfully accessed to the network within the first preset time, adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state after the first preset time to the fourth preset time.
12. The power consumption management apparatus of the power line carrier communication module according to claim 10, wherein the control module is further configured to:
when the communication module is in a receiving state, controlling a front end synchronous submodule to be in a working state so as to receive synchronous data, wherein the data receiving submodule of the communication module comprises a front end synchronous submodule and a rear end demodulation decoding submodule;
when the synchronous data is received, the back-end demodulation and decoding submodule is controlled to be in a working state so as to process the data, and the back-end demodulation and decoding submodule enters a closing state after the data processing is completed;
and when the synchronous data is not received, controlling the back-end demodulation and decoding submodule to be in a closed state.
13. The power consumption management apparatus of a power line carrier communication module according to claim 10, characterized in that the apparatus further comprises: the acquisition module is used for acquiring the phase line to which each competition time slot fragment in the beacon frame time slot belongs when the communication module is in a working state;
The control module is further configured to: if the phase line of the current competitive time slot fragment is consistent with the phase line of the communication module, controlling the main frequency of the communication module in a full-speed state in the competitive time slot fragment; and if the phase line to which the current competitive time slot fragment belongs is inconsistent with the phase line to which the communication module belongs, controlling the communication module to be in the standby dormancy sub-state in the competitive time slot fragment.
CN202111371862.1A 2021-11-18 2021-11-18 Power line carrier communication module, power consumption management method and device thereof and storage medium Active CN114301502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111371862.1A CN114301502B (en) 2021-11-18 2021-11-18 Power line carrier communication module, power consumption management method and device thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111371862.1A CN114301502B (en) 2021-11-18 2021-11-18 Power line carrier communication module, power consumption management method and device thereof and storage medium

Publications (2)

Publication Number Publication Date
CN114301502A CN114301502A (en) 2022-04-08
CN114301502B true CN114301502B (en) 2023-07-25

Family

ID=80965720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111371862.1A Active CN114301502B (en) 2021-11-18 2021-11-18 Power line carrier communication module, power consumption management method and device thereof and storage medium

Country Status (1)

Country Link
CN (1) CN114301502B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686383B (en) * 2022-12-30 2023-04-18 摩尔线程智能科技(北京)有限责任公司 Control method and controller of memory and chip system
CN117119783B (en) * 2023-10-25 2024-01-30 广东迅扬科技股份有限公司 Control method for standby power consumption of module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090121958A (en) * 2008-05-23 2009-11-26 한국전기연구원 Standby power reduction method of smps with power line communication
JP2010063012A (en) * 2008-09-05 2010-03-18 Sharp Corp Power line communication apparatus
CN101771440A (en) * 2008-12-10 2010-07-07 华为终端有限公司 Power line communication apparatus and control method thereof
CN105227215A (en) * 2015-10-28 2016-01-06 厦门中天微电子科技有限公司 A kind of power carrier communication device and control method thereof
WO2021082577A1 (en) * 2019-10-28 2021-05-06 华为技术有限公司 Sleep control method for wireless access device, apparatus, medium, and system, and wireless access device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638874B (en) * 2012-03-28 2015-08-19 华为技术有限公司 Idle method and mobile router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090121958A (en) * 2008-05-23 2009-11-26 한국전기연구원 Standby power reduction method of smps with power line communication
JP2010063012A (en) * 2008-09-05 2010-03-18 Sharp Corp Power line communication apparatus
CN101771440A (en) * 2008-12-10 2010-07-07 华为终端有限公司 Power line communication apparatus and control method thereof
CN105227215A (en) * 2015-10-28 2016-01-06 厦门中天微电子科技有限公司 A kind of power carrier communication device and control method thereof
WO2021082577A1 (en) * 2019-10-28 2021-05-06 华为技术有限公司 Sleep control method for wireless access device, apparatus, medium, and system, and wireless access device

Also Published As

Publication number Publication date
CN114301502A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN114301502B (en) Power line carrier communication module, power consumption management method and device thereof and storage medium
KR102582378B1 (en) Resource configuration method, resource acquisition method, network devices and terminals
US5152006A (en) Receiver controller method and apparatus
CN112291834B (en) Communication method and device
EP3836636A1 (en) Reception configuration method and apparatus, reception control method and apparatus, terminal, base station, and storage medium
CN111083770A (en) Power saving method and device for terminal, and information sending method and device
WO2021098052A1 (en) Methods for control channel monitoring
CN110876185A (en) Indication signaling transmission and receiving method, device, network side equipment and terminal
KR20070034880A (en) Method and device for saving power by adjusting listening interval in wireless communication device having multiple power saving modes
EP4149160A1 (en) Partial sensing method and apparatus, terminal device, and storage medium
US11653305B2 (en) Method for determining sleep state, terminal, and readable medium
CN111294897B (en) Monitoring method and device of PDCCH (physical Downlink control channel)
CN113453322B (en) Physical downlink control channel monitoring method, user terminal and readable storage medium
WO2014021888A1 (en) Listen interval (li) selection for wlan client
KR20180134343A (en) Improved Dynamic Clock and Voltage Scaling (DCVS)
CN111512660A (en) Method for activating and deactivating downlink bandwidth part, terminal equipment and network equipment
CN101023592B (en) Apparatus using interrupt signals for controlling a processor for radio installation and associated method
CN114124293A (en) Monitoring method, device and equipment of physical downlink control channel
CN110830206A (en) PDCCH (physical Downlink control channel) determination and synchronization signal detection and transmission methods and devices, storage medium, terminal and base station
CN110831121B (en) Wake-up signal collision solving method and device, storage medium, terminal and base station
EP2261766A2 (en) Clock circuit for a digital circuit
CN111443792B (en) Power consumption control method and device of processor and electronic and storage device
EP4009709A1 (en) Energy-saving downlink control channel transmission method, terminal and network-side device
CN109547506B (en) Information interaction method, Internet of things equipment and computer readable storage medium
CN113395753A (en) Method and system for synchronizing wireless terminal and base station and wireless terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant