CN116028449A - Data verification method and device - Google Patents

Data verification method and device Download PDF

Info

Publication number
CN116028449A
CN116028449A CN202310323397.7A CN202310323397A CN116028449A CN 116028449 A CN116028449 A CN 116028449A CN 202310323397 A CN202310323397 A CN 202310323397A CN 116028449 A CN116028449 A CN 116028449A
Authority
CN
China
Prior art keywords
file
preset
data
error
display device
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.)
Pending
Application number
CN202310323397.7A
Other languages
Chinese (zh)
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.)
Casco Signal Beijing Ltd
Original Assignee
Casco Signal Beijing 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 Casco Signal Beijing Ltd filed Critical Casco Signal Beijing Ltd
Priority to CN202310323397.7A priority Critical patent/CN116028449A/en
Publication of CN116028449A publication Critical patent/CN116028449A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a data verification method and device, relates to the technical field of railways, and mainly aims to improve efficiency of STP LKJ data verification. The main technical scheme of the invention is as follows: acquiring a specified data file and a preset data file in a preset display device, wherein the specified data file comprises specified data, and the preset data file comprises preset data; and based on preset data in the preset data file, verifying the specified data file and specified data in the specified data file in the preset display device to obtain a verification result of the specified data file. The invention is used for data verification.

Description

Data verification method and device
Technical Field
The invention relates to the technical field of railways, in particular to a data verification method and device.
Background
The interfaces of the on-board hosts of the wireless shunting locomotive signal and monitoring system (Shunting Train Protecting, STP) and the train operation monitoring device (LKJ) are important components of STP, wherein L is a train, K is control and J is monitoring.
The information interaction is carried out between the vehicle-mounted host computer of STP and LKJ through the interface box, the vehicle-mounted host computer of STP sends data such as a signal machine, a turnout, a section and the like to LKJ through the interface box, so that the LKJ can form a station yard graph of a corresponding station yard according to the STP LKJ data, and shunting operation is carried out in the station yard according to the station yard graph, therefore, the accuracy of the STP LKJ data directly influences the safety of shunting operation, and the STP LKJ data is required to be checked.
At present, STP LKJ data are checked manually by a tester, after a problem is checked manually, the data are returned to the data personnel for modification, and the tester checks again after modification, so that the checking period is longer and the efficiency is low.
Disclosure of Invention
In view of the above problems, the present invention provides a data verification method and apparatus, and is mainly aimed at improving efficiency of STP LKJ data verification.
In order to solve the technical problems, the invention provides the following scheme:
in a first aspect, the present invention provides a data verification method, the method comprising:
acquiring a specified data file and a preset data file in a preset display device, wherein the specified data file comprises specified data, and the preset data file comprises preset data;
and based on preset data in the preset data file, verifying the specified data file and specified data in the specified data file in the preset display device to obtain a verification result of the specified data file.
In a second aspect, the present invention provides a data verification apparatus, the apparatus comprising:
a file acquisition unit, configured to acquire a specified data file and a preset data file in a preset display device, where the specified data file includes specified data, and the preset data file includes preset data;
and the verification unit is used for verifying the specified data file acquired by the file acquisition unit and the specified data in the specified data file in the preset display device based on the preset data in the preset data file acquired by the file acquisition unit to obtain a verification result of the specified data file.
In order to achieve the above object, according to a third aspect of the present invention, there is provided a storage medium including a stored program, wherein the device in which the storage medium is controlled to execute the data verification method of the first aspect when the program runs.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided a processor for running a program, wherein the program executes the data verification method of the first aspect.
By means of the technical scheme, the specified data file and the preset data file can be imported into the preset display device by a user, then the preset data file and the specified data file can be acquired by the background of the preset display device, then the specified data file and the specified data in the specified data file can be checked in the preset display device according to the preset data in the preset data file, and the check result of the specified data file is obtained, so that the specified data file and the specified data in the specified data file can be checked directly through the display device, a large amount of manual participation is reduced, and the check efficiency of the specified data file and the specified data can be greatly improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flow chart of a data verification method provided by an embodiment of the invention;
FIG. 2 is a flowchart of another data verification method according to an embodiment of the present invention;
FIG. 3 is a block diagram showing a data verification device according to an embodiment of the present invention;
fig. 4 shows a block diagram of another data verification apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The interfaces of the on-board hosts of the wireless shunting locomotive signal and monitoring system (Shunting Train Protecting, STP) and the train operation monitoring device (LKJ) are important components of STP, wherein L is a train, K is control and J is monitoring. The information interaction is carried out between the vehicle-mounted host computer of STP and LKJ through the interface box, the vehicle-mounted host computer of STP sends data such as a signal machine, a turnout, a section and the like to LKJ through the interface box, so that the LKJ can form a station yard graph of a corresponding station yard according to the STP LKJ data, and shunting operation is carried out in the station yard according to the station yard graph, therefore, the accuracy of the STP LKJ data directly influences the safety of shunting operation, and the STP LKJ data is required to be checked. At present, STP LKJ data are checked manually by a tester, after a problem is checked manually, the data are returned to the data personnel for modification, and the tester checks again after modification, so that the checking period is longer and the efficiency is low. Therefore, the invention provides a data verification method which can improve the verification efficiency of data. The specific implementation steps are shown in fig. 1, including:
101. and acquiring the specified data file and the preset data file in the preset display device.
In the invention, the designated data file is an STP LKJ data file, the preset data file is basic data of an STP station yard, and the STP LKJ data file comprises coordinates of non-bifurcated sections, annunciators, turnouts, texts and the like in all station yards; target lines such as safety lines, traction lines, special lines and the like; the number and the name of all annunciators, the number and the name of a job ticket, the number and the name of a special line, the station number, the field number, the name, the Chinese name and other data of all stations.
Since the data in the preset data file is the standard data corresponding to the part of the specified data in the specified data file, the data in the preset data file needs to be relied upon when verifying the part of the specified data in the specified data file. Therefore, the specified data file and the preset data file can be imported into the preset display device at the same time, and the specified data file and the preset data file can be acquired by the background of the preset display device. That is, the execution body of the present invention is the rear end of the preset display device.
102. And based on preset data in the preset data file, verifying the specified data file and specified data in the specified data file in the preset display device to obtain a verification result of the specified data file.
In the step, after the specified data file and the preset data file are acquired by the background of the preset display device, the specified data file and the specified data in the specified data file can be checked according to the preset data in the preset data file, so that a check result of the specified data file is obtained. Specifically, during verification, the designated data file may be read, and then the naming correctness of the designated data file and the correctness of the data may be verified.
Based on the implementation manner of fig. 1, it can be seen that in the data verification method provided by the invention, a user can first import the specified data file and the preset data file in the preset display device, then the background of the preset display device can acquire the specified data file and the preset data file, and then the background of the preset display device can verify the specified data file and the specified data in the specified data file according to the preset data in the preset data file to obtain the verification result of the specified data file, so that the specified data file and the specified data in the specified data file can be directly verified through the display device, a large amount of manual participation is reduced, and therefore, the verification efficiency of the specified data file and the specified data can be greatly improved.
Further, as a refinement and extension to the embodiment shown in fig. 1, the embodiment of the present invention further provides another data verification method, as shown in fig. 2, which specifically includes the following steps:
201. and acquiring the specified data file and the preset data file in the preset display device.
The implementation of step 201 is the same as that of step 101, and the same technical effects can be achieved, so that the same technical problems are solved, and the description thereof will not be repeated here.
202. And reading a specified data file in a preset display device, and determining whether the specified data file comprises a coordinate file, a number file, a first field number file, a second field number file and a line file.
After the preset display device obtains the specified data file and the preset data file, the specified data file can be read in the preset display device in the step, and as the specified data file comprises a plurality of data, each data is stored in different files including a coordinate file, a number file, a first field number file, a second field number file and a line file, whether the specified data file comprises the coordinate file, the number file, the first field number file, the second field number file and the line file can be determined after the specified data file is read in the step. If so, step 203 may be performed; if not, a first check error file may be output, where the first check error file includes a file name not included in the specified data file.
203. And outputting a first verification correct result, and verifying the coordinate file, the number file, the first field number file, the second field number file and the line file.
In this step, if the specified data file is not missing, the names of the coordinate file, the number file, the first field number file, the second field number file and the line file included in the specified data file may be checked first, because if the names are not right, the use of subsequent data may be affected, and checking the names may be directly known when the data is read, because if the names are not right, the file may not be readable.
If the data in the coordinate file, the number file, the first field number file, the second field number file and the line file are correct, the data in the coordinate file, the number file, the first field number file, the second field number file and the line file can be further verified; if the error file is incorrect, the second checking error file can be timely output, and the error file contains the file name of the naming error, so that the error reason can be timely known during checking, and the file is corrected.
Specifically, when checking the data of the first field number file and the second field number file, because the data in the first field number file is the summary of the data in all files, the station number and the field number at the preset position in the first field number file and the station number and the field number at the preset position in the second field number file can be read in the preset display device, then the station number at the preset position in the first field number file and the station number at the preset position in the second field number file are compared, whether the station number is consistent with the station number at the preset position in the first field number file and the station number at the preset position in the second field number file are determined, and whether the station number is consistent with the field number at the preset position in the first field number file and the field number at the preset position in the second field number file are determined, and if the station number is consistent with the station number, the background of the preset display device can output a third checking correct result; if the station numbers are inconsistent, a third check error file can be output by presetting the background of the display device, and the third check error file comprises inconsistent station numbers and field numbers. Because the first field number file should include the same data as the data in the second field number file, if the first field number file and the second field number file are inconsistent, the first field number file or the second field number file may be considered as a data error, and therefore, the background of the preset display device is required to output an error file to the display interface, so that the correction is performed by the staff.
In addition, the verification of the data of the first field number file further comprises verification of the number of split screens and the number of split screens, wherein the number of split screens is the number of split screens displayed by the station field diagram, and a standard corresponding relation exists between the number of split screens and the number of split screens, so that whether the corresponding relation between the number of split screens in the first field number file and the number of split screens is correct or not is required to be verified, specifically, the number of split screens at a first designated position and the number of split screens at a second designated position in the first field number file can be read in a preset display device, then whether the corresponding relation between the number of split screens at the first designated position and the number of split screens at the second designated position is consistent or not is compared, and if the corresponding relation is consistent, the preset display device can output a fourth verification correct result; if the error signals are inconsistent, the preset display device outputs a fourth check error file, wherein the fourth check error file comprises an error split screen number or a split screen number.
Further, checking the data of the number file, wherein the background of the preset display device can be used for reading the number file and the preset data file in the preset display device, then determining whether the names and the numbers of the annunciators in the number file are consistent with the names and the numbers of the annunciators in the preset data file, determining whether the names and the numbers of the job tickets in the number file are consistent with the names and the numbers of the job tickets in the preset data file, and because the names and the numbers of the job tickets in the preset data file are the predefined standard numbers and names, if the names and the numbers of the annunciators in the number file and the job tickets are inconsistent with the preset data file, determining that the names and the numbers of the annunciators in the number file and the job tickets are wrong, and when the annunciators and the numbers are wrong, outputting a fifth checking error file to a display interface, wherein the fifth checking error file comprises the wrong annunciators or the names and the numbers of the wrong job tickets; if the result is consistent, the preset display device outputs a fifth verification correct result.
In addition, the calibration of the data of the coordinate file and the line file may be performed by reading the coordinate file and the line file in a preset display device, then extracting coordinate points of a non-branch section, a signal machine, a switch, a text, extracting offset and proportion of target lines such as a safety line, a special line and a draw-off line in the line file, then calculating available parameters of the preset display device according to offset and proportion of target lines such as the non-branch section, the signal machine, the switch, the coordinate points of the text, the safety line, the special line and the draw-off line, and then forming the parameters into a station field image through an application programming interface, so as to display the station field image in the display interface of the preset display device, thereby determining whether the coordinate file and the data in the line file are correct according to a field diagram displayed on the display interface, specifically, whether the station field diagram has deviation, including whether the station field diagram is displayed completely, or not, because the station field diagram is generated according to the data in the coordinate file and the line file, if the station field diagram has deviation is considered not to exclude the possibility of the data in the coordinate file and the line file. If the result is correct, the preset display device can output a sixth verification correct result; if the preset display device is incorrect, the preset display device can output a sixth checking error file, wherein the sixth checking error file comprises an error target line or an error coordinate point, and the coordinate point is a coordinate point of a non-branch section, a signal machine, a turnout and the like.
It should be noted that, only if each verification link outputs a verification correct result, the whole verification process can be considered to be finished, that is, if the first verification correct result, the second verification correct result, the third verification correct result, the fifth verification correct result, and the sixth verification correct result are output, the verification passing of the specified data file can be determined, and the verification of the specified data file is finished.
If each file is checked, a link error exists, the error file of the link needs to be output, and then the data in the file corresponding to the link is modified according to the error reason in the error file, so that the verification is performed again. The data in each file is verified, and the files are independent from each other and have no precedence relationship.
The coordinate file comprises coordinate points of data such as a bifurcation-free section, a signal machine, a turnout, a text and the like; the numbering file comprises the names and numbers of the annunciators and the job ticket; the first field number file is a summary of all files; the second field number file comprises station numbers and field numbers of a plurality of stations and Chinese names of each station; the line file includes the scale and offset of the plurality of target lines in each station.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides a data verification device, which is configured to implement the method shown in fig. 1. The embodiment of the device corresponds to the embodiment of the method, and for convenience of reading, details of the embodiment of the method are not repeated one by one, but it should be clear that the device in the embodiment can correspondingly realize all the details of the embodiment of the method. As shown in fig. 3, the apparatus includes:
a file obtaining unit 301, configured to obtain a specified data file and a preset data file in a preset display device, where the specified data file includes specified data, and the preset data file includes preset data;
a verification unit 302, configured to verify, in the preset display device, the specified data file acquired by the file acquisition unit and specified data in the specified data file based on preset data in the preset data file acquired by the file acquisition unit 301, to obtain a verification result of the specified data file.
Further, as an implementation of the method shown in fig. 2, another data verification device is further provided in the embodiment of the present invention, which is used to implement the method shown in fig. 2. The embodiment of the device corresponds to the embodiment of the method, and for convenience of reading, details of the embodiment of the method are not repeated one by one, but it should be clear that the device in the embodiment can correspondingly realize all the details of the embodiment of the method. As shown in fig. 4, the apparatus includes:
a file obtaining unit 301, configured to obtain a specified data file and a preset data file in a preset display device, where the specified data file includes specified data, and the preset data file includes preset data;
a verification unit 302, configured to verify, in the preset display device, the specified data file acquired by the file acquisition unit and specified data in the specified data file based on preset data in the preset data file acquired by the file acquisition unit 301, to obtain a verification result of the specified data file.
In an alternative embodiment, the verification unit 302 includes:
a file determining module 3021, configured to read the specified data file in the preset display device, and determine whether the specified data file includes a coordinate file, a number file, a first field number file, a second field number file, and a line file;
a file verification module 3022, configured to, if the file determination module 3021 determines that the file is included, output a first verification correct result by the preset display device, and verify the coordinate file, the number file, the first field number file, the second field number file, and the line file;
the file output module 3023 is configured to output a first calibration error file by using the preset display device if the file determination module 3021 determines that the first calibration error file is not included, and send the first calibration error file to a display interface, so that a worker modifies an error in the first calibration error file in the display interface, where the first calibration error file includes a file name that is not included in the specified data file.
In an alternative embodiment, the file verification module 3022 includes:
a naming verification sub-module 30221, configured to read the coordinate file, the number file, the first field number file, the second field number file, and the line file in the preset display device, and determine whether the naming of the coordinate file, the number file, the first field number file, the second field number file, and the line file is correct;
the data verification sub-module 30222 is configured to, if the naming verification sub-module 30221 verifies that the data is correct, output a second verification correct result by the preset display device, and verify the data of the coordinate file, the number file, the first field number file, the second field number file, and the line file, respectively, to obtain a verification result;
the file output sub-module 30223 is configured to, if the naming verification sub-module 30221 verifies that the naming verification is incorrect, output a second verification error file by using the preset display device, and send the second verification error file to a display interface, so that a worker modifies an error in the second verification error file in the display interface, where the second verification error file includes a file name of the naming error.
In an alternative embodiment, the data verification sub-module 30222 verifies the data of the first field number file and the second field number file, which is specifically configured to:
reading station numbers and field numbers at preset positions in the first field number file and station numbers and field numbers at preset positions in the second field number file in the preset display device;
determining whether the station number at the preset position in the first field number file is consistent with the station number at the preset position in the second field number file, and determining whether the field number at the preset position in the first field number file is consistent with the field number at the preset position in the second field number file;
if the first verification result is consistent with the second verification result, the preset display device outputs a third verification correct result;
if the third check error file is inconsistent, the preset display device outputs the third check error file, and the third check error file is sent to a display interface, so that a worker can modify errors in the third check error file in the display interface, and the third check error file comprises inconsistent station numbers and inconsistent field numbers.
In an alternative embodiment, the data verification sub-module 30222 verifies the data of the first field number file, specifically for:
reading the split screen number of a first designated position and the split screen number of a second designated position in the first field number file in the preset display device;
checking whether the corresponding relation between the split number of the first designated position and the split number of the second designated position is correct;
if so, the preset display device outputs a fourth verification correct result;
if the error in the fourth check error file is incorrect, the preset display device outputs the fourth check error file, and sends the fourth check error file to a display interface, so that a worker can modify the error in the fourth check error file in the display interface, and the fourth check error file contains an error split number or a split number.
In an alternative embodiment, the data verification sub-module 30222 verifies the data of the numbered file, specifically for:
reading the number file and a preset data file in the preset display device;
determining whether the name and the number of the annunciator in the number file are consistent with those in the preset data file, and determining whether the name and the number of the job ticket in the number file are consistent with those in the preset data file;
if the result is consistent, the preset display device outputs a fifth verification correct result;
if the error files are inconsistent, the preset display device outputs a fifth check error file, and the fifth check error file is sent to a display interface so that workers can modify errors in the fifth check error file in the display interface, and the fifth check error file comprises an error signal machine or a job ticket name and a serial number.
In an alternative embodiment, the data verification sub-module 30222 verifies the data of the coordinate file and the line file, specifically for:
reading the coordinate file and the line file in the preset display device;
generating a station yard display diagram based on the coordinate file and the line file;
determining whether the data in the coordinate file and the line file are correct or not based on the station yard display diagram;
if so, outputting a sixth verification correct result by the preset display device;
if the error is incorrect, the preset display device outputs a sixth checking error file, and sends the sixth checking error file to a display interface, so that a worker can modify the error in the sixth checking error file in the display interface, the sixth checking error file comprises a target line of the error in the line file or a coordinate point of the error in the coordinate file, the coordinate point is a coordinate point of a forkless section, a signal machine, a turnout and the like, and the target line comprises a safety line, a traction line, a special line and the like.
Further, an embodiment of the present invention further provides a storage medium, where the storage medium is configured to store a computer program, where the computer program controls, when running, a device where the storage medium is located to execute the data verification method described in fig. 1-2.
Further, an embodiment of the present invention further provides a processor, where the processor is configured to execute a program, where the program executes the data verification method described in fig. 1-2.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the methods and apparatus described above may be referenced to one another. In addition, the "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent the merits and merits of the embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
Furthermore, the memory may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), in a computer readable medium, the memory including at least one memory chip.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method of data verification, the method comprising:
acquiring a specified data file and a preset data file in a preset display device, wherein the specified data file comprises specified data, and the preset data file comprises preset data;
and based on preset data in the preset data file, verifying the specified data file and specified data in the specified data file in the preset display device to obtain a verification result of the specified data file.
2. The method according to claim 1, wherein verifying the specified data file and specified data in the specified data file in the preset display device based on preset data in the preset data file, to obtain a verification result of the specified data file, comprises:
reading the specified data file in the preset display device, and determining whether the specified data file comprises a coordinate file, a number file, a first field number file, a second field number file and a line file;
if the first verification result is included, the preset display device outputs a first verification correct result and verifies the coordinate file, the number file, the first field number file, the second field number file and the line file;
if the first check error file is not included, the preset display device outputs the first check error file, and the first check error file is sent to a display interface, so that a worker can modify errors in the first check error file in the display interface, and the first check error file includes file names which are not included in the specified data file.
3. The method of claim 2, wherein verifying the coordinate file, the number file, the first field number file, the second field number file, and the line file comprises:
reading the coordinate file, the number file, the first field number file, the second field number file and the line file in the preset display device, and determining whether the naming of the coordinate file, the number file, the first field number file, the second field number file and the line file is correct;
if so, the preset display device outputs a second verification correct result, and respectively verifies the data of the coordinate file, the number file, the first field number file, the second field number file and the line file to obtain a verification result;
if the error in the second error checking file is incorrect, the preset display device outputs the second error checking file, and the second error checking file is sent to a display interface, so that a worker can modify the error in the second error checking file in the display interface, and the second error checking file comprises a file name of the naming error.
4. A method according to claim 3, wherein verifying the data of the first field number file and the second field number file comprises:
reading station numbers and field numbers at preset positions in the first field number file and station numbers and field numbers at preset positions in the second field number file in the preset display device;
determining whether the station number at the preset position in the first field number file is consistent with the station number at the preset position in the second field number file, and determining whether the field number at the preset position in the first field number file is consistent with the field number at the preset position in the second field number file;
if the first verification result is consistent with the second verification result, the preset display device outputs a third verification correct result;
if the third check error file is inconsistent, the preset display device outputs the third check error file, and the third check error file is sent to a display interface, so that a worker can modify errors in the third check error file in the display interface, and the third check error file comprises inconsistent station numbers and inconsistent field numbers.
5. A method according to claim 3, wherein verifying the data of the first field number file comprises:
reading the split screen number of a first designated position and the split screen number of a second designated position in the first field number file in the preset display device;
checking whether the corresponding relation between the split number of the first designated position and the split number of the second designated position is correct;
if so, the preset display device outputs a fourth verification correct result;
if the error in the fourth check error file is incorrect, the preset display device outputs the fourth check error file, and sends the fourth check error file to a display interface, so that a worker can modify the error in the fourth check error file in the display interface, and the fourth check error file contains an error split number or a split number.
6. A method according to claim 3, wherein verifying the data of the numbered file comprises:
reading the number file and a preset data file in the preset display device;
determining whether the name and the number of the annunciator in the number file are consistent with those in the preset data file, and determining whether the name and the number of the job ticket in the number file are consistent with those in the preset data file;
if the result is consistent, the preset display device outputs a fifth verification correct result;
if the error files are inconsistent, the preset display device outputs a fifth check error file, and the fifth check error file is sent to a display interface so that workers can modify errors in the fifth check error file in the display interface, and the fifth check error file comprises an error signal machine or a job ticket name and a serial number.
7. A method according to claim 3, wherein verifying the data of the coordinate file and the line file comprises:
reading the coordinate file and the line file in the preset display device;
generating a station yard display diagram based on the coordinate file and the line file;
determining whether the data in the coordinate file and the line file are correct or not based on the station yard display diagram;
if so, outputting a sixth verification correct result by the preset display device;
if the error is incorrect, the preset display device outputs a sixth checking error file, and sends the sixth checking error file to a display interface, so that a worker can modify the error in the sixth checking error file in the display interface, the sixth checking error file comprises a target line of the error in the line file or a coordinate point of the error in the coordinate file, the coordinate point is a coordinate point of a forkless section, a signal machine, a turnout and the like, and the target line comprises a safety line, a traction line, a special line and the like.
8. A data verification device, the device comprising:
a file acquisition unit, configured to acquire a specified data file and a preset data file in a preset display device, where the specified data file includes specified data, and the preset data file includes preset data;
and the verification unit is used for verifying the specified data file acquired by the file acquisition unit and the specified data in the specified data file in the preset display device based on the preset data in the preset data file acquired by the file acquisition unit to obtain a verification result of the specified data file.
9. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the data verification method according to any one of claims 1 to 7.
10. A processor for running a program, wherein the program when run performs the data verification method of any one of claims 1 to 7.
CN202310323397.7A 2023-03-30 2023-03-30 Data verification method and device Pending CN116028449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310323397.7A CN116028449A (en) 2023-03-30 2023-03-30 Data verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310323397.7A CN116028449A (en) 2023-03-30 2023-03-30 Data verification method and device

Publications (1)

Publication Number Publication Date
CN116028449A true CN116028449A (en) 2023-04-28

Family

ID=86074527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310323397.7A Pending CN116028449A (en) 2023-03-30 2023-03-30 Data verification method and device

Country Status (1)

Country Link
CN (1) CN116028449A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073912A (en) * 2009-11-23 2011-05-25 中国移动通信集团黑龙江有限公司 Data quality control method, device and system
CN102682166A (en) * 2012-05-09 2012-09-19 上海望友信息科技有限公司 SMT (Surface Mounted Technology) equipment rapid processing system and method
CN103984734A (en) * 2014-05-20 2014-08-13 中国科学院软件研究所 Cloud service message transmission method orienting high-performance computation
CN107943507A (en) * 2017-11-24 2018-04-20 中国航空工业集团公司西安航空计算技术研究所 A kind of synthesis core processor centered on data warehouse is from upgrade method
WO2018120457A1 (en) * 2016-12-29 2018-07-05 平安科技(深圳)有限公司 Data processing method, apparatus, device, and computer readable storage medium
CN114095492A (en) * 2021-11-16 2022-02-25 许昌许继软件技术有限公司 Data transmission method and system for main and sub-stations of power system and electronic equipment
CN115328853A (en) * 2022-08-15 2022-11-11 合众新能源汽车有限公司 AUTOSAR-based file configuration method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073912A (en) * 2009-11-23 2011-05-25 中国移动通信集团黑龙江有限公司 Data quality control method, device and system
CN102682166A (en) * 2012-05-09 2012-09-19 上海望友信息科技有限公司 SMT (Surface Mounted Technology) equipment rapid processing system and method
CN103984734A (en) * 2014-05-20 2014-08-13 中国科学院软件研究所 Cloud service message transmission method orienting high-performance computation
WO2018120457A1 (en) * 2016-12-29 2018-07-05 平安科技(深圳)有限公司 Data processing method, apparatus, device, and computer readable storage medium
CN107943507A (en) * 2017-11-24 2018-04-20 中国航空工业集团公司西安航空计算技术研究所 A kind of synthesis core processor centered on data warehouse is from upgrade method
CN114095492A (en) * 2021-11-16 2022-02-25 许昌许继软件技术有限公司 Data transmission method and system for main and sub-stations of power system and electronic equipment
CN115328853A (en) * 2022-08-15 2022-11-11 合众新能源汽车有限公司 AUTOSAR-based file configuration method and device

Similar Documents

Publication Publication Date Title
CN112099478A (en) Automatic test method and device for temporary speed limit message of train control center
CN108583624B (en) Train running state visualization method and device
CN107861496A (en) A kind of system and method for emulation platform transponder beacon message
CN111258299A (en) Test method and system for interval occupation logic check function of train control center
CN108959374B (en) Data storage method and device and electronic equipment
CN105373476A (en) Method and system for generating automatic test case in automobile controller
CN115118627B (en) Temporary speed limiting server testing method and device
CN112414415B (en) High-precision point cloud map construction method
CN113641592A (en) Test sequence generation method and device
CN105868100A (en) Android system-based automatic test method and device
CN116028449A (en) Data verification method and device
CN102932104B (en) Method and device for rewriting transponder message
CN112825196B (en) Method and device for determining road sign, storage medium and editing platform
CN116047550B (en) Train satellite positioning initialization function test method and device
CN112327800A (en) Vehicle detection method and device and diagnosis equipment
CN112632200A (en) Method and system for generating urban rail transit electronic map
CN114281821A (en) Data chart sharing system and method
CN116142253B (en) Code bit table generation method and device
CN102133899B (en) Temperature-measuring error correction method, equipment and system
CN115923884B (en) Method and device for verifying route names in urban rail projects
CN117131145A (en) Track map data verification method and device
CN113792535B (en) Vehicle-mounted code receiving form automatic generation method and device for indoor sports car test
CN116155769B (en) Temporary speed limiting server testing method and device
CN112829797B (en) Method, device, equipment and storage medium for acquiring parameters of line points
CN110667654B (en) Indoor test method and device for information consistency of CBTC system transponder

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230428

RJ01 Rejection of invention patent application after publication