CN107172691A - A kind of dormancy method and meter of the communication module of meter - Google Patents
A kind of dormancy method and meter of the communication module of meter Download PDFInfo
- Publication number
- CN107172691A CN107172691A CN201710217890.5A CN201710217890A CN107172691A CN 107172691 A CN107172691 A CN 107172691A CN 201710217890 A CN201710217890 A CN 201710217890A CN 107172691 A CN107172691 A CN 107172691A
- Authority
- CN
- China
- Prior art keywords
- data
- duration
- sent
- scheduled
- time
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
It is high to solve meter power consumption in the prior art the invention discloses a kind of dormancy method and meter of the communication module of meter, the short technical problem of the battery of meter.Methods described includes:Determine communication module using start to perform first operate at the time of whether to perform the second operation in the scheduled duration of initial time, wherein, first operation and the second operation are any operation in scheduled operation set, and scheduled duration is most long time-consuming in time-consuming required for each operation in scheduled operation set to perform;If being not carried out the second operation in scheduled duration, control communication module enters resting state.
Description
Technical field
The present invention relates to Internet of Things field, more particularly to a kind of dormancy method and meter of the communication module of meter.
Background technology
With continuing to develop for technology of Internet of things, the intelligent meter with automatic meter-reading is gradually popularized, this kind of intelligence
Meter can send the continuous data of record storage by way of network transmission, reduce tradition and manually copied from house to house
The tedious work of table.
In actual applications, the meter reading cycle of meter is generally longer, generally a couple of days or several weeks, but in the prior art
The communication module of intelligent meter be but constantly in working condition, not only reduce battery, also reduce meter
The service life of communication module, adds maintenance cost.
Thus, have that meter power consumption is high in the prior art, the short technical problem of the battery of meter.
The content of the invention
The embodiment of the present invention provides a kind of dormancy method and meter of the communication module of meter, to solve in the prior art
Meter power consumption is high, the short technical problem of the battery of meter.
First aspect there is provided a kind of dormancy method of the communication module of meter, including:
Determine the communication module using start to perform first operate at the time of as in the scheduled duration of initial time whether
Second is performed to operate, wherein, first operation and the described second operation are any operation in scheduled operation set, described pre-
It is regularly most long time-consuming in time-consuming required for a length of each operation performed in the scheduled operation set;
If being not carried out second operation in the scheduled duration, the communication module is controlled to enter resting state.
In a kind of possible implementation, the scheduled operation set is included into net operation, it is determined that entering described in performing
Required for net operation it is time-consuming including:
The first scheduled wait duration after networking request instruction and the predetermined sum for receiving duration will be sent, be defined as performing institute
State time-consuming required for net operation.
In a kind of possible implementation, the scheduled operation set includes data and sends operation, it is determined that performing institute
State data send operation required for it is time-consuming including:
Based on the data type of data to be sent, according to second after predetermined acquisition duration and the transmission data to be sent
Scheduled wait duration, it is determined that performing the data sends time-consuming required for operating;Wherein, the predetermined acquisition duration is used to obtain
Take the data to be sent.
In a kind of possible implementation, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating, bag
Include:
If the data type of the data to be sent is the data type that need not be fed back, by the predetermined acquisition duration
With the sum of the second scheduled wait duration, it is defined as performing taking required for the data transmission is operated.
In a kind of possible implementation, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating, bag
Include:
If the data type of the data to be sent is needs the data type fed back, during by the N times of predetermined acquisition
Long, N times of the second scheduled wait duration and the predetermined sum for receiving duration, are defined as performing required for the data send operation
It is time-consuming, wherein, N-1 represents the maximum retransmission of the data to be sent, and N is positive integer.
Second aspect there is provided a kind of meter, including main control module and communication module, wherein, the main control module is used for:
Determine the communication module using start to perform first operate at the time of as in the scheduled duration of initial time whether
Second is performed to operate, wherein, first operation and the described second operation are any operation in scheduled operation set, described pre-
It is regularly most long time-consuming in time-consuming required for a length of each operation performed in the scheduled operation set;
If being not carried out second operation in the scheduled duration, the communication module is controlled to enter resting state.
In a kind of possible implementation, the scheduled operation set is included into net operation, it is determined that entering described in performing
Required for net operation it is time-consuming including:
The first scheduled wait duration after networking request instruction and the predetermined sum for receiving duration will be sent, be defined as performing institute
State time-consuming required for net operation.
In a kind of possible implementation, the scheduled operation set includes data and sends operation, it is determined that performing institute
State data send operation required for it is time-consuming including:
Based on the data type of data to be sent, according to second after predetermined acquisition duration and the transmission data to be sent
Scheduled wait duration, it is determined that performing the data sends time-consuming required for operating;Wherein, the predetermined acquisition duration is used to obtain
Take the data to be sent.
In a kind of possible implementation, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating, bag
Include:
If the data type of the data to be sent is the data type that need not be fed back, by the predetermined acquisition duration
With the sum of the second scheduled wait duration, it is defined as performing taking required for the data transmission is operated.
In a kind of possible implementation, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating, bag
Include:
If the data type of the data to be sent is needs the data type fed back, during by the N times of predetermined acquisition
Long, N times of the second scheduled wait duration and the predetermined sum for receiving duration, are defined as performing required for the data send operation
It is time-consuming, wherein, N-1 represents the maximum retransmission of the data to be sent, and N is positive integer.
The dormancy method and meter of the communication module of meter provided in the embodiment of the present invention, are the communication module of meter
Add the function of dormancy so that meter can enter when the idle condition not operated is in prespecified condition
Resting state, it is ensured that the effective use of meter communication module, has saved the overall power consumption of meter, reduces the overall damage of meter
Consumption, can extend the service life of the battery of meter.
Also, due to communication module be using start to perform first operate at the time of not have in the scheduled duration of initial time
Have and perform the second just entrance resting state when operating, thus communication module is in the case where being not carried out the second operation, from opening
It is identical to begin to perform the first operation to the duration into resting state, and in this section of scheduled duration, communication module can also have
The sufficient time is used to receive the instruction for performing the second operation, and communication module is used for the duration for receiving the instruction for performing the second operation
By performing first duration will not be operated to be influenceed.Thus, a unified scheduled duration only need to be set in the embodiment of the present invention, i.e.,
Can ensure the communication module existing sufficient time be used for receive perform second operation instruction, complete perform first operate after
Long unnecessary waiting time need not be entered.
Further, since scheduled duration is performs the most long consumption in time-consuming required for each operation in scheduled operation set
When, it is thus possible to realize while reduction meter enters the scheduled duration of resting state as far as possible, it is to avoid too small due to setting
Scheduled duration and cause to take the longer operation communication module when being not carried out in scheduled operation set and be put into dormancy shape
The situation of state so that the dormancy of communication module does not influence the normal work of meter, improves the accuracy of dormancy.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to carrying
The accompanying drawing of confession obtains other accompanying drawings.
Fig. 1 is the flow chart of the dormancy method of the communication module of meter in the embodiment of the present invention;
Fig. 2 is the structural representation of meter in the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Not
In the case of conflict, the embodiment in the present invention and the feature in embodiment can be mutually combined.And, although in flow
Logical order is shown in figure, but in some cases, can be shown or described to be performed different from order herein
Step.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, represents there may be
Three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, these three situations of individualism B.Separately
Outside, character "/" herein, in the case where not illustrating, it is a kind of relation of "or" to typically represent forward-backward correlation object.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
Fig. 1 is referred to, the embodiment of the present invention provides a kind of dormancy method of the communication module of meter, and this method can be applied
In meter, for example, gas meter, flow meter, water meter, ammeter, thermometer, etc..The flow of this method is described as follows.
Step 101:Determine communication module using start to perform first operate at the time of as in the scheduled duration of initial time
Whether second operation is performed, wherein, the first operation and any operation that the second operation is in scheduled operation set, also, should
Scheduled duration is most long time-consuming in time-consuming required for each operation in scheduled operation set to perform.
In the embodiment of the present invention, communication module can be the single function of being used in meter receiving and sending information
Property physical module, the communication module can carry out data transmission between other modules in meter, can also with outside meter
Miscellaneous equipment carries out data transmission.Specifically, the communication module can be wireless communication module, for example, can be LoRaWAN
(LoRa Wide-Area Network, LoRa low-power consumption wide area networks specification) communication module, etc., the embodiment of the present invention to this not
It is limited.
In the embodiment of the present invention, scheduled operation set includes at least one operation, the operation in the scheduled operation set
It can be a certain particular module in the operation that communication module may be performed in the higher operation of importance or meter
Longer operation is taken in the operation that the operation or communication module that control communication module is performed may be performed, may be used also
Not limited specifically including which operation in scheduled operation set in any operation being manually set, the embodiment of the present invention
It is fixed.
In the embodiment of the present invention, scheduled duration is performs in time-consuming required for each operation in scheduled operation set most
It is long time-consuming.Wherein, perform required for some operation it is time-consuming can be maximum required for performing the operation it is time-consuming or
Perform average time-consuming, etc. required for the operation.Below, using the maximum required for performing some operation it is time-consuming as
The time-consuming of the operation is performed to illustrate.
Furthermore, it is understood that scheduled duration is to perform scheduled operation set respectively after time-consuming required for operation determining, then
Determine most long time-consuming in time-consuming required for each operation is performed, and then most long time-consuming regard this as scheduled duration.
For example, it is assumed that scheduled operation set includes A operations, B operations and C operations, it is 1-3 seconds to perform the time-consuming of A operations
In any duration, it is maximum time-consuming as taking required for some operation is performed due to being set in the embodiment of the present invention, then may be used
It is time-consuming required for A operations that will be defined as within 3 seconds performing, it is similarly assumed that performing the taking as 5 seconds of B operations, perform C operations
Take as 2.7 seconds, then can determine scheduled duration to perform the time-consuming of B operations, i.e., 5 seconds.
Specifically, scheduled duration can be by artificially test, calculate etc. mode predefine it is good or
When meter is run first, meter is voluntarily determined self by modes such as test, computings.The scheduled duration can be entered in meter
It can not just be changed after row setting, or Mobile state adjustment can also be entered according to the running situation of meter in a period of time, i.e. be predetermined
Duration can be changeless always, or can also enter Mobile state adjustment.
Because the first operation and the second operation are any operation in scheduled operation set, thus the first operation and second
Operation can be the operation or different types of operation of same type.For example, failed performing some operation
When, the operation may be performed again, wherein, if regarding some operation as first operation, then what is performed again should
Operation then can be understood as the second operation, and now the first operation and the second operation are same type of operation.
Step 102:If communication module start to perform first operate at the time of not have in the scheduled duration of initial time
Perform second to operate, then control communication module to enter resting state.
In the embodiment of the present invention, as judging to lead at the time of starting to perform using a certain operation in scheduled operation set
Believe whether module enters the initial time of the scheduled duration of resting state.Also, start to perform in scheduled operation set every time
During operation, initial time can be redefined.
In the embodiment of the present invention, control communication module enters resting state This move, can be that communication module is voluntarily controlled
Its own is made to send dormancy instruction to control into resting state or from other particular modules in meter to communication module
Communication module processed carries out dormancy, and the embodiment of the present invention is not restricted to this.Also, communication module enters resting state and can referred to
Communication module functional state all in closing or refer to the partial function of communication module and be in the shape closed
State, can also refer to communication module and is in state of power down, etc..
In a kind of possible embodiment, include in scheduled operation set into net operation, it is determined that performing networking behaviour
Making required time-consuming mode can be:When will send the first scheduled wait duration after networking request instruction and predetermined reception
Long sum, is defined as performing time-consuming required for net operation.
In the embodiment of the present invention, communication module can be divided into following two steps when this enters net operation in execution:
The first step, sends networking request instruction.
Wherein, networking request instruction can include the relevant information that communication module asks to network, such as setting including meter
Standby identification number, the physical address of communication module, the duration information of request networking, current operating conditions of meter, etc..Together
When, networking request instruction can be sent or met to set in advance to specific electronic equipment set set in advance
What the electronic equipment of pre-defined rule was sent, for example, can be to be transmitted to the gateway nearest apart from meter, etc..
Second step, is sending networking request instruction and after the first scheduled wait duration, is being inscribed in the predetermined duration that receives
Receive networking confirmation corresponding with the networking request instruction sent.
In the embodiment of the present invention, the first scheduled wait duration and/or the predetermined duration that receives can be adopted according to communication module
Data Transport Protocol is that the duration or each meter of the unified setting of all meters are individually set, for example,
Can be according to the distance between some meter and the target electronic device for receiving networking request instruction, networking request instruction and networking
What the combined factors such as the data volume of confirmation were determined.In addition, the networking confirmation that communication module is received can include and be
The no related confirmation content for allowing communication module to be communicated to target electronic device.
In a kind of possible embodiment, data are included in scheduled operation set and send operation, it is determined that performing described
Data send operation required for time-consuming mode can be:Based on the data type of data to be sent, during according to predetermined acquisition
Grow and send the second scheduled wait duration after the data to be sent, it is determined that performing the consumption required for the data transmission operation
When;Wherein, the predetermined acquisition duration is used to obtain the data to be sent.
In the embodiment of the present invention, communication module includes following steps in execution data transmission operation:
The first step, data to be sent are obtained in predetermined obtain in duration.
Can be the number to be sent that is stored with from meter when communication module obtains data to be sent in the embodiment of the present invention
According to module obtain.For example, meter can also include main control module, the main control module can pass through data with communication module
Coffret is connected, and the main control module, which can be used in storing in data to be sent, i.e. main control module, can include being used to store number
According to data buffer area.In addition, meter to communication module can not also send data by main control module, now meter can be by
Single data buffer area, and communication module can obtain the data for needing to send from the single data buffer area.Communication
When module carries out data transmission operation every time, first data to be sent can be directly read from main control module.
Wherein, make a reservation for obtain the data to be sent that duration is able to ensure that communication module acquisition whole.So above-mentioned with master
In explanation exemplified by control module, the predetermined duration that obtains should be transferred to communication module more than or equal to data to be sent from main control module
Duration.Thus, in practice, according to the number between the data volume and main control module and communication module of data to be sent
According to the transmission rate of coffret, different predetermined acquisition durations can be set.
For example, the data sent each time when meter are not over 50 bytes, and between main control module and communication module
Using UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) interface
When, the baud rate of UART interface is 115200 bps, then it is 50 ÷ (115200 ÷ to make a reservation for obtain the desirable minimum value of duration
=0.00357 second 8).Using the desirable minimum value of predetermined acquisition duration as predetermined acquisition duration in the embodiment of the present invention, then at this
In example, a length of 0.00357 second when making a reservation for obtain.
Second step, determines the data type of data to be sent.
In the embodiment of the present invention, data to be sent can include the data type for needing to feed back, and can also include need not
The data type of feedback.It is determined that after the data type of data to be sent, communication module can be according to the data of data to be sent
Type is different, and different steps are performed after data to be sent are sent.
Wherein, when data to be sent is need the data type fed back, the target electronic for receiving data to be sent is set
It is standby to send feedback information corresponding with data to be sent to communication module, confirm to have received for example, sending to communication module
The confirmation of data to be sent, or send requested resource information, etc. in data to be sent to communication module.
3rd step, sends data to be sent and waits the second scheduled wait duration.
In the embodiment of the present invention, communication module is sent after data to be sent to target electronic device, then carries out second and make a reservation for
The wait of waiting time, follow-up step is carried out after the second scheduled wait duration again.
In the embodiment of the present invention, communication module waits the second scheduled duration after sending data to be sent, it can be ensured that pending
The time tranfer that data have abundance is sent to target electronic device, and is able to ensure that electronic equipment has the time of abundance for responding
Data to be sent.Wherein, the second scheduled wait duration can be the Data Transport Protocol used according to communication module for all tables
The duration or each meter of the unified setting of meter are individually set.
In the embodiment of the present invention, when the data to be sent that communication module sends needs feedback but do not receive feedback information,
It can now can be shown that data to be sent send failure, can now carry out data re-transmission, now communication module can be to target electricity
Sub- equipment resends data to be sent, i.e. communication module and carries out data re-transmission again, wherein it is possible to preset communication module
The maximum times retransmitted, feedback information is not still received after communication module is retransmitting maximum times, then not followed by
It is continuous to retransmit, terminate the data and send operation.When communication module is retransmitted, it can obtain to be sent in predetermined obtain in duration again
Data, and resend data to be sent and wait the second scheduled wait duration.
In a kind of possible embodiment, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating, bag
Following manner is included:
It is if the data type of data to be sent is the data type that need not be fed back, predetermined acquisition duration and second is pre-
Determine the sum of waiting time, be defined as performing taking required for data transmission is operated.
If that is, the data type of data to be sent is the data type that need not be fed back, then it represents that send pending
Feedback information corresponding with data to be sent will not be received by sending after data, will not also resend data to be sent.In this kind of feelings
Under condition, predetermined acquisition duration and the second scheduled wait duration sum can be defined as performing the consumption required for data send operation
When.
In alternatively possible embodiment, based on the data type of data to be sent, according to predetermined acquisition duration and
The second scheduled wait duration after the data to be sent is sent, it is determined that performing the data sends time-consuming required for operating,
Include following manner:
If the data type of data to be sent is needs the data type fed back, by N times it is predetermined obtain duration, N times the
Two scheduled wait durations and the predetermined sum for receiving duration, are defined as execution data and send time-consuming required for operating, wherein, N-1
The maximum retransmission of data to be sent is represented, N is positive integer.
In the embodiment of the present invention, if the data type that the data type of data to be sent is fed back for needs, communication module
Sending data to be sent and reception feedback information This move may be performed after the second scheduled wait duration, it is also possible to
Do not perform reception feedback information This move.Wherein, communication module execution reception feedback information This move shows target electronic
Equipment is transferred successfully feedback information to communication module, and communication module makes a reservation for receive to receive the feedback letter in duration
Breath.
If communication module receives a kind of feedback information this situation, then by N times it is predetermined obtain duration, N times second make a reservation for
Waiting time and for receiving the predetermined reception duration sum of the feedback information as performing required for data send operation
It is time-consuming, wherein, N-1 represents the maximum retransmission of data to be sent, and N is positive integer, for example, 2,3, etc..
If communication module does not receive a kind of feedback information this situation, then by N times it is predetermined obtain duration, N times it is second pre-
Waiting time sum, which is determined, as data are performed sends time-consuming required for operating, wherein, N-1 represents the maximum weight of data to be sent
Number of times is passed, N is positive integer.
For example, it is assumed that data to be sent is need the data fed back, maximum retransmission is 2, a length of when making a reservation for obtain
0.00357 second, a length of 3 seconds when making a reservation for receive, then:
When communication module receives feedback information, it may be determined that communication module performs data transmission behaviour in the case of going out this kind
That makees took as (3+0.00357) × 2+3=9.00714 seconds;
When communication module does not receive feedback information, it may be determined that communication module performs data transmission in the case of going out this kind
What is operated took as (3+0.00357) × 2=6.00714 seconds.
Compared to a kind of feedback information this situation is not received, because communication module needs volume when receiving feedback information
This operation of outer execution reception feedback information, many predetermined reception durations of consumption, thus, it is determined that execution data are sent needed for operating
Want it is time-consuming when, using communication module receive feedback information this it is a kind of in the case of it is time-consuming as perform data send operation needed for
That wants is time-consuming.
The dormancy method of the communication module of meter provided in the embodiment of the present invention, is that the communication module of meter is added
The function of dormancy so that meter can enter dormancy shape when the idle condition not operated is in prespecified condition
State, it is ensured that the effective use of meter communication module, has saved the overall power consumption of meter, has reduced the overall losses of meter, can
With the service life for the battery for extending meter.
Also, due to communication module be using start to perform first operate at the time of not have in the scheduled duration of initial time
Have and perform the second just entrance resting state when operating, thus communication module is in the case where being not carried out the second operation, from opening
It is identical to begin to perform the first operation to the duration into resting state, and in this section of scheduled duration, communication module can also have
The sufficient time is used to receive the instruction for performing the second operation, and communication module is used for the duration for receiving the instruction for performing the second operation
By performing first duration will not be operated to be influenceed.Thus, a unified scheduled duration only need to be set in the embodiment of the present invention, i.e.,
Can ensure the communication module existing sufficient time be used for receive perform second operation instruction, complete perform first operate after
Long unnecessary waiting time need not be entered.
Further, since scheduled duration is performs the most long consumption in time-consuming required for each operation in scheduled operation set
When, it is thus possible to realize while reduction meter enters the scheduled duration of resting state as far as possible, it is to avoid too small due to setting
Scheduled duration and cause to take the longer operation communication module when being not carried out in scheduled operation set and be put into dormancy shape
The situation of state so that the dormancy of communication module does not influence the normal work of meter, improves the accuracy of dormancy.
Based on same inventive concept, Fig. 2 is referred to, the embodiment of the present invention provides a kind of meter.The meter includes master control mould
Block 201 and communication module 202, wherein, main control module 201 is used for:
Determine communication module 202 using start to perform first operate at the time of whether to hold in the scheduled duration of initial time
Row second is operated, wherein, the first operation and the second operation are any operation in scheduled operation set, and scheduled duration is pre- to perform
Determine most long time-consuming in time-consuming required for each operation in operational set;
If being not carried out the second operation in scheduled duration, control communication module 202 enters resting state.
In a kind of possible embodiment, scheduled operation set is included into net operation, it is determined that performing into net operation institute
Need it is time-consuming including:
The first scheduled wait duration after networking request instruction and the predetermined sum for receiving duration will be sent, be defined as performing into
It is time-consuming required for net operation.
In a kind of possible embodiment, scheduled operation set includes data and sends operation, it is determined that performing data hair
Send operation required for it is time-consuming including:
Based on the data type of data to be sent, made a reservation for according to second after predetermined acquisition duration and transmission data to be sent
Waiting time, it is determined that performing data sends time-consuming required for operating;Wherein, make a reservation for obtain duration for obtaining number to be sent
According to.
In a kind of possible embodiment, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after data to be sent is sent, it is determined that performing data sends time-consuming required for operating, including:
It is if the data type of data to be sent is the data type that need not be fed back, predetermined acquisition duration and second is pre-
Determine the sum of waiting time, be defined as performing taking required for data transmission is operated.
In a kind of possible embodiment, based on the data type of data to be sent, according to predetermined acquisition duration and hair
The second scheduled wait duration after data to be sent is sent, it is determined that performing data sends time-consuming required for operating, including:
If the data type of data to be sent is needs the data type fed back, by N times it is predetermined obtain duration, N times the
Two scheduled wait durations and the predetermined sum for receiving duration, are defined as execution data and send time-consuming required for operating, wherein, N-1
The maximum retransmission of data to be sent is represented, N is positive integer.
Because the meter in the embodiment of the present invention and the dormancy method of the communication module of above-mentioned meter solve the principle of problem
It is similar, therefore the embodiment of meter may refer to the implementation of the dormancy method of the communication module of above-mentioned meter in the embodiment of the present invention
Example, will not be repeated here.
The dormancy method and meter of the communication module of meter provided in the embodiment of the present invention, are the communication module of meter
Add the function of dormancy so that meter can enter when the idle condition not operated is in prespecified condition
Resting state, it is ensured that the effective use of meter communication module, has saved the overall power consumption of meter, reduces the overall damage of meter
Consumption, can extend the service life of the battery of meter.
Also, due to communication module be using start to perform first operate at the time of not have in the scheduled duration of initial time
Have and perform the second just entrance resting state when operating, thus communication module is in the case where being not carried out the second operation, from opening
It is identical to begin to perform the first operation to the duration into resting state, and in this section of scheduled duration, communication module can also have
The sufficient time is used to receive the instruction for performing the second operation, and communication module is used for the duration for receiving the instruction for performing the second operation
By performing first duration will not be operated to be influenceed.Thus, a unified scheduled duration only need to be set in the embodiment of the present invention, i.e.,
Can ensure the communication module existing sufficient time be used for receive perform second operation instruction, complete perform first operate after
Long unnecessary waiting time need not be entered.
Further, since scheduled duration is performs the most long consumption in time-consuming required for each operation in scheduled operation set
When, it is thus possible to realize while reduction meter enters the scheduled duration of resting state as far as possible, it is to avoid too small due to setting
Scheduled duration and cause to take the longer operation communication module when being not carried out in scheduled operation set and be put into dormancy shape
The situation of state so that the dormancy of communication module does not influence the normal work of meter, improves the accuracy of dormancy.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of dormancy method of the communication module of meter, it is characterised in that methods described includes:
Determine the communication module using start to perform first operate at the time of whether to perform in the scheduled duration of initial time
Second operation, wherein, first operation and the described second operation are any operation in scheduled operation set, the pre- timing
It is most long time-consuming in time-consuming required for a length of each operation performed in the scheduled operation set;
If being not carried out second operation in the scheduled duration, the communication module is controlled to enter resting state.
2. the method as described in claim 1, it is characterised in that the scheduled operation set is included into net operation, it is determined that holding
Enter described in row required for net operation it is time-consuming including:
The first scheduled wait duration after networking request instruction and the predetermined sum for receiving duration will be sent, is defined as entering described in execution
It is time-consuming required for net operation.
3. the method as described in claim 1, it is characterised in that the scheduled operation set includes data and sends operation, really
Surely perform the data send required for operation it is time-consuming including:
Based on the data type of data to be sent, made a reservation for according to second after predetermined acquisition duration and the transmission data to be sent
Waiting time, it is determined that performing the data sends time-consuming required for operating;Wherein, the predetermined acquisition duration is used to obtain institute
State data to be sent.
4. method as claimed in claim 3, it is characterised in that the data type based on data to be sent, is obtained according to predetermined
The second scheduled wait duration after duration and the transmission data to be sent, it is determined that required for performing the data transmission operation
It is time-consuming, including:
If the data type of the data to be sent is the data type that need not be fed back, by the predetermined acquisition duration and institute
The sum of the second scheduled wait duration is stated, is defined as performing taking required for the data transmission is operated.
5. method as claimed in claim 3, it is characterised in that the data type based on data to be sent, is obtained according to predetermined
The second scheduled wait duration after duration and the transmission data to be sent, it is determined that required for performing the data transmission operation
It is time-consuming, including:
If the data type of the data to be sent is needs the data type fed back, by N times of predetermined acquisition duration, N
The second scheduled wait duration and the predetermined sum for receiving duration, are defined as performing the consumption required for the data transmission operation again
When, wherein, N-1 represents the maximum retransmission of the data to be sent, and N is positive integer.
6. a kind of meter, it is characterised in that including main control module and communication module, wherein, the main control module is used for:
Determine the communication module using start to perform first operate at the time of whether to perform in the scheduled duration of initial time
Second operation, wherein, first operation and the described second operation are any operation in scheduled operation set, the pre- timing
It is most long time-consuming in time-consuming required for a length of each operation performed in the scheduled operation set;
If being not carried out second operation in the scheduled duration, the communication module is controlled to enter resting state.
7. meter as claimed in claim 6, it is characterised in that the scheduled operation set is included into net operation, it is determined that holding
Enter described in row required for net operation it is time-consuming including:
The first scheduled wait duration after networking request instruction and the predetermined sum for receiving duration will be sent, is defined as entering described in execution
It is time-consuming required for net operation.
8. meter as claimed in claim 6, it is characterised in that the scheduled operation set includes data and sends operation, really
Surely perform the data send required for operation it is time-consuming including:
Based on the data type of data to be sent, made a reservation for according to second after predetermined acquisition duration and the transmission data to be sent
Waiting time, it is determined that performing the data sends time-consuming required for operating;Wherein, the predetermined acquisition duration is used to obtain institute
State data to be sent.
9. meter as claimed in claim 8, it is characterised in that the data type based on data to be sent, is obtained according to predetermined
The second scheduled wait duration after duration and the transmission data to be sent, it is determined that required for performing the data transmission operation
It is time-consuming, including:
If the data type of the data to be sent is the data type that need not be fed back, by the predetermined acquisition duration and institute
The sum of the second scheduled wait duration is stated, is defined as performing taking required for the data transmission is operated.
10. meter as claimed in claim 8, it is characterised in that the data type based on data to be sent, is obtained according to predetermined
The second scheduled wait duration after duration and the transmission data to be sent, it is determined that required for performing the data transmission operation
It is time-consuming, including:
If the data type of the data to be sent is needs the data type fed back, by N times of predetermined acquisition duration, N
The second scheduled wait duration and the predetermined sum for receiving duration, are defined as performing the consumption required for the data transmission operation again
When, wherein, N-1 represents the maximum retransmission of the data to be sent, and N is positive integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710217890.5A CN107172691B (en) | 2017-04-05 | 2017-04-05 | Dormancy method of communication module of meter and meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710217890.5A CN107172691B (en) | 2017-04-05 | 2017-04-05 | Dormancy method of communication module of meter and meter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172691A true CN107172691A (en) | 2017-09-15 |
CN107172691B CN107172691B (en) | 2020-11-03 |
Family
ID=59849406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710217890.5A Active CN107172691B (en) | 2017-04-05 | 2017-04-05 | Dormancy method of communication module of meter and meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172691B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114466436A (en) * | 2021-12-31 | 2022-05-10 | 杭州拓深科技有限公司 | Method for prolonging working time of NB smoke alarm |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1424859A (en) * | 2001-12-10 | 2003-06-18 | 株式会社Ntt都科摩 | Mobile communication system, method, mobile terminals and base stations |
CN201408033Y (en) * | 2009-05-08 | 2010-02-17 | 上海润金数码科技发展有限公司 | Metering device |
CN102625428A (en) * | 2012-04-24 | 2012-08-01 | 苏州摩多物联科技有限公司 | Time synchronization method of wireless sensor networks |
CN102685860A (en) * | 2012-05-04 | 2012-09-19 | 华为终端有限公司 | Method and device for transmitting and receiving data |
CN102740427A (en) * | 2012-06-15 | 2012-10-17 | 无锡必创传感科技有限公司 | Method for awakening wireless sensor, wireless sensor and wireless sensor system |
WO2013165847A1 (en) * | 2012-05-04 | 2013-11-07 | Fedex Corporate Services, Inc. | Systems, methods, and computer-readable media for timer-based management of communication devices |
EP2701435A1 (en) * | 2012-06-27 | 2014-02-26 | Huawei Technologies Co., Ltd. | Parameter configuration method, base station, and user equipment |
CN105052213A (en) * | 2013-02-24 | 2015-11-11 | Lg电子株式会社 | Method for exchanging frame for low power device and apparatus therefor in wireless LAN system therefor |
US20160006470A1 (en) * | 2014-07-02 | 2016-01-07 | Fujitsu Limited | Portable terminal device having sensors |
CN105309014A (en) * | 2014-01-10 | 2016-02-03 | Lg电子株式会社 | Method for supporting power saving mode and radio device therefor |
CN105916196A (en) * | 2016-06-16 | 2016-08-31 | 硕诺科技(深圳)有限公司 | Power-saving stepped wifi control method |
CN106332248A (en) * | 2016-08-19 | 2017-01-11 | 深圳市慧联通信技术有限公司 | Meter reading method and system with low power consumption |
-
2017
- 2017-04-05 CN CN201710217890.5A patent/CN107172691B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1424859A (en) * | 2001-12-10 | 2003-06-18 | 株式会社Ntt都科摩 | Mobile communication system, method, mobile terminals and base stations |
CN201408033Y (en) * | 2009-05-08 | 2010-02-17 | 上海润金数码科技发展有限公司 | Metering device |
CN102625428A (en) * | 2012-04-24 | 2012-08-01 | 苏州摩多物联科技有限公司 | Time synchronization method of wireless sensor networks |
CN102685860A (en) * | 2012-05-04 | 2012-09-19 | 华为终端有限公司 | Method and device for transmitting and receiving data |
WO2013165847A1 (en) * | 2012-05-04 | 2013-11-07 | Fedex Corporate Services, Inc. | Systems, methods, and computer-readable media for timer-based management of communication devices |
CN102740427A (en) * | 2012-06-15 | 2012-10-17 | 无锡必创传感科技有限公司 | Method for awakening wireless sensor, wireless sensor and wireless sensor system |
EP2701435A1 (en) * | 2012-06-27 | 2014-02-26 | Huawei Technologies Co., Ltd. | Parameter configuration method, base station, and user equipment |
CN105052213A (en) * | 2013-02-24 | 2015-11-11 | Lg电子株式会社 | Method for exchanging frame for low power device and apparatus therefor in wireless LAN system therefor |
CN105309014A (en) * | 2014-01-10 | 2016-02-03 | Lg电子株式会社 | Method for supporting power saving mode and radio device therefor |
US20160006470A1 (en) * | 2014-07-02 | 2016-01-07 | Fujitsu Limited | Portable terminal device having sensors |
CN105916196A (en) * | 2016-06-16 | 2016-08-31 | 硕诺科技(深圳)有限公司 | Power-saving stepped wifi control method |
CN106332248A (en) * | 2016-08-19 | 2017-01-11 | 深圳市慧联通信技术有限公司 | Meter reading method and system with low power consumption |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114466436A (en) * | 2021-12-31 | 2022-05-10 | 杭州拓深科技有限公司 | Method for prolonging working time of NB smoke alarm |
Also Published As
Publication number | Publication date |
---|---|
CN107172691B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220095233A1 (en) | Systems and methods for using a mobile gateway in a low power wide area network | |
Gündüz et al. | Two-hop communication with energy harvesting | |
EP2871809B1 (en) | Message processing method, device and system for internet of things | |
CN111371827B (en) | Data transmission method, device and computer readable storage medium | |
CN111818493B (en) | Data transmission method, wireless network system, node, and readable storage medium | |
CN103327588B (en) | The method and apparatus of the deep-sleep in 1X internet of things equipment | |
CN103731809A (en) | Data transmitting method, data receiving method and equipment | |
CN110621086B (en) | Communication system, gateway, terminal and communication method | |
CN109743717A (en) | Data processing method, device, terminal device and storage medium | |
CN111464983A (en) | A computing and communication cooperation method and system in a passive edge computing network | |
CN113423081A (en) | Wireless energy transmission method and device, computer equipment and storage medium | |
CN112218313A (en) | Communication system based on energy scheduling and communication throughput optimization method thereof | |
CN107172691A (en) | A kind of dormancy method and meter of the communication module of meter | |
CN105100000B (en) | Interface conversion device and network system | |
US11516561B2 (en) | Method for reading fluid meters | |
CN113301547B (en) | Efficient communication method of low-power-consumption Bluetooth chip | |
Yali et al. | Age-driven joint sampling and non-slot based scheduling for industrial Internet of Things | |
CN202841300U (en) | Apparatus for monitoring controlled object through using mobile phone message to transmit dynamic IP address | |
Fawaz et al. | Joint resource scheduling and computation offloading for energy harvesting communications | |
Li | Optimal offloading for dynamic compute-intensive applications in wireless networks | |
US20250018818A1 (en) | Vehicle charging management based on variable charging windows | |
CN115297035B (en) | Intelligent operation and maintenance system with edge cloud cooperation | |
CN119689921A (en) | A control system for home intelligent devices | |
CN112312471A (en) | Service message sending method, device and equipment | |
CN116193478A (en) | Reliability measurement-oriented low-power consumption multi-dimensional resource allocation method for Internet of things |
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 |