[go: up one dir, main page]

CN114301502A - 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
CN114301502A
CN114301502A CN202111371862.1A CN202111371862A CN114301502A CN 114301502 A CN114301502 A CN 114301502A CN 202111371862 A CN202111371862 A CN 202111371862A CN 114301502 A CN114301502 A CN 114301502A
Authority
CN
China
Prior art keywords
state
communication module
sub
standby
module
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.)
Granted
Application number
CN202111371862.1A
Other languages
Chinese (zh)
Other versions
CN114301502B (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 Group Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Group 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 Group Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Information and Telecommunication Group 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

Images

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

本发明公开了一种电力线载波通信模块及其功耗管理方法、装置及存储介质,其中方法包括:在通信模块处于待机状态时,控制通信模块在待机休眠子状态和待机接收子状态之间切换,其中,待机状态包括待机休眠子状态和待机接收子状态;在切换过程中,根据通信模块的数据接收情况动态调整待机休眠子状态和待机接收子状态的运行时间。由此,通过周期性切换待机休眠子状态和待机接收子状态,以及根据通信模块的数据接收情况动态调整待机休眠子状态和待机接收子状态的运行时间,实现了对电力线载波通信模块功耗的精细化管理,进一步降低了通信模块的平均功耗。

Figure 202111371862

The invention discloses a power line carrier communication module and a power consumption management method, device and storage medium thereof, wherein the method includes: when the communication module is in a standby state, controlling the communication module to switch between the standby sleep sub-state and the standby receiving sub-state , wherein, the standby state includes a standby dormancy sub-state and a standby receiving sub-state; during 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, by periodically switching the standby sleep sub-state and the standby receiving sub-state, and dynamically adjusting the running time of the standby dormancy sub-state and the standby receiving sub-state according to the data reception situation of the communication module, the power consumption of the power line carrier communication module is reduced. The refined management further reduces the average power consumption of the communication module.

Figure 202111371862

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, a power consumption management method and apparatus thereof, and a storage medium.
Background
The high-speed power line carrier communication is a commonly used communication technology for low-voltage power line data transmission, and the control and management of the power consumption of the existing 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 a sub-module related to data transmitting is closed during data receiving.
With the gradual deepening of the low-carbon energy-saving environment-friendly concept, the power consumption requirement of a power grid on a 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 meet by the traditional half-duplex scheme.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first objective of the present invention is to provide a power consumption management method for a power line carrier communication module, which achieves fine management of power consumption of the power line carrier communication module and further reduces average power consumption of the communication module by periodically switching between a standby dormant sub-state and a standby receiving sub-state and dynamically adjusting operating time of the standby dormant sub-state and the standby receiving sub-state according to data receiving conditions of the communication module.
A second object of the 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 for 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 for a power line carrier communication module, where the method includes: when the communication module is in a standby state, controlling the communication module 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; and in the switching process, the operation 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.
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 dormant sub-state and the standby receiving sub-state, and the operation 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. Therefore, by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
According to one embodiment of the invention, when the communication module is in the standby dormant sub-state, the data receiving sub-module and the data sending sub-module of the communication module are controlled to be in the off-state, and the main frequency of the communication module is 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 the working state, the data sending sub-module is controlled to be in the closing state, and the main frequency of the communication module is in the full-speed state, wherein the frequency of the low-speed state is less than that of the full-speed state.
According to one embodiment of the invention, the dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module comprises the following steps: setting the running time of the standby dormancy substate and the standby receiving substate as second preset time within first preset time after the communication module is powered on; if the communication module does not receive valid data in the standby receiving sub-state, adjusting the operation time of the standby dormant sub-state and/or the standby receiving sub-state; if the communication module receives valid data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access the network; and if the network is not successfully accessed within the third preset time, exiting the temporary working state, and adjusting the running time of the standby sleeping sub-state and the standby receiving sub-state to fourth preset time.
According to an embodiment of the present invention, the dynamically adjusting the operation time of the standby sleep sub-state and the standby reception sub-state according to the data reception condition of the communication module 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 an embodiment of the present invention, the dynamically adjusting the operation time of the standby sleep sub-state and the standby reception sub-state according to the data reception condition of the communication module 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 substate and the standby receiving substate after the first preset time to be fourth preset time.
According to an embodiment of the present invention, the dynamically adjusting the operation time of the standby sleep sub-state and the standby reception sub-state according to the data reception condition of the communication module 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, continuously receiving 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, the front-end synchronization submodule is controlled to be in a working state so as to receive the synchronization data, wherein the data receiving submodule of the communication module comprises a front-end synchronization submodule and a rear-end demodulation decoding submodule; when receiving synchronous data, controlling the rear-end demodulation decoding submodule to be in a working state so as to process the data, and entering a closing state after the data processing is finished; and when the synchronous data is not received, controlling the rear-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 segment belongs in a beacon frame time slot; 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 to be in a full-speed state in the competition time slot fragment; and if the phase line of the current competition time slot segment is inconsistent with the phase line of the communication module, controlling the communication module to be in a standby dormant sub-state in the competition time slot segment.
According to an embodiment of the present invention, each contention slot segment in a beacon frame slot belongs to a phase line, including: receiving beacon frame information; and acquiring the phase line to which each competition time slot fragment belongs according to the beacon frame information.
To achieve the above object, an embodiment of a second aspect of the present invention provides a computer-readable storage medium having a power consumption management program of a power line carrier communication module stored thereon, which when executed by a processor implements a power consumption management method of the power line carrier communication module as in the above embodiment of the first aspect.
According to the computer-readable storage medium of the embodiment of the invention, by the power consumption management method of the power line carrier communication module, through periodically switching the standby dormant sub-state and the standby receiving sub-state, and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
In order to achieve the above object, a third embodiment of the present invention provides a power line carrier communication module, including: the power management method includes a memory, a processor, and a power management program of the power line carrier communication module stored in the memory and operable on the processor, and when the processor executes the power management program, the power management method of the power line carrier communication module as in the first embodiment described above is implemented.
According to the power line carrier communication module provided by the embodiment of the invention, by the power consumption management method of the power line carrier communication module, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation 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.
In order to achieve the above object, a fourth aspect of the present invention provides a power consumption management device for a power line carrier communication module, the device including: the control module is used for controlling the communication module to switch between a standby dormant sub-state and a standby receiving sub-state when the communication module is in the standby state, wherein the standby state comprises the standby dormant sub-state and the standby receiving sub-state; and the adjusting module is used for dynamically adjusting the operation time of the standby dormant 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 the standby state, the control module controls the communication module to switch between the standby dormant sub-state and the standby receiving sub-state, and the adjusting module dynamically adjusts the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module. Therefore, by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
According to an embodiment of the present invention, the control module is further configured to control both the data receiving sub-module and the data sending sub-module of the communication module to be in an off state when the communication module is in the standby dormant sub-state, and enable the main frequency of the communication module to be in a low-speed state.
According to an 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 active state, control the data sending sub-module to be in an off state, and enable the main frequency of the communication module to be in a full-speed state when the communication module is in the standby receiving sub-state, where a frequency of the low-speed state is less than a frequency of the full-speed state.
According to an embodiment of the present invention, the adjusting module is specifically configured to: setting the running time of the standby dormancy substate and the standby receiving substate as second preset time within first preset time after the communication module is powered on; if the communication module does not receive valid data in the standby receiving sub-state, adjusting the operation time of the standby dormant sub-state and/or the standby receiving sub-state; if the communication module receives valid data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access the network; and if the network is not successfully accessed within the third preset time, exiting the temporary working state, and adjusting the running time of the standby sleeping sub-state and the standby receiving sub-state to fourth preset time.
According to an 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 substate and the standby receiving substate 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, the front-end synchronization submodule is controlled to be in a working state so as to receive the synchronization data, wherein the data receiving submodule of the communication module comprises a front-end synchronization submodule and a rear-end demodulation decoding submodule; when receiving synchronous data, controlling the rear-end demodulation decoding submodule to be in a working state so as to process the data, and entering a closing state after the data processing is finished; and when the synchronous data is not received, controlling the rear-end demodulation decoding submodule to be in a closed state.
According to an embodiment of the invention, the apparatus further comprises: the acquisition module is used for acquiring the phase line to which each competition time slot segment belongs in the beacon frame time slot when the communication module is in a working state; the control module 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 to be in a full-speed state in the competition time slot fragment; and if the phase line of the current competition time slot segment is inconsistent with the phase line of the communication module, controlling the communication module to be in a standby dormant sub-state in the competition time slot segment.
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-module according to an embodiment of the present invention;
fig. 5 is a flowchart of a power consumption management method in a receiving state of a power line carrier communication module 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 the 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
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A power line carrier communication module, a power consumption management method thereof, a power consumption management apparatus thereof, and a storage medium according to an embodiment of the present invention will be 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 a standby state, controlling the communication module to switch between a standby sleep sub-state and a standby receiving sub-state, wherein the standby state comprises the standby sleep sub-state and the standby receiving sub-state.
Specifically, when the power line carrier communication module is in the standby state, it is not necessary to turn on a transmitting or receiving sub-module in the communication module all the time, in order to reduce power consumption of the communication module in the standby state as much as possible, the standby state may 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 be periodically switched between the standby dormant sub-state and the standby receiving sub-state.
In some embodiments, when the communication module is in the standby dormant sub-state, the data receiving sub-module and the data sending sub-module of the communication module are both controlled to be in the off-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 dormant sub-state, the data receiving sub-module and the data sending sub-module in the communication module are turned off, that is, external data is not received by the data receiving sub-module, and data is not sent to the outside by the data sending sub-module, so that the overall power consumption of the communication module in the standby dormant sub-state is reduced, meanwhile, the main frequency of the communication module is adjusted to a low-speed running state, the power consumption in the standby dormant sub-state is further reduced, and the communication module enters the standby receiving sub-state after the running time of the communication module in the standby dormant sub-state reaches the specified time, so that the communication module is switched from the standby dormant sub-state to the standby receiving sub-state.
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 the working state, the data sending sub-module is controlled to be in the closing state, and the main frequency of the communication module is in the full-speed state, wherein the frequency of the low-speed state is less than that of the full-speed state.
Specifically, after the communication module is switched from the standby dormant sub-state to the standby receiving sub-state, the data receiving sub-module is turned on to receive data sent to the communication module from the outside, the data sending sub-module still keeps a turned-off state, 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.
It should be noted that, only when the operation time of the communication module in the standby receiving sub-state reaches the specified time and no valid data entering the working state is received, the communication module is switched to the standby dormant sub-state again 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 the standby receiving sub-state and enter the working state.
Step S102, in the switching process, the operation 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.
Specifically, the communication module dynamically allocates the operation time of the standby dormant sub-state and 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 reduced, so as to accelerate the network access speed of the communication module on the premise of meeting the requirement of low power consumption.
In some embodiments, dynamically adjusting the operation time of the standby sleep sub-state and the standby reception sub-state according to the data reception condition of the communication module includes: setting the running time of the standby dormancy substate and the standby receiving substate as second preset time within first preset time after the communication module is powered on; if the communication module does not receive valid data in the standby receiving sub-state, adjusting the operation time of the standby dormant sub-state and/or the standby receiving sub-state; if the communication module receives valid data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access the network; and if the network is not successfully accessed within the third preset time, exiting the temporary working state, and adjusting the running time of the standby sleeping sub-state and the standby receiving sub-state to 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 milliseconds), and the second preset time is used as an initial operation time of the standby sleep sub-state and the standby reception 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 does not receive valid data 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 sleeping sub-state to reduce average power consumption of the communication module in the standby state, and at the same time, the operating time of the standby sleeping sub-state and/or the standby receiving sub-state is adjusted as needed, for example, only the operating time of the standby sleeping sub-state is changed to M2 ms, and the operating time of the standby receiving sub-state is kept unchanged, that is, the operating time of the standby receiving sub-state is M1 ms, where M2 is less than M1; it is also possible to change the operation time of the standby reception substate to M3 ms only and keep the operation time of the standby sleep substate unchanged, i.e. the operation time of the standby sleep substate is M1 ms, where M3 is greater than M1; or the running time of the standby receiving substate is changed to M3 milliseconds, and the running time of the standby sleeping substate is changed to M2 milliseconds, wherein M2 is smaller than M3. The above adjustment modes can ensure that the operation time of the communication module in the standby receiving sub-state is more than that in the standby dormant sub-state, and the relative extension of the operation 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 valid data within the second preset time M1 ms, the communication module is controlled to enter a temporary working state, and at the same time, a timer T3 in the communication module is started, a third preset time (P seconds) is set inside the timer T3, the communication module attempts to access the network in the temporary working state, if the network is not successfully accessed within the third preset time P seconds, the communication module exits the temporary working state, and at the same time, the second preset times (M1 ms) of the timers T1 and T2 are adjusted to be fourth preset times (M4 ms), and the fourth preset times are used as the running times of the standby sleeping 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 operation time of the standby receiving sub-state improves the capability of receiving valid data, thereby further accelerating the quick response capability of the communication module.
In some embodiments, the dynamically adjusting the operation time of the standby sleep sub-state and 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 operating state and successfully accesses the network within the third preset time P seconds, the communication module is controlled to enter the operating state, i.e., the power consumption management mode of the communication module in the standby state is exited, the timers T0, T1, T2 and T3 are stopped, and the communication module enters the normal operating state.
In some embodiments, the dynamically adjusting the operation time of the standby sleep sub-state and 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 substate and the standby receiving substate 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 that the communication module fails to receive valid data within N seconds or fails to access the network after receiving valid data, the operation time of the standby sleep sub-state and the standby reception sub-state after the first preset time is adjusted to a fourth preset time (M4 milliseconds), and the N-second timer T0 is restarted, and the fourth preset time is used as the initial operation time of the standby sleep sub-state and the standby reception sub-state in the next period, so that the fast response capability of the communication module is increased, and the network access speed of the communication module is increased.
In some embodiments, the dynamically adjusting the operation time of the standby sleep sub-state and 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, continuously receiving the effective data until the effective data is received.
Specifically, when the communication module reaches the operation end time of the standby reception sub-state in the process of receiving valid data, it is not necessary to switch to the standby sleep sub-state, and the communication module continues to be in the standby reception sub-state to receive valid data until the reception of valid data is completed. That is, when the communication module is receiving valid data and the operation end time of the standby reception sub-state is reached right now, since the complete valid data is not obtained within the current second preset time, in order to obtain the complete valid data, it is not necessary to switch to the standby sleep sub-state at this time, and the standby reception sub-state is continuously maintained to receive the valid data, optionally, the time of entering the standby sleep sub-state may be postponed to the next designated time, for example, postponed to the next second preset time, that is, the switching of the standby sleep sub-state is performed after the second preset time.
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 following steps:
in step S201, the communication module is powered on and starts an N-second timer T0 and M1-millisecond timers T1 and T2.
Specifically, the communication module starts a timer T0 for N seconds after being powered on, and starts timers T1 and T2 for M1 milliseconds when entering the 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 in the standby state, and in the standby state, the data receiving sub-module is opened to receive data sent to the communication module from the outside, 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 regarded as the standby sleep sub-state operating time and the standby reception sub-state operating time, respectively.
In step S204, it is determined whether the timer T0 has reached N seconds. If so, step S205 is executed, otherwise, step S207 is executed.
Step S205, determine whether the communication module accesses the network. If so, step S216 is performed, otherwise, step S206 is performed.
In step S206, the timers T1 and T2 are timed to M4 ms, and the N seconds 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 M1 ms to M4 ms, and the N-second timer T0 is restarted, and M4 ms is used as the initial operation time of the standby sleep sub-state and the standby reception sub-state in the next period.
Step S207, determining whether valid data is received. If so, go to step S212, otherwise, go to step S208.
In step S208, it is determined whether the standby receiving sub-state operating time is reached. If so, step S209 is executed, otherwise, the process returns to step S202.
In step S209, the standby sleep sub-state operating time and the standby reception sub-state operating time corresponding to the timers T1 and T2 are adjusted. That is, when the communication module is in the standby receiving sub-state and no valid data is received within M1 milliseconds, the timers T1 and T2 are adjusted as needed to change the operating time of the standby sleep sub-state and/or the standby receiving sub-state. For example, the running time of the whole timer T1 is changed to M2 milliseconds, and the running time of the timer T2 is not changed, wherein M2 is smaller than M1; it is also possible to change the running time of the timer T2 to M3 milliseconds only, with the running time of the timer T1 unchanged; or the running time of the timer T2 is changed to M3 milliseconds, and the running time of the timer T1 is changed to M2 milliseconds, wherein M2 is smaller than M3.
Step S210, the communication module enters a standby sleep sub-state.
Specifically, the data receiving submodule and the data sending submodule in the communication module are closed, external data is not received, data are not sent to the outside, the overall power consumption of the communication module in the standby dormant sub-state is reduced, meanwhile, the main frequency of the communication module is adjusted to the low-speed running state, and the power consumption in the standby dormant sub-state is further reduced.
In step S211, it is determined whether the standby reception substate operating time is reached. If yes, go to step S202, otherwise, go back to step S210.
Step S212 is performed to determine whether the operation time of the standby reception sub-state is reached when the valid data is received. If so, step S213 is performed, otherwise, step S214 is performed.
In step S213, the reception of the valid data is continued until the reception of the valid data is completed. That is, when the communication module is receiving valid data and the operation end time of the standby reception sub-state is reached just now, since the complete valid data is not obtained within the current second preset time, in order to obtain the complete valid data, it is not necessary to switch to the standby sleep sub-state at this time, and the standby reception sub-state is continuously maintained to receive the valid data.
Step S214, enter the temporary working state and attempt to access the network, and start a timer T3 of P seconds.
Specifically, when the communication module receives valid data, the communication module is controlled to enter a temporary working state, and simultaneously a timer T3 in the communication module is started, wherein the timer T3 is timed to be P seconds, and the communication module attempts to access the network in the temporary working state within the P seconds.
Step S215, judging whether the network is successfully accessed within P seconds. If so, step S216 is performed, otherwise, step S217 is performed.
And step S216, entering a normal working state.
Specifically, when the communication module enters the operating state, the power consumption management mode of the communication module in the standby state is exited, and the timers T0, T1, T2 and T3 are stopped to operate normally.
In step S217, the temporary operating state is exited, and the timings of the timers T1 and T2 are changed to M4 msec.
Specifically, if the network is not successfully accessed within P seconds, the temporary operating state is exited, while the timing times of the timers T1 and T2 are adjusted from M1 msec to M4 msec, and M4 msec is used as the operating times of the standby sleep sub-state and the standby reception sub-state.
Therefore, when the communication module is in the standby state, the communication module is controlled to be periodically switched between the standby dormant sub-state and the standby receiving sub-state, and the operation 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 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:
step S301, when the communication module is in a receiving state, the front-end synchronization sub-module is controlled to be in a working state to receive the synchronization 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.
It should be noted that the data receiving sub-module of the power line carrier communication module generally consists 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 deinterleaving module, a Turbo decoding module and a descrambling module.
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 present 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 work flow, where the front-end synchronization sub-module includes an analog front-end, an automatic gain control and clock/frame synchronization module, and the back-end demodulation decoding sub-module includes a fast fourier transform, a demodulation, a diversity combining, a channel deinterleaving, a Turbo decoding, and a descrambling module.
When the power line carrier communication module is in a receiving state, the front-end synchronization submodule is controlled to be in a working state and is responsible for searching power line carrier signal synchronization data and preprocessing the searched synchronization data to provide input data for the rear-end demodulation decoding submodule, and the rear-end demodulation decoding submodule is responsible for demodulating and decoding the input data of the front-end synchronization submodule into final communication data.
Step S302, when receiving the synchronous data, controlling the back-end demodulation decoding sub-module to be in a working state to process the data, and entering a closed state after the data processing is finished.
That is to say, after the front-end synchronization submodule receives the synchronization data, the rear-end demodulation decoding submodule is controlled to work and perform data processing, wherein the data processed by the rear-end demodulation decoding submodule is the synchronization data preprocessed by the front-end synchronization submodule, and after the data processing of the rear-end demodulation decoding submodule is finished, the rear-end demodulation decoding submodule is closed to reduce the average power consumption of the receiving state of the communication module.
Step S303, when the synchronization data is not received, the back-end demodulation decoding sub-module is controlled to be in a closed state.
Specifically, when the power line carrier communication module is in a receiving state and does not receive synchronous data, the rear-end demodulation decoding sub-module is controlled to be in a closed state to reduce unnecessary power consumption.
Further, as a specific example, referring to fig. 5, the power consumption management method in the receiving state of the power line carrier communication module may include the steps of:
step S401, the front-end synchronization sub-module is in a working state, and the rear-end demodulation decoding sub-module is in a closed state.
Specifically, in the initial state, when the communication module is in the receiving state, the front-end synchronization sub-module is controlled to be in the working state, and the rear-end demodulation decoding sub-module is controlled to be in the closing state, so as to reduce the power consumption of the communication module.
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 synchronization data of the power line carrier signal.
In step S403, it is determined whether or not synchronization data is searched. If so, step S404 is executed, otherwise, step S405 is executed.
And step S404, controlling the rear-end demodulation decoding sub-module to be in a closed state. Namely, when the power line carrier communication module does not receive the synchronous data, the rear-end demodulation decoding submodule is controlled to be in a closed state so as to reduce unnecessary power consumption.
Step S405, after data required by the rear-end demodulation and decoding submodule is prepared, the rear-end demodulation and decoding submodule is opened.
Specifically, after the front-end synchronization submodule receives the synchronization data, the searched synchronization data is preprocessed, and the rear-end demodulation decoding submodule is opened to process the data, wherein the data processed by the rear-end demodulation decoding submodule is the preprocessed synchronization data of the front-end synchronization submodule.
And step S406, after the rear-end modulation and decoding submodule completes the demodulation and decoding work, the rear-end modulation and decoding submodule is closed. Namely, after the data processing of the rear-end demodulation decoding submodule is finished, the rear-end demodulation decoding submodule is closed so as to reduce the average power consumption of the receiving state of the communication module.
Therefore, by dividing the front-end synchronization submodule and the rear-end demodulation and decoding submodule, when the front-end synchronization submodule does not search the synchronization 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, after the preprocessed synchronous data is prepared, the rear-end demodulation decoding submodule is opened to process the data, and after the data processing of the rear-end demodulation decoding submodule is completed, the rear-end demodulation decoding submodule is closed, so that the rear-end demodulation decoding submodule with high power consumption is in a working state as required, 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:
step S501, when the communication module is in a working state, the phase line to which each contention time slot segment belongs in the beacon frame time slot is obtained.
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 may periodically send a beacon frame to arrange the communication module in the network to send a data frame.
Further, the power line Carrier communication protocol employs a channel Access mechanism based on a beacon frame, wherein the communication channel is divided into a beacon slot, a TDMA (Time Division Multiple Access) slot, a CSMA (Carrier Sense Multiple Access) slot, and a bonded CSMA slot in units of a beacon period. In general, beacon slots and TDMA slots are time slots that are explicitly allocated for specific use by CCO modules or communication modules and are therefore referred to as non-contention slots; while the CSMA slot and the binding CSMA slot need to be used by competition by a communication module having a communication demand, and are thus called contention slots.
When the communication module is in a working state, the communication module is distributed on different power line phase lines, the CSMA time slot and the binding CSMA time slot 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 slot belongs is obtained, namely the phase line on which each time slot fragment in the CSMA time slot and the binding CSMA time slot is located is obtained, when the communication module communicates with the CCO module, the factor of the power line phase line needs to be considered, and therefore the corresponding competition time slot fragment is selected to communicate with the CCO according to the phase line on which the communication module is located.
In some embodiments, each contention slot in the beacon frame slot segment belongs to a phase line, including: receiving beacon frame information; and acquiring the phase line to which each competition time slot fragment belongs according to the beacon frame information.
Specifically, the power line carrier communication module obtains the start time point of the current beacon period and the length information of the beacon slot and the TDMA slot from the received beacon frame information, allocates the length information of the CSMA slot and the binding CSMA slot for each phase line, and determines the length information of the CSMA slot fragment, and after determining the start time point of the CSMA slot and the binding CSMA slot, phase division may be performed on the CSMA slot and the binding CSMA slot in units of CSMA slot fragments, so as to obtain the phase line to which each contention slot fragment belongs, as shown in fig. 7, after determining the length information of the CSMA slot fragments of the a phase, the B phase, and the C phase, the CSMA slot and the binding CSMA slot are divided by the a phase, the B phase, and the C phase, respectively, so as to obtain the phase line to which each contention slot fragment belongs.
Step S502, if the phase line to which the current contention time slot segment belongs is consistent with the phase line to 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 time slot segment.
Specifically, after dividing corresponding competitive slot fragments according to different phases in a CSMA time slot or a binding CSMA time slot, checking whether the phase of the current slot fragment is consistent with the phase of a communication module at the starting time of each slot fragment, if so, controlling the main frequency of the communication module to be in a full-speed state in the competitive slot fragment, for example, when the communication module is in an A-phase line, judging whether the slot fragment in the CSMA time slot or the binding CSMA time slot is the A-phase line, and if so, keeping the full-speed working state of the main frequency in the CSMA time slot or the A-phase line slot fragment corresponding to the binding CSMA time slot.
Step S503, if the phase line to which the current contention slot segment belongs is not consistent with the phase line to which the communication module is located, controlling the communication module in the contention slot segment to be in the standby dormant sub-state.
Specifically, if the phase of the current timeslot segment is determined to be inconsistent with the phase of the communication module itself, the communication module is controlled to be in the standby dormant state in the contention timeslot segment to reduce power consumption, for example, when the communication module is in the phase a line, it is determined whether the timeslot segment in the CSMA timeslot or the binding CSMA timeslot is the phase a line, and if not, the communication module is controlled to be in the standby dormant sub-state in the timeslot segment of the phase a line corresponding to the CSMA timeslot or the binding CSMA timeslot.
Further, as a specific example, taking the case that the communication module of the phase a line receives the beacon frame of the CCO module, and the obtained beacon frame time slot is arranged as follows: setting the starting time of a beacon period as T0, assuming that the duration of the beacon period is 2 seconds, the number of central beacon time slots is 3, the number of non-central beacon time slots is 2, the time length occupied by the beacon time slots is 80 milliseconds, no TDMA time slot arrangement is adopted, no CSMA time slot is bound, the number of CSMA time slot phase lines is 3, the length of CSMA time slot fragments is 100 milliseconds, the length of CSMA time slot allocated to a phase line is 600 milliseconds, the length of CSMA time slot allocated to a phase line is 500 milliseconds, and the length of CSMA time slot allocated to a phase line is 500 milliseconds.
A complete beacon period and a time point corresponding to each time slot can be obtained according to the beacon frame time slot arrangement, which is specifically as follows:
time T0: the beacon period begins, and the beacon time slot of the phase line A is T0-T0 +80 milliseconds;
time T1: the beacon time slot of the phase line B is T1-T1 +80 milliseconds, wherein T1 is T0+80 milliseconds;
time T2: the beacon time slot of the phase line C is T2-T2 +80 milliseconds, wherein T2 is T1+80 milliseconds;
time T3: the non-central beacon time slot is T3-T3 +80 milliseconds, wherein T3 is T2+80 milliseconds;
time T4: the non-central beacon time slot is T4-T4 +80 milliseconds, wherein T4 is T3+80 milliseconds;
time T5: CSMA time slot T5-T5 +100 ms of A phase line, wherein T5 is T4+80 ms;
time T6: CSMA time slots T6-T6 +100 ms of the phase line B, wherein T6 is T5+100 ms;
time T7: CSMA time slots T7-T7 +100 ms of the C phase line, wherein T7 is T6+100 ms;
time T8: CSMA time slot T8-T8 +100 ms of A phase line, wherein T8 is T7+100 ms;
and repeating the steps downwards according to the arrangement of the beacon frame time slots until the whole beacon period is divided.
After the communication module of the phase line a receives and analyzes the beacon frame at the time T0, a Timer1 triggered at the time T5 is started, after the time T1 reaches the time T5, the communication module is set to a normal operating state, that is, the main frequency of the communication module is controlled to be in a full-speed state, the triggering time of the Timer1 is set to the ending time (T6) of the current phase line CSAM timeslot, after the time T1 reaches the time T6, the communication module is set to a standby sleep state, the triggering time of the Timer1 is set to the starting time (T8) of the next phase line CSAM timeslot, and the process is repeated until there is no next phase line CSMA timeslot, at this time, the triggering time of the Timer1 is set to the ending time of the current beacon period, so that the communication module in the phase line a maintains the operating state in the corresponding phase line a timeslot segment, and is in a full-speed sleep state in the timeslot segments of other phase lines, thereby reducing the average power consumption of the communication module in a normal operating state.
It should be noted that, when the communication module of the phase-B line or the phase-C line receives the beacon frame of the CCO module, the similar method may be adopted, and the periodic operation or the sleep of the communication module of the phase-B line or the phase-C line is realized by changing the trigger timing of the Timer 1.
Therefore, the time slot fragmentation is divided according to the phase lines, and the full-speed working state is only required to be kept in the time slot fragmentation time corresponding to the phase line where the communication module is located, and the communication module is in the standby dormant state in the time slot fragmentation 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 in the embodiment of the 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 receiving sub-state, and the operation 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, by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
Embodiments of the present invention also provide a computer-readable storage medium on which a power consumption management program of a power line carrier communication module is stored, the power consumption management program of the power line carrier communication module implementing the power consumption management method of the power line carrier communication module as described above when executed by a processor.
According to the computer-readable storage medium of the embodiment of the invention, by the power consumption management method of the power line carrier communication module, through periodically switching the standby dormant sub-state and the standby receiving sub-state, and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
An embodiment of the present invention further provides a power line carrier communication module, including: 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, by the power consumption management method of the power line carrier communication module, the power consumption of the power line carrier communication module is finely managed by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation 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.
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 device 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 receiving sub-state when the communication module is in the standby state, where the standby state includes the standby sleep sub-state and the standby receiving sub-state; the adjusting module 120 is configured to dynamically adjust the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module during the handover process.
In some embodiments, the control module 110 is further configured to control both the data receiving sub-module and the data sending sub-module of the communication module to be in an off state when the communication module is in the standby sleep sub-state, and enable the main frequency of the communication module to be in a 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 active state and control the data sending sub-module to be in an off state when the communication module is in the standby receiving sub-state, and to enable the main frequency of the communication module to be in a full-speed state, wherein the frequency of the low-speed state is less than that of the full-speed state.
In some embodiments, the adjusting module 120 is specifically configured to: setting the running time of the standby dormancy substate and the standby receiving substate as second preset time within first preset time after the communication module is powered on; if the communication module does not receive valid data in the standby receiving sub-state, adjusting the operation time of the standby dormant sub-state and/or the standby receiving sub-state; if the communication module receives valid data in the standby receiving sub-state, controlling the communication module to enter a temporary working state to try to access the network; and if the network is not successfully accessed within the third preset time, exiting the temporary working state, and adjusting the running time of the standby sleeping sub-state and the standby receiving sub-state to fourth preset time.
In some embodiments, the adjustment module 120 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 substate and the standby receiving substate after the first preset time to be fourth preset time.
In some embodiments, the control module 120 is further configured to: when the communication module is in a receiving state, the front-end synchronization submodule is controlled to be in a working state so as to receive the synchronization data, wherein the data receiving submodule of the communication module comprises a front-end synchronization submodule and a rear-end demodulation decoding submodule; when receiving synchronous data, controlling the rear-end demodulation decoding submodule to be in a working state so as to process the data, and entering a closing state after the data processing is finished; and when the synchronous data is not received, controlling the rear-end demodulation decoding submodule to be in a closed state.
In some embodiments, the power consumption management apparatus 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 segment in a 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 to be in a full-speed state in the competition time slot fragment; and if the phase line of the current competition time slot segment is inconsistent with the phase line of the communication module, controlling the communication module to be in a standby dormant sub-state in the competition time slot segment.
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, which is not repeated herein.
According to the power consumption management device of the power line carrier communication module, when the communication module is in the standby state, the control module controls the communication module to switch between the standby dormant sub-state and the standby receiving sub-state, and the adjusting module dynamically adjusts the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module. Therefore, by periodically switching the standby dormant sub-state and the standby receiving sub-state and dynamically adjusting the operation time of the standby dormant sub-state and the standby receiving sub-state according to the data receiving condition of the communication module, 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.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can 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). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can 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 should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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 "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (19)

1.一种电力线载波通信模块的功耗管理方法,其特征在于,所述方法包括:1. A power consumption management method for a power line carrier communication module, wherein the method comprises: 在所述通信模块处于待机状态时,控制所述通信模块在待机休眠子状态和待机接收子状态之间切换,其中,所述待机状态包括所述待机休眠子状态和所述待机接收子状态;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 includes the standby dormancy sub-state and the standby receiving sub-state; 在切换过程中,根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间。During 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 reception situation of the communication module. 2.根据权利要求1所述的电力线载波通信模块的功耗管理方法,其特征在于,在所述通信模块处于所述待机休眠子状态时,控制所述通信模块的数据接收子模块和数据发送子模块均处于关闭状态,并使所述通信模块的主频处于低速状态。2 . The power consumption management method of a power line carrier communication module according to claim 1 , wherein when the communication module is in the standby dormancy sub-state, the data receiving sub-module and the data transmission sub-module of the communication module are controlled. 3 . All sub-modules are in a closed state, and the main frequency of the communication module is in a low-speed state. 3.根据权利要求2所述的电力线载波通信模块的功耗管理方法,其特征在于,在所述通信模块处于所述待机接收子状态时,控制所述通信模块的数据接收子模块处于工作状态,并控制所述数据发送子模块处于关闭状态,以及使所述通信模块的主频处于全速状态,其中,所述低速状态的频率小于所述全速状态的频率。3 . The power consumption management method of a power line carrier communication module according to claim 2 , wherein 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 a working state. 4 . , and control the data transmission sub-module to be in a closed state, and make the main frequency of the communication module in a full-speed state, wherein the frequency of the low-speed state is lower than the frequency of the full-speed state. 4.根据权利要求1-3中任一项所述的电力线载波通信模块的功耗管理方法,其特征在于,所述根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间,包括:4 . The power consumption management method for a power line carrier communication module according to any one of claims 1 to 3, wherein the standby sleep sub-state and all the parameters are dynamically adjusted according to the data reception situation of the communication module. The running time of the standby receiving sub-state, including: 在所述通信模块上电后的第一预设时间内,先将所述待机休眠子状态和所述待机接收子状态的运行时间设为第二预设时间;In the first preset time after the communication module is powered on, first set 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 valid data in the standby receiving sub-state, adjusting the running time of the standby dormancy sub-state and/or the standby receiving sub-state; 若所述通信模块在所述待机接收子状态下接收到有效数据,则控制所述通信模块进入临时工作状态以尝试接入网络;If the communication module receives valid data in the standby receiving sub-state, controlling the communication module 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 a fourth preset time. 5.根据权利要求4所述的电力线载波通信模块的功耗管理方法,其特征在于,所述根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间,还包括:5 . The power consumption management method of a power line carrier communication module according to claim 4 , wherein the dynamic adjustment of the standby sleep sub-state and the standby receiving sub-state according to the data reception situation of the communication module. 6 . Run time, also includes: 若在所述第三预设时间内成功接入网络,则控制所述通信模块进入工作状态。If the network is successfully accessed within the third preset time, the communication module is controlled to enter a working state. 6.根据权利要求4所述的电力线载波通信模块的功耗管理方法,其特征在于,所述根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间,还包括:6 . The power consumption management method of a power line carrier communication module according to claim 4 , wherein the dynamic adjustment of the standby sleep sub-state and the standby receiving sub-state according to the data reception situation of the communication module. 7 . Run time, also includes: 若所述第一预设时间内所述通信模块未成功接入网络,则将所述第一预设时间后所述待机休眠子状态和所述待机接收子状态的运行时间调整为所述第四预设时间。If the communication module fails to access the network within the first preset time, adjust the running time of the standby sleep sub-state and the standby receiving sub-state after the first preset time to the first preset time. Four preset times. 7.根据权利要求4所述的电力线载波通信模块的功耗管理方法,其特征在于,所述根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间,还包括:7 . The power consumption management method of a power line carrier communication module according to claim 4 , wherein the dynamic adjustment of the standby sleep sub-state and the standby receiving sub-state according to the data reception situation of the communication module. 8 . Run time, also includes: 在所述通信模块接收所述有效数据的过程中,若当前时间达到所述待机接收子状态的运行结束时间,则继续接收所述有效数据直至所述有效数据接收完成。During the process of receiving the valid data by the communication module, if the current time reaches the running end time of the standby receiving sub-state, it continues to receive the valid data until the valid data reception is completed. 8.根据权利要求1所述的电力线载波通信模块的功耗管理方法,其特征在于,所述方法还包括:8. The power consumption management method of a power line carrier communication module according to claim 1, wherein the method further comprises: 在所述通信模块处于接收状态时,控制前端同步子模块处于工作状态以接收同步数据,其中,所述通信模块的数据接收子模块包括所述前端同步子模块和后端解调译码子模块;When the communication module is in the receiving state, the front-end synchronization sub-module is controlled to be in a working state to receive synchronization data, wherein the data receiving sub-module of the communication module includes the front-end synchronization sub-module and the back-end demodulation and decoding sub-module ; 当接收到所述同步数据时,控制所述后端解调译码子模块处于工作状态以进行数据处理,并在数据处理完成后进入关闭状态;When receiving the synchronization data, control the back-end demodulation and decoding sub-module to be in a working state for data processing, and enter a closed state after data processing is completed; 当未接收到所述同步数据时,控制所述后端解调译码子模块处于关闭状态。When the synchronization data is not received, the back-end demodulation and decoding sub-module is controlled to be in a closed state. 9.根据权利要求1所述的电力线载波通信模块的功耗管理方法,其特征在于,所述方法还包括:9. The power consumption management method of the power line carrier communication module according to claim 1, wherein the method further comprises: 在所述通信模块处于工作状态时,获取信标帧时隙中每个竞争时隙分片所属相线;When the communication module is in a working state, obtain the phase line to which each contended time slot segment in the beacon frame time slot belongs; 若当前竞争时隙分片所属相线与所述通信模块所处相线相一致,则在该竞争时隙分片内控制所述通信模块的主频处于全速状态;If the phase line to which the current competition time slot segment belongs is consistent with the phase line where the communication module is located, the main frequency of the communication module is controlled to be in a full speed state in the competition time slot segment; 若当前竞争时隙分片所属相线与所述通信模块所处相线不一致,则在该竞争时隙分片内控制所述通信模块处于所述待机休眠子状态。If the phase line to which the current contention time slot segment belongs is inconsistent with the phase line where the communication module is located, the communication module is controlled to be in the standby sleep sub-state in the contention time slot segment. 10.根据权利要求9所述的电力线载波通信模块的功耗管理方法,其特征在于,所述信标帧时隙中每个竞争时隙分片所属相线,包括:10. The power consumption management method of a power line carrier communication module according to claim 9, wherein the phase line to which each contention time slot segment in the beacon frame time slot belongs, comprising: 接收信标帧信息;Receive beacon frame information; 根据所述信标帧信息获取所述每个竞争时隙分片所属相线。The phase line to which each contention time slot segment belongs is acquired according to the beacon frame information. 11.一种计算机可读存储介质,其特征在于,其上存储有电力线载波通信模块的功耗管理程序,该电力线载波通信模块的功耗管理程序被处理器执行时实现根据权利要求1-10中任一项所述的电力线载波通信模块的功耗管理方法。11. A computer-readable storage medium, characterized in that a power consumption management program of a power line carrier communication module is stored thereon, and the power consumption management program of the power line carrier communication module is executed by a processor. The power consumption management method of a power line carrier communication module according to any one of the above. 12.一种电力线载波通信模块,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电力线载波通信模块的功耗管理程序,所述处理器执行所述程序时,实现根据权利要求1-10中任一项所述的电力线载波通信模块的功耗管理方法。12. A power line carrier communication module, comprising: a memory, a processor, and a power consumption management program of the power line carrier communication module stored on the memory and running on the processor, the processor When the program is executed, the power consumption management method of the power line carrier communication module according to any one of claims 1-10 is implemented. 13.一种电力线载波通信模块的功耗管理装置,其特征在于,所述装置包括:13. A power consumption management device for a power line carrier communication module, wherein the device comprises: 控制模块,用于在所述通信模块处于待机状态时,控制所述通信模块在待机休眠子状态和待机接收子状态之间切换,其中,所述待机状态包括所述待机休眠子状态和所述待机接收子状态;a control module, configured to control the communication module to switch between a standby dormancy sub-state and a standby receiving sub-state when the communication module is in a standby state, wherein the standby state includes the standby dormancy sub-state and the standby dormancy sub-state Standby receive sub-state; 调整模块,用于在切换过程中,根据所述通信模块的数据接收情况动态调整所述待机休眠子状态和所述待机接收子状态的运行时间。The adjustment module is configured to dynamically adjust the running time of the standby dormancy sub-state and the standby receiving sub-state according to the data reception situation of the communication module during the switching process. 14.根据权利要求13所述的电力线载波通信模块的功耗管理装置,其特征在于,所述控制模块还用于在所述通信模块处于所述待机休眠子状态时,控制所述通信模块的数据接收子模块和数据发送子模块均处于关闭状态,并使所述通信模块的主频处于低速状态。14 . The power consumption management device for a power line carrier communication module according to claim 13 , wherein the control module is further configured to control the power consumption of the communication module when the communication module is in the standby sleep sub-state. 15 . Both the data receiving sub-module and the data sending sub-module are in a closed state, and the main frequency of the communication module is in a low-speed state. 15.根据权利要求14所述的电力线载波通信模块的功耗管理装置,其特征在于,所述控制模块还用于在所述通信模块处于所述待机接收子状态时,控制所述通信模块的数据接收子模块处于工作状态,并控制所述数据发送子模块处于关闭状态,以及使所述通信模块的主频处于全速状态,其中,所述低速状态的频率小于所述全速状态的频率。15 . The power consumption management device of a power line carrier communication module according to claim 14 , wherein the control module is further configured to control the power consumption of the communication module when the communication module is in the standby receiving sub-state. 16 . The data receiving submodule is in a working state, and the data sending submodule is controlled to be in an off state, and the main frequency of the communication module is in a full-speed state, wherein the frequency of the low-speed state is lower than the frequency of the full-speed state. 16.根据权利要求13-15中任一项所述的电力线载波通信模块的功耗管理装置,其特征在于,所述调整模块具体用于:16. The power consumption management device of a power line carrier communication module according to any one of claims 13-15, wherein the adjustment module is specifically used for: 在所述通信模块上电后的第一预设时间内,先将所述待机休眠子状态和所述待机接收子状态的运行时间设为第二预设时间;In the first preset time after the communication module is powered on, first set 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 valid data in the standby receiving sub-state, adjusting the running time of the standby dormancy sub-state and/or the standby receiving sub-state; 若所述通信模块在所述待机接收子状态下接收到有效数据,则控制所述通信模块进入临时工作状态以尝试接入网络;If the communication module receives valid data in the standby receiving sub-state, controlling the communication module 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 a fourth preset time. 17.根据权利要求16所述的电力线载波通信模块的功耗管理装置,其特征在于,所述调整模块还用于:17. The power consumption management device of a power line carrier communication module according to claim 16, wherein the adjustment module is further configured to: 若所述第一预设时间内所述通信模块未成功接入网络,则将所述第一预设时间后所述待机休眠子状态和所述待机接收子状态的运行时间调整为所述第四预设时间。If the communication module fails to access the network within the first preset time, adjust the running time of the standby sleep sub-state and the standby receiving sub-state after the first preset time to the first preset time. Four preset times. 18.根据权利要求13所述的电力线载波通信模块的功耗管理装置,其特征在于,所述控制模块还用于:18. The power consumption management device of a power line carrier communication module according to claim 13, wherein the control module is further configured to: 在所述通信模块处于接收状态时,控制前端同步子模块处于工作状态以接收同步数据,其中,所述通信模块的数据接收子模块包括所述前端同步子模块和后端解调译码子模块;When the communication module is in the receiving state, the front-end synchronization sub-module is controlled to be in a working state to receive synchronization data, wherein the data receiving sub-module of the communication module includes the front-end synchronization sub-module and the back-end demodulation and decoding sub-module ; 当接收到所述同步数据时,控制所述后端解调译码子模块处于工作状态以进行数据处理,并在数据处理完成后进入关闭状态;When receiving the synchronization data, control the back-end demodulation and decoding sub-module to be in a working state for data processing, and enter a closed state after data processing is completed; 当未接收到所述同步数据时,控制所述后端解调译码子模块处于关闭状态。When the synchronization data is not received, the back-end demodulation and decoding sub-module is controlled to be in a closed state. 19.根据权利要求13所述的电力线载波通信模块的功耗管理装置,其特征在于,所述装置还包括:获取模块,用于在所述通信模块处于工作状态时,获取信标帧时隙中每个竞争时隙分片所属相线;19 . The power consumption management device for a power line carrier communication module according to claim 13 , wherein the device further comprises: an acquisition module, configured to acquire a beacon frame time slot when the communication module is in a working state. 20 . The phase line to which each competing slot segment belongs to; 所述控制模块还用于:若当前竞争时隙分片所属相线与所述通信模块所处相线相一致,则在该竞争时隙分片内控制所述通信模块的主频处于全速状态;若当前竞争时隙分片所属相线与所述通信模块所处相线不一致,则在该竞争时隙分片内控制所述通信模块处于所述待机休眠子状态。The control module is further configured to: if the phase line to which the current competition time slot segment belongs is consistent with the phase line where the communication module is located, the main frequency of the communication module is controlled to be in a full-speed state in the contention time slot segment. ; If the phase line to which the current contention time slot segment belongs is inconsistent with the phase line where the communication module is located, the communication module is controlled to be in the standby sleep sub-state in the contention time slot segment.
CN202111371862.1A 2021-11-18 2021-11-18 Power line carrier communication module and its power consumption management method, device 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 and its power consumption management method, device 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 and its power consumption management method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114301502A true CN114301502A (en) 2022-04-08
CN114301502B 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 and its power consumption management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114301502B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686383A (en) * 2022-12-30 2023-02-03 摩尔线程智能科技(北京)有限责任公司 Memory control method, controller, and chip system
CN117119783A (en) * 2023-10-25 2023-11-24 广东迅扬科技股份有限公司 A method for controlling module standby power consumption

Citations (6)

* 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 saving device of power supply for 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
US20130258861A1 (en) * 2012-03-28 2013-10-03 Huawei Technologies Co., Ltd. Standby method and mobile router
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

Patent Citations (6)

* 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 saving device of power supply for 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
US20130258861A1 (en) * 2012-03-28 2013-10-03 Huawei Technologies Co., Ltd. Standby method and mobile router
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

Cited By (3)

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

Also Published As

Publication number Publication date
CN114301502B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN111083770B (en) A terminal power saving method, power saving device, information sending method and device
KR102582378B1 (en) Resource configuration method, resource acquisition method, network devices and terminals
CN102484855B (en) Method and apparatus for sleep mode operation in a multi-carrier system
US8265048B1 (en) Wireless local area network ad-hoc mode for reducing power consumption
KR100725406B1 (en) Method and device for saving power by adjusting listening interval in wireless communication device having multiple power saving modes
US8160045B1 (en) Beacon miss prevention in power save modes using timing synchronization function
RU2454018C2 (en) Synchronisation between wireless devices in power save mode
CN114301502A (en) Power line carrier communication module, power consumption management method and device thereof, and storage medium
CN100380825C (en) Dual mode bluetooth/wireless device and method of synchronizing the device
US7133398B2 (en) System and method for asynchronous communications employing direct and indirect access protocols
RU2020125735A (en) METHOD FOR DETERMINING STATE OF TERMINAL DEVICE AND ALSO TERMINAL DEVICE AND NETWORK ACCESS DEVICE
US7860063B2 (en) Systems and methods for wireless access terminal command processing
US20100091789A1 (en) Cognitive radio communication terminal and method for detecting collision using feature detection
EP3847853B1 (en) Communication apparatus and communication method for duty cycled low power multi-user transmission
CN1671231A (en) Method for controlling sleep mode of mobile terminal, mobile terminal and wireless access point
KR20180134343A (en) Improved Dynamic Clock and Voltage Scaling (DCVS)
CN103167515B (en) A kind of carrier control method and corresponding base station equipment
KR102467634B1 (en) SLOTFRAME SCHEDULING METHOD OF ELECTRONIC APPARATUS INCLUDED IN IoT SYSTEM OF SIMULTANEOUS WIRELESS INFORMATION AND POWER TRANSFER ENVIRONMENT
EP4085692B1 (en) Slave and master devices and methods
CN111443792B (en) Power consumption control method and device of processor and electronic and storage device
US8072964B2 (en) Communication apparatus for connecting to another apparatus in accordance with occupancy of beacon slots and communication method for the same
US20250254755A1 (en) Wireless communication method and terminal device
JPH11239152A (en) Wireless access method
CN112738877B (en) Wireless device synchronization method in connectionless state, wireless device, and storage medium
WO2024130694A1 (en) Energy-saving method and apparatus, terminal, and network device

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