CN109710301A - A kind of method and terminal of automatic relatively interface document difference - Google Patents

A kind of method and terminal of automatic relatively interface document difference Download PDF

Info

Publication number
CN109710301A
CN109710301A CN201811454362.2A CN201811454362A CN109710301A CN 109710301 A CN109710301 A CN 109710301A CN 201811454362 A CN201811454362 A CN 201811454362A CN 109710301 A CN109710301 A CN 109710301A
Authority
CN
China
Prior art keywords
interface
parameter
information
description information
comparison result
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
CN201811454362.2A
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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN201811454362.2A priority Critical patent/CN109710301A/en
Publication of CN109710301A publication Critical patent/CN109710301A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses the methods and terminal of a kind of automatic relatively interface document difference, by the first information for extracting the interface document of two versions to be compared, the first information of the interface document of two versions to be compared described in automatic comparison, obtain comparison result, the comparison result is shown, automatic display interface document difference section may be implemented, reduce the workload of developer's manual sorting different software versions interface difference document, document content and the inconsistent situation of code definition format are avoided, the communication efficiency of developer and tester are improved.

Description

A kind of method and terminal of automatic relatively interface document difference
Technical field
The present invention relates to technical field of software engineering, more particularly, to a kind of automatic relatively method of interface document difference and Terminal.
Background technique
With the prevalence of agile development, the period of software version iteration is shorter and shorter, and tester is testing each software When version, the change for understanding this version function is required, it is especially desirable to the alteration of this version interface is understood, so as to standard Standby test case and test script.
It is all by the interface difference document between developer's human-edited's different software versions, by the interface difference text at present Shelves are supplied to tester, and it is lower to do so efficiency, thereby increases and it is possible to will appear interface difference document content and actual interface code not Consistent problem.
Summary of the invention
The technical problems to be solved by the present invention are: the method and terminal of a kind of automatic relatively interface document difference are provided, The workload for reducing developer's manual sorting different software versions interface difference document, improves efficiency.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A kind of method of automatic relatively interface document difference, comprising steps of
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
A kind of terminal of automatic relatively interface document difference, including memory, processor and storage are on a memory and can The computer program run on the processor, the processor perform the steps of when executing the computer program
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
The beneficial effects of the present invention are: the first information by extracting the interface document of two versions to be compared, from The first information of the dynamic interface document for comparing two versions to be compared, obtains comparison result, by the comparison result into Row display, may be implemented automatic display interface document difference section, reduce developer's manual sorting different software versions interface The workload of difference document avoids document content and the inconsistent situation of code definition format, improves developer and tester The communication efficiency of member.
Detailed description of the invention
Fig. 1 is the flow chart of the automatic relatively method of interface document difference of one kind of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the automatic relatively terminal of interface document difference of one kind of the embodiment of the present invention;
Fig. 3 is the display renderings of the interface document difference comparison result of the embodiment of the present invention;
Label declaration:
1, a kind of terminal of automatic relatively interface document difference;2, memory;3, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The most critical design of the present invention is: extracting the first information of the interface document of two versions to be compared, automatically The first information for comparing the interface document of two versions to be compared, obtains comparison result, the comparison result is carried out Display
Please refer to Fig. 1, a kind of method of automatic relatively interface document difference, comprising steps of
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
As can be seen from the above description, the beneficial effects of the present invention are: the interface text by extracting two versions to be compared The first information of shelves, the first information of the interface document of two versions to be compared, obtains comparison result described in automatic comparison, will The comparison result is shown, automatic display interface document difference section may be implemented, and reduces developer's manual sorting not With the workload of software version interface difference document, document content and the inconsistent situation of code definition format are avoided, raising is opened The communication efficiency of hair personnel and tester.
Further, the first information is json information.
Seen from the above description, json information is a kind of data interchange format of lightweight, hierarchical structure simple and clear, easily In reading and writing, it is also easy to machine parsing and generates, be the format for being commonly used in record interface document.
Further, the step S2 includes:
By the first information of the interface document of two versions to be compared, temporally tandem is divided into first version Information and second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, Comparison result is that the interface IP address does not change;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, Comparison result is that the interface IP address does not change;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
Seen from the above description, by judge interface IP address whether there is come outgoing interface additions and deletions situation, without artificial Interface additions and deletions situation is arranged, improves work efficiency, also ensures the consistency of interface document content Yu code definition format.
Further, the step S2 further include:
Judge that the first version information connects with the second edition information with the presence or absence of the interface IP address is identical Mouthful, if so, identical two interfaces of the interface IP address are denoted as first interface and second interface, the first interface respectively Corresponding to first version information, the second interface corresponds to second edition information, compares the first interface and described respectively Enter to join description information and out ginseng description information in the parameter description information of second interface:
It compares and enters to join description information in the parameter description information of described two interfaces, if the ginseng that enters of the first interface is retouched It states the parameter in information and is not present in the second interface and enter to join in description information, then comparison result is that the parameter is deleted It removes;If the parameter joined in description information that enters of the second interface is not present in the first interface and enters to join in description information, It is newly-increased parameter that then comparison result, which is the parameter,;If the first interface enter the parameter joined in description information be present in it is described Second interface enters to join in description information, then the description information neutralization described second that enters to join that comparison is present in the first interface connects Whether the content for entering to join two parameters in description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed;
It compares in the parameter description information of described two interfaces and goes out ginseng description information, if the ginseng that goes out of the first interface is retouched It states the parameter in information to be not present in the description information of ginseng out of the second interface, then comparison result is that the parameter is deleted It removes;If the parameter of the second interface gone out in ginseng description information is not present in the description information of ginseng out of the first interface, It is newly-increased parameter that then comparison result, which is the parameter,;If the parameter of the first interface gone out in ginseng description information is present in described Second interface goes out in ginseng description information, then the description information of ginseng out that comparison is present in the first interface neutralizes described second and connects Whether the content for going out two parameters in ginseng description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed.
Seen from the above description, interface identical for interface IP address, the case where further comparing its parameter, by comparing Enter the description information for participating in out joining, the additions and deletions for obtaining parameter change situation, improve the fineness compared, considerably reduce correlation Personnel arrange the workload of parameter, reduce unnecessary cumbersome workload, improve work efficiency.
Further, the step S3 specifically:
According to default html template, the comparison result is shown with the format of html.
Seen from the above description, it according to preset html template for displaying comparison result, enables developer be intuitive to see and connects The difference section of mouth document, very clear, easy-to-read.
Referring to figure 2., a kind of terminal of automatic relatively interface document difference, including memory, processor and be stored in On reservoir and the computer program that can run on the processor, the processor realized when executing the computer program with Lower step:
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
As can be seen from the above description, the beneficial effects of the present invention are: the interface text by extracting two versions to be compared The first information of shelves, the first information of the interface document of two versions to be compared, obtains comparison result described in automatic comparison, will The comparison result is shown, automatic display interface document difference section may be implemented, and reduces developer's manual sorting not With the workload of software version interface difference document, document content and the inconsistent situation of code definition format are avoided, raising is opened The communication efficiency of hair personnel and tester.
Further, the first information is json information.
Seen from the above description, json information is a kind of data interchange format of lightweight, hierarchical structure simple and clear, easily In reading and writing, it is also easy to machine parsing and generates, be the format for being commonly used in record interface document.
Further, the step S2 includes:
By the first information of the interface document of two versions to be compared, temporally tandem is divided into first version Information and second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, Comparison result is that the interface IP address does not change;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, Comparison result is that the interface IP address does not change;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
Seen from the above description, by judge interface IP address whether there is come outgoing interface additions and deletions situation, without artificial Interface additions and deletions situation is arranged, improves work efficiency, also ensures the consistency of interface document content Yu code definition format.
Further, the step S2 further include:
Judge that the first version information connects with the second edition information with the presence or absence of the interface IP address is identical Mouthful, if so, identical two interfaces of the interface IP address are denoted as first interface and second interface, the first interface respectively Corresponding to first version information, the second interface corresponds to second edition information, compares the first interface and described respectively Enter to join description information and out ginseng description information in the parameter description information of second interface:
It compares and enters to join description information in the parameter description information of described two interfaces, if the ginseng that enters of the first interface is retouched It states the parameter in information and is not present in the second interface and enter to join in description information, then comparison result is that the parameter is deleted It removes;If the parameter joined in description information that enters of the second interface is not present in the first interface and enters to join in description information, It is newly-increased parameter that then comparison result, which is the parameter,;If the first interface enter the parameter joined in description information be present in it is described Second interface enters to join in description information, then the description information neutralization described second that enters to join that comparison is present in the first interface connects Whether the content for entering to join two parameters in description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed;
It compares in the parameter description information of described two interfaces and goes out ginseng description information, if the ginseng that goes out of the first interface is retouched It states the parameter in information to be not present in the description information of ginseng out of the second interface, then comparison result is that the parameter is deleted It removes;If the parameter of the second interface gone out in ginseng description information is not present in the description information of ginseng out of the first interface, It is newly-increased parameter that then comparison result, which is the parameter,;If the parameter of the first interface gone out in ginseng description information is present in described Second interface goes out in ginseng description information, then the description information of ginseng out that comparison is present in the first interface neutralizes described second and connects Whether the content for going out two parameters in ginseng description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed.
Seen from the above description, interface identical for interface IP address, the case where further comparing its parameter, by comparing Enter the description information for participating in out joining, the additions and deletions for obtaining parameter change situation, improve the fineness compared, considerably reduce correlation Personnel arrange the workload of parameter, reduce unnecessary cumbersome workload, improve work efficiency.
Further, the step S3 specifically:
According to default html template, the comparison result is shown with the format of html.
Seen from the above description, it according to preset html template for displaying comparison result, enables developer be intuitive to see and connects The difference section of mouth document, very clear, easy-to-read.
Embodiment one
Please refer to Fig. 1, a kind of method of automatic relatively interface document difference, comprising steps of
Pass through the interface document information of swagger frame acquisition software different editions;
The first information of the interface document of S1, extraction two versions to be compared;
Wherein, the first information is json information;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
Specifically, by the first information of the interface document of two versions to be compared, temporally tandem is divided into One version information and second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, Comparison result is that the interface IP address does not change;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, Comparison result is that the interface IP address does not change;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
Judge that the first version information connects with the second edition information with the presence or absence of the interface IP address is identical Mouthful, if so, identical two interfaces of the interface IP address are denoted as first interface and second interface, the first interface respectively Corresponding to first version information, the second interface corresponds to second edition information, compares the first interface and described respectively Enter to join description information and out ginseng description information in the parameter description information of second interface:
It compares and enters to join description information in the parameter description information of described two interfaces, if the ginseng that enters of the first interface is retouched It states the parameter in information and is not present in the second interface and enter to join in description information, then comparison result is that the parameter is deleted It removes;If the parameter joined in description information that enters of the second interface is not present in the first interface and enters to join in description information, It is newly-increased parameter that then comparison result, which is the parameter,;If the first interface enter the parameter joined in description information be present in it is described Second interface enters to join in description information, then the description information neutralization described second that enters to join that comparison is present in the first interface connects Whether the content for entering to join two parameters in description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed;
It compares in the parameter description information of described two interfaces and goes out ginseng description information, if the ginseng that goes out of the first interface is retouched It states the parameter in information to be not present in the description information of ginseng out of the second interface, then comparison result is that the parameter is deleted It removes;If the parameter of the second interface gone out in ginseng description information is not present in the description information of ginseng out of the first interface, It is newly-increased parameter that then comparison result, which is the parameter,;If the parameter of the first interface gone out in ginseng description information is present in described Second interface goes out in ginseng description information, then the description information of ginseng out that comparison is present in the first interface neutralizes described second and connects Whether the content for going out two parameters in ginseng description information of mouth is identical, if so, comparison result is that the parameter does not change;If No, then comparison result is that the parameter is changed;
Wherein, the content of the parameter includes the field value of parameter or the model structure of parameter reference;
S3, the comparison result is shown.
Specifically, the comparison result is shown with the format of html according to default html template, it is preferable that pre- If html template all kinds of situations in comparison result are carried out to the label of different colours or different fonts pattern.
Embodiment two
Method described in embodiment one is applied to specific scene, in java engineering:
Acquisition marks the interface document that interface is described and generated by swagger frame;
The first information of the interface document of S1, extraction two versions to be compared;
Wherein, the first information is json information;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
Specifically, the json document of the swagger format of a standard is as follows:
It wherein, is interface list under paths node, the interface list compared under the paths node of 2 json documents can To obtain difference, specifically, temporally tandem divides by the json information of the interface document of two versions to be compared For first version information and second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, Comparison result is that the interface IP address does not change;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, Comparison result is that the interface IP address does not change;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
Judge that the first version information connects with the second edition information with the presence or absence of the interface IP address is identical Mouthful, if so, identical two interfaces of the interface IP address are denoted as first interface and second interface, the first interface respectively Corresponding to first version information, the second interface corresponds to second edition information, compares the first interface and described respectively Enter to join description information and out ginseng description information in the parameter description information of second interface:
Specifically, the json document of the swagger format of a standard is as follows:
Wherein, parameters, responses node under paths node respectively indicate into ginseng and go out the description of ginseng;
It compares in the parameter description information of described two interfaces and enters to join description information, i.e., the more described first interface and institute It states and enters to join list under the parameters node of second interface, for example, using name node as parameter key, if the name Node exists only in the first interface enters to join in description information, is not present in the second interface and enters to join description information In, then comparison result is that the parameter has been deleted;If the ginseng that enters that the name node exists only in the second interface describes It in information, is not present in the first interface and enters to join in description information, then it is newly-increased parameter that comparison result, which is the parameter,;If The name node the first interface enter to join in description information and the second interface enters to join in description information and all deposits Enter the to join node of the name in description information and the second interface for then comparing the first interface enter to join in description information Two parameters of name node content it is whether identical, if so, comparison result be the parameter do not change;If it is not, then comparing As a result it is changed for the parameter;
Similarly, compare in the parameter description information of described two interfaces go out ginseng description information, i.e., more described first Go out ginseng information under interface and the responses node of the second interface, if the first interface goes out in ginseng description information Parameter be not present in the second interface go out ginseng description information in, then comparison result be the parameter be deleted;If institute The parameter gone out in ginseng description information for stating second interface is not present in the description information of ginseng out of the first interface, then compares knot Fruit is that the parameter is newly-increased parameter;If the parameter of the first interface gone out in ginseng description information is present in the second interface Go out ginseng description information in, then compare be present in the first interface go out ginseng description information neutralize the second interface go out join Whether the content of two parameters in description information is identical, if so, comparison result is that the parameter does not change;If it is not, then comparing It is that the parameter changes to result;
Wherein, the content of the parameter includes the model knot in the field value of parameter or the definitons node of reference Structure;
S3, the comparison result is shown.
Specifically, the comparison result is shown with the format of html, it is preferable that such as according to default html template Shown in Fig. 3, all kinds of situations in comparison result are carried out the label of different colours or different fonts pattern by preset html template.
Embodiment three
Referring to figure 2., a kind of terminal 1 of automatic relatively interface document difference, including memory 2, processor 3 and be stored in On memory 2 and the computer program that can be run on the processor 3, when the processor 3 executes the computer program Realize each step in embodiment one.
In conclusion the method and terminal of a kind of automatic relatively interface document difference provided by the invention, by extract to The first information of the interface document of two versions compared, the of the interface document of two versions to be compared described in automatic comparison One information, obtains comparison result, and the comparison result is shown, automatic display interface document difference section may be implemented, The workload of reduction developer's manual sorting different software versions interface difference document, interface identical for interface IP address, The case where further comparing its parameter the fineness compared is improved, avoids document content and code definition format is inconsistent The case where, the communication efficiency of developer and tester are improved, according to preset html template for displaying comparison result, enables exploitation Personnel are intuitive to see the difference section of interface document, very clear, easy-to-read.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (10)

1. a kind of method of automatic relatively interface document difference, which is characterized in that comprising steps of
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
2. a kind of method of automatic relatively interface document difference according to claim 1, which is characterized in that first letter Breath is json information.
3. a kind of method of automatic relatively interface document difference according to claim 1, which is characterized in that the step S2 Include:
By the first information of the interface document of two versions to be compared, temporally tandem is divided into first version information With second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, comparing As a result it is not changed for the interface IP address;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, comparing As a result it is not changed for the interface IP address;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
4. a kind of method of automatic relatively interface document difference according to claim 3, which is characterized in that the step S2 Further include:
Judge first version information interface identical with whether there is the interface IP address in the second edition information, if It is that identical two interfaces of the interface IP address are then denoted as first interface and second interface respectively, the first interface is corresponding In first version information, the second interface corresponds to second edition information, compares the first interface and described second respectively Enter to join description information and out ginseng description information in the parameter description information of interface:
It compares and enters to join description information in the parameter description information of described two interfaces, if the first interface enters ginseng description letter Parameter in breath is not present in the second interface and enters to join in description information, then comparison result is that the parameter has been deleted; If the parameter joined in description information that enters of the second interface is not present in the first interface and enters to join in description information, compare It is the parameter to result is newly-increased parameter;If the parameter joined in description information that enters of the first interface is present in described second Interface enters to join in description information, then the description information that enters to join that comparison is present in the first interface neutralizes the second interface Whether the content for entering to join two parameters in description information is identical, if so, comparison result is that the parameter does not change;If it is not, Then comparison result is that the parameter is changed;
It compares in the parameter description information of described two interfaces and goes out ginseng description information, if the first interface goes out ginseng description letter Parameter in breath is not present in the description information of ginseng out of the second interface, then comparison result is that the parameter has been deleted; If the parameter of the second interface gone out in ginseng description information is not present in the description information of ginseng out of the first interface, compare It is the parameter to result is newly-increased parameter;If the parameter of the first interface gone out in ginseng description information is present in described second Interface goes out in ginseng description information, then the ginseng description information that goes out that comparison is present in the first interface neutralizes the second interface Whether the content for joining two parameters in description information out is identical, if so, comparison result is that the parameter does not change;If it is not, Then comparison result is that the parameter is changed.
5. a kind of method of automatic relatively interface document difference according to claim 4, which is characterized in that the step S3 Specifically:
According to default html template, the comparison result is shown with the format of html.
6. a kind of automatic terminal of relatively interface document difference, including memory, processor and storage are on a memory and can be The computer program run on the processor, which is characterized in that the processor realized when executing the computer program with Lower step:
The first information of the interface document of S1, extraction two versions to be compared;
The first information of the interface document of two versions to be compared, obtains comparison result described in S2, automatic comparison;
S3, the comparison result is shown.
7. a kind of terminal of automatic relatively interface document difference according to claim 6, which is characterized in that first letter Breath is json information.
8. a kind of terminal of automatic relatively interface document difference according to claim 6, which is characterized in that the step S2 Include:
By the first information of the interface document of two versions to be compared, temporally tandem is divided into first version information With second edition information;
Judge whether the interface IP address in the first version information exists in the second edition information, if so, comparing As a result it is not changed for the interface IP address;If it is not, then comparison result is that the interface IP address has been deleted;
Judge whether the interface IP address in the second edition information exists in the first version information, if so, comparing As a result it is not changed for the interface IP address;If it is not, it is newly-increased interface IP address that then comparison result, which is the interface IP address,.
9. a kind of terminal of automatic relatively interface document difference according to claim 8, which is characterized in that the step S2 Further include:
Judge first version information interface identical with whether there is the interface IP address in the second edition information, if It is that identical two interfaces of the interface IP address are then denoted as first interface and second interface respectively, the first interface is corresponding In first version information, the second interface corresponds to second edition information, compares the first interface and described second respectively Enter to join description information and out ginseng description information in the parameter description information of interface:
It compares and enters to join description information in the parameter description information of described two interfaces, if the first interface enters ginseng description letter Parameter in breath is not present in the second interface and enters to join in description information, then comparison result is that the parameter has been deleted; If the parameter joined in description information that enters of the second interface is not present in the first interface and enters to join in description information, compare It is the parameter to result is newly-increased parameter;If the parameter joined in description information that enters of the first interface is present in described second Interface enters to join in description information, then the description information that enters to join that comparison is present in the first interface neutralizes the second interface Whether the content for entering to join two parameters in description information is identical, if so, comparison result is that the parameter does not change;If it is not, Then comparison result is that the parameter is changed;
It compares in the parameter description information of described two interfaces and goes out ginseng description information, if the first interface goes out ginseng description letter Parameter in breath is not present in the description information of ginseng out of the second interface, then comparison result is that the parameter has been deleted; If the parameter of the second interface gone out in ginseng description information is not present in the description information of ginseng out of the first interface, compare It is the parameter to result is newly-increased parameter;If the parameter of the first interface gone out in ginseng description information is present in described second Interface goes out in ginseng description information, then the ginseng description information that goes out that comparison is present in the first interface neutralizes the second interface Whether the content for joining two parameters in description information out is identical, if so, comparison result is that the parameter does not change;If it is not, Then comparison result is that the parameter is changed.
10. a kind of terminal of automatic relatively interface document difference according to claim 9, which is characterized in that the step S3 specifically:
According to default html template, the comparison result is shown with the format of html.
CN201811454362.2A 2018-11-30 2018-11-30 A kind of method and terminal of automatic relatively interface document difference Pending CN109710301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811454362.2A CN109710301A (en) 2018-11-30 2018-11-30 A kind of method and terminal of automatic relatively interface document difference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811454362.2A CN109710301A (en) 2018-11-30 2018-11-30 A kind of method and terminal of automatic relatively interface document difference

Publications (1)

Publication Number Publication Date
CN109710301A true CN109710301A (en) 2019-05-03

Family

ID=66253948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811454362.2A Pending CN109710301A (en) 2018-11-30 2018-11-30 A kind of method and terminal of automatic relatively interface document difference

Country Status (1)

Country Link
CN (1) CN109710301A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262782A (en) * 2019-05-10 2019-09-20 平安科技(深圳)有限公司 The interface comparison method and device of software systems
CN112084748A (en) * 2020-09-19 2020-12-15 神思电子技术股份有限公司 Text comparison method
CN112328210A (en) * 2020-11-18 2021-02-05 平安普惠企业管理有限公司 Neural network-based demand document updating method, device, equipment and medium
CN112506587A (en) * 2020-11-26 2021-03-16 杭州朗澈科技有限公司 API deployment monitoring method, system, electronic device and storage medium
CN112579146A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Interface change detection method and device
CN113076134A (en) * 2021-04-08 2021-07-06 广州虎牙科技有限公司 API change monitoring method, system, client and electronic equipment
CN113535147A (en) * 2021-07-20 2021-10-22 挂号网(杭州)科技有限公司 Method and device for generating calling code, electronic terminal and storage medium
WO2022150110A1 (en) * 2021-01-05 2022-07-14 Morgan Stanley Services Group Inc. Document content extraction and regression testing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007137A1 (en) * 2013-06-28 2015-01-01 International Business Machines Corporation Document quality review and testing
CN107329765A (en) * 2017-07-04 2017-11-07 武汉斗鱼网络科技有限公司 Program file processing method and processing device
CN107918592A (en) * 2017-11-30 2018-04-17 郑州云海信息技术有限公司 A kind of method of compatibility highest version interface
CN107967143A (en) * 2017-12-14 2018-04-27 泰康保险集团股份有限公司 Obtain the methods, devices and systems of the update instruction information of client application source code
CN108427560A (en) * 2018-01-11 2018-08-21 平安科技(深圳)有限公司 API file management methods, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007137A1 (en) * 2013-06-28 2015-01-01 International Business Machines Corporation Document quality review and testing
CN107329765A (en) * 2017-07-04 2017-11-07 武汉斗鱼网络科技有限公司 Program file processing method and processing device
CN107918592A (en) * 2017-11-30 2018-04-17 郑州云海信息技术有限公司 A kind of method of compatibility highest version interface
CN107967143A (en) * 2017-12-14 2018-04-27 泰康保险集团股份有限公司 Obtain the methods, devices and systems of the update instruction information of client application source code
CN108427560A (en) * 2018-01-11 2018-08-21 平安科技(深圳)有限公司 API file management methods, server and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262782A (en) * 2019-05-10 2019-09-20 平安科技(深圳)有限公司 The interface comparison method and device of software systems
CN112579146A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Interface change detection method and device
CN112084748A (en) * 2020-09-19 2020-12-15 神思电子技术股份有限公司 Text comparison method
CN112328210A (en) * 2020-11-18 2021-02-05 平安普惠企业管理有限公司 Neural network-based demand document updating method, device, equipment and medium
CN112506587A (en) * 2020-11-26 2021-03-16 杭州朗澈科技有限公司 API deployment monitoring method, system, electronic device and storage medium
WO2022150110A1 (en) * 2021-01-05 2022-07-14 Morgan Stanley Services Group Inc. Document content extraction and regression testing
CN113076134A (en) * 2021-04-08 2021-07-06 广州虎牙科技有限公司 API change monitoring method, system, client and electronic equipment
CN113535147A (en) * 2021-07-20 2021-10-22 挂号网(杭州)科技有限公司 Method and device for generating calling code, electronic terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109710301A (en) A kind of method and terminal of automatic relatively interface document difference
CN105511873B (en) User interface control display method and device
CN110764753A (en) Business logic code generation method, device, equipment and storage medium
CN104881469B (en) A kind of data export method and device
US8281284B2 (en) Method and software for editing web documents
CN110442822A (en) A kind of small routine content displaying method, device, equipment and storage medium
CN107203473A (en) The automatization test system and method for automatic expansion interface test case
CN105843734A (en) Automatic test method and device and computing device
CN106354648B (en) A kind of python automated test frame system and test method
CN105404514B (en) JavaScript rendering method and device
CN109508298B (en) Graphical script test method and system
CN112083919B (en) Target service code generation method and device based on YAML template
CN110196733A (en) A kind of default API document structure tree method, apparatus, equipment and storage medium
CN108170409B (en) Development method and system of WEB front-end control
CN110968294B (en) Business domain model establishing system and method
CN104731815B (en) A kind of method for drafting and device of web page element
CN110442510A (en) A kind of page properties acquisition methods, device and computer equipment, storage medium
US20200118305A1 (en) Automatic line drawing coloring program, automatic line drawing coloring apparatus, and graphical user interface program
CN104049974A (en) Dynamic control assembly method and system
CN110309050A (en) Detection method, device, server and the storage medium of code specification
CN107748715B (en) Unity-based texture map configuration information detection method and system
CN114416516A (en) Test case and test script generation method, system and medium based on screenshot
CN105868104B (en) A kind of cross-platform graphic user interface automatic test approach
CN103186465B (en) The browser compatibility method of testing of web user interface and system
CN107643968A (en) Crash log processing method and processing device

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

Application publication date: 20190503

WD01 Invention patent application deemed withdrawn after publication