CN116319573A - Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter - Google Patents

Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter Download PDF

Info

Publication number
CN116319573A
CN116319573A CN202310524218.6A CN202310524218A CN116319573A CN 116319573 A CN116319573 A CN 116319573A CN 202310524218 A CN202310524218 A CN 202310524218A CN 116319573 A CN116319573 A CN 116319573A
Authority
CN
China
Prior art keywords
transmission
channel
electric energy
energy meter
selection decision
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.)
Pending
Application number
CN202310524218.6A
Other languages
Chinese (zh)
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.)
Shijiazhuang Kelin Electric Co Ltd
Original Assignee
Shijiazhuang Kelin Electric 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 Shijiazhuang Kelin Electric Co Ltd filed Critical Shijiazhuang Kelin Electric Co Ltd
Priority to CN202310524218.6A priority Critical patent/CN116319573A/en
Publication of CN116319573A publication Critical patent/CN116319573A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention provides a communication method, a device and an electric energy meter of a dual-mode module electric energy meter in a power grid.

Description

Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter
Technical Field
The invention relates to the technical field of power grids, in particular to a communication method and device of a dual-mode module electric energy meter in a power grid and the electric energy meter.
Background
Along with popularization of the intelligent electric energy meter and the acquisition system thereof, massive electricity consumption data are communicated with the communication module of the electric energy meter and the communication module arranged in the concentrator and then transmitted to the power grid control master station system, and the traditional power grid electricity consumption data acquisition mainly adopts a single communication mode, such as a narrow-band carrier wave, a broadband carrier wave, wireless micropower or wireless public network and the like. However, in practical application, due to the problems of power grid noise, remote installation of an electric energy meter, public network communication cost and the like, a single communication module cannot meet the reading and application of mass data of a power grid. Therefore, a dual mode communication mode of a combination mode of a carrier and a micro power, or a carrier and a wireless public network is introduced and applied.
However, in the dual-mode communication process, two transmission channels are unevenly distributed, so that one transmission channel is crowded, the other transmission channel is lighter in load, data transmission between the electric energy meter and the control master station is affected, and communication efficiency is lower.
Disclosure of Invention
The invention provides a communication method and device of a dual-mode module electric energy meter in a power grid and the electric energy meter, which can reduce the problem of uneven distribution among transmission channels in the dual-mode communication process and improve the data transmission rate and communication efficiency between the electric energy meter and a control master station.
In a first aspect, the present invention provides a communication method of a dual-mode module electric energy meter in a power grid, where the dual-mode module electric energy meter is provided with a plurality of transmission channels between a dual-mode module and a control master station, the communication method includes: monitoring transmission states of the plurality of transmission channels; if the transmission state of the current transmission channel communicated with the control master station is an abnormal state, determining the transmission channel with the transmission state being a normal state in all the transmission channels except the current transmission channel of the plurality of transmission channels; acquiring the transmission delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay; and carrying out data transmission through the main selection decision channel.
In one possible implementation manner, the monitoring the transmission states of the plurality of transmission channels includes: determining the sending time of a first negotiation message sent to the control master station and the receiving time of a second negotiation message returned by the control master station by each transmission channel of the plurality of transmission channels; calculating the message transmission delay of each transmission channel according to the receiving time of the second negotiation message and the sending time of the first negotiation message; determining that the transmission state of the transmission channel with the message transmission delay smaller than or equal to a preset threshold value is a normal state, and determining that the transmission state of the transmission channel with the message transmission delay larger than the preset threshold value is an abnormal state.
In one possible implementation, the method further includes: if no transmission channel with a normal transmission state exists in the rest transmission channels except the current transmission channel, acquiring the transmission time delay of the rest transmission channels; if the transmission delay of the first channel is smaller than that of the current transmission channel, determining the first channel as the main selection decision channel, wherein the first channel is any one of the remaining transmission channels.
In one possible implementation, the method further includes: if the transmission state of the current transmission channel is a normal state, periodically comparing the transmission time delay of the transmission channel with the transmission state of the transmission channels in the normal state; if the transmission delay of the second channel is smaller than that of the current transmission channel, determining that the transmission state of the second channel is better than that of the current transmission channel; the second channel is any one of the plurality of transmission channels, except the current transmission channel, the transmission state of which is a normal state; recording the continuous times of the transmission state of the second channel being better than the transmission state of the current transmission channel; and if the continuous times are greater than or equal to the set times, determining the second channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In one possible implementation manner, selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay includes: determining a transmission channel with the minimum transmission delay among the transmission channels in the normal state based on the transmission delay; and determining the transmission channel with the minimum transmission delay as the main selection decision channel.
In one possible implementation, the method further includes: receiving a switching instruction sent by the control master station, wherein the switching instruction is used for instructing the electric energy meter to switch the main selection decision channel into a third channel; the third channel is any one of the plurality of transmission channels; if the current transmission channel is the third channel, keeping the current transmission channel unchanged as the main selection decision channel; and if the current transmission channel is other channels except the third channel, determining the third channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In one possible implementation manner, the data transmission through the main selection decision channel includes: recording metering data of the electric energy meter in a current unit time period; and transmitting metering data in the current unit time period to the control master station by adopting the main selection decision channel.
In one possible implementation, the method further includes: acquiring a time period where the current moment is located; if the time period of the current moment is a busy time period, determining a fourth channel as the main selection decision channel; and transmitting data through the main selection decision channel, wherein the fourth channel is a transmission channel which is communicated with the control master station in a busy time period.
In a second aspect, an embodiment of the present invention provides a communication device for a dual-mode module electric energy meter in a power grid, where the dual-mode module electric energy meter is provided with a plurality of transmission channels between a dual-mode module and a control master station, and the communication device includes: a communication unit for monitoring transmission states of the plurality of transmission channels; a processing unit configured to determine, if a transmission state of a current transmission channel in communication with the control master station is an abnormal state, a transmission channel whose transmission state is a normal state among the remaining transmission channels of the plurality of transmission channels other than the current transmission channel; acquiring the transmission delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay; and carrying out data transmission through the main selection decision channel.
In a possible implementation manner, the processing unit is specifically configured to determine a sending time of a first negotiation message to the control master station and a receiving time of a second negotiation message returned by the control master station for each transmission channel of the plurality of transmission channels; calculating the message transmission delay of each transmission channel according to the receiving time of the second negotiation message and the sending time of the first negotiation message; determining that the transmission state of the transmission channel with the message transmission delay smaller than or equal to a preset threshold value is a normal state, and determining that the transmission state of the transmission channel with the message transmission delay larger than the preset threshold value is an abnormal state.
In one possible implementation manner, the communication unit is further configured to obtain a transmission delay of each remaining transmission channel, if there is no transmission channel whose transmission state is a normal state, in each remaining transmission channel of the plurality of transmission channels except for the current transmission channel; and the processing unit is further configured to determine the first channel as the main selection decision channel if the transmission delay of the first channel is smaller than the transmission delay of the current transmission channel, where the first channel is any one of the remaining transmission channels.
In one possible implementation manner, the processing unit is further configured to periodically compare a transmission delay of a transmission channel in which the transmission state of the plurality of transmission channels is a normal state if the transmission state of the current transmission channel is the normal state; if the transmission delay of the second channel is smaller than that of the current transmission channel, determining that the transmission state of the second channel is better than that of the current transmission channel; the second channel is any one of the plurality of transmission channels, except the current transmission channel, the transmission state of which is a normal state; recording the continuous times of the transmission state of the second channel being better than the transmission state of the current transmission channel; and if the continuous times are greater than or equal to the set times, determining the second channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In a possible implementation manner, the processing unit is specifically configured to determine, based on the transmission delay, a transmission channel with the smallest transmission delay among the transmission channels in the normal state; and determining the transmission channel with the minimum transmission delay as the main selection decision channel.
In a possible implementation manner, the communication unit is further configured to receive a switching instruction sent by the control master station, where the switching instruction is used to instruct the electric energy meter to switch the main selection decision channel to a third channel; the third channel is any one of the plurality of transmission channels; the processing unit is further configured to keep the current transmission channel unchanged as the main selection decision channel if the current transmission channel is the third channel; and if the current transmission channel is other channels except the third channel, determining the third channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In a possible implementation, the processing unit is specifically configured to record metering data of the electric energy meter in a current unit period; and transmitting metering data in the current unit time period to the control master station by adopting the main selection decision channel.
In a possible implementation manner, the communication unit is further configured to obtain a period in which the current time is located; the processing unit is further used for determining a fourth channel as the main selection decision channel if the period of the current moment is a busy hour period; and transmitting data through the main selection decision channel, wherein the fourth channel is a transmission channel which is communicated with the control master station in a busy time period.
In a third aspect, an embodiment of the present invention provides an electric energy meter, where a plurality of transmission channels are provided between the electric energy meter and a control master station through a dual-mode module, and the electric energy meter includes a memory and a processor, where the memory stores a computer program, and the processor is configured to invoke and run the computer program stored in the memory to perform the steps of the method according to any one of the first aspect and the possible implementation manners of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to the first aspect and any one of the possible implementations of the first aspect.
The invention provides a communication method, a device and an electric energy meter of a dual-mode module electric energy meter in a power grid.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a communication method of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another communication method of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention;
FIG. 3 is a flow chart of a communication method of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention;
FIG. 4 is a flow chart of a communication method of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication device of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electric energy meter according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In the description of the present invention, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules but may, alternatively, include other steps or modules not listed or inherent to such process, method, article, or apparatus.
In the related art, the electric energy meter and the power grid control master station usually adopt dual-mode communication. However, in the dual-mode communication process, two transmission channels are unevenly distributed, so that one transmission channel is crowded, the other transmission channel is lighter in load, data transmission between the electric energy meter and the control master station is affected, and communication efficiency is lower.
Therefore, the embodiment of the invention provides a communication method of a dual-mode module electric energy meter in a power grid, in the communication process of the electric energy meter and a control main station, a main selection decision channel is selected from a plurality of transmission channels of the electric energy meter and the control main station to perform data transmission in consideration of the transmission states and the transmission time delays of the transmission channels between the electric energy meter and the control main station, so that the problem of uneven distribution between the transmission channels between the electric energy meter and the control main station is solved, and the data transmission rate and the communication efficiency between the electric energy meter and the control main station are improved.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made with reference to the accompanying drawings of the present invention by way of specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a communication method of a dual-mode module electric energy meter in a power grid. The dual-mode module electric energy meter is provided with a plurality of transmission channels between the dual-mode module and the control master station. The communication method comprises steps S101-S104.
S101, monitoring transmission states of the plurality of transmission channels.
In some embodiments, the transmission states of the transmission channel include a normal state and an abnormal state. The normal state indicates that the message transmission delay is smaller, and data can be normally transmitted. The abnormal state indicates that the message transmission delay is larger, and the data transmission process is congested.
In some embodiments, the dual mode module of the power meter may include any two of the following communication modules: carrier module, wireless module, micropower module and bluetooth module.
By way of example, the dual mode module of the power meter may include a carrier module and a wireless module; alternatively, the dual-mode module of the electric energy meter may include a carrier module and a micropower module; alternatively, the dual mode module of the power meter may include a wireless module and a bluetooth module.
In some embodiments, the control master station is provided with various types of communication modules, such as carrier modules, wireless modules, micro-power modules, and bluetooth modules.
By way of example, the control master station may comprise four communication modules. Such as carrier modules, wireless modules, micro-power modules, and bluetooth modules. Alternatively, the control master station may comprise one carrier module, two radio modules, three micropower modules and two bluetooth modules. Alternatively, the control master station may comprise a carrier module and a radio module.
In some embodiments, the dual-mode module electric energy meter is provided with a plurality of transmission channels between the dual-mode module and the control master station.
For example, two transmission channels may be provided between the dual-mode module power meter and the control master station. If the dual-mode module electric energy meter is provided with a first transmission channel between the carrier module and the control master station. The dual-mode module electric energy meter is provided with a second transmission channel between the wireless module and the control master station.
In yet another example, multiple transmission channels may be provided between the dual-mode module power meter and the control master station. If the dual-mode module electric energy meter is provided with a first transmission channel between the carrier module and a first carrier module of the control master station. The dual-mode module electric energy meter is provided with a second transmission channel between the carrier module and a second carrier module of the control master station. The dual-mode module electric energy meter is provided with a third transmission channel between the wireless module and the first wireless module of the control master station. The electric energy meter with the dual-mode module is provided with a fourth transmission channel between the wireless module and a second wireless module of the control master station.
In some embodiments, the dual-mode module power meter may be connected to a concentrator, which is connected to a control master station. Thus, the dual-mode module electric energy meter establishes a transmission channel through the concentrator and the control master station.
For example, the concentrator may be provided with two or more communication modules. Such as a concentrator is provided with a carrier module and a radio module. The carrier module of the electric energy meter and the carrier module of the concentrator are communicated with each other to form a transmission channel for data transmission. The wireless module of the electric energy meter and the wireless module of the concentrator are communicated with each other to form a transmission channel for data transmission.
As a possible implementation manner, the embodiment of the present invention may determine the transmission status of each of the plurality of transmission channels one by one.
For example, for any transmission channel, embodiments of the present invention may determine the status of the transmission channel through steps S1011-S1015.
S1011, determining the sending time of a first negotiation message to the control master station and the receiving time of a second negotiation message returned by the control master station for each transmission channel of the plurality of transmission channels.
The embodiment of the invention can send the first negotiation message to the control master station, record the sending time of the first negotiation message, receive the second negotiation message returned by the control master station, and record the receiving time of the second negotiation message.
The embodiment of the invention can receive the second negotiation message within a set time period after sending the first negotiation message. If the second negotiation message is received within the set time length, recording the receiving time of the second negotiation message. If the second negotiation message is not received within the set time length, recording the time corresponding to the set time length after the first negotiation message is sent as the receiving time of the second negotiation message.
Illustratively, the electric energy meter may communicate directly with the control master station, send a first negotiation message, and receive a second negotiation message.
In another example, the electric energy meter may also send the first negotiation message to the concentrator first. The concentrator collects the first negotiation messages of the plurality of electric energy meters and then uniformly transmits the first negotiation messages to the control master station.
For example, in the embodiment of the invention, the first negotiation message can be sent to the carrier module of the concentrator through the carrier module of the electric energy meter, and the sending time of the first negotiation message is recorded; and receiving a second negotiation message sent by the carrier module of the concentrator through the carrier module of the electric energy meter, and recording the receiving time of the second negotiation message.
S1012, calculating the message transmission delay of each transmission channel according to the receiving time of the second negotiation message and the sending time of the first negotiation message.
For example, assuming that the sending time of the first negotiation message is T1 and the receiving time of the second negotiation message is T2, the message transmission delay is t3=t2-T1.
S1013, determining that the transmission state of the transmission channel with the message transmission delay smaller than or equal to a preset threshold value is a normal state, and determining that the transmission state of the transmission channel with the message transmission delay larger than the preset threshold value is an abnormal state.
If the message transmission delay is smaller than or equal to a preset threshold value, determining that the transmission channel is in a normal state. The message transmission delay is smaller than or equal to a preset threshold value, which indicates that the transmission state of the transmission channel is good, and the transmission channel is in a normal state. The preset threshold may be 100ms, or may be determined according to an actual transmission situation.
If the message transmission delay is greater than the preset threshold, determining that the transmission channel is in an abnormal state. The message transmission delay is larger than a preset threshold value, which indicates that the transmission state of the transmission channel is poor, and even the second negotiation message is not received, the transmission channel is in an abnormal state.
Thus, the embodiment of the invention can calculate the message transmission delay of each transmission channel between the electric energy meter and the control master station through mutual message transmission, determine the transmission state of each transmission channel, and quantize the transmission state of each transmission channel in time through the message transmission delay so as to improve the refinement degree of the transmission state.
S102, if the transmission state of the current transmission channel communicated with the control master station is abnormal, determining the transmission channel with the transmission state being normal among the rest transmission channels except the current transmission channel.
S103, acquiring the transmission time delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission time delay.
As a possible implementation manner, the embodiment of the present invention may determine the main selection decision channel through steps S1021-S1025.
S1021, if the transmission state of the current transmission channel is abnormal, judging whether the transmission channels in the normal state exist in other transmission channels except the current transmission channel.
And S1022, if the transmission channel in the normal state exists, acquiring the transmission delay of the transmission channel in the normal state.
S1023, selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay.
The embodiment of the invention can determine the transmission channel with the minimum transmission delay from the transmission channels in the normal state based on the transmission delay; and determining the transmission channel with the minimum transmission delay as the main selection decision channel.
S1024, if no transmission channel in the normal state exists, the transmission delay of each remaining transmission channel is obtained.
S1025, if the transmission delay of the first channel is smaller than the transmission delay of the current transmission channel, determining the first channel as the main selection decision channel.
The first channel is any one of the remaining transmission channels.
Therefore, when the current transmission channel is abnormal, the embodiment of the invention can be switched to a normal transmission channel or a transmission channel with smaller transmission delay, thereby ensuring the data transmission rate between the electric energy meter and the control master station and improving the communication efficiency.
S104, data transmission is carried out through the main selection decision channel.
The embodiment of the invention can record the metering data of the electric energy meter in the current unit time period; and transmitting metering data in the current unit time period to the control master station by adopting a main selection decision channel.
The invention provides a communication method of a dual-mode module electric energy meter in a power grid, which is characterized in that the transmission states of all transmission channels between the electric energy meter and a control master station are detected, the transmission channel in a normal state is determined when the transmission state of the current transmission channel is an abnormal state, a main selection decision channel is selected based on the transmission time delay of the transmission channel in the normal state, and data transmission is carried out through the main selection decision channel, so that the problem of uneven distribution among the transmission channels in the dual-mode communication process is solved, and the data transmission rate and the communication efficiency between the electric energy meter and the control master station are improved.
Optionally, as shown in fig. 2, the communication method of the dual-mode module electric energy meter in the power grid provided by the embodiment of the invention further includes steps S201 to S204.
S201, if the transmission state of the current transmission channel is a normal state, periodically comparing the transmission time delay of the transmission channel with the transmission state of the normal state in the plurality of transmission channels.
S202, if the transmission delay of the second channel is smaller than that of the current transmission channel, determining that the transmission state of the second channel is better than that of the current transmission channel.
In some embodiments, the second channel is any one of the plurality of transmission channels except the current transmission channel, and the transmission state is a normal state.
S203, recording the continuous times of the transmission state of the second channel superior to the transmission state of the current transmission channel.
S204, if the continuous times are greater than or equal to the set times, determining the second channel as a main selection decision channel, and transmitting data through the main selection decision channel.
Therefore, when the current transmission channel is normal, the embodiment of the invention can periodically detect the transmission time delay of each transmission channel, switch to the transmission channel with smaller transmission time delay for data transmission, and improve the data transmission rate and the communication efficiency between the electric energy meter and the control master station.
For example, when the current transmission channel is normal, the electric energy meter and the control master station meter normally and periodically detect the transmission delay of the message, if the transmission delay of 10 continuous messages exceeds the specified time, and the smoothness detection of another channel is better, the other channel is switched to read the power consumption data, and the transmission delay time of the corresponding channel is also calculated; if the delay time of the channel is equal to that of the original channel or less than that of the previous channel, keeping the channel to send data; if the channel transmission delay is longer than the prescribed time, the channel is switched again for transmission.
Optionally, as shown in fig. 3, the communication method of the dual-mode module electric energy meter in the power grid provided by the embodiment of the invention further includes steps S301 to S303.
S301, receiving a switching instruction sent by a control master station.
In some embodiments, the switching instruction is configured to instruct the electric energy meter to switch the main selection decision channel to the third channel.
Illustratively, the third channel is any one of a plurality of transmission channels.
S302, if the current transmission channel is the third channel, keeping the current transmission channel as the main selection decision channel unchanged.
S303, if the current transmission channel is other channels than the third channel, determining the third channel as a main selection decision channel, and transmitting data through the main selection decision channel.
It should be noted that, the electric energy meter may switch transmission channels based on the indication of the control master station, so as to implement the planning decision of the transmission channels. For example, when a certain transmission channel of the control master station is in period 22: when 00-24:00 is used for overhauling, the occupied resources are high, and the control master station can send a switching instruction to the electric energy meter in advance to instruct the electric energy meter to be switched to another transmission channel. For example, when the wireless public network is used for maintenance, the electric energy meter can be instructed to switch to the carrier channel, i.e. the third channel is the carrier channel.
Optionally, as shown in fig. 4, the communication method of the dual-mode module electric energy meter in the power grid provided by the embodiment of the invention further includes steps S401 to S402.
S401, acquiring a time period where the current moment is located.
S402, if the period of the current moment is a busy hour period, determining a fourth channel as a main selection decision channel; and data transmission is carried out through the main selection decision channel.
And the fourth channel is a transmission channel which is communicated with the control master station in a busy time period.
It should be noted that, in the busy hour period, a load of a certain transmission channel is heavy, and the electric energy meter can avoid the busy hour period in advance, and adopts another transmission channel to transmit data. For example, the busy hour wireless public network is heavily loaded, and the fourth channel may be a carrier channel. The electric energy meter can determine the carrier channel as a main selection decision channel and transmit data through the carrier channel.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 5 shows a schematic structural diagram of a communication device of a dual-mode module electric energy meter in a power grid according to an embodiment of the present invention. The dual-mode module electric energy meter is provided with a plurality of transmission channels between the dual-mode module and the control master station, and the communication device 500 comprises a communication unit 501 and a processing unit 502.
A communication unit 501, configured to monitor transmission states of the plurality of transmission channels.
A processing unit 502, configured to determine, if a transmission state of a current transmission channel in communication with the control master station is an abnormal state, a transmission channel whose transmission state is a normal state among the remaining transmission channels of the plurality of transmission channels except the current transmission channel; acquiring the transmission delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay; and carrying out data transmission through the main selection decision channel.
In a possible implementation manner, the processing unit 502 is specifically configured to determine a sending time of the first negotiation message to the control master station and a receiving time of the second negotiation message returned by the control master station for each transmission channel of the plurality of transmission channels; calculating the message transmission delay of each transmission channel according to the receiving time of the second negotiation message and the sending time of the first negotiation message; determining that the transmission state of the transmission channel with the message transmission delay smaller than or equal to a preset threshold value is a normal state, and determining that the transmission state of the transmission channel with the message transmission delay larger than the preset threshold value is an abnormal state.
In a possible implementation manner, the communication unit 501 is further configured to obtain a transmission delay of each remaining transmission channel, if there is no transmission channel whose transmission state is a normal state, in each remaining transmission channel of the plurality of transmission channels except for the current transmission channel; the processing unit 502 is further configured to determine the first channel as the main selection decision channel if the transmission delay of the first channel is smaller than the transmission delay of the current transmission channel, where the first channel is any one of the remaining transmission channels.
In a possible implementation manner, the processing unit 502 is further configured to periodically compare the transmission delays of the transmission channels whose transmission states are normal in the plurality of transmission channels if the transmission states of the current transmission channels are normal; if the transmission delay of the second channel is smaller than that of the current transmission channel, determining that the transmission state of the second channel is better than that of the current transmission channel; the second channel is any one of the plurality of transmission channels, except the current transmission channel, the transmission state of which is a normal state; recording the continuous times of the transmission state of the second channel being better than the transmission state of the current transmission channel; and if the continuous times are greater than or equal to the set times, determining the second channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In a possible implementation manner, the processing unit 502 is specifically configured to determine, based on the transmission delay, a transmission channel with the smallest transmission delay among the transmission channels in the normal state; and determining the transmission channel with the minimum transmission delay as the main selection decision channel.
In a possible implementation manner, the communication unit 501 is further configured to receive a switching instruction sent by the control master station, where the switching instruction is used to instruct the electric energy meter to switch the main selection decision channel to a third channel; the third channel is any one of the plurality of transmission channels; the processing unit 502 is further configured to keep the current transmission channel unchanged as the main selection decision channel if the current transmission channel is the third channel; and if the current transmission channel is other channels except the third channel, determining the third channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
In a possible implementation manner, the processing unit 502 is specifically configured to record metering data of the electric energy meter in a current unit period; and transmitting metering data in the current unit time period to the control master station by adopting the main selection decision channel.
In a possible implementation manner, the communication unit 501 is further configured to acquire a period in which the current time is located; the processing unit 502 is further configured to determine, if the period in which the current time is located is a busy hour period, a fourth channel as the main selection decision channel; and transmitting data through the main selection decision channel, wherein the fourth channel is a transmission channel which is communicated with the control master station in a busy time period.
Fig. 6 is a schematic structural diagram of an electric energy meter according to an embodiment of the present invention. As shown in fig. 6, the electric energy meter 600 of this embodiment includes: a processor 601, a memory 602, and a computer program 603 stored in the memory 602 and executable on the processor 601. The steps of the method embodiments described above, such as steps S101-S104 shown in fig. 1, are implemented when the processor 601 executes the computer program 603. Alternatively, the processor 601 may implement the functions of the modules/units in the above-described device embodiments when executing the computer program 603, for example, the functions of the communication unit 501 and the processing unit 502 shown in fig. 5.
Illustratively, the computer program 603 may be partitioned into one or more modules/units that are stored in the memory 602 and executed by the processor 601 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 603 in the electric energy meter 600. For example, the computer program 603 may be divided into a communication unit 501 and a processing unit 502 as shown in fig. 5.
The processor 601 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 602 may be an internal storage unit of the electric energy meter 600, such as a hard disk or a memory of the electric energy meter 600. The memory 602 may also be an external storage device of the electric energy meter 600, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electric energy meter 600. Further, the memory 602 may also include both an internal memory unit and an external memory device of the power meter 600. The memory 602 is used for storing the computer program and other programs and data required by the terminal. The memory 602 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. The communication method of the dual-mode module electric energy meter in the power grid is characterized in that the dual-mode module electric energy meter is provided with a plurality of transmission channels between the dual-mode module and a control master station, and the communication method comprises the following steps:
monitoring transmission states of the plurality of transmission channels;
if the transmission state of the current transmission channel communicated with the control master station is an abnormal state, determining the transmission channel with the transmission state being a normal state in all the transmission channels except the current transmission channel of the plurality of transmission channels;
acquiring the transmission delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay;
And carrying out data transmission through the main selection decision channel.
2. The method for communication of a dual-mode module power meter in a power grid as set forth in claim 1, wherein said monitoring the transmission status of the plurality of transmission channels comprises:
determining the sending time of a first negotiation message sent to the control master station and the receiving time of a second negotiation message returned by the control master station by each transmission channel of the plurality of transmission channels;
calculating the message transmission delay of each transmission channel according to the receiving time of the second negotiation message and the sending time of the first negotiation message;
determining that the transmission state of the transmission channel with the message transmission delay smaller than or equal to a preset threshold value is a normal state, and determining that the transmission state of the transmission channel with the message transmission delay larger than the preset threshold value is an abnormal state.
3. The method of communicating a dual-mode module power meter in a power grid of claim 1, further comprising:
if no transmission channel with a normal transmission state exists in the rest transmission channels except the current transmission channel, acquiring the transmission time delay of the rest transmission channels;
If the transmission delay of the first channel is smaller than that of the current transmission channel, determining the first channel as the main selection decision channel, wherein the first channel is any one of the remaining transmission channels.
4. The method of communicating a dual-mode module power meter in a power grid of claim 1, further comprising:
if the transmission state of the current transmission channel is a normal state, periodically comparing the transmission time delay of the transmission channel with the transmission state of the transmission channels in the normal state;
if the transmission delay of the second channel is smaller than that of the current transmission channel, determining that the transmission state of the second channel is better than that of the current transmission channel; the second channel is any one of the plurality of transmission channels, except the current transmission channel, the transmission state of which is a normal state;
recording the continuous times of the transmission state of the second channel being better than the transmission state of the current transmission channel;
and if the continuous times are greater than or equal to the set times, determining the second channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
5. The method for communicating a dual-mode module electric energy meter in a power grid according to claim 1, wherein selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay comprises:
determining a transmission channel with the minimum transmission delay among the transmission channels in the normal state based on the transmission delay;
and determining the transmission channel with the minimum transmission delay as the main selection decision channel.
6. A method of communication of a dual-mode module power meter in a power grid as claimed in any one of claims 1 to 5, further comprising:
receiving a switching instruction sent by the control master station, wherein the switching instruction is used for instructing the electric energy meter to switch the main selection decision channel into a third channel; the third channel is any one of the plurality of transmission channels;
if the current transmission channel is the third channel, keeping the current transmission channel unchanged as the main selection decision channel;
and if the current transmission channel is other channels except the third channel, determining the third channel as the main selection decision channel, and carrying out data transmission through the main selection decision channel.
7. The method for communication of a dual-mode module electric energy meter in a power grid according to any one of claims 1 to 5, wherein the data transmission through the main selection decision channel comprises:
recording metering data of the electric energy meter in a current unit time period;
and transmitting metering data in the current unit time period to the control master station by adopting the main selection decision channel.
8. A method of communication of a dual-mode module power meter in a power grid as claimed in any one of claims 1 to 5, further comprising:
acquiring a time period where the current moment is located;
if the time period of the current moment is a busy time period, determining a fourth channel as the main selection decision channel; and transmitting data through the main selection decision channel, wherein the fourth channel is a transmission channel which is communicated with the control master station in a busy time period.
9. The utility model provides a communication device of bimodulus module electric energy meter in electric wire netting, its characterized in that, bimodulus module electric energy meter sets up a plurality of transmission channels through between bimodulus module and the control main website, communication device includes:
a communication unit for monitoring transmission states of the plurality of transmission channels;
A processing unit configured to determine, if a transmission state of a current transmission channel in communication with the control master station is an abnormal state, a transmission channel whose transmission state is a normal state among the remaining transmission channels of the plurality of transmission channels other than the current transmission channel; acquiring the transmission delay of the transmission channel in the normal state, and selecting a main selection decision channel from the transmission channels in the normal state based on the transmission delay; and carrying out data transmission through the main selection decision channel.
10. An electric energy meter, characterized in that it is provided with a plurality of transmission channels between the electric energy meter and a control master station via a dual-mode module, the electric energy meter comprising a memory storing a computer program and a processor for calling and running the computer program stored in the memory to perform the steps of the method according to any one of claims 1 to 8.
CN202310524218.6A 2023-05-11 2023-05-11 Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter Pending CN116319573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310524218.6A CN116319573A (en) 2023-05-11 2023-05-11 Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310524218.6A CN116319573A (en) 2023-05-11 2023-05-11 Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter

Publications (1)

Publication Number Publication Date
CN116319573A true CN116319573A (en) 2023-06-23

Family

ID=86798064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310524218.6A Pending CN116319573A (en) 2023-05-11 2023-05-11 Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter

Country Status (1)

Country Link
CN (1) CN116319573A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105788206A (en) * 2016-01-07 2016-07-20 江苏省电力公司电力科学研究院 Electricity information acquisition system based on dual-mode communication and method thereof
CN110868747A (en) * 2019-11-28 2020-03-06 上海商米科技集团股份有限公司 Method for detecting delay and automatically switching multiple network modes
CN111200830A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Data transmission method and device and electronic equipment
CN111679241A (en) * 2020-05-31 2020-09-18 宁夏隆基宁光仪表股份有限公司 Multi-information-channel automatic switching system and method for electric energy meter verification assembly line
CN114641045A (en) * 2022-02-24 2022-06-17 云南电网有限责任公司 Power transmission line communication channel switching method and system based on communication quality perception
CN115297153A (en) * 2021-04-19 2022-11-04 中兴通讯股份有限公司 Data transmission method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105788206A (en) * 2016-01-07 2016-07-20 江苏省电力公司电力科学研究院 Electricity information acquisition system based on dual-mode communication and method thereof
CN110868747A (en) * 2019-11-28 2020-03-06 上海商米科技集团股份有限公司 Method for detecting delay and automatically switching multiple network modes
CN111200830A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Data transmission method and device and electronic equipment
CN111679241A (en) * 2020-05-31 2020-09-18 宁夏隆基宁光仪表股份有限公司 Multi-information-channel automatic switching system and method for electric energy meter verification assembly line
CN115297153A (en) * 2021-04-19 2022-11-04 中兴通讯股份有限公司 Data transmission method, device, terminal and storage medium
CN114641045A (en) * 2022-02-24 2022-06-17 云南电网有限责任公司 Power transmission line communication channel switching method and system based on communication quality perception

Similar Documents

Publication Publication Date Title
CN102378218B (en) Access point equipment of wireless local area network and channel selection method thereof
US8583192B2 (en) Base station device, mobile communication method, and mobile communication system
US6677759B2 (en) Method and apparatus for high-voltage battery array monitoring sensors network
CN102918913B (en) For the method and apparatus of the preemptive type rollback for medium access in wireless ad-hoc network
CN110784456B (en) Automatic identification method and communication method for communication protocol
CN103843394A (en) Wireless communication system, base station, mobile station, and wireless communication method
CN102763445A (en) Low-power base station and wireless control method
JP2017513284A (en) Techniques for optimizing mesh networks
CN103874227A (en) Method, device and system for setting up connection
CN103856959A (en) Wireless local area network quality monitoring method, device and system
CN111314185A (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
KR102076568B1 (en) The remote meter reading system with function that real-time monitoring of communication quality and, method that real-time monitoring of communication quality of the system
CN106301472A (en) Method and the website of relay is selected in power line network
CN103826277A (en) Multi-hop communication terminal, multi-hop communication system, and multi-hop communication method
CN104936211A (en) Wireless resource distribution method
CN115967951A (en) Method, device and system for optimizing network capacity
CN111565403B (en) Data measurement method and device
CN116319573A (en) Communication method and device of dual-mode module electric energy meter in power grid and electric energy meter
CN103875293A (en) Methods and apparatus for adaptive paging in peer-to-peer networks
EP3304966A1 (en) Establishing usefulness of remote antenna units in a wireless communications system
Ma et al. Uncoordinated coexisting IEEE 802.15. 4 networks for machine to machine communications
CN111885588B (en) Method and device for executing electronic card management service
WO2013157230A1 (en) Communication network system and terminal apparatus
CN112153679B (en) Network switching method and device
CN103686644A (en) Remote control method and remote control system for terminal switching and server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230623