Carrier communication method and system for dual-core intelligent electric meter
By using the metering core to receive the heartbeat signal of the management core in a dual-core smart meter to determine the data transmission method, the problem that the remote reading function of the meter cannot be realized when the management core fails, and the normal progress of the power meter in the event of a fault is achieved, and the reliability of the system is improved.
Patent Information
- Application Number
- CN202411693819.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-25
AI Technical Summary
In a dual-core smart meter, if the management core fails, the remote reading function of the meter cannot be realized, which affects the normal operation of the power metering system.
The metering core continuously receives the heartbeat signal sent by the management core. When the heartbeat signal is received, a carrier communication connection between the management core and the intelligent terminal is established for the first data transmission; when the heartbeat signal is not received, a carrier communication connection between the metering core and the intelligent terminal is established for the second data transmission to ensure the normal progress of the power metering service.
In the case of management core failure, the metering core replaces the management core to ensure the reliable operation of the power metering system, and improve the operating reliability of the dual-core smart meter.
Smart Images

Figure CN119629095A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a carrier communication method and system for a dual-core smart meter. Background Art
[0002] With the rapid development of new power systems, various new metering requirements such as time-of-use electricity prices and carbon metering have challenged the functions of smart meters. In order to adapt to the development of new power systems, the IR46 meter standard organization has proposed a dual-core separation smart metering solution. In dual-core smart meters, the core components of the meter are divided into two parts: the metering core and the management core. The metering core realizes basic data collection and electric energy metering services. According to the measurement law, the module program is fixed and cannot be upgraded. The management core realizes various meter management functions and new power system services and can be upgraded freely. In the currently implemented dual-core smart meter solution, the management core reports the meter reading data to the smart terminal through the carrier communication module, and cooperates with the power metering system to realize the meter metering data reading function.
[0003] In the current solution, the metering core has the ability to measure independently. It can retain the function of electric energy metering when the management core is upgraded or fails, and store the metering data in the local meter. However, in actual field applications, basically all domestic meters are remotely read through power carrier communication, and the ability to read on site is no longer retained. In the current dual-core smart meter solution, the carrier communication module is connected to the management core. When the management core is unavailable, remote meter reading cannot be achieved, which is bound to affect the normal operation of the power metering system. Therefore, how to ensure the orderly development of innovative services of the new power system without affecting the reliable operation of the existing power metering system is a technical problem that urgently needs to be solved. Summary of the invention
[0004] In response to the above technical problems, the present application provides a carrier communication method and system for a dual-core smart meter to improve the reliability of the operation of the dual-core smart meter.
[0005] In a first aspect, an embodiment of the present application provides a carrier communication method for a dual-core smart meter, wherein the dual-core smart meter is provided with a metering core and a management core; the carrier communication method comprises:
[0006] The heartbeat signal is continuously received by the metering core, and the heartbeat signal is continuously sent by the management core in a normal working state;
[0007] When the heartbeat signal is received within a preset time interval, a carrier communication connection is established between the management core and a preset smart terminal, so that the management core and the smart terminal perform a first data transmission;
[0008] When the heartbeat signal is not received within a preset time interval, a carrier communication connection is established between the metering core and the smart terminal, so that the metering core and the smart terminal perform second data transmission.
[0009] The embodiment of the present application provides a carrier communication method for a dual-core smart meter, which determines whether to perform the first data transmission or the second data transmission by receiving a heartbeat signal. In a dual-core smart meter, the metering core is usually used to realize basic data collection and electric energy metering services, and the management core is usually used to realize various meter management functions and new power system services. Therefore, when the heartbeat signal is received within a preset time interval, it indicates that the management core is still working normally. At this time, the management core and the smart terminal are made to perform the first data transmission to ensure that various meter management functions and new power system services are carried out normally; when the heartbeat signal is not received within the preset time interval, it indicates that the management core has a fault. At this time, the metering core replaces the management core, and the metering core and the smart terminal are made to perform the second data transmission to ensure that the basic data collection and electric energy metering services of the meter are carried out normally. Compared with the prior art, the method provided by the embodiment of the present application can ensure the reliable operation of the electric energy metering system in the event of a management core failure, thereby improving the reliability of the operation of the dual-core smart meter.
[0010] In a possible implementation, when the heartbeat signal is received within a preset time interval, establishing a carrier communication connection between the management core and a preset smart terminal includes:
[0011] Connecting a first communication interface of a preset communication channel to a communication interface of the management core, wherein a second communication interface of the communication channel is fixedly connected to a carrier communication module of the dual-core smart meter, and a carrier communication connection exists between the carrier communication module and the smart terminal;
[0012] Obtaining the meter serial number information sent by the metering core;
[0013] A carrier communication connection is established between the management core and the smart terminal according to the meter serial number information.
[0014] In a possible implementation, when the heartbeat signal is not received within a preset time interval, establishing a carrier communication connection between the metering core and the smart terminal includes:
[0015] Connecting the first communication interface to the communication interface of the metering core;
[0016] A carrier communication connection is established between the meter core and the smart terminal according to the meter serial number information.
[0017] The embodiment of the present application provides a method for establishing a carrier communication connection between a management core or a metering core and a smart terminal, which is implemented through a preset communication channel. Among them, the second communication interface of the communication channel is fixedly connected to the carrier communication module, and there is a carrier communication connection between the carrier communication module and the smart terminal. Therefore, when it is necessary to establish a carrier communication connection between the management core or the metering core and the smart terminal, it is only necessary to change the connection object of the first communication interface of the communication channel to establish a complete carrier communication connection, thereby improving the speed of establishing the carrier communication connection. At the same time, in the process of establishing a carrier communication connection, the carrier communication module always maintains a connection with the smart terminal. Such a setting can avoid missing the instructions issued by the smart terminal during the connection establishment process, and further improve the reliability of the operation of the dual-core smart meter.
[0018] Furthermore, the connection object of the first communication interface is switched through a preset channel switching switch, so that the first communication interface is connected to the communication interface of the management core or to the communication interface of the metering core.
[0019] Furthermore, the metering core is independently controlled and connected to the channel switching switch;
[0020] When the metering core receives the heartbeat signal within a preset time interval, sending a first control signal to the channel switching switch so that the channel switching switch connects the first communication interface with the communication interface of the management core;
[0021] When the metering core does not receive the heartbeat signal within a preset time interval, a second control signal is sent to the channel switching switch, so that the channel switching switch connects the first communication interface with the communication interface of the metering core.
[0022] In the embodiment of the present application, a channel switching switch is provided to switch the connection object of the first communication interface, and the channel switching switch is controlled by the metering core. Since the metering core determines whether the management core is operating normally based on the heartbeat signal sent by the management core, when the management core fails or resumes normal operation, the metering core can respond quickly and directly send a control signal to the channel switching switch to switch the channel, thereby improving the response speed of the carrier communication connection in the smart meter and further improving the reliability of the operation of the dual-core smart meter.
[0023] In a possible implementation manner, the management core performs first data transmission with the smart terminal, including:
[0024] Obtaining instructions issued by the intelligent terminal;
[0025] If the instruction is a management core service instruction, performing corresponding processing according to the management core service instruction, and uploading the processing result to the smart terminal;
[0026] If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction;
[0027] The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
[0028] An embodiment of the present application provides a method for performing a first data transmission. At this time, the management core operates normally. By classifying, judging and processing the instructions issued by the smart terminal, the management core can directly process the management core business instructions, and can also indirectly process the meter reading instructions through transparent transmission, thereby ensuring the integrity of the smart meter functions and services.
[0029] In a possible implementation manner, the metering chip and the smart terminal perform second data transmission, including:
[0030] Upload the management chip failure event to the smart terminal;
[0031] Obtaining an electric meter reading instruction issued by the smart terminal;
[0032] Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data;
[0033] The electric meter reading data is uploaded to the smart terminal.
[0034] An embodiment of the present application provides a method for performing a second data transmission. In this case, when a management core fails, the metering core first uploads the management core failure event to the smart terminal, so that the smart terminal can know the management core failure in the first place, and then arrange relevant personnel to handle the failure, thereby improving the efficiency of fault handling. At the same time, after obtaining the management core failure event, the smart terminal will no longer issue management core business instructions, but only issue electricity meter reading instructions, thereby reducing invalid data transmission and improving data transmission efficiency. The metering core replaces the management core to maintain the normal operation of basic data collection and electricity metering services, minimize the impact of the failure on the dual-core smart meter, and ensure the reliability of the operation of the dual-core smart meter.
[0035] In a second aspect, accordingly, an embodiment of the present application provides a carrier communication system for a dual-core smart meter, wherein the dual-core smart meter is provided with a metering core and a management core; the carrier communication system includes an acquisition module, a first data transmission module, and a second data transmission module;
[0036] The acquisition module is used to continuously receive the heartbeat signal through the metering core, and the heartbeat signal is continuously sent by the management core in a normal working state;
[0037] The first data transmission module is used to establish a carrier communication connection between the management core and a preset smart terminal when the heartbeat signal is received within a preset time interval, thereby enabling the management core to perform a first data transmission with the smart terminal;
[0038] The second data transmission module is used to establish a carrier communication connection between the metering core and the smart terminal when the heartbeat signal is not received within a preset time interval, thereby enabling the metering core to perform second data transmission with the smart terminal.
[0039] In a possible implementation manner, the management core performs first data transmission with the smart terminal, including:
[0040] Obtaining instructions issued by the intelligent terminal;
[0041] If the instruction is a business instruction, perform corresponding processing according to the business instruction and upload the processing result to the smart terminal;
[0042] If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction;
[0043] The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
[0044] In a possible implementation manner, the metering chip and the smart terminal perform second data transmission, including:
[0045] Upload the management chip failure event to the smart terminal;
[0046] Obtaining an electric meter reading instruction issued by the smart terminal;
[0047] Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data;
[0048] The electric meter reading data is uploaded to the smart terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 : A flow chart of a carrier communication method for a dual-core smart meter provided in an embodiment of the present application.
[0050] Figure 2 : A structural schematic diagram of a dual-core smart meter in a carrier communication method for a dual-core smart meter provided in an embodiment of the present application.
[0051] Figure 3 : A schematic diagram of the control flow of the management core in a carrier communication method for a dual-core smart meter provided in an embodiment of the present application.
[0052] Figure 4 : A schematic diagram of the control flow of a metering core in a carrier communication method for a dual-core smart meter provided in an embodiment of the present application.
[0053] Figure 5 : A structural diagram of a carrier communication system for a dual-core smart meter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] It should be noted that the step numbers in the text are only for the convenience of explanation of the specific embodiments and do not serve to limit the order in which the steps are executed. In the description of this application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0056] Embodiment 1:
[0057] like Figure 1 As shown, embodiment 1 provides a carrier communication method for a dual-core smart meter, wherein the dual-core smart meter is provided with a metering core and a management core; the carrier communication method comprises steps S1-S3:
[0058] Step S1, continuously receiving a heartbeat signal through the metering core, wherein the heartbeat signal is continuously sent by the management core in a normal working state;
[0059] Step S2: when the heartbeat signal is received within a preset time interval, a carrier communication connection is established between the management core and a preset smart terminal, so that the management core and the smart terminal perform first data transmission;
[0060] Step S3: when the heartbeat signal is not received within a preset time interval, a carrier communication connection is established between the metering core and the smart terminal, so that the metering core and the smart terminal perform second data transmission.
[0061] The embodiment of the present application provides a carrier communication method for a dual-core smart meter, which determines whether to perform the first data transmission or the second data transmission by receiving a heartbeat signal. In a dual-core smart meter, the metering core is usually used to realize basic data collection and electric energy metering services, and the management core is usually used to realize various meter management functions and new power system services. Therefore, when the heartbeat signal is received within a preset time interval, it indicates that the management core is still working normally. At this time, the management core and the smart terminal are made to perform the first data transmission to ensure that various meter management functions and new power system services are carried out normally; when the heartbeat signal is not received within the preset time interval, it indicates that the management core has a fault. At this time, the metering core replaces the management core, and the metering core and the smart terminal are made to perform the second data transmission to ensure that the basic data collection and electric energy metering services of the meter are carried out normally. Compared with the prior art, the method provided by the embodiment of the present application can ensure the reliable operation of the electric energy metering system in the event of a management core failure, thereby improving the reliability of the operation of the dual-core smart meter.
[0062] In a preferred embodiment, in step S1, the management core can send a heartbeat signal to the metering core in two ways. The first way is to provide a physical level signal and transmit the transition edge of the level signal to the metering core as a heartbeat signal. The second way is that the metering core sends a heartbeat message through the data interface between the metering core and the management core. The heartbeat message can adopt a variety of message formats. In order to prevent misjudgment, the metering core can formulate a heartbeat signal judgment fault-tolerant mechanism. In this example, the management core sends a heartbeat message once a minute. If the metering core does not receive a heartbeat message for three consecutive minutes, it is determined that the management core is working abnormally.
[0063] In a possible implementation, in step S2, when the heartbeat signal is received within a preset time interval, establishing a carrier communication connection between the management core and a preset smart terminal includes:
[0064] Connecting a first communication interface of a preset communication channel to a communication interface of the management core, wherein a second communication interface of the communication channel is fixedly connected to a carrier communication module of the dual-core smart meter, and a carrier communication connection exists between the carrier communication module and the smart terminal;
[0065] Obtaining the meter serial number information sent by the metering core;
[0066] A carrier communication connection is established between the management core and the smart terminal according to the meter serial number information.
[0067] In a preferred embodiment, when the dual-core smart meter is working normally. The management core continuously sends a heartbeat signal to the metering core at a fixed frequency. After the metering core detects the heartbeat signal, it determines that the management core is working normally, and keeps the first communication interface connected to the communication interface of the management core, so that the communication interface of the management core is finally connected to the communication interface of the carrier communication module. The management core obtains the meter serial number from the metering core as a configuration parameter, and uses these configuration parameters to configure the carrier communication module, thereby establishing a connection with a remote smart terminal to obtain or upload new power system innovative business data. At the same time, the relevant commands of the basic meter reading function issued by the smart terminal are transparently transmitted to the metering core for processing.
[0068] In a possible implementation, in step S3, when the heartbeat signal is not received within a preset time interval, establishing a carrier communication connection between the metering core and the smart terminal includes:
[0069] Connecting the first communication interface to the communication interface of the metering core;
[0070] A carrier communication connection is established between the meter core and the smart terminal according to the meter serial number information.
[0071] In a preferred embodiment, when an abnormality occurs and causes the management core to be unavailable, the management core stops sending heartbeat signals. After the metering core detects that the heartbeat signal stops, it determines that the management core is working abnormally, connects the first communication interface with the communication interface of the metering core, and connects the communication interface of the metering core with the communication interface of the carrier communication module. The metering core uses the same meter serial number as a configuration parameter to re-establish a connection with the remote smart terminal, reports the meter reading data, and ensures that the basic function of uploading meter metering data operates normally.
[0072] The embodiment of the present application provides a method for establishing a carrier communication connection between a management core or a metering core and a smart terminal, which is implemented through a preset communication channel. Among them, the second communication interface of the communication channel is fixedly connected to the carrier communication module, and there is a carrier communication connection between the carrier communication module and the smart terminal. Therefore, when it is necessary to establish a carrier communication connection between the management core or the metering core and the smart terminal, it is only necessary to change the connection object of the first communication interface of the communication channel to establish a complete carrier communication connection, thereby improving the speed of establishing the carrier communication connection. At the same time, in the process of establishing a carrier communication connection, the carrier communication module always maintains a connection with the smart terminal. Such a setting can avoid missing the instructions issued by the smart terminal during the connection establishment process, and further improve the reliability of the operation of the dual-core smart meter.
[0073] Furthermore, the connection object of the first communication interface is switched through a preset channel switching switch, so that the first communication interface is connected to the communication interface of the management core or to the communication interface of the metering core.
[0074] Furthermore, the metering core is independently controlled and connected to the channel switching switch;
[0075] When the metering core receives the heartbeat signal within a preset time interval, sending a first control signal to the channel switching switch so that the channel switching switch connects the first communication interface with the communication interface of the management core;
[0076] When the metering core does not receive the heartbeat signal within a preset time interval, a second control signal is sent to the channel switching switch, so that the channel switching switch connects the first communication interface with the communication interface of the metering core.
[0077] In the embodiment of the present application, a channel switching switch is provided to switch the connection object of the first communication interface, and the channel switching switch is controlled by the metering core. Since the metering core determines whether the management core is operating normally based on the heartbeat signal sent by the management core, when the management core fails or resumes normal operation, the metering core can respond quickly and directly send a control signal to the channel switching switch to switch the channel, thereby improving the response speed of the carrier communication connection in the smart meter and further improving the reliability of the operation of the dual-core smart meter.
[0078] In a preferred embodiment, the communication architecture of the dual-core smart meter is as follows: Figure 2 As shown, it includes four parts: a management core, a metering core, a channel switching switch and a carrier communication module. The communication interfaces of the management core and the metering core are both connected to the channel selection end of the channel switching switch. The common end of the channel switching switch (i.e., the second communication interface) is connected to the communication interface of the carrier communication module. There is a data interface between the metering core and the management core, and the metering core can monitor the working status of the management core through a heartbeat signal. At the same time, the metering core can control the working status of the channel switching switch, and choose one of the management core and metering core communication interfaces at the channel selection end, and then connect to the communication interface of the carrier communication module through the common end to realize flexible switching of the first communication interface.
[0079] In a possible implementation, in step S2, the management core performs first data transmission with the smart terminal, including:
[0080] Obtaining instructions issued by the intelligent terminal;
[0081] If the instruction is a management core service instruction, performing corresponding processing according to the management core service instruction, and uploading the processing result to the smart terminal;
[0082] If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction;
[0083] The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
[0084] An embodiment of the present application provides a method for performing a first data transmission. At this time, the management core operates normally. By classifying, judging and processing the instructions issued by the smart terminal, the management core can directly process the management core business instructions, and can also indirectly process the meter reading instructions through transparent transmission, thereby ensuring the integrity of the smart meter functions and services.
[0085] In a preferred embodiment, after the management core is powered on, the communication interface control process is as follows: Figure 3 As shown, the specific process is as follows:
[0086] (1) After the management chip is powered on, the program is initialized. After the initialization is completed, the management chip sends a heartbeat signal to the metering chip, indicating that its working status is normal. Correspondingly, the metering chip receives the heartbeat message and switches the channel selection end of the channel switch to connect with the communication interface of the management chip. The communication interface of the management chip is connected to the communication interface of the carrier communication module.
[0087] (2) After the communication interface of the management core is connected to the communication interface of the carrier communication module, the management core obtains the meter serial number from the metering core through the data interface as the carrier communication configuration parameter. Correspondingly, the metering core transmits the meter serial number as the carrier communication configuration parameter to the management core.
[0088] (3) The management core uses the obtained configuration parameters to configure the carrier communication module, establish a connection with the remote intelligent terminal, and receive instructions from the remote intelligent terminal.
[0089] (4) After receiving the instruction from the remote intelligent terminal, the management core determines whether it is a new business instruction that needs to be processed by the management core or a basic business instruction that needs to be processed by the metering core.
[0090] (5) If the management core determines that the received instruction needs to be processed by the management core, it responds to the received instruction and replies with a response message.
[0091] (6) If the management core determines that the received instruction needs to be processed by the metering core, it will transparently transmit the received instruction to the metering core through the data interface between the two, while waiting for the metering core to respond to the instruction and transparently transmit the metering core response message to the carrier communication module.
[0092] In a possible implementation, in step S3, the metering core performs second data transmission with the smart terminal, including:
[0093] Upload the management chip failure event to the smart terminal;
[0094] Obtaining an electric meter reading instruction issued by the smart terminal;
[0095] Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data;
[0096] The electric meter reading data is uploaded to the smart terminal.
[0097] An embodiment of the present application provides a method for performing a second data transmission. In this case, when a management core fails, the metering core first uploads the management core failure event to the smart terminal, so that the smart terminal can know the management core failure in the first place, and then arrange relevant personnel to handle the failure, thereby improving the efficiency of fault handling. At the same time, after obtaining the management core failure event, the smart terminal will no longer issue management core business instructions, but only issue electricity meter reading instructions, thereby reducing invalid data transmission and improving data transmission efficiency. The metering core replaces the management core to maintain the normal operation of basic data collection and electricity metering services, minimize the impact of the failure on the dual-core smart meter, and ensure the reliability of the operation of the dual-core smart meter.
[0098] In a preferred embodiment, after the metering core is powered on, the entire electric meter is initialized, and then the carrier communication module interface is controlled. The entire carrier communication interface control process is as follows: Figure 4 As shown, the specific process is as follows:
[0099] (1) The metering core determines whether it has received the heartbeat signal sent by the management core. To prevent misjudgment, the metering core can develop a heartbeat signal judgment fault-tolerant mechanism. In this example, the management core sends a heartbeat message every minute. If the metering core does not receive a heartbeat message for three consecutive minutes, it determines that the management core is working abnormally.
[0100] (2) After receiving the heartbeat message from the management core, the metering core determines that the management core is working normally. At this time, through the control signal of the channel switch, the channel selection end of the channel switch is switched to connect with the communication interface of the management core, so that the communication interface of the management core is connected with the communication interface of the carrier communication module.
[0101] (3) The metering chip obtains the meter serial number information and passes the meter serial number as a configuration parameter to the management chip. The management chip uses the configuration parameters to configure the carrier communication module and establish a connection with the remote intelligent terminal.
[0102] (4) After determining that the metering core has not received the heartbeat message from the management core, the management core determines that the operation is abnormal, and switches the channel selection end of the channel switch to connect with the communication interface of the metering core, so that the communication interface of the metering core is connected with the communication interface of the carrier communication module.
[0103] (5) The metering core reconfigures the carrier communication module using the same carrier communication configuration parameters and establishes a connection with the remote intelligent terminal through power carrier communication. After the communication channel is established, the management core failure event is reported.
[0104] (6) The metering core enters an independent working state. When the intelligent terminal issues a meter reading command, the metering core responds promptly and reports the meter reading data to ensure the normal operation of the power metering system.
[0105] In one possible implementation, the management core and the metering core use different communication interface rates, and the communication interface of the carrier communication module has a communication interface rate adaptation function. After the communication connection is switched, the communication interface rate can be automatically adjusted to be consistent with the communication interface rate of the management core or the metering core at the opposite end. Specifically, the new power system services processed by the management core have a large amount of communication data, and the communication interface between the management core and the carrier communication module requires a higher communication rate; the basic data acquisition and electric energy metering services processed by the metering core have a small amount of communication data, and the communication interface between the management core and the carrier communication module can use a low communication rate with a lower cost; the communication interface rates of the management core and the metering core are not consistent. Accordingly, the communication interface of the carrier communication module has a communication interface rate adaptation function. After the communication connection is switched, the communication interface rate can be automatically adjusted to be consistent with the communication interface rate of the management core or the metering core at the opposite end.
[0106] In one possible implementation, in order to ensure the reliability and redundancy of carrier communication, the management core and the metering core will initialize and reconfigure the communication module after switching the communication interface connection of the carrier communication module, and then re-network the communication module with the remote intelligent terminal to establish a new carrier communication link connection. However, in fact, the management core and the metering core use the same carrier communication configuration parameters. If the management core and the metering core can achieve status and data synchronization, and the business software is seamlessly connected, there is no need to reconfigure the carrier communication module after the interface is switched, and the previous carrier communication link connection can be directly continued.
[0107] In one possible implementation, the embodiment of the present application also supports hot-swap operation of the management core. The metering core determines the insertion and removal status of the management core by detecting the in-place signal of the management core. When the metering core detects that the management core is removed, the communication interface of the carrier communication module is switched to the communication interface of the metering core through the control signal of the channel switching switch to perform the second data transmission. When the metering core detects that the management core is inserted, Figure 4The process shown is processed to ensure the orderly switching and connection of the communication interface of the carrier communication module.
[0108] The technical solution provided by the embodiment of the present application can effectively solve the problem that dual-core meters are difficult to maintain in actual use, and improve the reliability of the operation of dual-core smart meters. Since the management core runs immature innovative services, failures are prone to occur in actual applications, resulting in the unavailability of the management core, which further affects the reading of meter data and makes the electricity metering system unable to work normally. The technical solution provided by the embodiment of the present application can ensure that when the management core is unavailable, the reading of meter data is not affected, greatly reducing the difficulty and workload of on-site operation and maintenance personnel. At the same time, the technical solution provided by the embodiment of the present application uses the same meter serial number as the carrier communication configuration parameter of the management core and the metering core, without the need for technical transformation and file changes to the original electricity metering system, and completes the separation and redundancy of the dual-core carrier communication function at a minimum cost.
[0109] Embodiment 2:
[0110] like Figure 5 As shown, accordingly, embodiment 2 provides a carrier communication system for a dual-core smart meter, wherein the dual-core smart meter is provided with a metering core and a management core; the carrier communication system includes an acquisition module 10, a first data transmission module 20 and a second data transmission module 30;
[0111] The acquisition module 10 is used to continuously receive the heartbeat signal through the metering core, and the heartbeat signal is continuously sent by the management core in a normal working state;
[0112] The first data transmission module 20 is used to establish a carrier communication connection between the management core and a preset smart terminal when the heartbeat signal is received within a preset time interval, thereby enabling the management core to perform a first data transmission with the smart terminal;
[0113] The second data transmission module 30 is used to establish a carrier communication connection between the metering core and the smart terminal when the heartbeat signal is not received within a preset time interval, thereby enabling the metering core to perform second data transmission with the smart terminal.
[0114] In a possible implementation manner, the management core performs first data transmission with the smart terminal, including:
[0115] Obtaining instructions issued by the intelligent terminal;
[0116] If the instruction is a business instruction, perform corresponding processing according to the business instruction and upload the processing result to the smart terminal;
[0117] If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction;
[0118] The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
[0119] In a possible implementation manner, the metering chip and the smart terminal perform second data transmission, including:
[0120] Upload the management chip failure event to the smart terminal;
[0121] Obtaining an electric meter reading instruction issued by the smart terminal;
[0122] Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data;
[0123] The electric meter reading data is uploaded to the smart terminal.
[0124] The embodiment of the present application provides a carrier communication system for a dual-core smart meter, which determines whether to perform the first data transmission or the second data transmission by receiving a heartbeat signal. In a dual-core smart meter, the metering core is usually used to realize basic data collection and electric energy metering services, and the management core is usually used to realize various meter management functions and new power system services. Therefore, when the heartbeat signal is received within a preset time interval, it indicates that the management core is still working normally. At this time, the management core and the smart terminal are made to perform the first data transmission to ensure that various meter management functions and new power system services are carried out normally; when the heartbeat signal is not received within the preset time interval, it indicates that the management core has a fault. At this time, the metering core replaces the management core, and the metering core and the smart terminal are made to perform the second data transmission to ensure that the basic data collection and electric energy metering services of the meter are carried out normally. Compared with the prior art, the method provided by the embodiment of the present application can ensure the reliable operation of the electric energy metering system in the event of a management core failure, thereby improving the reliability of the operation of the dual-core smart meter.
[0125] The more detailed working principle and step flow of this embodiment can refer to, but are not limited to, the relevant records of Embodiment 1.
[0126] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A carrier communication method for a dual-core smart meter, characterized in that: The dual-core smart meter is provided with a metering core and a management core; the carrier communication method comprises: The heartbeat signal is continuously received by the metering core, and the heartbeat signal is continuously sent by the management core in a normal working state; When the heartbeat signal is received within a preset time interval, a carrier communication connection is established between the management core and a preset smart terminal, so that the management core and the smart terminal perform a first data transmission; When the heartbeat signal is not received within a preset time interval, a carrier communication connection is established between the metering core and the smart terminal, so that the metering core and the smart terminal perform second data transmission.
2. A carrier communication method for a dual-core smart meter as claimed in claim 1, characterized in that: When the heartbeat signal is received within a preset time interval, establishing a carrier communication connection between the management core and a preset intelligent terminal includes: Connecting a first communication interface of a preset communication channel to a communication interface of the management core, wherein a second communication interface of the communication channel is fixedly connected to a carrier communication module of the dual-core smart meter, and a carrier communication connection exists between the carrier communication module and the smart terminal; Obtaining the meter serial number information sent by the metering core; A carrier communication connection is established between the management core and the smart terminal according to the meter serial number information.
3. A carrier communication method for a dual-core smart meter as claimed in claim 2, characterized in that: When the heartbeat signal is not received within a preset time interval, establishing a carrier communication connection between the metering core and the smart terminal includes: Connecting the first communication interface to the communication interface of the metering core; A carrier communication connection is established between the metering core and the smart terminal according to the meter serial number information.
4. A carrier communication method for a dual-core smart meter as described in any one of claims 2 to 3, characterized in that: The connection object of the first communication interface is switched through a preset channel switching switch, so that the first communication interface is connected to the communication interface of the management core or to the communication interface of the metering core.
5. A carrier communication method for a dual-core smart meter as claimed in claim 4, characterized in that: The metering core is independently controlled and connected to the channel switching switch; When the metering core receives the heartbeat signal within a preset time interval, sending a first control signal to the channel switching switch so that the channel switching switch connects the first communication interface with the communication interface of the management core; When the metering core does not receive the heartbeat signal within a preset time interval, a second control signal is sent to the channel switching switch, so that the channel switching switch connects the first communication interface with the communication interface of the metering core.
6. A carrier communication method for a dual-core smart meter according to any one of claims 1 to 3, characterized in that: The management core performs first data transmission with the intelligent terminal, including: Obtaining instructions issued by the intelligent terminal; If the instruction is a management core service instruction, performing corresponding processing according to the management core service instruction, and uploading the processing result to the smart terminal; If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction; The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
7. A carrier communication method for a dual-core smart meter according to any one of claims 1 to 3, characterized in that: The metering core and the smart terminal perform second data transmission, including: Upload the management chip failure event to the smart terminal; Obtaining an electric meter reading instruction issued by the smart terminal; Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data; The electric meter reading data is uploaded to the smart terminal.
8. A carrier communication system for a dual-core smart meter, characterized in that: The dual-core smart meter is provided with a metering core and a management core; the carrier communication system comprises an acquisition module, a first data transmission module and a second data transmission module; The acquisition module is used to continuously receive the heartbeat signal through the metering core, and the heartbeat signal is continuously sent by the management core in a normal working state; The first data transmission module is used to establish a carrier communication connection between the management core and a preset smart terminal when the heartbeat signal is received within a preset time interval, thereby enabling the management core to perform a first data transmission with the smart terminal; The second data transmission module is used to establish a carrier communication connection between the metering core and the smart terminal when the heartbeat signal is not received within a preset time interval, thereby enabling the metering core to perform second data transmission with the smart terminal.
9. A carrier communication system for a dual-core smart meter as claimed in claim 8, characterized in that: The management core performs first data transmission with the intelligent terminal, including: Obtaining instructions issued by the intelligent terminal; If the instruction is a business instruction, perform corresponding processing according to the business instruction and upload the processing result to the smart terminal; If the instruction is an electricity meter reading instruction, the electricity meter reading instruction is transparently transmitted to the metering core, so that the metering core reads the electricity meter according to the electricity meter reading instruction; The electric meter reading data sent by the metering core is obtained and uploaded to the smart terminal.
10. A carrier communication system for a dual-core smart meter as claimed in claim 8, characterized in that: The metering core and the smart terminal perform second data transmission, including: Upload the management chip failure event to the smart terminal; Obtaining an electric meter reading instruction issued by the smart terminal; Read the electric meter according to the electric meter reading instruction to obtain the electric meter reading data; The electric meter reading data is uploaded to the smart terminal.
Citation Information
Patent Citations
Dual-core operation state mutual inspection type electric energy meter
CN108445436A
Dual-core communication simulation system for intelligent electric meter
CN112994964A