CN102521359B - Interface data file comparison method and device - Google Patents

Interface data file comparison method and device Download PDF

Info

Publication number
CN102521359B
CN102521359B CN 201110419950 CN201110419950A CN102521359B CN 102521359 B CN102521359 B CN 102521359B CN 201110419950 CN201110419950 CN 201110419950 CN 201110419950 A CN201110419950 A CN 201110419950A CN 102521359 B CN102521359 B CN 102521359B
Authority
CN
China
Prior art keywords
data file
interface
compared
interface data
intermediate data
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.)
Active
Application number
CN 201110419950
Other languages
Chinese (zh)
Other versions
CN102521359A (en
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN 201110419950 priority Critical patent/CN102521359B/en
Publication of CN102521359A publication Critical patent/CN102521359A/en
Application granted granted Critical
Publication of CN102521359B publication Critical patent/CN102521359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an interface data file comparison method and an interface data file comparison device. The interface data file comparing method includes steps of reading interface data files to be compared, acquiring structural object information of interface data files to be compared according to data types of the interface data files to be compared, converting the structural object information into standard intermediate data files according to types of the structural object information, and comparing the interface data files to be compared according to the converted standard intermediate data files. By the interface data file comparison method and the interface data file comparison device, comparing efficiency of the interface data files can be improved.

Description

The comparative approach of interface data file and device
Technical field
The present invention relates to the microcomputer data processing field, particularly, relate to a kind of comparative approach and device of interface data file.
Background technology
In computer data is handled, the user use and the computer interface operated more and more important, close friend's computer interface can improve the ease for use of computer data processing system greatly flexibly, improve user's service efficiency and the maintainability of system, and then can improve the efficient that computer data is handled.
At present, when the comparison of carrying out all kinds of interface data files (such as html web page files, jsp code file) or version management, the major technology means are that the angle from text character compares operation, and there is following problem in this text character manner of comparison:
(1) since the research staff when carrying out the comparison of this class file, what more pay close attention to is difference on the displaying interface effect but not the difference of code character aspect, thereby just require the research staff can identify voluntarily in the file content to represent relevant part with vision, simultaneously can certain estimating be arranged to representing effect, often can only solve by debugging comparison repeatedly in the practical operation, this has caused the low of work efficiency, and to a great extent, this mode depends on research staff's self ability and experience;
(2) when the volume ratio of data file is big, during the structure more complicated, carry out the comparison of interface data file by this way, it is very tediously long, difficult that actual mechanical process can become, and be difficult to the effect that reaches desirable;
(3) can't realize representing " consistance identification " on the angle from the interface vision, but can point out that they are different fully, and the interface that different user interface codes may show is identical, but adopts present data manner of comparison often can not realize its conforming identification.
That is to say that there is the problem that efficient is low, can't realize " consistance identification " in present interface data file comparison techniques.
Summary of the invention
The fundamental purpose of the embodiment of the invention is to provide a kind of comparative approach and device of interface data file, has inefficient problem to solve interface data file comparison techniques of the prior art.
To achieve these goals, the embodiment of the invention provides a kind of comparative approach of interface data file, this method: read interface data file to be compared; Obtain the structured object information of described interface data file to be compared according to the data type of described interface data file to be compared; Type according to described structured object information is the standard intermediate data file with described structured object information translation; According to the standard intermediate data file after the conversion described interface data file to be compared is compared operation.
Particularly, above-mentionedly read interface data file to be compared and comprise: the form with text character stream reads described interface data file to be compared.
Above-mentioned type according to described structured object information comprises described structured object information translation for the standard intermediate data file: obtain the information relevant with displaying interface in the described structure objects information according to the type of described structured object information; The information relevant with displaying interface in the described structure objects information is converted into described standard intermediate data file, and wherein, described standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
According to the standard intermediate data file after the conversion described interface data file to be compared is compared after the operation, described method also comprises: the result after the compare operation is shown in patterned mode.
The embodiment of the invention also provides a kind of comparison means of interface data file, and described device comprises: the interface data document reading unit is used for reading interface data file to be compared; The structured object information acquisition unit is for the structured object information of obtaining described interface data file to be compared according to the data type of described interface data file to be compared; Standard intermediate data file converting unit, the type that is used for according to described structured object information is the standard intermediate data file with described structured object information translation; The compare operation unit is used for according to the standard intermediate data file after the conversion described interface data file to be compared being compared operation.
Described interface data document reading unit specifically is used for: the form with text character stream reads described interface data file to be compared.
Described standard intermediate data file converting unit specifically comprises: displaying interface information acquisition module is used for obtaining the described structure objects information information relevant with displaying interface according to the type of described structured object information; Standard intermediate data file modular converter, be used for the described structure objects information information relevant with displaying interface is converted into described standard intermediate data file, wherein, described standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
Described device also comprises: display unit is used for the result after the compare operation is shown in patterned mode.
By means of technique scheme one of at least,, after converting interface data file consolidation to be compared to the standard intermediate data file, compare, can find the difference part quickly and easily, improve the relative efficiency of interface data file.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram according to the comparative approach of the interface data file of the embodiment of the invention;
Fig. 2 is two process flow diagrams that the interface data file compares according to the embodiment of the invention;
Fig. 3 is the synoptic diagram of interface data A;
Fig. 4 is the synoptic diagram of interface data B;
Fig. 5 is the object tree of interface data A through obtaining after resolving according to the embodiment of the invention;
Fig. 6 is the object tree of interface data B through obtaining after resolving according to the embodiment of the invention;
Fig. 7 is the schema that is used for the definition intermediate data file according to the embodiment of the invention;
Fig. 8 is the intermediate data file that the interface data A according to the embodiment of the invention converts to;
Fig. 9 is the intermediate data file that the interface data B according to the embodiment of the invention converts to;
Figure 10 is the interface data A according to the embodiment of the invention, the comparative result of B;
Figure 11 is the structured flowchart according to the interface data file comparison means method of the embodiment of the invention;
Figure 12 is the structured flowchart according to the standard intermediate data file converting unit of the embodiment of the invention;
Figure 13 is another structured flowchart according to the interface data file comparison means of the embodiment of the invention;
Figure 14 is the workflow diagram of comparison means shown in Figure 13.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Because inefficiency when existing file character comparison techniques compares the interface data file, to the supporting dynamics deficiency of same interface function different code situation, based on this, the embodiment of the invention provides a kind of comparative approach and device of interface data file.The present invention is described in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the invention provides a kind of comparative approach of interface data file, and Fig. 1 is the process flow diagram of this method, and as shown in Figure 1, this method comprises:
Step 101 reads interface data file to be compared;
Step 102 is obtained the structured object information of interface data file to be compared according to the data type of interface data file to be compared;
Step 103 is the standard intermediate data file according to the type of structured object information with the structured object information translation;
Step 104 compares operation according to the standard intermediate data file after the conversion to interface data file to be compared.
By above description as can be seen, after converting interface data file consolidation to be compared to the standard intermediate data file, compare, can find the difference part quickly and easily, file character comparative approach than prior art, the embodiment of the invention can improve the relative efficiency of interface data file, the misuse rate when the minimizing interface data is synchronous.
Particularly, can read above-mentioned interface data file to be compared with the form of text character stream.
Above-mentioned steps 103 specifically comprises: obtain information relevant with displaying interface in the structure objects information according to the type of structured object information; Information relevant with displaying interface in the structure objects information is converted into the standard intermediate data file, and wherein, the standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
After step 104, the result after the compare operation is shown in patterned mode, so that the user checks the difference part between the interface data file to be compared.
Embodiment describes the embodiment of the invention in detail below in conjunction with two interface data file comparison flow processs shown in Figure 2 for a better understanding of the present invention.
As shown in Figure 2, interface data file comparison flow process mainly comprises:
Step 201, interface data reads; Be specially: read two interface data files to be compared, and obtain these two the various content informations in the interface data file to be compared respectively.
Step 202, interface data is resolved; Be specially: after reading fileinfo, according to different file types and form, from file content, extract structurized object information and storage.
Step 203 is transformed into the standard intermediate data file; Be specially: the object information that extracts is transformed into a kind of standardized, comparable intermediate data file, this intermediate data file aims at the interface and relatively designs, in this process, the key element that has nothing to do with the interface in the object information can be rejected, only keep the part that needs.Can improve the efficient of comparison like this, reduce error simultaneously.
Step 204, the interface data diversity ratio is; Be specially: based on the intermediate data file that previous step obtains, between data to be compared, carry out diversity ratio that vision represents effect, obtain structurized, readable comparative result.
Step 205, the control that dynamically represents; Be specially: represent comparative result by graphic interface to the user, receive user's operation.When certain data to be compared of user's modification, reflect up-to-date difference condition in real time, further do the work of data sync more easily with this assisted user.
Below lift an example.
With two interface datas be example relatively, read in the copy of two files to be compared, be example with Fig. 3 and two files shown in Figure 4, for convenience for the purpose of, claim file shown in Figure 3 for " interface data A ", file shown in Figure 4 is " interface data B ".
At first, judge file type according to the file content that reads in.Read in "<html〉" label of " interface data A " beginning, thereby can judge that " interface data A " is the html file; And " interface data B " with "<? xml version=" 1.0 " encoding=" UTF-8 "?〉" beginning, be a kind of form that expands voluntarily according to the xml standard.
Then, according to the design feature of two parts of files to be compared, to the in addition different processing respectively of two parts of interface datas:
To " interface data A ", because distinguishing " interface data A " is the html web page files, therefore all html elements that will comprise in " interface data A " file content (tagged element in "<〉" just) and their attribute all read and organize arrangement in the mode of object tree respectively, generation result as shown in Figure 5;
To " interface data B ", though " interface data B " is the professional format of expanding voluntarily, is not general format, owing to follow the xml standard, therefore also the element in the file content and attribute thereof can be read and be organized into an object tree, produce result as shown in Figure 6 at last.
Structured object information obtain finish after, information relevant with displaying interface in the structured object information is extracted, and is transformed into a kind of standardized intermediate data file.This intermediate data file is the normalized objects set that a cover pre-defines, and has comprised interface element commonly used (as button, input frame, form, singly select multiselect etc.), under each element kind, has comprised various common attributes again.Intermediate data file can be defined by a schema, specifically as shown in Figure 7, in use, defines to generate standardized object by specific mapping method from this schema according to actual needs.
Table 1 has been enumerated the part of standards object in the intermediate data file.
Table 1
Figure BDA0000120498620000061
Figure BDA0000120498620000071
As shown in table 1, ControlBase in the table, ContainerBase, Button, CheckBox, Table, FieldSet is the normalized objects that defines among the schema, as can be seen from Table 1, the hierarchical relationship that succession is arranged between them, inheritance means that the successor has all by successor's attribute, for instance: Table inherits from ContainerBase, Table is except self distinctive three attribute so, the all properties that also has ContainerBase, simultaneously, inherit from ControlBase because of ContainerBase again, thereby Table in fact also has all properties of ControlBase.
Other object models are transformed into the process of intermediate data file, in fact be exactly from other object models, to extract earlier interface relevant key element and attribute, reorganize with normalized objects corresponding in the intermediate data file information that these interfaces are relevant again.
Be example with " interface data A " in this example below, describe " interface data A " converts intermediate data file to from the html object tree process in detail:
(1) " interface data A " is the data of html form, and the relevant main part in interface is mainly at<body〉in the label, the tag element relevant with the interface (only listing part as space is limited) is as shown in table 2 below:
Table 2
Figure BDA0000120498620000072
Figure BDA0000120498620000081
The attribute (only listing part equally as space is limited) that the interface is relevant is as shown in table 3 below:
Table 3
Figure BDA0000120498620000082
During the conversion of underway data file, only need that above-mentioned these interface relevant informations are extracted processing and get final product, other information can be ignored.
(2)<and body〉label is as the root node of the whole html page, and corresponding with it in intermediate data file is the Diagram object, according to the definition among the schema, can comprise any a plurality of container or control under the Diagram.Simultaneously, Diagram also has some own attributes, and wherein, the name attribute is just corresponding to the name attribute of whole html.Specifically as shown in table 4:
Table 4
Figure BDA0000120498620000083
(3)<body〉be one<div under the label as the container of internal layer control, in intermediate data file, the Line object is played the part of this role, thereby can be very naturally direct general<div convert Line to, also information such as the length of div, width, arrangement are stored in respectively in the corresponding attribute of Line object simultaneously, as shown in table 5 below:
Table 5
(4)<div〉be one<table under the label form, in intermediate data file, the Table object is corresponding with it, can be<table〉be transformed into the Table object, simultaneously, relevant attribute (cellPadding, cellSpacing, name, width, height etc.) also extracts in the object after the conversion, shown in the table 6 specific as follows in the lump:
Table 6
Figure BDA0000120498620000092
Figure BDA0000120498620000101
(5) with top step similarly, can be with " interface data A "<body〉all interior interface related contents of label are converted to intermediate data file, concrete outcome (only illustrates part) as shown in Figure 8.
" interface data B " also is transformed into intermediate data file, and process is similar with the transfer process of " interface data A ", repeats no more, and the result after " interface data B " conversion (only illustrates part) as shown in Figure 9.
Afterwards, read the interface data to be compared that converts intermediate data file to, carry out diversity ratio, and with patterned intuitive manner interface data to be compared and the discrepancy between them or difference zone are represented to the user.
The above-mentioned information that needs to preserve comprises: the 1) result of intermediate data file conversion equipment; 2) result of interface data difference comparison means is as shown in table 7.
Table 7
Because intermediate data file itself follows the xml standard, therefore 1) data structure is the xml object tree, and 2) data are set of some different informations, the simple list of object set just.
After the conversion of finishing intermediate data file, carry out the calculating of interface data difference based on intermediate data file, take out the interface data to be compared that has converted intermediate data file to, compare by comparison algorithm, obtain the visual effect difference between them, and show these different informations.Because data to be compared have been processed into a kind of structural model by standardization ground---the intermediate data file object tree, thereby, can adopt the algorithm of tree data structure traversal to carry out variance analysis, and then obtain the result of data comparison.
At first from the Diagram of the superiors, compare layer by layer.Can find that at first a word tag that is called " user profile inquiry " has different (using underscore) in font size and color, specifically as shown in table 8:
Table 8
So produce the data of two different informations accordingly, as shown in table 9:
Table 9
Figure BDA0000120498620000122
The rest may be inferred, and whole difference comparison procedure will produce some such different information data.
In specific implementation process, the intermediate data file object tree can be resolved to visual graphical interfaces, represent intuitively to the user, also can the discrepancy between the data to be compared or difference zone be represented to the user with different graphic techniques, for example mark difference on the attribute with red straight line, interface element difference is then used red box indicating etc.Above-mentioned example shows the result as shown in figure 10.
Carry out retouching operation if the user treats comparing data, then will repeat above-mentionedly wholely to read, parsing, intermediate data file conversion and diversity ratio flow process, in real time up-to-date comparative result has been showed the user.
Embodiment two
The embodiment of the invention also provides a kind of comparison means of interface data file, and this device is preferably used for realizing the method in above-described embodiment one.As shown in figure 11, this device comprises:
Interface data document reading unit 10 is used for reading interface data file to be compared;
Structured object information acquisition unit 11 is for the structured object information of obtaining interface data file to be compared according to the data type of interface data file to be compared;
Standard intermediate data file converting unit 12, the type that is used for according to structured object information is the standard intermediate data file with the structured object information translation;
Compare operation unit 13 is used for according to the standard intermediate data file after the conversion interface data file to be compared being compared operation.
By above description as can be seen, compare after converting interface data file consolidation to be compared to the standard intermediate data file by standard intermediate data file converting unit, can find the difference part quickly and easily, file character comparative approach than prior art, the embodiment of the invention can improve the relative efficiency of interface data file, the misuse rate when the minimizing interface data is synchronous.
Particularly, above-mentioned interface data document reading unit specifically is used for: the form with text character stream reads interface data file to be compared.
As shown in figure 12, above-mentioned standard intermediate data file converting unit 12 comprises:
Displaying interface information acquisition module 120 is used for obtaining the structure objects information information relevant with displaying interface according to the type of structured object information;
Standard intermediate data file modular converter 121 is used for the information that structure objects information is relevant with displaying interface and is converted into the standard intermediate data file, and wherein, the standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
Above-mentioned device also comprises: the display unit (not shown) is used for the result after the compare operation is shown in patterned mode.
The concrete function of above-mentioned each each module of unit can not repeat them here with reference to the description in above-described embodiment one.
Figure 13 is another block diagram of interface data file comparison means, as shown in figure 13, this device comprises: interface data reads and resolver 1, intermediate data file conversion equipment 2, data administrator 3, interface data difference comparison means 4, display device 5 and input media 6.Wherein:
Interface data reads and resolver 1: be responsible for receiving interface data file to be compared from input media 6, form with text character stream reads in this device, content information in the resolution file, according to different forms, the content of data file is changed into structured object, and be stored in the data administrator 3 by intermediate data file conversion equipment 2.
Intermediate data file conversion equipment 2: be responsible for from data administrator 3, obtaining interface data and read result with resolver 1, information relevant with displaying interface in the structured object is extracted, and be transformed into a kind of standardized intermediate data file, and transformation result is stored in the data administrator 3.
Data administrator 3: the storage and management of being responsible for data.Interface data is stored in structured object in the data administrator 3 after reading and carrying out preliminary parsing with 1 pair of data of resolver and handle; Intermediate data file conversion equipment 2 is stored in transformation result in the data administrator 3 after finishing conversion to structured object; Interface data difference comparison means 4 reads the interface data to be compared that converts intermediate data file to from data administrator 3, carry out diversity ratio, and different information is recorded in the data administrator 3; Display device 5 reads the interface data to be compared that is converted to intermediate data file and the result of interface data difference comparison means 4 from data administrator 3, with patterned intuitive manner interface data to be compared and the discrepancy between them or difference zone are represented to the user.Data administrator 3 needs to be responsible for storing two category informations: the 1) result of intermediate data file conversion equipment; 2) result of interface data difference comparison means.
Interface data difference comparison means 4: be responsible for carrying out the calculating of interface data difference based on intermediate data file, from data administrator 3, take out the interface data to be compared that has converted intermediate data file to, compare by comparison algorithm, obtain the visual effect difference between them, and these different informations are sent to display device 5.
Display device 5: the result that receives intermediate data file conversion equipment 2 from data administrator 3, the intermediate data file object tree is resolved to visual graphical interfaces, represent intuitively to the user, simultaneously, result according to interface data difference comparison means 4, with different graphic techniques the discrepancy between the data to be compared or difference zone are represented to the user, for example mark difference on the attribute with red straight line, interface element difference is then used red box indicating etc.
Input media 6: be responsible for to receive and response user's operation, and be responsible for operational order with the user, and the modification for the treatment of comparing data passes to interface data and reads and resolver 1.Carried out behind the retouching operation when the user treats comparing data, be responsible for to have triggered that whole device will repeat wholely to read again, parsing, intermediate data file conversion and diversity ratio work, in real time up-to-date comparative result has been showed the user.
Figure 14 is the workflow diagram of comparison means shown in Figure 13, and as shown in figure 14, idiographic flow comprises:
Step 100, interface data read with resolver 1 and receive interface data to be compared, and interface data to be compared is read in the data administrator 3, finish the first step for follow-up work and prepare;
Step 101, interface data read the data type that reads with resolver 1 basis, further interface data document analysis to be compared are become the data of structured form, are stored in the data administrator 3, finish for second step for follow-up work and prepare;
Step 102, intermediate data file conversion equipment 2 reads the structural data that reads with resolver 1 according to interface data, according to the type of structured message, uses corresponding conversion method, and these structurized data-switching are become the intermediate data file object;
Step 103, based on the intermediate data file object after the conversion, interface data difference comparison means 4 is used comparison algorithm (for example LD algorithm), calculates the different information between the interface data to be compared, is stored in the data administrator 3;
Step 104: according to the interface different information that calculates, image is resolved and be processed into to intermediate data file object after display device 5 will be changed and the different information between them, mode so that figure shows represents data to be compared and the difference between them to the user intuitively.Simultaneously, input media 6 receives the retouching operation that users treat comparing data, triggers that whole device reads again, resolves, conversion, diversity ratio action, thereby represents up-to-date comparative result to the user in real time.
Compare with existing data compare tool, above-described embodiment comprises following advantage:
(1) abandons the traditional data compare tool and carried out direct character way relatively based on the data original text, introduced standardized mid-module object, character information in the user interface data is converted to and the closely-related structural data of displaying interface, as diversity ratio basis, thereby for relatively providing possibility between the user interface data of different-format;
(2) in the traditional interface comparative approach, mainly rely on artificial naked eyes identifications " displaying interface difference ", not only process is complicated, workload is bigger, and error rate is also higher.And the embodiment of the invention, based on through the conversion after, with the closely-related structural data of displaying interface, the comparison flow process that is aided with normalized different information form, robotization, and the difference that graphics mode represents shows means, make final difference comparative result can reflect the difference of user interface data in actual representing intuitively, exactly, provide a kind of, comparative result more friendly to the user to have more reference value, interface difference comparative approach that efficient is higher.
In sum, the inefficiency that the embodiment of the invention exists at traditional file character comparison techniques, problem to the supporting dynamics deficiency of same interface function different code situation, a kind of scheme that user interface is handled is provided, by various interface data files being transformed into a kind of unification, structurized, extendible intermediate data file, compare based on intermediate data file again, improved the relative efficiency of interface data file greatly, reduced the misuse rate when interface data is synchronous, and realized the difference relevant with visual effect between the interface data file to be compared represented to the user, shielding and the data difference that interfacial effect has nothing to do have solved well from representing the relatively problem of user interface difference of effect angle.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method can instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, such as ROM/RAM, magnetic disc, CD etc.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the comparative approach of an interface data file is characterized in that, described method comprises:
Read interface data file to be compared;
Obtain the structured object information of described interface data file to be compared according to the data type of described interface data file to be compared;
Type according to described structured object information is the standard intermediate data file with described structured object information translation;
According to the standard intermediate data file after the conversion described interface data file to be compared is compared operation;
Wherein, be the standard intermediate data file according to the type of described structured object information with described structured object information translation, specifically comprise:
Obtain the information relevant with displaying interface in the described structure objects information according to the type of described structured object information;
The information relevant with displaying interface in the described structure objects information is converted into described standard intermediate data file, and wherein, described standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
2. method according to claim 1 is characterized in that, describedly reads interface data file to be compared and comprises:
Form with text character stream reads described interface data file to be compared.
3. method according to claim 1 is characterized in that, according to the standard intermediate data file after the conversion described interface data file to be compared is compared after the operation, and described method also comprises:
Result after the compare operation is shown in patterned mode.
4. the comparison means of an interface data file is characterized in that, described device comprises:
The interface data document reading unit is used for reading interface data file to be compared;
The structured object information acquisition unit is for the structured object information of obtaining described interface data file to be compared according to the data type of described interface data file to be compared;
Standard intermediate data file converting unit, the type that is used for according to described structured object information is the standard intermediate data file with described structured object information translation;
The compare operation unit is used for according to the standard intermediate data file after the conversion described interface data file to be compared being compared operation;
Wherein, described standard intermediate data file converting unit specifically comprises:
Displaying interface information acquisition module is used for obtaining the described structure objects information information relevant with displaying interface according to the type of described structured object information;
Standard intermediate data file modular converter, be used for the described structure objects information information relevant with displaying interface is converted into described standard intermediate data file, wherein, described standard intermediate data file is the normalized objects set that comprises interface element that sets in advance.
5. device according to claim 4 is characterized in that, described interface data document reading unit specifically is used for:
Form with text character stream reads described interface data file to be compared.
6. device according to claim 4 is characterized in that, described device also comprises:
Display unit is used for the result after the compare operation is shown in patterned mode.
CN 201110419950 2011-12-15 2011-12-15 Interface data file comparison method and device Active CN102521359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110419950 CN102521359B (en) 2011-12-15 2011-12-15 Interface data file comparison method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110419950 CN102521359B (en) 2011-12-15 2011-12-15 Interface data file comparison method and device

Publications (2)

Publication Number Publication Date
CN102521359A CN102521359A (en) 2012-06-27
CN102521359B true CN102521359B (en) 2013-09-11

Family

ID=46292273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110419950 Active CN102521359B (en) 2011-12-15 2011-12-15 Interface data file comparison method and device

Country Status (1)

Country Link
CN (1) CN102521359B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984554B (en) * 2014-05-26 2017-09-22 中国工商银行股份有限公司 The generation method and device of Software for Design document
CN108874392A (en) * 2018-05-10 2018-11-23 中国联合网络通信集团有限公司 User's guideline interface generation method and device
CN109408614B (en) * 2018-09-11 2021-10-29 全球能源互联网研究院有限公司 Dynamic visualization method and system for syntactic dependency tree

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581170A (en) * 2003-08-15 2005-02-16 国际商业机器公司 Method and system for comparing files of two computers
CN1740970A (en) * 2004-08-27 2006-03-01 微软公司 System and method for seamlessly comparing objects
CN1987862A (en) * 2005-12-22 2007-06-27 国际商业机器公司 Method for analyzing state transition in web page
CN101944094A (en) * 2009-07-06 2011-01-12 富士通株式会社 Webpage information extraction method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581170A (en) * 2003-08-15 2005-02-16 国际商业机器公司 Method and system for comparing files of two computers
CN1740970A (en) * 2004-08-27 2006-03-01 微软公司 System and method for seamlessly comparing objects
CN1987862A (en) * 2005-12-22 2007-06-27 国际商业机器公司 Method for analyzing state transition in web page
CN101944094A (en) * 2009-07-06 2011-01-12 富士通株式会社 Webpage information extraction method and device thereof

Also Published As

Publication number Publication date
CN102521359A (en) 2012-06-27

Similar Documents

Publication Publication Date Title
Choi et al. Visualizing for the non‐visual: Enabling the visually impaired to use visualization
US11842125B2 (en) Space profile interpreter framework for a computer file
CN101751382B (en) Data acquisition method based on labels and system thereof
US8234312B2 (en) Schema mapping and data transformation on the basis of layout and content
CN100501740C (en) Method and system for converting text data of different formats to uniform format
US20130103705A1 (en) Schema mapping and data transformation on the basis of a conceptual model
CN102103605B (en) Method and system for intelligently extracting document structure
CN102122280B (en) Method and system for intelligently extracting content object
CN104317864B (en) A method of the information model automatic identification based on IEC61850 logical nodes
CN101452503A (en) Isomerization clinical medical information shared system and method
CN103927332A (en) IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN102163233A (en) Method and system for converting webpage markup language format
CN103077185A (en) Object-based user-defined information-expanding method
TWI290697B (en) System and method for analyzing and mapping patent information
EP2352105A1 (en) Method and system of graphics description and transformation
CN110069450A (en) Interactive electronic technical manual platform based on S1000D standard
WO2019098107A1 (en) Translation support device, translation support program, and method to support translation with information processing device
CN102521359B (en) Interface data file comparison method and device
CN104298705A (en) Converting method of relational data and unstructured data
CN109524071B (en) Chinese electronic medical record text structured analysis-oriented labeling method
US11080292B2 (en) System, methods, and devices for visual construction of operations for data querying
CN107463680B (en) Method and device for integrating documents
CN107203503B (en) Method for monitoring form in real time applied to SVG interface
CN111444230A (en) Data visualization analysis method based on big data platform
CN111311461A (en) B-S based editor and generation method for structured dynamic medical record form

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant