CN108920436A - A kind of file data comparison method, tool and equipment - Google Patents

A kind of file data comparison method, tool and equipment Download PDF

Info

Publication number
CN108920436A
CN108920436A CN201810700440.6A CN201810700440A CN108920436A CN 108920436 A CN108920436 A CN 108920436A CN 201810700440 A CN201810700440 A CN 201810700440A CN 108920436 A CN108920436 A CN 108920436A
Authority
CN
China
Prior art keywords
comparison
file
compared
data
configuration information
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.)
Withdrawn
Application number
CN201810700440.6A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810700440.6A priority Critical patent/CN108920436A/en
Publication of CN108920436A publication Critical patent/CN108920436A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files

Abstract

The invention discloses a kind of file data comparison methods, including:After receiving enabled instruction, calls and run backstage comparison script;Read preset comparison configuration information;Preset comparison configuration information includes the path and its format of file to be compared, multiple comparison template files and comparison rules;According to configuration information is compared, file to be compared is obtained, and its corresponding comparison template file is obtained according to its format;According to comparison rules, the data of file to be compared and its corresponding comparison template file to acquisition are compared, and are obtained comparison result and are shown.Can operation be compared to the file to be compared under different-format automatically in the present invention, and the workload of staff is small, and operating procedure when file compares is simple.The invention also discloses a kind of file datas to compare tool and equipment.

Description

A kind of file data comparison method, tool and equipment
Technical field
The present invention relates to mass data comparison technology field, more particularly to a kind of file data comparison method, tool and Equipment.
Background technique
In cloud computing era, mass data occupies the storage of super large and the equipment of magnanimity.And the equipment of magnanimity relates to The data file of the configuration file of magnanimity and other fixed formats.
In System Expansion and maintenance phase, the data file to some configuration files and some fixed formats is needed to count According to comparison, to determine whether these files meet corresponding call format, so that it is guaranteed that system is transported with desired configuration and specification Row.
And in current alignments, since file format to be compared is different, every time when comparison, require operation maintenance personnel volume Script is write to compare to Miscellaneous Documents, under this mode, the heavy workload of operation maintenance personnel, and it is complicated for operation.
Therefore, how to provide a kind of workload is small, easy to operate file data comparison method, tool and equipment is ability The current problem to be solved of field technique personnel.
Summary of the invention
The object of the present invention is to provide a kind of file data comparison method, tool and equipment, can be automatically to different-format Under file to be compared operation is compared, the workload of staff is small, file compare when operating procedure it is simple.
In order to solve the above technical problems, the present invention provides a kind of file data comparison methods, including:
After receiving enabled instruction, calls and run backstage comparison script;
Read preset comparison configuration information;It is described it is preset compare configuration information include file to be compared path and its Format, multiple comparison template files and comparison rules;
According to the comparison configuration information, the file to be compared is obtained, and its corresponding comparison is obtained according to its format Template file;
According to the comparison rules, the data of the file to be compared and its corresponding comparison template file to acquisition into Row compares, and obtains comparison result and is shown.
Preferably, the configuration information that compares further includes the database information that file to be compared imports;
It is described according to the comparison rules, the number of the file to be compared and its corresponding comparison template file to acquisition Further include before according to being compared:
According to the database information, corresponding database is connected;
According to the format of the comparison template file obtained, table is constructed in the database;
The file to be compared that will acquire imports in the table constructed in the database, obtains file table to be compared;
Later according to the comparison rules, by the data of the corresponding comparison template file of the file table to be compared into Row compares.
Preferably, the comparison rules are specially:
Successively compare each field corresponded in table in the corresponding comparison template file of the file table to be compared Value, if whole field values are consistent in the corresponding comparison template file of the file table to be compared, what is obtained is described The data of file to be compared are correct, and otherwise, the data of the file to be compared of acquisition are incorrect.
Preferably, the comparison rules further include:
The total field quantity finished is currently compared in file table to be compared described in real-time statistics, is compared and is compared in the field finished Whether consistent field quantity and the inconsistent field quantity of comparison and presently described file table to be compared have all been compared Complete status information, obtains statistical data;
Using the statistical data as the comparing result.
Preferably, described to be specifically included the statistical data as the process of the comparing result:
After every field for comparing completion default number of branches, statistical data is committed in the comparison result and is saved.
Preferably, obtaining the process that the comparison result is shown is specially:
It periodically obtains the comparison result and is shown, if comprising described to be compared in presently described comparison result File table all compares the status information finished, then shows the prompt that comparison finishes.
Preferably, described according to the comparison rules, to the file to be compared of acquisition and its corresponding comparison template Before the data of file are compared, further include:
Receive the rule adjustment data of input;
According to the comparison rules that comparison configuration information saves described in the rule adjustment data point reuse;
Later, according to comparison rules adjusted, to the file to be compared of acquisition and its corresponding comparison template text The data of part are compared.
Preferably, the comparison configuration information further includes:
Facility information locating for the file to be compared.
In order to solve the above technical problems, the present invention also provides a kind of file datas to compare tool, including:
Comparison data library compares the storing path of script for storing preset comparison configuration information and backstage;It is described Preset comparison configuration information includes the path and its format of file to be compared, multiple comparison template files and comparison rules;
Starting module calls the backstage to compare script after receiving enabled instruction;
Script running module compares script for running the backstage, reads preset comparison configuration information;According to described in Configuration information is compared, obtains the file to be compared, and its corresponding comparison template file is obtained according to its format;According to described The data of comparison rules, the file to be compared and its corresponding comparison template file to acquisition are compared, and are compared As a result and it is sent to foreground display module;
The foreground display module, for being shown to the comparison result.
In order to solve the above technical problems, the present invention also provides a kind of file datas to compare equipment, including:
Memory, for storing computer program;
Processor realizes the file data comparison method as described in any of the above item when for executing the computer program The step of;
Display, for being shown to the comparison result that processor generates.
The present invention provides a kind of file data comparison method, tool and equipment, pre-save the path of file to be compared And its format, multiple comparison template files and comparison rules, when comparing, it is only necessary to enabled instruction is generated, it is subsequent to be It can call automatically and run backstage and compare script, it, i.e., can be according to preset comparison configuration file pair after comparing script operation from the background File to be compared is compared.As long as it can be seen that the present invention pre-set documents template, it is subsequent to be automatically performed to not The comparison of same type file to be compared simplifies without all rewriting script when comparing different types of file every time Operating procedure when file compares especially when needing that operation is compared to heap file can greatly reduce work The workload of personnel.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of the process of file data comparison method provided by the invention;
Fig. 2 is a kind of file data comparison process schematic diagram provided by the invention;
Fig. 3 is the structural schematic diagram that a kind of file data provided by the invention compares tool.
Specific embodiment
Core of the invention is to provide a kind of file data comparison method, tool and equipment, can be automatically to different-format Under file to be compared operation is compared, the workload of staff is small, file compare when operating procedure it is simple.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Shown in Figure 1 the present invention provides a kind of file data comparison method, Fig. 1 is a kind of text provided by the invention The flow chart of the process of part data comparison method;This method includes:
Step s1:After receiving enabled instruction, calls and run backstage comparison script;
Wherein, enabled instruction here, be for start it is entire compare process, the generating mode of enabled instruction can be with It is to trigger to generate after inputting designated character string by user, it can also be in the foreground display interface in the equipment of operation the method for the present invention Upper setting " comparison " button, after user clicks the button, i.e. other modes generation can also be used certainly in generation enabled instruction, this Invention is not construed as limiting this.
In addition, it is script pre-generated, for controlling entire comparison process program that backstage, which compares script,.Operation backstage After comparing script, i.e., it can be operated automatically into the comparison of subsequent step.In order to call backstage comparison script, need pre-set The corresponding calling interface of enabled instruction and calling interface and backstage compare the linking relationship between script.
When specific implementation, after foreground display interface receives enabled instruction, foreground display interface connects host side, passes through Web Service interface calls backstage to compare script, carries out comparing.It is preferably shell script that backstage, which compares script, certainly, The present invention does not limit script type and calling interface type.
Step s2:Read preset comparison configuration information;It is preset to compare the path that configuration information includes file to be compared And its format, multiple comparison template files and comparison rules;
Wherein, the comparison configuration information in the present invention is that the pre- foreground display interface that first passes through inputs configuration.
It is understood that since include in backstage comparison script is entire comparison process program, the alignment programs pair Be in different files to be compared it is identical, therefore, backstage compare script setting it is good after, afterwards file comparison when do not need It modifies again.And configuration information is compared needed for comparison process, it, may when comparing every time due to related with file to be compared Understand and have differences before, causes the comparison configuration information of previous preservation to be unable to satisfy this comparison, therefore compare configuration information It, can be aobvious by foreground according to self-demand before generating enabled instruction when not only needing to be arranged in advance, and being compared every time Show that interface is adjusted.
In addition, setting compare configuration information when, it includes comparison template file can cover more fixation as far as possible Formatted file, so that before most of files to be compared are compared, it is no longer necessary to add comparing in configuration file Add its corresponding comparison template file.
It should be noted that the file to be compared in the present invention refers to the file with fixed format, as configuration file, CDR file etc., since these file formats are fixed, just need to detect whether its current content meets due lattice Formula.
Step s3:According to configuration information is compared, file to be compared is obtained, and its corresponding comparison mould is obtained according to its format Plate file;
Also, when mass file is compared, in order to accelerate comparison efficiency, can compare configuration information in will be complete The path of portion's file to be compared and format are saved, and later in comparison process, backstage compares script and can configure according to comparing Information successively obtains file and its format to be compared and corresponding comparison template file, and then is compared.Under this mode, When staff does not need to compare every time, path and the format of file to be compared are inputted, but only needs to start comparison process, Automatically the file to be compared of magnanimity can be compared, comparison efficiency is high, and comparison process is simple.
Preferably, all files to be compared can be set under identical catalogue, facilitates backstage to compare script and searches, or The file to be compared of same format can also be set under the same catalogue by person.Certainly, the save location of file to be compared, The present invention is not especially limited.
Step s4:According to comparison rules, the data of file to be compared and its corresponding comparison template file to acquisition into Row compares, and obtains comparison result and is shown.
The purpose of comparison, be in order to examine whether the content of file to be compared meets due demand, therefore, by its with it is right The comparison template file answered is compared, if the part that its needs compares is identical as template, shows that file to be compared is met Corresponding demand (demand here includes file content, format, configuration, specification etc.) shows that file to be compared is deposited if not identical In problem, need to be adjusted.
In a preferred embodiment, comparing configuration information further includes the database information that file to be compared imports;
After step s3, further include before step s4:
According to database information, corresponding database is connected;
According to the format of the comparison template file obtained, table is constructed in database;The table constructed at this time is only empty Table later again imports the content of file to be compared in empty table;And for convenience of comparing, the empty sheet format of building here should with it is right The table format for the comparison template file answered is identical;
The file to be compared that will acquire imports in the table constructed in database, obtains file table to be compared;Concrete mode Can be:It, will be in the table of file content storage database using backstage sqlldr order;
Later according to comparison rules, the data of the corresponding comparison template file of file table to be compared are compared.
It is understood that database has the function of building table, since parameter is more in file, directly with document form into If row compares, data volume is larger, and comparison process is complicated, and builds table function by database, by the items to documents Feature to be compared is split to different tables, forms file table to be compared, at this point, file table to be compared is also table shape Formula when file table to be compared is compared with file table to be compared later, can directly compare the table content of same position To simplifying comparison process.
Specifically, constructing the implementation of table in database can be:
According to the format of comparison template file, the table statement of building of create table is risked, execution is built table statement and built later Table (table name can be exemplified as t_data_source).
In a specific embodiment, comparison rules are specially:
The value that each field in table is corresponded in the corresponding comparison template file of file table to be compared is successively compared, If whole field values are consistent in the corresponding comparison template file of file table to be compared, the number of the file to be compared obtained According to correct, otherwise, the data of the file to be compared of acquisition are incorrect.
It is understood that corresponding to the content in table in the corresponding comparison template file of file table to be compared, it is It is being extracted when building table, need the feature that is compared, if therefore if these features are completely the same, show to be compared The data of file are correct.
Certainly, being compared here according to field is correctness in order to guarantee comparison result, in order to improve comparison speed, When a table is compared, it can be not limited to field, directly entire table content can be compared.Alternatively, it is also possible to Each table is not compared successively, but multi-process compares parallel, to improve comparison efficiency.Specifically use which kind of mode, this hair It is bright to be not construed as limiting.
Further, comparison rules further include:
The total field quantity finished is currently compared in real-time statistics file table to be compared, is compared in the field that finishes and is compared one Whether the field quantity of the cause field quantity (i.e. the quantity of error field) inconsistent with comparison and currently file table to be compared The status information finished is all compared, statistical data is obtained;
By statistical data result as a comparison.
It is understood that whether comparison result can only correct comprising file to be compared, and still, this side as the result is shown For formula when file to be compared is incorrect, staff can not learn the specific error situation of file to be compared;And in the present embodiment, In comparison process, real-time statistics currently compare the total field quantity, correct field quantity and error field quantity finished, this Sample can facilitate staff to understand the specific error situation of file to be compared.
Further, can also be when comparison result be inconsistent, record compares inconsistent field, and (i.e. error field is interior Hold) and shown in comparing result, to be determined according to this content of direct basis wrong when staff being facilitated to check comparing result Accidentally field, and modify.
In addition, obtaining statistical data for convenience, an error list can be set, the field for comparing inconsistent is input to mistake It is accidentally saved in table, to facilitate the quantity of mistake of statistics field and the content of misregistration field.
It is further known that the process of statistical data result as a comparison is specifically included:
After every field for comparing completion default number of branches, statistical data is committed in comparison result and is saved.
Wherein, comparison result of the present invention can be and not limit comparison with log or document form presence, the present invention As a result specific format.
It is understood that since field to be compared is very more, if every compared after a field i.e. by statistical data It is added in comparison result if saving, the statistical data in comparison result can be replaced frequently, and then influence entire comparison process Efficiency, drag and slow compare speed.It is therefore, every to have compared the current statistical data of temporary cache after a field in the present embodiment, After the field for completing default number of branches, a statistical data is just submitted into comparison result, this mode can be avoided comparison knot The frequent turnover of data in fruit.
In addition, default number of branches here can be 500, and certainly, the specific value of default number of branches and always to be compared Field item number is related, and this is not limited by the present invention.
In a preferred embodiment, obtaining the process that comparison result is shown is specially:
It periodically obtains comparison result and is shown, if including file table whole ratio to be compared in current comparison result To the status information finished, then the prompt that comparison finishes is shown.
It is understood that periodically obtaining comparison result and being shown, it can be convenient staff and learn in time Compare situation.In other embodiments, comparison result can also be obtained in real time and is shown, or after comparison, then is right Comparison result is shown that the present invention does not limit the display cycle of comparison result.
In a preferred embodiment, before step s4, further include:
Receive the rule adjustment data of input;
The comparison rules that configuration information saves are compared according to rule adjustment data point reuse;
Later, according to comparison rules adjusted, file to be compared and its corresponding comparison template file to acquisition Data are compared.
It is understood that there may be the special comparison rules in part for certain files to be compared, compare at this time Preset comparison rules in configuration information, then may less be applicable in, therefore, it is necessary to be adjusted before comparison to comparison rules, The operation can be also possible to before enabled instruction generates, be not construed as limiting to this present invention after step s3.
In addition, file to be compared is converted into file table to be compared and is compared due in section Example, therefore, this When comparison rules can be with the presence of the form of database store process (DataBaseStored Procedure), comparison rules Adjustment process be:By the format of configuration, assembled database store process pro_data_compare.
Wherein, database store process is in large-scale database system, and one group in order to complete the SQL language of specific function Sentence collection, storage in the database, call again after first time compiles and do not need to compile again, user passes through specified database The name of storing process simultaneously provides parameter (if the storing process has parameter) to execute it.Database store process is data An important object in library.)
Specifically, comparison configuration information further includes:
Whether file to be compared has facility information locating for file header, file to be compared (IP, port, user name, password etc.). Compare configuration information in file format refer to as:Separated with comma, first character section is that node ID, second field are sections Point title etc., the database information that file to be compared imports includes IP, port, user name, password etc..
When backstage compares script lookup file to be compared, it can be searched according to the path and locating equipment of file.
Shown in Figure 2, Fig. 2 is a kind of file data comparison process schematic diagram provided by the invention.
Specifically, the present invention carries out the exploitation of foreground configuration interface using VB language.Use shell script and database purchase Process is completed backstage and is developed.Shell script and database are deployed on individual server (linux operating system).Certainly, with Upper is only a kind of implementation, and the present invention does not limit development language and locating system.
The present invention is shown using foreground and backstage compares the framework that script combines, and configuration flexibly, is suitable for a variety of trays The file content comparison of formula, big data quantity, the configuration for comparing configuration information is flexible, and applicable scene is wide, and comparison efficiency is higher.And it transports Dimension personnel write after primary backstage compares script, subsequent only to carry out configuration information adjustment, can according to specifically need into Row customized development, workload is small, and script maintainability is higher, and the backstage tool used is mainly database and linux common Background program and library, transportable property it is high.And comparison result can be more seen in real time and intuitively.
The present invention provides a kind of file data comparison method, the path of file to be compared and its format, more is pre-saved A comparison template file and comparison rules, when comparing, it is only necessary to enabled instruction is generated, it is subsequent to call automatically simultaneously Operation backstage compare script, backstage compare script operation after, i.e., can according to preset comparison configuration file to file to be compared into Row compares.As it can be seen that as long as the present invention pre-sets documents template, it is subsequent can be automatically performed it is to be compared to different type The comparison of file, without all rewriting script when comparing different types of file every time, when simplifying file comparison Operating procedure can greatly reduce the workload of staff especially when needing that operation is compared to heap file.
The present invention also provides a kind of file datas to compare tool, shown in Figure 3, and Fig. 3 is one kind provided by the invention The structural schematic diagram of file data comparison tool.The tool includes:
Comparison data library 1 compares the storing path of script for storing preset comparison configuration information and backstage;It is default Comparison configuration information include the path and its format of file to be compared, multiple comparison template files and comparison rules;
Starting module 2 calls backstage to compare script after receiving enabled instruction;
Script running module 3 compares script for running backstage, reads preset comparison configuration information;Match according to comparing Confidence breath, obtains file to be compared, and obtain its corresponding comparison template file according to its format;According to comparison rules, to obtaining The data of the file to be compared and its corresponding comparison template file that take are compared, and obtain comparison result and to be sent to foreground aobvious Show module 4;
Foreground display module 4, for being shown to comparison result.
The present invention also provides a kind of file datas to compare equipment, including:
Memory, for storing computer program;
Processor, when for executing computer program the step of the realization such as file data comparison method of any of the above item;
Display, for being shown to the comparison result that processor generates.
Above several specific embodiments are only the preferred embodiment of the present invention, and above several specific embodiments can be with Any combination, the embodiment obtained after combination is also within protection scope of the present invention.It should be pointed out that for the art For those of ordinary skill, relevant speciality technical staff deduced out in the case where not departing from spirit of that invention and concept thereof other change Into and variation, should all be included in the protection scope of the present invention.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of file data comparison method, which is characterized in that including:
After receiving enabled instruction, calls and run backstage comparison script;
Read preset comparison configuration information;The preset comparison configuration information includes path and its lattice of file to be compared Formula, multiple comparison template files and comparison rules;
According to the comparison configuration information, the file to be compared is obtained, and its corresponding comparison template is obtained according to its format File;
According to the comparison rules, the data of the file to be compared and its corresponding comparison template file to acquisition compare It is right, it obtains comparison result and is shown.
2. file data comparison method according to claim 1, which is characterized in that the comparison configuration information further include to Compare the database information that file imports;
It is described according to the comparison rules, the data of the file to be compared and its corresponding comparison template file to acquisition into Row compares further includes before:
According to the database information, corresponding database is connected;
According to the format of the comparison template file obtained, table is constructed in the database;
The file to be compared that will acquire imports in the table constructed in the database, obtains file table to be compared;
Later according to the comparison rules, the data of the corresponding comparison template file of the file table to be compared are compared It is right.
3. file data comparison method according to claim 2, which is characterized in that the comparison rules are specially:
The value that each field in table is corresponded in the corresponding comparison template file of the file table to be compared is successively compared, If whole field values are consistent in the corresponding comparison template file of the file table to be compared, what is obtained is described to be compared The data of file are correct, and otherwise, the data of the file to be compared of acquisition are incorrect.
4. file data comparison method according to claim 3, which is characterized in that the comparison rules further include:
The total field quantity finished is currently compared in file table to be compared described in real-time statistics, is compared in the field finished and is compared one The field quantity of cause and compare inconsistent field quantity and whether presently described file table to be compared all compares and finish Status information obtains statistical data;
Using the statistical data as the comparing result.
5. file data comparison method according to claim 4, which is characterized in that described using the statistical data as institute The process for stating comparing result specifically includes:
After every field for comparing completion default number of branches, statistical data is committed in the comparison result and is saved.
6. file data comparison method according to claim 5, which is characterized in that obtain the comparison result and shown Process be specially:
It periodically obtains the comparison result and is shown, if in presently described comparison result including the file to be compared Table all compares the status information finished, then shows the prompt that comparison finishes.
7. file data comparison method according to claim 1-6, which is characterized in that described according to the comparison Rule further includes before the data of the file to be compared and its corresponding comparison template file to acquisition are compared:
Receive the rule adjustment data of input;
According to the comparison rules that comparison configuration information saves described in the rule adjustment data point reuse;
Later, according to comparison rules adjusted, the file to be compared and its corresponding comparison template file to acquisition Data are compared.
8. file data comparison method according to claim 2, which is characterized in that the comparison configuration information further includes:
Facility information locating for the file to be compared.
9. a kind of file data compares tool, which is characterized in that including:
Comparison data library compares the storing path of script for storing preset comparison configuration information and backstage;It is described default Comparison configuration information include the path and its format of file to be compared, multiple comparison template files and comparison rules;
Starting module calls the backstage to compare script after receiving enabled instruction;
Script running module compares script for running the backstage, reads preset comparison configuration information;According to the comparison Configuration information obtains the file to be compared, and obtains its corresponding comparison template file according to its format;According to the comparison The data of rule, the file to be compared and its corresponding comparison template file to acquisition are compared, and obtain comparison result And it is sent to foreground display module;
The foreground display module, for being shown to the comparison result.
10. a kind of file data compares equipment, which is characterized in that including:
Memory, for storing computer program;
Processor realizes that file data as claimed in any one of claims 1 to 8 compares when for executing the computer program The step of method;
Display, for being shown to the comparison result that processor generates.
CN201810700440.6A 2018-06-29 2018-06-29 A kind of file data comparison method, tool and equipment Withdrawn CN108920436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810700440.6A CN108920436A (en) 2018-06-29 2018-06-29 A kind of file data comparison method, tool and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810700440.6A CN108920436A (en) 2018-06-29 2018-06-29 A kind of file data comparison method, tool and equipment

Publications (1)

Publication Number Publication Date
CN108920436A true CN108920436A (en) 2018-11-30

Family

ID=64423204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810700440.6A Withdrawn CN108920436A (en) 2018-06-29 2018-06-29 A kind of file data comparison method, tool and equipment

Country Status (1)

Country Link
CN (1) CN108920436A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783454A (en) * 2019-01-23 2019-05-21 成都易海通科技有限公司 A kind of super large text file comparison method
CN109829138A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 File comparison method, device, electronic equipment and computer readable storage medium
CN110428319A (en) * 2019-08-05 2019-11-08 深圳乐信软件技术有限公司 A kind of comparing platform, method, equipment and storage medium
CN110580243A (en) * 2019-08-30 2019-12-17 深圳壹账通智能科技有限公司 file comparison method and device, electronic equipment and storage medium
CN110765741A (en) * 2019-09-09 2020-02-07 重庆金融资产交易所有限责任公司 Data processing method and device, computer equipment and storage medium
CN110807304A (en) * 2019-09-20 2020-02-18 东软集团股份有限公司 Table exporting method, device and equipment
CN111813821A (en) * 2020-03-27 2020-10-23 国泰财产保险有限责任公司 Data comparison method and device
CN113408989A (en) * 2021-06-29 2021-09-17 奇瑞汽车股份有限公司 Automobile data comparison method and device and computer storage medium
CN113687858A (en) * 2021-08-05 2021-11-23 深圳集智数字科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113903117A (en) * 2021-10-11 2022-01-07 苏州益多多信息科技有限公司 System, method and medium for checking drawing format of colorful lottery

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109829138A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 File comparison method, device, electronic equipment and computer readable storage medium
CN109783454A (en) * 2019-01-23 2019-05-21 成都易海通科技有限公司 A kind of super large text file comparison method
CN110428319A (en) * 2019-08-05 2019-11-08 深圳乐信软件技术有限公司 A kind of comparing platform, method, equipment and storage medium
CN110580243A (en) * 2019-08-30 2019-12-17 深圳壹账通智能科技有限公司 file comparison method and device, electronic equipment and storage medium
CN110765741A (en) * 2019-09-09 2020-02-07 重庆金融资产交易所有限责任公司 Data processing method and device, computer equipment and storage medium
CN110807304A (en) * 2019-09-20 2020-02-18 东软集团股份有限公司 Table exporting method, device and equipment
CN111813821A (en) * 2020-03-27 2020-10-23 国泰财产保险有限责任公司 Data comparison method and device
CN113408989A (en) * 2021-06-29 2021-09-17 奇瑞汽车股份有限公司 Automobile data comparison method and device and computer storage medium
CN113408989B (en) * 2021-06-29 2024-04-02 奇瑞汽车股份有限公司 Automobile data comparison method and device and computer storage medium
CN113687858A (en) * 2021-08-05 2021-11-23 深圳集智数字科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113687858B (en) * 2021-08-05 2024-04-19 深圳须弥云图空间科技有限公司 Configuration file checking method and device, electronic equipment and storage medium
CN113903117A (en) * 2021-10-11 2022-01-07 苏州益多多信息科技有限公司 System, method and medium for checking drawing format of colorful lottery
CN113903117B (en) * 2021-10-11 2023-07-21 苏州益多多信息科技有限公司 System, method and medium for checking ticket outlet format of colorful lottery ticket

Similar Documents

Publication Publication Date Title
CN108920436A (en) A kind of file data comparison method, tool and equipment
Agrawal et al. Rheem: enabling cross-platform data processing: may the big data be with you!
CN105243528A (en) Financial IT system graphical centralized reconciliation system and method under big data environment
US9069831B2 (en) Retrieving data objects
US20170357927A1 (en) Process management for documentation-driven solution development and automated testing
US20230195728A1 (en) Column lineage and metadata propagation
WO2023060878A1 (en) Data query method and system, heterogeneous acceleration platform, and storage medium
US20050120014A1 (en) System and method for generating SQL using templates
CN111414380A (en) Chinese database SQ L statement generation method, equipment and storage medium
EP2680169B1 (en) Operation management support device, operation management support method, and program
CN106484716A (en) Organizational structure method of adjustment and system
CN115374102A (en) Data processing method and system
CN109408591A (en) Support the AI of SQL driving and the decision type distributed data base system of Feature Engineering
CN111914066A (en) Multi-source database global search method and system
CN113821565B (en) Method for synchronizing data by multiple data sources
CN106301891A (en) A kind of configuring information of network appliance processing method and processing device
US20100011018A1 (en) Custom database system and method of building the same
CN117055859A (en) Low-code development system based on data flow analysis
CN115757479A (en) Database query optimization method, machine-readable storage medium and computer device
CN111061733A (en) Data processing method and device, electronic equipment and computer readable storage medium
JPH08263277A (en) Automatic generation device for data operation program
CN115510361A (en) Data chart page generation method based on visual configuration and related equipment
CN107908697A (en) The automatic acquiring method and device of host batch processing job result
US7734665B2 (en) System and method for providing database utilities for mainframe operated databases
US8631393B2 (en) Custom database system and method of building and operating the same

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181130