Dynamic generation method, system, device and storage medium of power grid recording file

By dynamically generating power grid wave recording files, the problems of incomplete recording of oscillation events and large resource consumption in the existing technology are solved, and seamless recording and flexible review of power grid wave recording files are realized, which reduces operating pressure and cost and improves the Grid operation safety.

CN113177029BActive Publication Date: 2025-01-14CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +3
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110432679.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-21
Publication Date
2025-01-14
Estimated Expiration
2041-04-21

AI Technical Summary

Technical Problem

The existing power grid wave recording method has omissions and incomplete problems in the recording of oscillation events, resulting in high operating pressure and high cost, and the repeated deployment of wave recording functions leads to increased resource consumption.

Method used

The method of dynamically generating wave recording files is adopted, and the power grid status signal is obtained continuously, and the power grid status is stored in segments according to the chronological order. The initial wave recording file is selected according to the query time range to generate a complete wave recording file, so as to realize dynamic generation and flexible adjustment of long wave recordings. Read, avoid duplicate storage and resource consumption.

Benefits of technology

It effectively solves the problem of omission of wave recording events, reduces operating load and cost, improves wave recording performance and efficiency, and supports grid operation characteristics analysis and safety assurance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177029B_ABST
    Figure CN113177029B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of electric power systems, and discloses a method, system, device and storage medium for dynamically generating power grid recording files, including: continuously acquiring power grid status signals, storing them in segments according to the chronological order and with a preset time length, and obtaining a number of continuous initial recording files; acquiring a query time range, selecting an initial recording file that overlaps with the query time range from a number of initial recording files, and synthesizing a new recording file based on the selected initial recording file. The problem of missing recording events caused by the unreasonable setting of existing alarm thresholds is solved, and an effective support means is provided for the monitoring and analysis of the operating characteristics of power grids with a high proportion of power electronic equipment, thereby ensuring the safe operation of the power grid; there is no need to repeatedly deploy the recording function, there is no repeated storage of alarm recordings and long recordings, no device resources are consumed, the operating load of the recording device is reduced, the overall performance and efficiency of the recording are improved, and various application requirements can be flexibly responded to.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electric power systems and relates to a method, system, equipment and storage medium for dynamically generating a power grid recording file. Background Art

[0002] With the large-scale grid connection of new energy sources such as photovoltaic and wind power, a series of sub / supersynchronous oscillations and high-order harmonic oscillations have been triggered, resulting in accidents such as power plant tripping and seriously affecting the safe operation of the power grid. At the same time, since the grid connection of new energy sources has introduced a large number of power electronic equipment into the power grid, the characteristics of the power grid have changed. However, the operating characteristics of the power grid under the access of a high proportion of power electronic equipment are still in the research stage. Among them, the recording files recorded when the power grid is disturbed or oscillated are important data for the research and analysis of power grid characteristics.

[0003] At present, wave recording is often used in relay protection, that is, the wave recording is started after a fault occurs in the power grid, and the wave recording is stopped after the fault is removed. The wave recording file records the short time range of the fault, which is generally in the range of tens of milliseconds to hundreds of milliseconds, and the wave recording time is relatively short. As for power grid oscillation, at present, based on WAMS (Wide Area Measurement System), ultra-low frequency oscillation, low frequency oscillation and sub-synchronous oscillation can be monitored. Among them, the PMU (power management unit) device will only start recording when the oscillation causes changes in parameters such as power grid frequency and power. As a result, the wave recording files recorded are extremely limited. When analyzed afterwards, it was found that these wave recording files often missed most of the oscillation events. Sometimes, even if the oscillation events were recorded, they were incomplete, and it was impossible to fully monitor and analyze the entire process of the initiation, development and disappearance of the oscillation time.

[0004] Based on this, the newly proposed broadband measurement technology can realize real-time monitoring of broadband oscillations in power grids. The broadband measurement device is equipped with two functions: oscillation alarm recording and long recording. Oscillation alarm recording is similar to relay protection recording. It only records when the alarm is activated and stops after the alarm returns. However, at this stage, the characteristics of power electronic grids have not been studied clearly in theory. It is difficult to accurately define various oscillation alarm thresholds at this stage. The oscillation duration is relatively long. This relay protection recording mechanism is a short-term record under the fault state of the power grid. Moreover, for different power grid levels and different grid-connected capacities, its oscillation judgment method lacks unified and effective guidance. The result is that either the oscillation alarm threshold is set too high, missing the record of oscillation events, or the oscillation alarm threshold is set too low, and the device frequently starts recording, which brings great operating pressure to the device. Long recording adopts a 72-hour continuous rolling recording method. Its overall function is equivalent to the continuous recording and storage of data. Its function is to supplement the oscillation event recording to prevent the omission of event records caused by unreasonable oscillation threshold settings. The oscillation alarm recording and the long recording complement each other. If the alarm recording cannot be started due to unreasonable alarm threshold settings, the long recording data can be reviewed afterwards to make up for it.

[0005] However, this double recording method is equivalent to repeatedly deploying the recording function, which will result in repeated storage of alarm recordings and long recordings, and consume device resources, thereby increasing the operation and processing pressure of the device and bringing higher operating costs. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the existing recording methods in the above-mentioned prior art, that is, the existing recording methods have high operating and processing pressure and high cost, and to provide a method, system, device and storage medium for dynamically generating power grid recording files.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] In a first aspect of the present invention, a method for dynamically generating a power grid recording file comprises the following steps:

[0009] Continuously obtain the state signal of the power grid, and store it in segments with a preset time length in chronological order to obtain several continuous initial recording files;

[0010] The query time range is obtained, an initial recording file that overlaps with the query time range is selected from a number of initial recording files, and a recording file is generated according to the selected initial recording file.

[0011] The method for dynamically generating a power grid recording file of the present invention is further improved in that:

[0012] The specific method for obtaining the state signal of the power grid is: collecting three-phase voltage signals and three-phase current signals of one or at least two electrical intervals of the power grid at a sampling frequency of 12.8 kHz or above, to obtain the state signal of the power grid.

[0013] The specific method of storing after segmenting in chronological order with preset time length is: segmenting the state signal of the power grid with preset time length in chronological order, and storing the segmented state signal in the standard format of COMTRADE recording file.

[0014] During the storage, the stored content is scrolled and covered in chronological order according to a preset scrolling coverage time length or a maximum storage occupied space; after the storage, it also includes: naming the stored content according to the acquisition time of the status signal; or naming the stored content according to the acquisition time of the status signal, and adding a prefix that can identify the device corresponding to the status signal.

[0015] The specific method for obtaining the query time range is: obtaining the occurrence time and elimination time of the alarm event, and using the time range from the occurrence time to the elimination time of the alarm event as the query time range; or, obtaining the start time and end time of the review query, and using the time range from the start time to the end time of the review query as the query time range.

[0016] The specific method for generating a recording file based on the selected initial recording file is: gathering all the selected initial recording files to generate a recording file; or, integrating all the selected initial recording files in chronological order to generate a recording file; or, according to the query time range, obtaining the start time and the end time of the query time range; from all the selected initial recording files, extracting the initial recording file whose time contains the start time of the query time range to obtain the first initial recording file, and extracting the initial recording file whose time contains the end time of the query time range to obtain the second initial recording file ; intercept the data in the first initial recording file from the start time of the query time range to the end time of the first initial recording file to obtain the first intercepted data; intercept the data in the second initial recording file from the start time of the second initial recording file to the end time of the query time range to obtain the second intercepted data; remove the first initial recording file and the second initial recording file from all selected initial recording files to obtain the initial recording file set to be integrated; integrate the first intercepted data, the second intercepted data and all the initial recording files in the initial recording file set to be integrated in chronological order to generate a recording file.

[0017] The method also includes: compressing the recording file and storing and / or transmitting it to a preset receiving device.

[0018] A second aspect of the present invention is a system for dynamically generating a power grid recording file, comprising:

[0019] The recording storage module is used to continuously obtain the state signal of the power grid and store it in segments according to the chronological order and the preset time length to obtain a number of continuous initial recording files;

[0020] The wave recording generation module is used to obtain the query time range, select an initial wave recording file that overlaps with the query time range from a number of initial wave recording files, and generate a wave recording file based on the selected initial wave recording file.

[0021] A third aspect of the present invention is a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for dynamically generating a power grid recording file when executing the computer program.

[0022] A fourth aspect of the present invention is a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for dynamically generating a power grid recording file are implemented.

[0023] Compared with the prior art, the present invention has the following beneficial effects:

[0024] The method for dynamically generating power grid recording files of the present invention obtains a state signal of the power grid, and stores the data after segmenting the data in a preset time length in the order of time, thereby obtaining a plurality of initial recording files; then, based on the query time range, an initial recording file that overlaps with the query time range in time is selected from the plurality of initial recording files, and a recording file is generated according to the selected initial recording file, thereby realizing the dynamic generation of recording files within any query time range based on long recording, and realizing seamless recording of power grid recording files and flexible access thereafter. On the one hand, the problem of missing recording events caused by the unreasonable setting of existing alarm thresholds is effectively solved, and effective support means can be provided for the monitoring and analysis of the operating characteristics of power grids with a high proportion of power electronic equipment, thereby ensuring the safe operation of the power grid. On the other hand, there is no need to repeatedly deploy the recording function, and there is no situation of repeated storage of alarm recording and long recording, which does not consume device resources, reduces the operating load of the recording device, and can effectively improve the overall performance and efficiency of the recording, and can flexibly respond to various application requirements.

[0025] Furthermore, the selected initial recording files are dynamically integrated and generated to form a new recording file, which facilitates the post-analysis and diagnosis of the event. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flow chart of a method for dynamically generating a power grid recording file according to an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of the time range of a recording file in an accurate manner according to an embodiment of the present invention;

[0028] Figure 3 A flow chart of a method for dynamically generating a power grid recording file according to another embodiment of the present invention;

[0029] Figure 4 The present invention is a block diagram of the dynamic generation system of power grid recording files according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0033] See also Figure 1 In one embodiment of the present invention, a method for dynamically generating a power grid recording file is provided, which realizes the dynamic generation of various required power grid recording files based on long recording.

[0034] Specifically, the method for dynamically generating a power grid recording file includes the following steps.

[0035] S1: Continuously obtain the state signal of the power grid, and store it in segments with preset time lengths in chronological order to obtain several continuous initial recording files.

[0036] Among them, the specific method for obtaining the state signal of the power grid is: collect the three-phase voltage signal and the three-phase current signal of one or more electrical intervals of the power grid in a high-frequency acquisition manner to obtain the state signal of the power grid. Among them, the frequency of high-frequency sampling is preferably not less than 12.8kHz, that is, sampling is performed at a sampling frequency of 12.8kHz or a sampling frequency above 12.8kHz, and the specific setting can be flexibly set. In this embodiment, 12.8kHz is used as the sampling frequency of high-frequency sampling, so the number of sampling points per minute is constant, and the number of sampling points per second is 12800, and the amount of sampling data for 1 minute is 12800*60=768000.

[0037] At the same time, considering the situation of long-term uninterrupted recording, the collected data, i.e., the state signal of the power grid, is stored in segments. Specifically, it is segmented in the order of time with a preset time length T and then stored to obtain several initial recording files. The specific method is: continuously collect signals in the order of time, segment the state signal of the power grid with a preset time length T, and store the segmented state signal in the standard format of the COMTRADE recording file.

[0038] The preset time length T can be set flexibly. For example, in this embodiment, T is set to 1 minute, that is, the status signal of the power grid is segmented once every minute, and an initial recording file is obtained after the status signal of the power grid is stored every minute. The recording time is 0 minutes and 0 milliseconds to 59 seconds and 999 milliseconds, etc. In this way, 60 initial recording files can be generated every hour.

[0039] Preferably, during storage, the initial recording file continuously recorded and stored is stored in a rolling overwrite manner, and specifically, the stored content is rolled over according to the chronological order and the preset rolling overwrite time length or the maximum storage occupied space. The rolling overwrite time length or the maximum storage occupied space can be flexibly set according to actual conditions, for example, set to 7 days, i.e., 168 hours for rolling overwrite. When the recording time exceeds 168 hours, the earliest stored initial recording file is automatically overwritten according to the chronological order, thus ensuring the continuity of the long recording.

[0040] Preferably, after the collected data is stored, the stored content, i.e., the initial recording file, is named according to the acquisition time of the status signal, specifically recorded as "year month day hour minute second millisecond", such as 20181011_134500_000, i.e., October 11, 2018, 13:45:00 second 000 millisecond, to facilitate the storage and query of subsequent initial recording files. In this way, the name of the next initial recording file is 20181011_134600_000, i.e., October 11, 2018, 13:46:00 second 000 millisecond. This can be the start time of the acquisition time of the status signal. At this time, 20181011_134500_000 means that the recording starts at 13:45:00:000 milliseconds on October 11, 2018, and the duration is the above-mentioned preset time length T; it can also be the end time of the acquisition time of the status signal. At this time, 20181011_134500_000 means that the recording ends at 13:45:00:000 milliseconds on October 11, 2018, and the duration of the entire recording is the above-mentioned preset time length T.

[0041] Preferably, when naming, you can also add a prefix that can identify the device corresponding to the status signal according to the needs of the device itself, such as adding the name of the plant station where it is located, or adding the name of the line interval connected, etc., and put it in front of the time, such as JSCZ_3223_20181011_134500_000, etc. The prefix JSCZ of this initial recording file is the plant station name, and 3223 is the line interval. Since the prefix can be freely defined, once determined, all the prefixes of the device are exactly the same, and subsequent distinction can be identified according to the time name.

[0042] S2: Obtain a query time range, select an initial recording file that overlaps with the query time range from a number of initial recording files, and generate a recording file based on the selected initial recording file.

[0043] Among them, the specific methods for obtaining the query time range include the following two methods. One is to obtain the occurrence time and elimination time of the alarm event, and use the time range from the occurrence time to the elimination time of the alarm event as the query time range.

[0044] Specifically, in the present invention, the wave recording is an independent application function, which is not affected by any external events. It has been continuously recording since the sampling started. When the oscillation event alarm and the alarm elimination information are monitored, the wave recording still continues to operate. Whether it is an oscillation alarm or other over-limit alarm, as long as the alarm occurs, there will be a corresponding occurrence time and the alarm information will be started. After the alarm is eliminated, this alarm information will automatically return, so there will be a corresponding elimination time. Therefore, the time range from the occurrence time of the alarm event to the elimination time can be used as the query time range. At this time, the query time range corresponds to the start time and end time of the initial wave recording file related to the alarm event.

[0045] Secondly, the start time and end time of the access query are obtained, and the time range from the start time to the end time of the access query is used as the query time range.

[0046] Specifically, if an external system, such as other equipment, other systems or a dispatching master station system queries and reviews the initial recording file within the set time range, or reviews the initial recording file within the alarm occurrence and elimination time range based on the alarm information, the time range from the start time to the end time of the review query will be used as the query time range. At this time, the query time range corresponds to the start time and end time of the initial recording file related to the review query event.

[0047] The difference between the two is that the time range of the recording file based on the alarm event is fixed by the external event and cannot be changed; while the time range of the recording file based on the query event is set manually and can be flexibly adjusted according to needs.

[0048] Then, an initial recording file that overlaps with the query time range is selected from several initial recording files, and a recording file is generated based on the selected initial recording file. In this embodiment, the following three specific methods are disclosed for generating a recording file based on the selected initial recording file.

[0049] The first method is to integrate all selected initial recording files in chronological order to generate a recording file. This method is suitable for generating recording files that do not require high accuracy.

[0050] The second method is to obtain the start time and end time of the query time range according to the query time range; extract the initial recording file containing the start time of the query time range from all the selected initial recording files to obtain the first initial recording file, and extract the initial recording file containing the end time of the query time range to obtain the second initial recording file; intercept the data from the start time of the query time range to the end time of the first initial recording file in the first initial recording file to obtain the first intercepted data; intercept the data from the start time of the second initial recording file to the end time of the query time range in the second initial recording file to obtain the second intercepted data; summarize all the recording files contained in the first initial recording file to the second initial recording file (excluding the first intercepted data and the second intercepted data) to obtain the initial recording file set to be integrated; integrate the first intercepted data, the second intercepted data and all the initial recording files in the initial recording file set to be integrated in chronological order to generate a recording file.

[0051] Specifically, when the time length of the query time range just covers the complete time range of one or more initial recording files, the initial recording files within the query time range are directly integrated to obtain the total sampling data and combined into a new recording file in chronological order.

[0052] Otherwise, it is necessary to select specific sampling data from the initial recording file according to the start time and end time of the query time range. Here, from all the selected initial recording files, the initial recording file whose time includes the start time of the query time range is extracted to obtain the first initial recording file, and the initial recording file whose time includes the end time of the query time range is extracted to obtain the second initial recording file.

[0053] Then, in terms of time sequence, the data from the start time of the query time range to the end time of the first initial recording file, the data of the initial recording files between the first initial recording file and the second initial recording file, and the data from the start time of the second initial recording file to the end time of the query time range are all data within the query time range. It should be noted here that the boundary of the recording file is that after removing the integer number of initial recording files in the middle, its start time and end time just fall within the range of continuous initial recording files. For example, if the time of a single initial recording file is 1 minute, the time of each initial recording file is SCZ_3223_20181011_134500_000 per minute. If the alarm event occurs at 13:44:15:000 milliseconds on October 11, 2018, and the elimination time is 13:47:10:330 milliseconds on October 11, 2018, it can be found that the recording range covered includes the complete 13:45 and 46 minutes, and also involves incomplete 44 minutes and 47 minutes. At this time, it is necessary to obtain all the sampling data within the range of 44 minutes 15 seconds 000 mm to 44 minutes 59 seconds 999 milliseconds, and count the number of sampling points recorded; at the same time, extract all the sampling data within the range of 47 minutes 0 seconds 000 mm to 47 minutes 10 seconds 330 mm, and count the number of sampling points recorded; connect the head and tail data with the data at 13:45 and 13:46, summarize the total number of sampling points, and form a new dynamic recording file. Corresponding to Figure 2 It can be seen from the explanatory diagram that the time range of the recording file generated in the precise method is (T1-Tq)+(T4-T1)+(Tz-T4), where T4-T1=3T.

[0054] The third method is to collect all the selected initial recording files to generate a recording file.

[0055] Specifically, all selected initial recording file sets are transmitted to the reviewing party respectively, and then the reviewing party processes the recording files again. For example, if the query time range is from 13:44:15:000 milliseconds on October 11, 2018 to 13:47:10:330 milliseconds on October 11, 2018, it contains the complete initial recording files of 45 minutes and 46 minutes, and it also covers the initial recording files of 44 minutes and 47 minutes. At this time, all the initial recording files of all time periods involved are collected and transmitted, that is, the four initial recording files of 13:44, 13:45, 13:46, and 13:47 are all transmitted to the reviewing party for subsequent processing. During transmission, all initial recording files are summarized and sorted, and then transmitted one by one according to the protocol.

[0056] In summary, the method for dynamically generating power grid recording files of the present invention obtains a number of initial recording files by acquiring the state signal of the power grid, and storing them in segments according to the chronological order with a preset time length; then, based on the query time range, an initial recording file that overlaps with the query time range in time is selected from the number of initial recording files, and a recording file is generated according to the selected initial recording file, so as to realize the dynamic generation of recording files within any query time range based on long recording, and realize seamless recording of power grid recording files and flexible review afterwards. On the one hand, it effectively solves the problem of missing recording events caused by unreasonable setting of existing alarm thresholds, and can provide effective support means for monitoring and analyzing the operating characteristics of power grids with a high proportion of power electronic equipment, and ensure the safe operation of the power grid. On the other hand, there is no need to repeatedly deploy the recording function, there is no situation of repeated storage of alarm recording and long recording, no consumption of device resources, and the operating load of the recording device is reduced, which can effectively improve the overall performance and efficiency of the recording, and can flexibly respond to various application requirements.

[0057] In addition, the long recording files provided by the broadband measurement device are all single files and are not integrated, so they need to be parsed and queried one by one, which affects the efficiency of post-analysis. The dynamic generation method of the power grid recording file of the present invention dynamically integrates and generates the selected initial recording file to form a new recording file, which is convenient for post-analysis and diagnosis of the event.

[0058] See also Figure 3 In another embodiment of the present invention, the method for dynamically generating a power grid recording file further includes: after generating the recording file, the recording file can also be compressed and stored and / or transmitted to a preset receiving device for subsequent analysis or other processing.

[0059] Specifically, whether it is a recording file generated by an alarm event or a recording file generated by a query event, if the first or second method mentioned above is used when generating a recording file based on the selected initial recording file, then the recording file is compressed and directly transmitted to the query party (such as the dispatching main station, etc.) for subsequent analysis or other processing. If the third method mentioned above is used when generating a recording file based on the selected initial recording file, then when all recording files arrive at the query party, there are two specific processing methods, one is non-precise processing and the other is precise processing. Since the received recording file is a set, and the content contained in this set is all the selected initial recording files. Therefore, for non-precise processing, refer to the first method of generating a recording file based on the selected initial recording file, generate a new recording file based on the initial recording file contained in the set, and then perform subsequent analysis. The time range covered by the new recording file is the start and end time of all these single initial recording files. For precise processing, refer to the second method of generating a recording file based on the selected initial recording file, generate a new recording file based on the initial recording file included in the set, and then perform subsequent analysis.

[0060] Among them, considering that both the recording files generated based on alarm events and the recording files generated by query events take a relatively long time, the dynamically generated recording files are relatively large. In order to save space, they are generally compressed and stored before storage or transmission. Among them, the specific compression methods can adopt various methods such as gz, ZIP and bz2.

[0061] The following are device embodiments of the present invention, which can be used to perform method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0062] See also Figure 4 In another embodiment of the present invention, a system for dynamically generating power grid recording files is provided, which can be used to implement the method for dynamically generating power grid recording files in the above embodiment. Specifically, the system for dynamically generating power grid recording files includes: a recording storage module and a recording generation module.

[0063] Among them, the recording storage module is used to continuously obtain the status signal of the power grid, and store it in segments with preset time lengths in chronological order to obtain several continuous initial recording files; the recording generation module is used to obtain the query time range, select the initial recording file that overlaps with the query time range from several initial recording files, and generate a recording file based on the selected initial recording file.

[0064] In another embodiment of the present invention, the dynamic generation system of the power grid recording file also includes a rolling overwrite module and a naming module. The rolling overwrite module is used to roll over the stored content in chronological order according to a preset rolling overwrite time length or a maximum storage occupied space. The naming module is used to name the stored content according to the acquisition time of the status signal; or, the stored content is named according to the acquisition time of the status signal, and a prefix that can identify the device corresponding to the status signal is added.

[0065] In yet another embodiment of the present invention, the system for dynamically generating power grid recording files further includes: a recording transmission module, the recording transmission module being used for compressing the recording files and storing and / or transmitting them to a preset receiving device.

[0066] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the dynamic generation method of the power grid recording file.

[0067] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the dynamic generation method of the power grid recording file in the above embodiment.

[0068] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0069] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0070] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for dynamically generating a power grid recording file, characterized in that: The following steps are involved: Continuously obtain the state signal of the power grid, and store it in segments with a preset time length in chronological order to obtain several continuous initial recording files; Obtaining a query time range, selecting an initial wave recording file that overlaps with the query time range from a number of initial wave recording files, and generating a wave recording file based on the selected initial wave recording file; The specific method for obtaining the state signal of the power grid is: At a sampling frequency of 12.8 kHz or higher, three-phase voltage signals and three-phase current signals of one or at least two electrical intervals of the power grid are collected to obtain a state signal of the power grid; The specific method for generating a recording file according to the selected initial recording file is: Collect all selected initial recording files to generate a recording file; Alternatively, all selected initial recording files are integrated in chronological order to generate a recording file; Or, according to the query time range, obtain the start time and end time of the query time range; From all selected initial recording files, extract the initial recording file whose time contains the start time of the query time range to obtain a first initial recording file, and extract the initial recording file whose time contains the end time of the query time range to obtain a second initial recording file; Intercepting data from the start time of the query time range to the end time of the first initial recording file in the first initial recording file to obtain first intercepted data; intercepting data from the start time of the second initial recording file to the end time of the query time range in the second initial recording file to obtain second intercepted data; The first initial recording file and the second initial recording file are removed from all selected initial recording files to obtain an initial recording file set to be integrated; the first intercepted data, the second intercepted data and all initial recording files in the initial recording file set to be integrated are integrated in chronological order to generate a recording file.

2. The method for dynamically generating a power grid recording file according to claim 1, characterized in that: The specific method of storing the data in segments with preset time lengths in chronological order is as follows: The state signal of the power grid is segmented according to the chronological order and the preset time length, and the segmented state signal is stored in the standard format of the COMTRADE recording file.

3. The method for dynamically generating a power grid recording file according to claim 1, characterized in that: When storing, the stored content is rolled over in chronological order according to a preset rolling over time length or a maximum storage occupied space; After the storing, the method further includes: naming the stored content according to the acquisition time of the status signal; Alternatively, the stored content is named according to the time when the status signal is obtained, and a prefix that can identify the device corresponding to the status signal is added.

4. The method for dynamically generating a power grid recording file according to claim 1, characterized in that: The specific method for obtaining the query time range is: Get the occurrence time and elimination time of the alarm event, and use the time range from the occurrence time to the elimination time of the alarm event as the query time range; or, get the start time and end time of the query, and use the time range from the start time to the end time of the query as the query time range.

5. The method for dynamically generating a power grid recording file according to claim 1, characterized in that: Also includes: The recorded files are compressed and stored and / or transmitted to a preset receiving device.

6. A system for dynamically generating power grid recording files based on the method for dynamically generating power grid recording files according to claim 1, characterized in that: include: The recording storage module is used to continuously obtain the state signal of the power grid and store it in segments according to the chronological order and the preset time length to obtain a number of continuous initial recording files; The wave recording generation module is used to obtain the query time range, select an initial wave recording file that overlaps with the query time range from a number of initial wave recording files, and generate a wave recording file based on the selected initial wave recording file; The specific method for obtaining the state signal of the power grid is: At a sampling frequency of 12.8 kHz or higher, three-phase voltage signals and three-phase current signals of one or at least two electrical intervals of the power grid are collected to obtain a state signal of the power grid; The specific method for generating a recording file according to the selected initial recording file is: Collect all selected initial recording files to generate a recording file; Alternatively, all selected initial recording files are integrated in chronological order to generate a recording file; Or, according to the query time range, obtain the start time and end time of the query time range; From all selected initial recording files, extract the initial recording file whose time contains the start time of the query time range to obtain a first initial recording file, and extract the initial recording file whose time contains the end time of the query time range to obtain a second initial recording file; Intercepting data from the start time of the query time range to the end time of the first initial recording file in the first initial recording file to obtain first intercepted data; intercepting data from the start time of the second initial recording file to the end time of the query time range in the second initial recording file to obtain second intercepted data; The first initial recording file and the second initial recording file are removed from all selected initial recording files to obtain an initial recording file set to be integrated; the first intercepted data, the second intercepted data and all initial recording files in the initial recording file set to be integrated are integrated in chronological order to generate a recording file.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for dynamically generating a power grid recording file as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for dynamically generating a power grid recording file as claimed in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Digital transformer station electric energy quality fault recording monitoring device and method

    CN106093627A