A data comparison system and method based on bs architecture
A data comparison, BS architecture technology, applied in electrical digital data processing, special data processing applications, natural language data processing, etc., can solve problems such as errors in manual operation analysis results, increase the corresponding time for system rectification, and reduce work efficiency. Avoid repeated rework, ensure reliability and improve accuracy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2022-05-10
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of data comparison, in particular to a data comparison system and method based on a BS architecture. Background technique
[0002] The test result data is the core processing of the simulation test system. In the whole process of the simulation test system, the comparison and analysis of the data provides a strong real data support for the analysis, traceability and improvement of the test results. occupies a very important position. The data results in a system can be the test results of data comparison between models, or the test results of data comparison between models and equipment, or the test results of data comparison between equipment and equipment.
[0003] At present, the data of different attributes of the equipment and the model can be directly obtained through experiments, but when comparing the obtained data, the experimenter needs to compare and judge the comparison data line by line, which ...
Examples
Embodiment 1
[0051] refer to figure 1 , the present invention relates to a kind of data comparison method based on BS architecture, comprises the following steps:
[0052] S1, load the test data, and display the column name information in the test data;
[0053] When using, classify and sort out the different test files of the test object, and select the test file where the comparison data to be used is located. The test data in the test file includes line number information, column name information, and byte position information. After importing, all the column name information in the test file will be loaded and displayed, usually directly displayed on the display screen, and the column name information in the same test file will be displayed together, for the convenience of identification and the column name information of other files. For all data in the test file, each line is matched with a byte, usually a line represents a byte, which is convenient for processing each line of data la...
Embodiment 2
[0065] refer to figure 2 , based on embodiment 1, concrete S4 comprises the following steps:
[0066] S41, performing offset optimization processing on the data with line number deviation in the data to be compared, so that the line numbers of the data in the data to be compared correspond, and then uploading to generate comparison data;
[0067] When using, avoid that the row numbers of the selected data to be compared cannot be in one-to-one correspondence. For example, when the first test is performed, N tests are carried out in turn, and the corresponding test data of N rows are obtained. During the first test, N-x tests were carried out in sequence, 1
Embodiment 3
[0075] refer to image 3 , the present embodiment relates to a data comparison system based on BS architecture, including:
[0076] a loading unit, used for loading the test data, and displaying the column name information in the test data;
[0077] an indexing unit for generating an index file by matching the line number information of the test data with the byte position information;
[0078] A selection unit, for fetching the data to be compared in the index file according to the column name information and the row number information;
[0079] A comparison unit, configured to optimize the data to be compared to form comparison data, and map the comparison data to generate a comparison result and display it;
[0080] The storage unit is configured to convert the comparison result into a comparison file for storage and export.