CN108874796B - Method and system for returning data of converter - Google Patents

Method and system for returning data of converter Download PDF

Info

Publication number
CN108874796B
CN108874796B CN201710317735.0A CN201710317735A CN108874796B CN 108874796 B CN108874796 B CN 108874796B CN 201710317735 A CN201710317735 A CN 201710317735A CN 108874796 B CN108874796 B CN 108874796B
Authority
CN
China
Prior art keywords
data
returning
fault
module
server
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.)
Active
Application number
CN201710317735.0A
Other languages
Chinese (zh)
Other versions
CN108874796A (en
Inventor
戴计生
陈俊波
王成杰
梅文庆
刘勇
李益
李程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Zhuzhou Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute 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 CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN201710317735.0A priority Critical patent/CN108874796B/en
Publication of CN108874796A publication Critical patent/CN108874796A/en
Application granted granted Critical
Publication of CN108874796B publication Critical patent/CN108874796B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)

Abstract

The data returning method provided by the invention can return real-time operation data, log data and fault record files at the same time, or return one or two data. The method provided by the invention can facilitate the subsequent fault analysis of technical personnel by collecting and transmitting the data back to the server, and overcomes the defects of the prior art that the converter data is not beneficial to checking and fault analysis due to scattered and various data.

Description

Method and system for returning data of converter
Technical Field
The invention relates to the field of data transmission, in particular to a method and a system for returning converter data.
Background
During field debugging or operation of the converter, the converter can generate running state information, log information and fault record files with large data volume. In order to know the operation condition and the state condition of the converter, technicians need to check the information and files and perform corresponding fault analysis on the site. However, the data of the operation state information, the log information and the fault record file are scattered and various, so that the on-site checking and fault analysis of technicians are not facilitated.
Disclosure of Invention
The invention provides a method for returning converter data, which aims to overcome the defect that converter data is not easy to view and analyze faults due to scattered and various converter data when technicians view the converter data on site.
In order to realize the purpose, the technical scheme is as follows:
a method for returning converter data, wherein the method for returning comprises (1) and/or (2) and/or (3):
(1) real-time return of real-time operation data: returning real-time operation data regularly or irregularly, filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame in each returning, and then adding a frame header for the filled data frame; after encrypting and checking the data frame, sending the data frame to a server through a corresponding network protocol;
(2) fixed-point returning of log data: generating log data, storing the log data in a buffer queue RAM, taking all the log data out of the buffer queue RAM when the network is detected to be available, encrypting and checking the log data, and sending the log data to a server through a corresponding network protocol;
(3) fixed-point returning of the fault record file: after the fault record file is generated, storing the fault record file in a file system, and storing the name of the fault record file in a cache queue; and when the network is detected to be available, taking out the fault record file name from the buffer queue, searching the corresponding fault record file in the file system through the fault record file name, encrypting the searched fault record file, and sending the encrypted fault record file to the server through the corresponding network protocol.
In the above scheme, the data returning method provided by the invention can return real-time running data, log data and fault record files at the same time, or return one or two of the real-time running data, the log data and the fault record files. The method provided by the invention can facilitate the subsequent fault analysis of technical personnel by collecting and transmitting the data back to the server, and overcomes the defects of the prior art that the converter data is not beneficial to checking and fault analysis due to scattered and various data.
Meanwhile, the invention also provides a system applying the scheme, and the specific scheme is as follows:
comprising a server and (a) and/or (b) and/or (c):
(a) the device comprises a data frame filling module, a frame header adding module, an encryption module and a checksum module;
(b) the device comprises a buffer queue RAM, a network detection module, an encryption module and a checksum module;
(c) the system comprises a file system, a cache queue, a network detection module, a fault record file searching module and an encryption module.
In the above scheme, the structure of (a) corresponds to the data backhaul method of (1), the structure of (b) corresponds to the data backhaul method of (2), and the structure of (c) corresponds to the data backhaul method of (3). (a) The data frame filling module is used for filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame, the frame header adding module is used for adding a frame header to the filled data frame, and the encryption module and the checksum module are respectively used for encrypting and checking the data frame. (b) The buffer queue RAM is used for storing log data, the network detection module is used for detecting whether a network is available, and the encryption module and the checksum module are respectively used for encrypting and checking the log data. (c) The file system is used for storing fault record files, the cache queue is used for storing fault record file names, the network detection module is used for detecting whether a network is available or not, the fault record file searching module is used for searching corresponding fault record files in the file system through the fault record file names, and the encryption module is used for encrypting the searched fault record files.
Compared with the prior art, the invention has the beneficial effects that:
the data returning method provided by the invention can return real-time operation data, log data and fault record files at the same time, or return one or two data. The method provided by the invention can facilitate the subsequent fault analysis of technical personnel by collecting and transmitting the data back to the server, and overcomes the defects of the prior art that the converter data is not beneficial to checking and fault analysis due to scattered and various data.
Drawings
FIG. 1 is a schematic diagram of a process.
Fig. 2 is a schematic diagram of the system.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
the invention is further illustrated below with reference to the figures and examples.
Example 1
The data returning method provided by this embodiment can return the real-time running data, the log data, and the fault record file at the same time, where the returning of the real-time running data belongs to real-time returning, the real-time returning may be periodic or aperiodic, and the returning of the log data and the fault record file belongs to fixed-point returning. As shown in fig. 1, the backhaul method provided in this embodiment is specifically as follows:
(1) real-time return of real-time operation data: returning real-time operation data regularly or irregularly, filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame in each returning, and then adding a frame header for the filled data frame; after encrypting and checking the data frame, sending the data frame to a server through a corresponding network protocol;
(2) fixed-point returning of log data: generating log data, storing the log data in a buffer queue RAM, taking all the log data out of the buffer queue RAM when the network is detected to be available, encrypting and checking the log data, and sending the log data to a server through a corresponding network protocol;
(3) fixed-point returning of the fault record file: after the fault record file is generated, storing the fault record file in a file system, and storing the name of the fault record file in a cache queue; and when the network is detected to be available, taking out the fault record file name from the buffer queue, searching the corresponding fault record file in the file system through the fault record file name, encrypting the searched fault record file, and sending the encrypted fault record file to the server through the corresponding network protocol.
In a specific implementation process, as shown in fig. 1, the encryption in (1) is AES encryption, the checksum in (1) is CRC16 checksum, the network protocol in (1) is an ethernet UDP transport protocol, and the server in (1) is a UDP server;
the encryption in (2) is AES encryption, the checksum in (2) is CRC16 checksum, the network protocol in (2) is TCP network protocol, and the server in (2) is TCP server;
the encryption in (3) is AES encryption, the network protocol in (3) is an FTP network protocol, and the server in (3) is an FTP server.
Meanwhile, the embodiment provides a system corresponding to the above method, as shown in fig. 2, the specific scheme is as follows:
comprising a server and (a), (b), (c):
(a) the device comprises a data frame filling module, a frame header adding module, an encryption module and a checksum module;
(b) the device comprises a buffer queue RAM, a network detection module, an encryption module and a checksum module;
(c) the system comprises a file system, a cache queue, a network detection module, a fault record file searching module and an encryption module.
In the above scheme, the structure of (a) corresponds to the data backhaul method of (1), the structure of (b) corresponds to the data backhaul method of (2), and the structure of (c) corresponds to the data backhaul method of (3). (a) The data frame filling module is used for filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame, the frame header adding module is used for adding a frame header to the filled data frame, and the encryption module and the checksum module are respectively used for encrypting and checking the data frame. (b) The buffer queue RAM is used for storing log data, the network detection module is used for detecting whether a network is available, and the encryption module and the checksum module are respectively used for encrypting and checking the log data. (c) The file system is used for storing fault record files, the cache queue is used for storing fault record file names, the network detection module is used for detecting whether a network is available or not, the fault record file searching module is used for searching corresponding fault record files in the file system through the fault record file names, and the encryption module is used for encrypting the searched fault record files.
Example 2
The returning method provided by this embodiment can return real-time operation data, and the content of the real-time operation data record includes state information, voltage, current, and protection switch of the converter controller, as shown in fig. 1, the specific scheme of the returning method of this embodiment is as follows:
returning real-time operation data regularly or irregularly, filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame in each returning, and then adding a frame header for the filled data frame; after encrypting and checking the data frame, sending the data frame to a server through a corresponding network protocol;
in a specific implementation process, the present embodiment periodically returns the real-time operation data, where the returning interval may be one of 1min, 1s, or 100ms, and the returning interval is set to 1 s. The frame header comprises time and a converter number.
Meanwhile, the present embodiment provides a system corresponding to the method of embodiment 2, as shown in fig. 2 (a), the specific scheme is as follows: the system comprises a server, a data frame filling module, a frame header adding module, an encryption module and a checksum module.
The data frame filling module is used for filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame, the frame header adding module is used for adding a frame header to the filled data frame, and the encryption module and the checksum module are respectively used for encrypting and checking the data frame.
Example 3
The embodiment can carry out fixed-point return on the log data, and the content of the log data record comprises log time, fault codes and converter state data. As shown in fig. 1, the specific scheme of the backhaul method of this embodiment is as follows:
and when the network is detected to be available, all log data are taken out from the buffer queue RAM, encrypted and checked, and then sent to the server through a corresponding network protocol.
Meanwhile, the embodiment also provides a system applying the method, as shown in fig. 2 (b), the specific scheme is as follows:
the system comprises a server, a buffer queue RAM, a network detection module, an encryption module and a checksum module.
The system comprises a buffer queue RAM, a network detection module, an encryption module and a check sum module, wherein the buffer queue RAM is used for storing log data, the network detection module is used for detecting whether a network is available, and the encryption module and the check sum module are respectively used for carrying out encryption processing and check sum processing on the log data.
Example 4
The embodiment can perform fixed-point return on the fault record file, wherein the content recorded by the fault record file comprises fault time, fault codes and fault waveform data. As shown in fig. 1, the specific scheme of the backhaul method of this embodiment is as follows:
after the fault record file is generated, the fault record file is compressed and stored in a file system, and the name of the fault record file is stored in a cache queue; and when the network is detected to be available, taking out the fault record file name from the buffer queue, searching the corresponding fault record file in the file system through the fault record file name, encrypting the searched fault record file, and sending the encrypted fault record file to the server through the corresponding network protocol.
Meanwhile, the embodiment also provides a system applying the method, as shown in fig. 2 (c), the specific scheme is as follows:
the system comprises a server, a file system, a cache queue, a network detection module, a fault record file searching module and an encryption module.
The system comprises a file system, a cache queue, a network detection module, a fault record file searching module and an encryption module, wherein the file system is used for storing fault record files, the cache queue is used for storing fault record file names, the network detection module is used for detecting whether a network is available, the fault record file searching module is used for searching corresponding fault record files in the file system through the fault record file names, and the encryption module is used for encrypting the searched fault record files.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (10)

1. A method for returning data of a current transformer is characterized in that: the backhaul method comprises (1) and/or (2) and/or (3):
(1) real-time return of real-time operation data: returning real-time operation data regularly or irregularly, filling real-time operation data generated from the last real-time operation data returning moment to the current returning moment into a data frame in each returning, and then adding a frame header for the filled data frame; after encrypting and checking the data frame, sending the data frame to a server through a corresponding network protocol;
(2) fixed-point returning of log data: generating log data, storing the log data in a buffer queue RAM, taking all the log data out of the buffer queue RAM when the network is detected to be available, encrypting and checking the log data, and sending the log data to a server through a corresponding network protocol;
(3) fixed-point returning of the fault record file: after the fault record file is generated, storing the fault record file in a file system, and storing the name of the fault record file in a cache queue; and when the network is detected to be available, taking out the fault record file name from the buffer queue, searching the corresponding fault record file in the file system through the fault record file name, encrypting the searched fault record file, and sending the encrypted fault record file to the server through the corresponding network protocol.
2. The method for transmitting data back to a converter according to claim 1, wherein: and (1) regularly returning the real-time operation data, wherein the returning interval is 1min, 1s or 100 ms.
3. The method for transmitting data back to a converter according to claim 1, wherein: and the frame header in the step (1) comprises time and converter number.
4. The method for transmitting data back to a converter according to claim 1, wherein: and (3) recording the real-time operation data in the step (1) by using the current transformer controller, wherein the content of the real-time operation data comprises state information, voltage, current and a protection switch of the current transformer controller.
5. The method for transmitting data back to a converter according to claim 1, wherein: the content of the log data record comprises log time, fault codes and converter state data.
6. The method for transmitting data back to a converter according to claim 1, wherein: the content recorded by the fault recording file comprises fault time, fault codes and fault waveform data.
7. The method for transmitting data back to a converter according to claim 1, wherein: and (3) compressing the fault record file and then storing the fault record file in a file system.
8. The method for transmitting data back to a converter according to claim 7, wherein: the file system is a Flash file system.
9. The method for returning the converter data according to any one of claims 1 to 8, wherein:
the encryption in (1) is AES encryption, the checksum in (1) is CRC16 checksum, the network protocol in (1) is an Ethernet UDP transport protocol, and the server in (1) is a UDP server;
the encryption in (2) is AES encryption, the checksum in (2) is CRC16 checksum, the network protocol in (2) is TCP network protocol, and the server in (2) is TCP server;
the encryption in (3) is AES encryption, the network protocol in (3) is an FTP network protocol, and the server in (3) is an FTP server.
10. A system according to any one of claims 1 to 9, wherein: comprising a server and (a) and/or (b) and/or (c):
(a) the device comprises a data frame filling module, a frame header adding module, an encryption module and a checksum module;
(b) the device comprises a buffer queue RAM, a network detection module, an encryption module and a checksum module;
(c) the system comprises a file system, a cache queue, a network detection module, a fault record file searching module and an encryption module.
CN201710317735.0A 2017-05-08 2017-05-08 Method and system for returning data of converter Active CN108874796B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710317735.0A CN108874796B (en) 2017-05-08 2017-05-08 Method and system for returning data of converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317735.0A CN108874796B (en) 2017-05-08 2017-05-08 Method and system for returning data of converter

Publications (2)

Publication Number Publication Date
CN108874796A CN108874796A (en) 2018-11-23
CN108874796B true CN108874796B (en) 2021-12-14

Family

ID=64287316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317735.0A Active CN108874796B (en) 2017-05-08 2017-05-08 Method and system for returning data of converter

Country Status (1)

Country Link
CN (1) CN108874796B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728721A (en) * 2004-07-27 2006-02-01 邓里文 Adaptation method in use for syncretizing Internet and Ethernet
CN101734265A (en) * 2009-12-23 2010-06-16 卡斯柯信号有限公司 Method and device for monitoring state of embedded vehicle-mounted signal device
CN103439658A (en) * 2013-08-12 2013-12-11 深圳市禾望电气有限公司 Fault diagnosis method and system for converter
CN103871177A (en) * 2014-03-28 2014-06-18 浪潮软件集团有限公司 Remote maintenance method for network billing machine
CN105471278A (en) * 2015-12-17 2016-04-06 北京天诚同创电气有限公司 Auxiliary control device applied to converter and converter system
CN105763426A (en) * 2016-04-12 2016-07-13 北京理工大学 Multiprotocol instant messaging system-based Internet of Things business processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728721A (en) * 2004-07-27 2006-02-01 邓里文 Adaptation method in use for syncretizing Internet and Ethernet
CN101734265A (en) * 2009-12-23 2010-06-16 卡斯柯信号有限公司 Method and device for monitoring state of embedded vehicle-mounted signal device
CN103439658A (en) * 2013-08-12 2013-12-11 深圳市禾望电气有限公司 Fault diagnosis method and system for converter
CN103871177A (en) * 2014-03-28 2014-06-18 浪潮软件集团有限公司 Remote maintenance method for network billing machine
CN105471278A (en) * 2015-12-17 2016-04-06 北京天诚同创电气有限公司 Auxiliary control device applied to converter and converter system
CN105763426A (en) * 2016-04-12 2016-07-13 北京理工大学 Multiprotocol instant messaging system-based Internet of Things business processing system

Also Published As

Publication number Publication date
CN108874796A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN105373478B (en) Automated testing method and system
CN107977473B (en) Logback-based distributed system log retrieval method and system
CN104850495A (en) Automatic detection method and device
CN107122293A (en) software performance testing method, device, server and system
KR102168212B1 (en) Apparatus and method for application log data processing
CN106598815A (en) Real-time asynchronous log collection method and system
CN105306261A (en) Method, device and system for collecting logs
CN106018910B (en) Ethernet protocol analysis and trigger circuit and method in a kind of oscillograph
CN104215853A (en) Data acquiring method of power quality monitoring system
CN103428249A (en) Collecting method and processing method for HTTP request packet, system and server
CN112001918A (en) AI algorithm based high-speed rail contact network equipment inspection method and system
CN108874796B (en) Method and system for returning data of converter
CN103020157A (en) High-reliability real-time file generation method spanning physical isolation
CN106302349B (en) HTTP packet analysis method and device based on libpcap
KR101887555B1 (en) Data managing apparatus of power converter for railway
CN116319081B (en) Electronic signature security management system based on big data cloud platform
CN110244968B (en) Charging station management system and method
CN103345785B (en) Unit exception monitoring shutdown method
CN105550083A (en) MSS (maintenance support subsystem) automatic test method and system
CN111141742B (en) Intelligent image detection system for leaky coaxial cable and working method thereof
CN107423449A (en) A kind of video record examination progress monitoring method and system
CN109347671B (en) System and method for realizing in-band OAM Metadata editing in chip
CN109448158B (en) Flight parameter uninstallation device
CN107844110A (en) A kind of fault data recorder system for current transformer
CN107590011B (en) Method and system for inquiring APP (application) error information of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant