Method and device for analyzing data

A data analysis and data technology, applied in the field of data processing, can solve problems such as low efficiency of software systems, low efficiency, slow response of full-graphic advanced analysis software systems, etc., and achieve the effect of alleviating excessive loading time and improving analysis efficiency

Active Publication Date: 2013-06-19
深圳市华力特电气有限公司
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Under the trend of mass quantization of wave recording data, various traditional analysis methods based on serial methods are facing great computational pressure. During the research and practice of this method, the inventors of the present invention found that The outstanding contradict

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for analyzing data
  • Method and device for analyzing data
  • Method and device for analyzing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The embodiment of the present invention provides a data analysis method, including:

[0052] Read the configuration file, and obtain the number of analog channels A_count and the number of state channels D_count of each sampling point from the configuration file;

[0053] Divide the data in the data file into M data blocks according to the preset data block size block_size, where M is a positive integer;

[0054] Create a dynamic buffer buf with a size of block_size;

[0055] Create a BLOCK queue composed of N shared analysis structure BLOCKs, and the size of each BLOCK is block_size;

[0056] Sequentially read a data block from the data file and store it in the buf;

[0057] Query whether there is an empty BLOCK in the BLOCK queue, if so, store the data block in the buf in the empty BLOCK, if not, wait in a loop;

[0058] Request a data block from the BLOCK queue, and analyze the obtained data block according to the A_count and D_count of each sampling point in the obtained data b...

Embodiment 2

[0088] The embodiment of the present invention provides another data analysis method according to the type of data file to be analyzed, including a reading process and an analysis process;

[0089] See figure 2 As shown, the reading process includes:

[0090] S200. Open the specified wave recorder and record the corresponding configuration file and data file;

[0091] S210. Read the file information in the configuration file, such as the number of analog channels A_count and the number of state channels D_count, the total number of samples Sam_count, and the file type of the data file;

[0092] S220. If the data file is a BINARY file, proceed to step S230; if the data file is an ASCII file, proceed to step S240;

[0093] S230. Define the size of the data block block_size according to the total number of sampling points Sam_count, the number of analog channels A_count, the number of state channels D_count, and the file type. For example, the block_size can accommodate m sampling points,...

Embodiment 3

[0130] The embodiment of the present invention provides a data analysis device, including:

[0131] The acquisition module is used to read a configuration file, and obtain the number of analog channels A_count and the number of state channels D_count of each sampling point from the configuration file;

[0132] The dividing module is used to divide the data in the data file into M data blocks according to the preset data block size block_size, where M is a positive integer;

[0133] The creation module is used to create a dynamic buffer buf with a size of block_size and a BLOCK queue composed of N shared parsing structure BLOCKs, and the size of each BLOCK is block_size, where N is a positive integer;

[0134] The reading module is used to sequentially read a data block from the data file into the buf, and query whether there is an empty BLOCK in the BLOCK queue, and if so, store the data block in the buf In the empty BLOCK, if not, wait in a loop;

[0135] The parsing module is used to...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for analyzing data. The method for analyzing the data includes the following steps: dividing data files into a plurality of data blocks with fixed sizes, sending the data blocks into a created sharing analysis BLOCK queue in sequence through a buffering area buf, and accordingly reading and analyzing the data blocks in the BLOCK queue in sequence. The situation that load time is excessively long caused by one-time data analysis of a traditional serial analytical algorithm is greatly relieved, analysis efficiency of mass data is improved, and operation efficiency and wave form drawing efficiency of corresponding software systems are improved.

Description

Technical field [0001] The invention relates to the technical field of data processing, in particular to a data analysis method and device. Background technique [0002] With the rapid development of microelectronics technology, the power system transient recording is obviously moving towards a high sampling rate, continuous steady-state recording and mass storage. [0003] Under this trend of ocean quantification of recorded wave data, traditional analysis methods based on serial methods face great computational pressure. During the research and practice of this method, the inventor of the present invention found that The prominent contradiction can be summarized as the following two points: First, the massive comtrade data is loaded serially, which will take a long time, resulting in low efficiency of the software system; second, due to the low efficiency of drawing massive comtrade waveforms, it leads to full graphics The advanced analysis software system is unresponsive. Summ...

Claims

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 梁玉生董昕顾莉娜
Owner 深圳市华力特电气有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products