CN111107050B - Distributed wave recording method and device for power distribution network dynamic simulation system - Google Patents

Distributed wave recording method and device for power distribution network dynamic simulation system Download PDF

Info

Publication number
CN111107050B
CN111107050B CN201911007800.5A CN201911007800A CN111107050B CN 111107050 B CN111107050 B CN 111107050B CN 201911007800 A CN201911007800 A CN 201911007800A CN 111107050 B CN111107050 B CN 111107050B
Authority
CN
China
Prior art keywords
data
wave
file
wave recording
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
CN201911007800.5A
Other languages
Chinese (zh)
Other versions
CN111107050A (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.)
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Zhejiang Electric Power 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 Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority to CN201911007800.5A priority Critical patent/CN111107050B/en
Publication of CN111107050A publication Critical patent/CN111107050A/en
Application granted granted Critical
Publication of CN111107050B publication Critical patent/CN111107050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a distributed wave recording method and device for a power distribution network dynamic simulation system. The method of the invention comprises the following steps: the method comprises the steps that after a server is started, a configuration file is read, and TCP port information of each wave recorder is obtained; the server is connected with each wave recorder according to the port information and sends the bound UDP port number; the cfg file is sent to the server immediately after the wave recorder is successfully connected; after wave recording in each time period starts, the wave recorder firstly sends the parameters to the server, and the server replaces the parameters in the cfg file and stores the parameters in the cfg file to a corresponding path; and sending the analog quantity and switching value data to a server, converting the data into a corresponding storage format by the server, and quickly writing the data into a file by adopting a memory mapping mode after the wave recording of the segment is finished. The invention can realize the expansion of the number of the wave recorders, realize the verification of the message transmission correctness and reduce the pressure of network transmission and data processing.

Description

Distributed wave recording method and device for power distribution network dynamic simulation system
Technical Field
The invention belongs to the field of power distribution network dynamic simulation systems, and particularly relates to a distributed wave recording method and device of a power distribution network dynamic simulation system.
Background
The waveform is used as one of the key technologies for fault identification of the power system, fault characteristic current, voltage abrupt change, current and voltage out-of-limit and frequency change are used as starting conditions, recording fault state waveforms is widely applied in the field of fault processing, but recording cannot be effectively started when no fault characteristic or no fault characteristic is obvious, holographic waveform data becomes critical for effective fault analysis, and the amazing data volume of the holographic waveform data cannot be borne by the traditional recording device and is mainly reflected in the factors that a hard disk storage file is too slow, the data volume of network transmission is too large, the memory of a single chip microcomputer is too small and the like.
Disclosure of Invention
The technical problem to be solved by the present invention is to overcome the defects in the prior art, and provide a distributed wave recording method and device for a power distribution network dynamic simulation system, so as to implement extension of the number of wave recorders, implement verification of message transmission correctness, and reduce the pressure of network transmission and data processing.
Therefore, the invention adopts the following technical scheme: a distributed wave recording method of a power distribution network dynamic simulation system comprises the following steps:
1) the server reads the local configuration file, obtains the number of the wave recorders to be connected and the IP address of each wave recorder, and the port number of each wave recorder is fixed;
2) the server is actively connected with the wave recorder, sends an instruction for reading the cfg configuration file after the connection is successful, and caches the cfg configuration file locally after the server receives the configuration file information;
3) initializing a UDP socket, binding a random port, and sending a port number to a wave recorder through a TCP/IP, wherein the corresponding wave recorder sends data to the port;
4) after the continuous wave recording starts, the wave recorder sends wave recording data to a designated UDP port, the server analyzes the message, judges whether the message is normal or not, and if not, the reading and writing of the file are finished;
5) judging the format of the message, wherein the first four bytes of the message are a packet number, the second two bytes are data length, the content of a data area is arranged behind the packet number, and the last byte is an ending identifier; if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, the caching and writing operation of the wave recording data of the section is finished, the generated cfg file is deleted, and the error record is written into a local log file;
6) when the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the triggering time plus the id number of the wave recorder;
7) when the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder and the storage format of the wave recording file are all acquired through the cfg file;
combining the sampled data into a wave recording file format and writing the wave recording file format into a buffer area; and after the wave recording is finished, the data is quickly written into the dat file in a memory mapping mode.
The invention relates to a high-concurrency processing mechanism, a data cache, high-speed data reading and writing and other technologies, and aims to realize that when a plurality of wave recorders carry out continuous high-speed recording simultaneously, wave recording data are accurately transmitted to a server through a gigabit switch, the server calculates the data to obtain a specified data format and places the specified data format in a buffer area, and after the wave recording of the current segment is finished, the data in the buffer area are stored in a specified dat file. Based on a data transmission architecture of network communication, cfg file information and wave recording data are transmitted through TCP/IP and UDP, and the cfg file is transmitted only once after connection is successful.
The invention can realize the expansion of the number of the wave recorders, the data throughput can reach 30MB/s, and the file reading and writing speed can reach 50 MB/s; the method realizes the verification of the message transmission correctness and reduces the pressure of network transmission and data processing.
As a supplement to the above-mentioned recording method, in step 2), when the command is sent, the format of the message is 0x68+ length (double bytes) + command type + data + crc parity +0x 16.
As a supplement to the above-mentioned recording method, in step 2), when the configuration file information is cached locally, for example, the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are missing, the information needs to be completed by the post-operation.
As a supplement to the above-mentioned recording method, in step 7), each recorder creates two memory spaces with the same size on the server, and in a certain recording time period, the server writes the data in the recording storage format into the buffer, when the transmission end flag bit is 1, the transmission in this time period ends, and directly maps the file into the buffer by using a memory mapping method, and after the recording in the next time period starts, the recording data is written into another buffer, and the two memory spaces perform alternate read-write operations, thereby separating the read-write tasks. And a double-memory cache mechanism is adopted to separate data cache from file write-in, so that the accuracy of data write-in is improved, the response time of a system is reduced, and the throughput of the system is improved.
As a supplement to the above-mentioned recording method, the server starts a new process, monitors the size of the hard disk memory in real time, and deletes a certain number of files according to the file establishment sequence when the remaining memory is lower than a certain set value.
As a supplement to the wave recording method, an FTP server is built on the server, the path where the wave recording file is located is set as a physical path, and in a local area network, application software can call the wave recording file through the FTP.
The other technical scheme adopted by the invention is as follows: a distributed wave recording device of a power distribution network dynamic simulation system comprises:
a recorder IP information acquisition unit: the server reads the local configuration file, obtains the number of the wave recorders to be connected and the IP address of each wave recorder, and the port number of each wave recorder is fixed;
wave recorder connecting element: the server is actively connected with the wave recorder;
a configuration file transmitting unit: after the connection is successful, sending an instruction for reading the cfg configuration file, and after the server receives the configuration file information, caching the configuration file information locally;
a UDP port sending unit: initializing a UDP socket, binding a random port, and sending a port number to a wave recorder through a TCP/IP, wherein the corresponding wave recorder sends data to the port;
a message analysis unit: after the continuous wave recording starts, the wave recorder sends wave recording data to a designated UDP port, the server analyzes the message, judges whether the message is normal or not, and if not, the reading and writing of the file are finished;
judging the message format and processing unit: the first four bytes of the message are packet numbers, the last two bytes are data length, the last byte is data area content, and the last byte is an ending identifier; if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, the caching and writing operation of the wave recording data of the section is finished, the generated cfg file is deleted, and the error record is written into a local log file;
the first data processing unit: when the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the triggering time plus the id number of the wave recorder;
a second data processing unit: when the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder and the storage format of the wave recording file are all acquired through the cfg file; combining the sampled data into a wave recording file format and writing the wave recording file format into a buffer area;
a data writing unit: and after the wave recording is finished, the data is quickly written into the dat file in a memory mapping mode.
As a supplement to the above-mentioned wave recording device, when the wave recorder connection unit sends the command, the message adopts a format of 0x68+ length (double bytes) + command type + data + crc check bit +0x 16.
As a supplement to the above-mentioned wave recording device, when the configuration file information is cached locally in the wave recorder connection unit, for example, the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are missing, the information needs to be completed by the post-operation.
As a supplement to the above-mentioned wave recording device, in the data writing unit, each wave recorder opens up two memory spaces with the same size on the server, in a certain wave recording time period, the server writes the data in the wave recording storage format into the buffer, when the transmission end flag bit is 1, the transmission in this time period ends, the file is directly mapped to the buffer by using a memory mapping method, after the wave recording in the next time period starts, the wave recording data is written into another buffer, and the two memory spaces perform alternate read-write operations, thereby separating the read-write tasks.
The invention has the advantages that:
1. the invention can conveniently realize the expansion of the system through the configuration file, and only needs to add the port information of the wave recorder in the configuration file when in use.
2. The transmission paths of the cfg file and the dat file are separated, the configuration file information is transmitted through the TCP/IP, the wave recording data is transmitted through the UDP, the configuration file information is transmitted only once after the TCP is connected, the UDP data is transmitted only after continuous wave recording, and the pressure of network transmission and data processing is reduced.
3. The invention can realize the verification of the message transmission correctness by designing the message, judges whether the data is lost or not continuously by checking the packet number, abandons the wave recording data of the segment if the data is lost, and avoids the error of the application software when calling the file.
4. The server opens up two memory spaces, and the two memories alternately perform data caching and file writing, so that the data caching and the file writing can be separated, the accuracy of the data written in the file is ensured, the throughput of the system is improved, and the system does not need to copy the data for multiple times due to the adoption of the memory mapping file writing, so that the response time after the data is received is reduced.
Drawings
Fig. 1 is a flowchart of a distributed wave recording method of a power distribution network dynamic simulation system according to the present invention;
FIG. 2 is a diagram of the parsing and processing of a message according to the present invention;
fig. 3 is a block diagram of a distributed wave recording device of a power distribution network dynamic simulation system according to the present invention.
Detailed Description
The invention is further described with reference to the drawings and the detailed description.
Example 1
The embodiment provides a distributed wave recording method for a power distribution network dynamic simulation system, as shown in fig. 1, the steps are as follows:
1. after the server is started, the local configuration file is read, the number of the wave recorders to be connected and the IP address of each wave recorder are obtained, the port number of each wave recorder is fixed, and the IP address and the port number of each wave recorder are configured by the maintenance software of the wave recorder.
2. The server is actively connected with the wave recorder, after the connection is successful, an instruction for reading the cfg configuration file is sent, the message adopts a format of 0x68+ length (double bytes) + instruction type + data + crc check bit +0x16, after the server receives the configuration file information, the cache is carried out locally, and if the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are missing, the information needs to be completed through later operation.
3. Initializing the UDP socket, binding a random port, sending the port number to the wave recorder through the TCP/IP, and sending data to the port by the corresponding wave recorder.
4. After the continuous wave recording starts, the wave recorder sends the wave recording data to the designated UDP port, the server analyzes the message and judges whether the message is normal, otherwise, the reading and writing of the file are finished, and the specific analysis and processing process is shown in FIG. 2.
5. Judging the format of the message, wherein the first four bytes of the message are a packet number, the second two bytes are data length, the last byte is data area content, the last byte is an ending identifier, if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, ending the caching and writing operation of the wave recording data, deleting the generated cfg file, and writing the error record into a local log file, thereby facilitating the inspection of a tester.
6. When the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the mode of triggering time + the id number of the wave recorder.
7. When the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder, the storage format of the wave recorder file and other information can pass through the cfg file; combining the sampled data into a wave recording file format and writing the wave recording file format into a buffer area; and after the wave recording is finished, the data is quickly written into the dat file in a memory mapping mode.
Each wave recorder opens up two memory spaces with the same size on a server, the server writes data in a wave recording storage format into the buffer area in a certain wave recording time period, when the transmission ending flag bit is 1, the transmission in the time period is ended, the file is directly mapped to the buffer area by adopting a memory mapping method, the file writing efficiency of a system is improved, after the wave recording in the next time period is started, the wave recording data is written into the other buffer area, and the two memory spaces perform alternate read-write operation, so that the read-write tasks are separated.
Because the memory space of the system hard disk is limited, the wave recorder needs to record waves continuously for 24 hours, if the size of the hard disk space of the system is 7T, the number of the wave recorders is 8, the number of analog quantity channels is 8, the number of switching quantity channels is 8, and the maximum sampling rate of the wave recorder is 100K, the highest writing rate of the dat file can reach 20.8M/s. The hard disk is full after recording for 90 continuous hours, so a new process is started in the server, the size of the hard disk memory is monitored in real time, and a certain number of files are deleted according to the file establishment sequence when the residual memory is lower than a certain set value.
And (3) building an FTP server on the server, setting the path of the wave recording file as a physical path, and calling the wave recording file by application software through the FTP in the local area network.
Example 2
The embodiment provides a distributed wave recording device for a power distribution network moving die system, which includes a wave recorder IP information obtaining unit, a wave recorder connection unit, a configuration file sending unit, a UDP port sending unit, a message parsing unit, a judgment message format judging and processing unit, a first data processing unit, a second data processing unit, and a data writing unit, as shown in fig. 3.
A recorder IP information acquisition unit: and the server reads the local configuration file, acquires the number of the wave recorders to be connected and the IP address of each wave recorder, and the port number of the wave recorder is fixed. And the IP address and the port number of the wave recorder are configured by the maintenance software of the wave recorder.
Wave recorder connecting element: the server is actively connected with the wave recorder.
A configuration file transmitting unit: after connection is successful, an instruction for reading the cfg configuration file is sent, the message adopts a format of 0x68+ length (double bytes) + instruction type + data + crc check bit +0x16, after the server receives the configuration file information, the server caches the configuration file information locally, and if the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are missing, the information needs to be completed through operation after the completion.
A UDP port sending unit: initializing the UDP socket, binding a random port, sending the port number to the wave recorder through the TCP/IP, and sending data to the port by the corresponding wave recorder.
A message analysis unit: and after the continuous wave recording starts, the wave recorder sends the wave recording data to a specified UDP port, the server analyzes the message, judges whether the message is normal or not, and if not, the reading and writing of the file are finished.
Judging the message format and processing unit: the first four bytes of the message are packet numbers, the last two bytes are data length, the last byte is data area content, and the last byte is an ending identifier; if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, the caching and writing operation of the wave recording data of the section is ended, the generated cfg file is deleted, and the error record is written into the local log file.
The first data processing unit: when the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the triggering time plus the id number of the wave recorder.
A second data processing unit: when the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder and the storage format of the wave recording file are all acquired through the cfg file; and combining the sampled data into a recording file format and writing the recording file format into a buffer area.
A data writing unit: after the wave recording of the segment is finished, quickly writing data into a dat file in a memory mapping mode; each wave recorder opens up two memory spaces with the same size on a server, the server writes data in a wave recording storage format into the buffer area in a certain wave recording time period, when the transmission ending flag bit is 1, the transmission in the time period is ended, a file is directly mapped to the buffer area by adopting a memory mapping method, after wave recording in the next time period is started, wave recording data are written into the other buffer area, and alternate read-write operation is carried out on the two memory spaces, so that read-write tasks are separated.
According to the invention, through UDP data transmission, the data transmission throughput is increased, the double-cache alternate read-write and file memory mapping technologies are adopted, the problem that the processing speed of a network and a hard disk is not timely is effectively solved, and the distributed wave recording method of the power distribution network dynamic system is realized.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (8)

1. A distributed wave recording method of a power distribution network dynamic simulation system is characterized by comprising the following steps:
1) the server reads the local configuration file, obtains the number of the wave recorders to be connected and the IP address of each wave recorder, and the port number of each wave recorder is fixed;
2) the server is actively connected with the wave recorder, sends an instruction for reading the cfg configuration file after the connection is successful, and caches the cfg configuration file locally after the server receives the configuration file information;
3) initializing a UDP socket, binding a random port, and sending a port number to a wave recorder through a TCP/IP, wherein the corresponding wave recorder sends data to the port;
4) after the continuous wave recording starts, the wave recorder sends wave recording data to a designated UDP port, the server analyzes the message, judges whether the message is normal or not, and if not, the reading and writing of the file are finished;
5) judging the format of the message, wherein the first four bytes of the message are a packet number, the second two bytes are data length, the content of a data area is arranged behind the packet number, and the last byte is an ending identifier; if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, the caching and writing operation of the wave recording data of the section is finished, the generated cfg file is deleted, and the error record is written into a local log file;
6) when the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the triggering time plus the id number of the wave recorder;
7) when the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder and the storage format of the wave recording file are all acquired through the cfg file;
combining the sampled data into a wave recording file format and writing the wave recording file format into a buffer area; after the wave recording of the segment is finished, quickly writing data into a dat file in a memory mapping mode;
in the step 7), each wave recorder opens up two memory spaces with the same size on the server, the server writes the data in the wave recording storage format into the buffer area in a certain wave recording time period, when the transmission ending flag bit is 1, the transmission in the time period is ended, the file is directly mapped to the buffer area by adopting a memory mapping method, after the wave recording in the next time period is started, the wave recording data is written into the other buffer area, and the two memory spaces perform alternate read-write operation, so that the read-write task is separated.
2. The distributed wave recording method for the power distribution network dynamic simulation system as claimed in claim 1, wherein in the step 2), when the command is sent, the message is in a format of 0x68+ double-byte length + command type + data + crc check bit +0x 16.
3. The distributed wave recording method for the power distribution network dynamic simulation system according to claim 1, wherein in the step 2), when the configuration file information is cached locally, for example, the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are missing, and the information needs to be completed through a later operation.
4. The distributed wave recording method for the power distribution network dynamic system according to claim 1, 2 or 3, characterized in that the server starts a new process, monitors the size of the hard disk memory in real time, and deletes a certain number of files according to the file establishment sequence when the remaining memory is lower than a certain set value.
5. The distributed wave recording method of the power distribution network moving die system as claimed in claim 1, 2 or 3, wherein an FTP server is built on the server, a path where the wave recording file is located is set as a physical path, and in the local area network, the application software can call the wave recording file through the FTP.
6. The utility model provides a distribution network moving die system's distributed wave recording device which characterized in that includes:
a recorder IP information acquisition unit: the server reads the local configuration file, obtains the number of the wave recorders to be connected and the IP address of each wave recorder, and the port number of each wave recorder is fixed;
wave recorder connecting element: the server is actively connected with the wave recorder;
a configuration file transmitting unit: after the connection is successful, sending an instruction for reading the cfg configuration file, and after the server receives the configuration file information, caching the configuration file information locally;
a UDP port sending unit: initializing a UDP socket, binding a random port, and sending a port number to a wave recorder through a TCP/IP, wherein the corresponding wave recorder sends data to the port;
a message analysis unit: after the continuous wave recording starts, the wave recorder sends wave recording data to a designated UDP port, the server analyzes the message, judges whether the message is normal or not, and if not, the reading and writing of the file are finished;
judging the message format and processing unit: the first four bytes of the message are packet numbers, the last two bytes are data length, the last byte is data area content, and the last byte is an ending identifier; if the packet number continuously indicates that the data transmission is normal, and if the packet number is discontinuous, the packet loss phenomenon is indicated, the caching and writing operation of the wave recording data of the section is finished, the generated cfg file is deleted, and the error record is written into a local log file;
the first data processing unit: when the package number is zero, the data area contains the line frequency, the sampling rate, the first point time and the triggering time information, the corresponding position in the cfg file is replaced by the received data, and the cfg file is named according to the triggering time plus the id number of the wave recorder;
a second data processing unit: when the packet number is larger than zero, the data in the data area is sampling data, the data area is divided into analog quantity data and switching value data, and the analog quantity, the number of switching value channels, the id number of the wave recorder and the storage format of the wave recording file are all acquired through the cfg file; combining the sampled data into a wave recording file format and writing the wave recording file format into a buffer area;
a data writing unit: after the wave recording of the segment is finished, quickly writing data into a dat file in a memory mapping mode;
in the data writing unit, each wave recorder opens up two memory spaces with the same size on a server, the server writes data in a wave recording storage format into the buffer area in a certain wave recording time period, when a transmission ending flag bit is 1, transmission in the time period is ended, a file is directly mapped to the buffer area by adopting a memory mapping method, after wave recording in the next time period is started, wave recording data are written into the other buffer area, and the two memory spaces perform alternate read-write operation, so that read-write tasks are separated.
7. The distributed wave recording device of the power distribution network dynamic simulation system according to claim 6, wherein when the wave recorder connection unit sends the instruction, the message adopts a format of 0x68+ double-byte length + instruction type + data + crc check bit +0x 16.
8. The distributed wave recording device of the power distribution network dynamic simulation system according to claim 6, wherein in the wave recorder connection unit, when configuration file information is cached locally, if the line frequency, the sampling rate, the first point time and the trigger time in the configuration file are lost, the information needs to be completed by operation after passing.
CN201911007800.5A 2019-10-22 2019-10-22 Distributed wave recording method and device for power distribution network dynamic simulation system Active CN111107050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911007800.5A CN111107050B (en) 2019-10-22 2019-10-22 Distributed wave recording method and device for power distribution network dynamic simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911007800.5A CN111107050B (en) 2019-10-22 2019-10-22 Distributed wave recording method and device for power distribution network dynamic simulation system

Publications (2)

Publication Number Publication Date
CN111107050A CN111107050A (en) 2020-05-05
CN111107050B true CN111107050B (en) 2021-10-22

Family

ID=70421418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911007800.5A Active CN111107050B (en) 2019-10-22 2019-10-22 Distributed wave recording method and device for power distribution network dynamic simulation system

Country Status (1)

Country Link
CN (1) CN111107050B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112147447B (en) * 2020-09-27 2021-10-08 广东电网有限责任公司佛山供电局 Wave recording triggering method and system of relay protection device based on input amount
CN112379837B (en) * 2020-11-13 2023-05-02 许继集团有限公司 Method and device for generating wave recording file of feeder terminal
CN113177282B (en) * 2021-04-08 2022-07-22 南京南瑞继保电气有限公司 Protection early warning strategy simulation operation method for multi-device waveform file transmission
CN114113881A (en) * 2021-11-08 2022-03-01 浙江华电器材检测研究院有限公司 Characteristic waveform acquisition device of configuration formula distribution network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707599A (en) * 2009-11-12 2010-05-12 国电南京自动化股份有限公司 DSP based Ethernet communication method in fault recording system
CN101741144A (en) * 2009-12-31 2010-06-16 上海思源弘瑞自动化有限公司 Distributed recording management system for smart grid
CN108234084A (en) * 2017-12-21 2018-06-29 深圳市欣博跃电子有限公司 A kind of receiving/transmission method of data, device and equipment
CN109474067A (en) * 2018-08-14 2019-03-15 国网浙江省电力有限公司湖州供电公司 A kind of dispatching of power netwoks troubleshooting aid decision-making method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7239800B2 (en) * 2001-05-02 2007-07-03 David H. Sitrick Portable player for personal video recorders
US8805707B2 (en) * 2009-12-31 2014-08-12 Hartford Fire Insurance Company Systems and methods for providing a safety score associated with a user location
US9191209B2 (en) * 2013-06-25 2015-11-17 Google Inc. Efficient communication for devices of a home network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707599A (en) * 2009-11-12 2010-05-12 国电南京自动化股份有限公司 DSP based Ethernet communication method in fault recording system
CN101741144A (en) * 2009-12-31 2010-06-16 上海思源弘瑞自动化有限公司 Distributed recording management system for smart grid
CN108234084A (en) * 2017-12-21 2018-06-29 深圳市欣博跃电子有限公司 A kind of receiving/transmission method of data, device and equipment
CN109474067A (en) * 2018-08-14 2019-03-15 国网浙江省电力有限公司湖州供电公司 A kind of dispatching of power netwoks troubleshooting aid decision-making method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《基于故障录波的电网故障分析系统的研究》;闫福禄;《万方学位论文库》;20061018;全文 *
《配电网分布式故障录波系统的设计及其应用》;方旎;《江西电力》;20190705;全文 *

Also Published As

Publication number Publication date
CN111107050A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN111107050B (en) Distributed wave recording method and device for power distribution network dynamic simulation system
TWI668626B (en) Storage apparatus and method for autonomous space compaction
US8472449B2 (en) Packet file system
WO2003092166A1 (en) An apparatus for continuous compression of large volumes of data
US9411519B2 (en) Implementing enhanced performance flash memory devices
US7949776B2 (en) Seek minimized recoverable streaming file system
US6571362B1 (en) Method and system of reformatting data blocks for storage as larger size data blocks
CN115292266B (en) High-reliability log storage method based on memory
CN103150128A (en) Implementation method of solid state drive (SSD) and disk-based reliable mixed storage system
CN107577549A (en) It is a kind of to store the method for testing for deleting function again
CN105488108A (en) High-speed parallel storage method and apparatus for multiple video files
EP3274810A1 (en) Methods and systems for real-time activity tracing in a storage environment
CN111240879A (en) SAS card firmware log collection method, system, device and storage medium
CN116136748B (en) High-bandwidth NVMe SSD read-write system and method based on FPGA
US7231546B2 (en) Apparatus and method to overlay (N) first sectors onto (M) second sectors using a data queue
CN109861967A (en) Remote direct memory based on Spark Shuffle accesses system
EP0936561A2 (en) Data transfer method and apparatus on an SCSI bus
CN104156327A (en) Method for recognizing object power failure in write back mode in distributed file system
CN112732176B (en) SSD (solid State disk) access method and device based on FPGA (field programmable Gate array), storage system and storage medium
CN110968271B (en) High-performance data storage method, system and device
WO2021092784A1 (en) Data writing, consistency checking and reading method and apparatus
CN110580227B (en) Adaptive NVM command generation method and device
AU4229500A (en) A method and system for un-tagged command queuing
JP2000155737A (en) Data packet receiving device
US6615334B2 (en) Method and apparatus for I/O data management with an I/O buffer in compressed memory subsystem

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