Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication method and device for dual-core electric energy meter, and storage medium

A communication method and electric energy meter technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems of SPI bus sending wrong data, final message distortion, slow simulation speed, etc.

Active Publication Date: 2020-03-27
GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a communication method, device and storage medium for a dual-core electric energy meter, which solves the problem of overrun of SPI high-speed communication data in the prior art, but there is a problem that the simulation speed is slow, and the metering unit sends to the management unit through an interrupt The data is interrupted by a higher priority interrupt due to an interrupt, causing the SPI bus to send wrong data, causing the management unit to receive wrong byte data and distorting the final message.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and device for dual-core electric energy meter, and storage medium
  • Communication method and device for dual-core electric energy meter, and storage medium
  • Communication method and device for dual-core electric energy meter, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0030] The embodiment of the present application provides a communication method, device and storage medium for a dual-core electric energy meter, which solves the problem of overrun of SPI high-speed communication data in the prior art, but there is a slow simulation speed, and the metering unit reports to the management through an interrupt When the unit sends da...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a communication method and device for a dual-core electric energy meter, and a storage medium. The communication method comprises the steps: dividing a transmitted message of amanagement unit into a message header and a message body, and transmitting the message header and the message body to a metering unit of the dual-core electric energy meter; formulating a first response message format and a second response message format of the metering unit, and when response data of the metering unit is prepared, replying the first response message format to the management unit; and when the response data of the metering unit is not prepared, replying to the management unit according to the second response message format. According to the communication method, the problem of overrun of SPI high-speed communication data in the prior art is solved; however, the technical problems that the simulation speed is low, when a metering unit sends data to a management unit in aninterrupt mode, the metering unit is interrupted by interrupt with higher priority, so that an SPI bus sends wrong data, and the management unit receives wrong byte data, and a final message is distorted exist.

Description

technical field [0001] The present application relates to the technical field of superconducting power, in particular to a communication method, device and storage medium for a dual-core electric energy meter. Background technique [0002] The dual-core electric energy meter separated by law is composed of a management unit and a metering unit. The management unit and the metering unit are connected through a communication interface. The commonly used communication interface in the electric energy meter is UART. When the amount of data exchanged between the management unit and the metering unit is increasing When it is large, the communication rate of UART used in dual-core communication is difficult to reach the communication rate of 1Mbps, and the communication rate of UART is difficult to meet the needs of high-speed communication, and UART needs the rate matching of the two parties to communicate, and the two parties must set the same communication rate. [0003] Dual-co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/28
CPCG06F13/285
Inventor 曾争林国营张晓平李向锋王鹏
Owner GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products