CN113934644A - Version difference comparison method and device, intelligent terminal and readable storage medium - Google Patents

Version difference comparison method and device, intelligent terminal and readable storage medium Download PDF

Info

Publication number
CN113934644A
CN113934644A CN202111536893.8A CN202111536893A CN113934644A CN 113934644 A CN113934644 A CN 113934644A CN 202111536893 A CN202111536893 A CN 202111536893A CN 113934644 A CN113934644 A CN 113934644A
Authority
CN
China
Prior art keywords
version
difference
configuration data
historical
current
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.)
Granted
Application number
CN202111536893.8A
Other languages
Chinese (zh)
Other versions
CN113934644B (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.)
Shenzhen Mingyuan Cloud Chain Internet Technology Co ltd
Original Assignee
Shenzhen Mingyuan Cloud Chain Internet Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mingyuan Cloud Chain Internet Technology Co ltd filed Critical Shenzhen Mingyuan Cloud Chain Internet Technology Co ltd
Priority to CN202111536893.8A priority Critical patent/CN113934644B/en
Publication of CN113934644A publication Critical patent/CN113934644A/en
Application granted granted Critical
Publication of CN113934644B publication Critical patent/CN113934644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data

Abstract

The invention discloses a version difference comparison method, a version difference comparison device, an intelligent terminal and a readable storage medium, wherein the version difference comparison method comprises the following steps: receiving an input comparison instruction, and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application; analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application; comparing the current configuration data with the historical configuration data to determine a difference term between the current configuration data and the historical configuration data. By applying the version difference comparison method to the terminal, the difference item data between the application versions can be visually and simply presented, and the working efficiency of comparison and test of technicians is improved.

Description

Version difference comparison method and device, intelligent terminal and readable storage medium
Technical Field
The invention relates to the field of automatic version testing, in particular to a version difference comparison method and device, an intelligent terminal and a readable storage medium.
Background
With the continuous development of computer and internet technologies, various application programs including WEB (World Wide WEB) application, PC end application, mobile phone end APP application, applet, light application, etc. bring great convenience and fun to the life and work of people, and people are increasingly unable to use various terminal devices to have rich application ecology. The requirements of people are diversified day by day and the requirements are different day by day, so that the iterative upgrade and the new development of the application program are more necessary and necessary, higher requirements are provided for developers and testers related to the application program, and the improvement of the respective work efficiency is urgent at present when the developers and the testers are still in the shortage, especially the difference comparison between the application program version to be released and the previous historical application version is needed before the application program is released, so that the workload of manual checking needs to be reduced urgently in the workflow of the modified project, but the current automatic comparison method and tool still need a large amount of manual participation, so that the comparison and test efficiency of the application program version is low, and a large amount of labor cost is spent.
Disclosure of Invention
The invention provides a version difference comparison method, a version difference comparison device, an intelligent terminal and a readable storage medium, and aims to solve the technical problem of how to conveniently and efficiently test a user interface.
In order to achieve the above object, the present invention provides a version difference comparison method, which comprises the following steps:
receiving an input comparison instruction, and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
comparing the current configuration data with the historical configuration data to determine a difference term between the current configuration data and the historical configuration data.
Optionally, the step of comparing the current configuration data with the historical configuration data to determine a difference item between the current configuration data and the historical configuration data includes:
converting the current configuration data into a current executable text and converting the historical configuration data into a historical executable text;
and overlaying the historical executable text to the current executable text, and eliminating repeated items between the historical executable text and the current executable text to obtain a difference item between the current configuration data and the historical configuration data.
Optionally, after the step of determining the difference item between the current configuration data and the historical configuration data, the method includes:
inputting the difference item into a preset difference item search table to be input so as to obtain a target difference item search table;
and when a search instruction input based on the target difference item search table is received, positioning to a target difference item corresponding to the search instruction.
Optionally, the step of inputting the difference item into a preset difference item search table to be input to obtain a target difference item search table includes:
determining the structural position of the difference item corresponding to the current configuration data or the historical configuration data;
generating a pointer address corresponding to the difference item according to the structure position;
and storing the difference item and the pointer address into a preset difference item search table to be input in an associated manner to obtain a target difference item search table.
Optionally, after the step of determining the difference item between the current configuration data and the historical configuration data, the method further includes:
dividing the difference items into a preset number of item data;
and determining a marking strategy corresponding to the itemized data according to the data type corresponding to the itemized data, and marking the itemized data through the marking strategy.
Optionally, the step of dividing the difference item into a preset number of itemized data includes:
parsing the difference item to determine all data types in the difference item;
and dividing the difference items into a preset number of item data according to all the data types, wherein the preset number is equal to the number of all the data types.
Optionally, before the step of receiving the input comparison instruction, the method includes:
acquiring an identifier of a current version application, and receiving a version number of an added historical version application;
based on the identifier and the version number, a corresponding compare instruction is generated.
In addition, to achieve the above object, the present invention provides a version difference comparison device, including:
the version determining module is used for receiving an input comparison instruction and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
the data export module is used for analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
and the difference determining module is used for comparing the current configuration data with the historical configuration data to determine a difference item between the current configuration data and the historical configuration data.
In addition, to achieve the above object, the present invention further provides an intelligent terminal, which includes a memory, a processor, and a version difference comparison program stored in the memory and executable on the processor, wherein: the version difference comparison program, when executed by the processor, implements the steps of the version difference comparison method as described above.
In addition, to achieve the above object, the present invention further provides a readable storage medium having a version difference comparison program stored thereon, the version difference comparison program, when executed by a processor, implementing the steps of the version difference comparison method as described above.
The version difference comparison method comprises the steps of receiving an input comparison instruction, determining the version application corresponding to the comparison instruction, wherein the version application comprises the current version application and the historical version application, so that the version application which is compared by technicians can be quickly positioned, and the efficiency of searching the current version application and the historical version application by the technicians is improved. And then, through the steps of analyzing the current version application and the historical version application to obtain the current configuration data corresponding to the current version application and the historical configuration data corresponding to the historical version application, the configuration data in each version application participating in comparison can be efficiently extracted without a process of manually exporting data, and the workload of technical personnel is reduced. And finally, comparing the current configuration data with the historical configuration data to determine the difference item between the current configuration data and the historical configuration data, so that technicians can be quickly helped to find the difference data between the current version application and the historical version application, and the efficiency of comparison test work of the technicians is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment of an intelligent terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a version difference comparison method according to the present invention;
fig. 3 is a schematic diagram of a version difference comparison apparatus according to the version difference comparison method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment of an intelligent terminal according to an embodiment of the present invention.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display (Display), an input unit such as a control panel, and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a 5G interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001. A version difference comparison program may be included in the memory 1005, which is a kind of computer storage medium.
Optionally, the smart terminal may further include a microphone, a speaker, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a wireless module, and the like. The sensors, such as acceleration sensor, light sensor, temperature sensor and other sensors, are not described in detail herein.
Those skilled in the art will appreciate that the terminal configuration shown in fig. 1 does not constitute a limitation of intelligent terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a version difference comparison method according to the present invention, and in this embodiment, the method includes:
step S10, receiving an input comparison instruction, and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
because the application program sometimes has manual misoperation or version construction errors caused by tool abnormity during standard iterative construction, items need to be clearly modified before and after, and misoperation is reduced, so that the accuracy of the application version to be released is ensured, and the problem that bad experience is brought to users due to the fact that urgent package removal is needed or a new application version needs to be released again due to the release errors of the application version is avoided.
When a terminal with a certain operating environment receives a comparison instruction output by a relevant technician based on any one or more application programs of a current version and a historical version, the application program of the version corresponding to the comparison instruction can be determined and read by calling a corresponding application program reading interface or from a database in which a configuration file of each application program is located or accessing a server in which each application program is located. The operating environment includes, but is not limited to, the following: LINUX, Windows, macOS, etc. The above applications include, but are not limited to, the following: the system comprises a multi-terminal operating system, WEB webpage application, PC terminal application, mobile phone terminal APP application, small programs, light application and the like.
In one embodiment, the step of receiving the input comparison instruction is preceded by:
step a, acquiring an identifier of a current version application, and receiving an added version number of a historical version application;
and b, generating a corresponding comparison instruction based on the identifier and the version number and outputting the comparison instruction.
A terminal may provide a visual interface for technicians to perform an adding operation, in the visual interface, relevant technicians may add a version number or an identifier corresponding to the application program of the current version, where a naming rule of the version number corresponding to the application program of the current version may be a standard rule, for example, 2.1.1.211118_ beta, or a naming rule set according to actual needs, and the identifier corresponding to the application program of the current version may be an identifier set for the application program when the application program of the current version is not ready to be released, or may be considered as a code corresponding to the application program based on an intermediate version between the previous version and the current version, and the identifier may be set manually, or may be set automatically based on a relevant code numbering algorithm. The purpose of the intermediate version application program is to facilitate modification and creation of developers in related technologies, improve the working efficiency of technicians for changing based on any one of the previous versions when the intermediate version application program is not ready to be released, and if the intermediate version application program can pass version comparison and other tests, the current intermediate version application program can be used as the current version application program, and a standard or a specific naming rule is started to set the version number of the current version application program.
The identifier or the version number of the current version application program can be directly read from a local database or a server through a terminal, the historical version application program which is intended to be compared with the current version application program by a technician can be added to the visual interface in a mode of selecting or inputting the version number, preferably, the version numbers corresponding to all the historical application programs before the historical version application program is stored in the visual interface, and therefore the technician can quickly determine the historical version application program in a mode of clicking and pulling down for selection.
After the version number or identifier of the current version application program and the version number of the target historical version application program are added to the visual interface, a technician may click a "ok" button or hit an "enter" button, so that the terminal automatically generates a corresponding comparison instruction and outputs the comparison instruction to a corresponding instruction response module, thereby executing the operation step of step S10.
Through the visual adding operation, technicians do not need to manually input version numbers and logo clothes, and drag corresponding source files of current version application programs and historical version application programs is not needed, so that the workload of the technicians is greatly reduced, the working efficiency of the technicians is improved, and the labor cost and the time cost are saved.
Step S20, analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
after the current version application and the historical version application are determined and read, the configuration data corresponding to the current version application and the historical version application can be respectively extracted by using a data extraction tool or a simple extraction algorithm, wherein the configuration data can be all source programming codes corresponding to the application programs, so that the condition that any modification change is not missed in the comparison process of the current version application program and each historical version application program is ensured, the accuracy of comparison test is ensured, the modification times are reduced, and the working efficiency can be improved similarly.
Step S30, comparing the current configuration data with the historical configuration data to determine a difference item between the current configuration data and the historical configuration data.
The comparison tool can be used for analyzing and comparing all the configuration data of the current version application and all the configuration data of the historical version application item by item comprehensively to find out different points between the two types of configuration data, namely difference items, wherein the difference items are preferably all data in a row where the difference data between the two types of configuration data are located.
In an embodiment, after step S30, the method further includes:
c, dividing the difference items into a preset number of item data;
and d, determining a marking strategy corresponding to the itemized data according to the data type corresponding to the itemized data, and marking the itemized data through the marking strategy.
Specifically, step c includes:
step e, analyzing the difference item to determine all data types in the difference item;
and f, dividing the difference items into a preset number of item data according to all the data types, wherein the preset number is equal to the number of all the data types.
Analyzing different data types existing in the difference item, and distinguishing the difference item according to the different data types, namely dividing the difference item into the subentry data with the same number as that of all the data types, for example, if one key and two values exist in a certain difference item, the preset number corresponding to the key is 3. The data types here are mainly keys, values. After the item data is distinguished, the item data of different data types can be labeled with different colors or annotated in different forms, such as labeling the key with green and labeling the value with red, and in addition, labeling the whole difference item with background shadow is also needed.
The version difference comparison method comprises the steps of receiving an input comparison instruction, determining the version application corresponding to the comparison instruction, wherein the version application comprises the current version application and the historical version application, so that the version application which is compared by technicians can be quickly positioned, and the efficiency of searching the current version application and the historical version application by the technicians is improved. And then, through the steps of analyzing the current version application and the historical version application to obtain the current configuration data corresponding to the current version application and the historical configuration data corresponding to the historical version application, the configuration data in each version application participating in comparison can be efficiently extracted without a process of manually exporting data, and the workload of technical personnel is reduced. And finally, comparing the current configuration data with the historical configuration data to determine the difference item between the current configuration data and the historical configuration data, so that technicians can be quickly helped to find the difference data between the current version application and the historical version application, and the efficiency of comparison test work of the technicians is improved.
Further, a second embodiment of the version difference comparison method of the present invention is proposed based on the first embodiment of the version difference comparison method of the present invention, and in this embodiment, the step S20 includes:
step g, converting the current configuration data into a current executable text, and converting the historical configuration data into a historical executable text;
step h, covering the historical executable text to the current executable text, and eliminating repeated items between the historical executable text and the current executable text to obtain a difference item between the current configuration data and the historical configuration data.
In this embodiment, because the source configuration data of the application program is relatively cluttered and not highly intuitive, in order to facilitate performing operations such as corresponding labeling on the configuration data corresponding to the current version application program and the historical version application program, the two types of configuration data may be exported to the local data warehouse through a comparison tool or corresponding script codes, and then the source configuration data is subjected to text conversion operation locally, or the source configuration data may be directly converted into an executable text through the server, and then the executable text is subjected to operations such as labeling through the server.
By overlaying all the historical executable texts on the current executable text and eliminating repeated items between the current configuration data and the historical configuration data, only difference items between the current executable text and the historical configuration data can be reserved, and only the reserved difference items are displayed in the current executable text. It should be noted that the history executable text or history version application may be single, or multiple, especially, in the case of a plurality of historical versions of the application program, the difference text between the current executable text and a plurality of historical executable texts can be reserved, namely, the difference items between the corresponding current configuration data and the historical configuration data are reserved, and only the difference items can be displayed to the technical personnel, so that the technical personnel can intuitively find the difference items only through one window, and avoids the current troublesome situation that if the current version is compared with a plurality of historical versions, the difference data needs to be displayed in a plurality of windows, therefore, the working efficiency of technical personnel is greatly improved, the situations of omission, unprocessed and the like of the difference data are reduced, and the accuracy of processing the difference data is ensured.
Further, a third embodiment of the version difference comparison method of the present invention is proposed based on the second embodiment of the version difference comparison method of the present invention, and in this embodiment, after step S30, the method includes:
step i, inputting the difference item into a preset difference item search table to be input so as to obtain a target difference item search table;
the difference items can be input into a blank to-be-input difference item search table in a text form, the to-be-input difference item search table comprises two items, namely a difference item text and a pointer address corresponding to the difference item, and the target difference item search table with entity content is obtained after all the difference items and the pointer addresses of the same comparison test task are input into the to-be-input difference item search table. It should be noted that the target difference item search table is associated with the current configuration data and the historical configuration data, and has a function of jumping to the source location where the difference item is located.
Specifically, step i, includes:
step k, determining the structure position of the difference item corresponding to the current configuration data or the historical configuration data;
step l, generating a pointer address corresponding to the difference item according to the structure position;
and m, storing the difference item and the pointer address into a preset difference item search table to be input in an associated manner to obtain a target difference item search table.
In the second embodiment, when the difference item text is retained, the relative position in the overall structure of the source configuration data of each difference item is also recorded, a pointer address capable of being directly positioned to the position is generated according to the relative position, and the incidence relation of the difference item text and the pointer address established mapping is stored in the difference item search table to be input.
And j, when a search instruction input based on the target difference item search table is received, positioning to a target difference item corresponding to the search instruction.
After the target difference item search table is obtained, the target difference item search table can be displayed to relevant technicians, for the technicians, the corresponding search instruction can be triggered only by clicking the difference item text in the target difference item search table, and then the specific structure position of the configuration data where the difference item data corresponding to the jump-to difference item text is located can be directly located. The configuration data may be current configuration data or historical configuration data, and it is specifically considered which configuration data has the difference item, for example, if the current configuration data is less than the previous historical configuration data by one difference item, the difference item data can only be located in the historical configuration data.
By implementing the embodiment, the difference items can be visually and simply displayed to the technical staff, the technical staff can be helped to quickly locate the difference items between the current configuration data and the historical configuration data, comparison and verification of the data are facilitated for the technical staff, the working efficiency and the comparison accuracy are improved, and the application program of the current version can be timely released after the correctness is confirmed.
In addition, referring to fig. 3, fig. 3 is a schematic view of a version difference comparison apparatus according to the version difference comparison method of the present invention; the invention also provides a version difference comparison device, which comprises:
the version determining module A10 is used for receiving an input comparison instruction and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
a data export module a20, configured to parse the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
a difference determining module a30, configured to compare the current configuration data with the historical configuration data to determine a difference item between the current configuration data and the historical configuration data.
Optionally, the difference determining module a30 is further configured to:
converting the current configuration data into a current executable text and converting the historical configuration data into a historical executable text;
and overlaying the historical executable text to the current executable text, and eliminating repeated items between the historical executable text and the current executable text to obtain a difference item between the current configuration data and the historical configuration data.
Optionally, the difference determining module a30 is further configured to:
inputting the difference item into a preset difference item search table to be input so as to obtain a target difference item search table;
and when a search instruction input based on the target difference item search table is received, positioning to a target difference item corresponding to the search instruction.
Optionally, the difference determining module a30 is further configured to:
determining the structural position of the difference item corresponding to the current configuration data or the historical configuration data;
generating a pointer address corresponding to the difference item according to the structure position;
and storing the difference item and the pointer address into a preset difference item search table to be input in an associated manner to obtain a target difference item search table.
Optionally, the difference determining module a30 is further configured to:
dividing the difference items into a preset number of item data;
and determining a marking strategy corresponding to the itemized data according to the data type corresponding to the itemized data, and marking the itemized data through the marking strategy.
Optionally, the difference determining module a30 is further configured to:
parsing the difference item to determine all data types in the difference item;
and dividing the difference items into a preset number of item data according to all the data types, wherein the preset number is equal to the number of all the data types.
Optionally, the version determining module a10 is further configured to:
acquiring an identifier of a current version application, and receiving a version number of an added historical version application;
based on the identifier and the version number, a corresponding compare instruction is generated.
The specific implementation of the version difference comparison apparatus of the present invention is substantially the same as that of the above-mentioned version difference comparison method, and will not be described herein again.
In addition, the present invention further provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and a version difference comparison program stored in the memory and capable of running on the processor, and the processor implements the steps of the version difference comparison method according to the above embodiment when executing the version difference comparison program.
The specific implementation of the intelligent terminal of the present invention is basically the same as the embodiments of the version difference comparison method, and is not described herein again.
Furthermore, the present invention also provides a readable storage medium, which may be a computer readable storage medium, including a version difference comparison program, and when the version difference comparison program is executed by a processor, the method of comparing the version difference according to the above embodiment is implemented.
The specific implementation of the readable storage medium of the present invention is substantially the same as the embodiments of the version difference comparison method, and is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a television, a mobile phone, a computer, a server, a vehicle machine, or a network device) to execute the method according to the embodiments of the present invention.
In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A version difference comparison method is characterized by comprising the following steps:
receiving an input comparison instruction, and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
comparing the current configuration data with the historical configuration data to determine a difference term between the current configuration data and the historical configuration data.
2. The version difference comparison method of claim 1, wherein the step of comparing the current configuration data with the historical configuration data to determine a difference term between the current configuration data and the historical configuration data comprises:
converting the current configuration data into a current executable text and converting the historical configuration data into a historical executable text;
and overlaying the historical executable text to the current executable text, and eliminating repeated items between the historical executable text and the current executable text to obtain a difference item between the current configuration data and the historical configuration data.
3. The version difference comparison method of claim 1, wherein the step of determining the difference term between the current configuration data and the historical configuration data is followed by:
inputting the difference item into a preset difference item search table to be input so as to obtain a target difference item search table;
and when a search instruction input based on the target difference item search table is received, positioning to a target difference item corresponding to the search instruction.
4. The version difference comparison method according to claim 3, wherein the step of inputting the difference item into a preset difference item search table to be input to obtain a target difference item search table comprises:
determining the structural position of the difference item corresponding to the current configuration data or the historical configuration data;
generating a pointer address corresponding to the difference item according to the structure position;
and storing the difference item and the pointer address into a preset difference item search table to be input in an associated manner to obtain a target difference item search table.
5. The version difference comparison method according to claim 1, wherein the step of determining the difference item between the current configuration data and the historical configuration data is followed by further comprising:
dividing the difference items into a preset number of item data;
and determining a marking strategy corresponding to the itemized data according to the data type corresponding to the itemized data, and marking the itemized data through the marking strategy.
6. The version difference comparison method according to claim 5, wherein the step of dividing the difference item into a preset number of itemized data comprises:
parsing the difference item to determine all data types in the difference item;
and dividing the difference items into a preset number of item data according to all the data types, wherein the preset number is equal to the number of all the data types.
7. The version difference comparison method according to claim 1, wherein the step of receiving the input comparison instruction is preceded by:
acquiring an identifier of a current version application, and receiving a version number of an added historical version application;
based on the identifier and the version number, a corresponding compare instruction is generated.
8. A version difference comparison apparatus, comprising:
the version determining module is used for receiving an input comparison instruction and determining version applications corresponding to the comparison instruction, wherein the version applications comprise a current version application and a historical version application;
the data export module is used for analyzing the current version application and the historical version application to obtain current configuration data corresponding to the current version application and historical configuration data corresponding to the historical version application;
and the difference determining module is used for comparing the current configuration data with the historical configuration data to determine a difference item between the current configuration data and the historical configuration data.
9. An intelligent terminal, comprising a memory, a processor, and a version difference comparison program stored on the memory and executable on the processor, wherein: the version difference comparison program, when executed by the processor, implements the steps of the version difference comparison method of any one of claims 1 to 7.
10. A readable storage medium, having stored thereon a version difference comparison program, which when executed by a processor implements the steps of the version difference comparison method of any one of claims 1 to 7.
CN202111536893.8A 2021-12-16 2021-12-16 Version difference comparison method and device, intelligent terminal and readable storage medium Active CN113934644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111536893.8A CN113934644B (en) 2021-12-16 2021-12-16 Version difference comparison method and device, intelligent terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111536893.8A CN113934644B (en) 2021-12-16 2021-12-16 Version difference comparison method and device, intelligent terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN113934644A true CN113934644A (en) 2022-01-14
CN113934644B CN113934644B (en) 2022-04-15

Family

ID=79289084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111536893.8A Active CN113934644B (en) 2021-12-16 2021-12-16 Version difference comparison method and device, intelligent terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN113934644B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714468A (en) * 2014-12-31 2015-06-17 北京纵横机电技术开发公司 Method of comparison between continuous functional diagram files
CN110096302A (en) * 2018-01-31 2019-08-06 阿里巴巴集团控股有限公司 Software data storage, upgrade method, device, equipment and storage medium
CN110109840A (en) * 2019-05-10 2019-08-09 重庆八戒电子商务有限公司 Code audit method, audit device and the medium compared based on version number
CN110292775A (en) * 2019-07-01 2019-10-01 网易(杭州)网络有限公司 Obtain the method and device of variance data
CN110427215A (en) * 2019-07-30 2019-11-08 阿里巴巴集团控股有限公司 A kind of program version mRNA differential display mRNA method and device applied to front end exploitation
CN112818656A (en) * 2021-01-26 2021-05-18 北京百度网讯科技有限公司 Data difference comparison method, device, equipment, medium and computer program product
CN112860569A (en) * 2021-02-23 2021-05-28 腾讯科技(深圳)有限公司 Automatic testing method and device, electronic equipment and storage medium
CN112947986A (en) * 2020-09-29 2021-06-11 深圳市明源云科技有限公司 Multi-version code sign-in control method and device, client and storage medium
CN112965738A (en) * 2021-02-02 2021-06-15 烽火通信科技股份有限公司 Information model version difference comparison method and device
CN113535727A (en) * 2021-07-19 2021-10-22 北京数码大方科技股份有限公司 Data output method and data output device of information system and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714468A (en) * 2014-12-31 2015-06-17 北京纵横机电技术开发公司 Method of comparison between continuous functional diagram files
CN110096302A (en) * 2018-01-31 2019-08-06 阿里巴巴集团控股有限公司 Software data storage, upgrade method, device, equipment and storage medium
CN110109840A (en) * 2019-05-10 2019-08-09 重庆八戒电子商务有限公司 Code audit method, audit device and the medium compared based on version number
CN110292775A (en) * 2019-07-01 2019-10-01 网易(杭州)网络有限公司 Obtain the method and device of variance data
CN110427215A (en) * 2019-07-30 2019-11-08 阿里巴巴集团控股有限公司 A kind of program version mRNA differential display mRNA method and device applied to front end exploitation
CN112947986A (en) * 2020-09-29 2021-06-11 深圳市明源云科技有限公司 Multi-version code sign-in control method and device, client and storage medium
CN112818656A (en) * 2021-01-26 2021-05-18 北京百度网讯科技有限公司 Data difference comparison method, device, equipment, medium and computer program product
CN112965738A (en) * 2021-02-02 2021-06-15 烽火通信科技股份有限公司 Information model version difference comparison method and device
CN112860569A (en) * 2021-02-23 2021-05-28 腾讯科技(深圳)有限公司 Automatic testing method and device, electronic equipment and storage medium
CN113535727A (en) * 2021-07-19 2021-10-22 北京数码大方科技股份有限公司 Data output method and data output device of information system and electronic equipment

Also Published As

Publication number Publication date
CN113934644B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN109783388B (en) UI (user interface) automatic testing method and device and electronic equipment
CN105094783B (en) method and device for testing stability of android application
CN110955428A (en) Page display method and device, electronic equipment and medium
CN112199093B (en) Resource checking method, device, equipment and computer readable storage medium
CN110825619A (en) Automatic generation method and device of interface test case and storage medium
JP2011192296A (en) Help utility application program
CN110716853A (en) Test script recording method, application program testing method and related device
US20220229769A1 (en) Test automation systems and methods using logical identifiers
CN112817866A (en) Recording playback method, device, system, computer equipment and storage medium
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN112732587A (en) Method and device for acquiring automatic test log, electronic equipment and storage medium
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
CN115658529A (en) Automatic testing method for user page and related equipment
CN112506757A (en) Automatic test method, system, computer device and medium thereof
CN108073511B (en) Test code generation method and device
CN113934644B (en) Version difference comparison method and device, intelligent terminal and readable storage medium
CN112035412A (en) Data file importing method, device, storage medium and device
CN115543324B (en) Method, device, equipment and medium for generating interactive interface
CN109684156B (en) Monitoring method, device, terminal and storage medium based on mixed mode application
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
CN111026669A (en) Test log management method, test log management device, and storage medium
CN115617780A (en) Data import method, device, equipment and storage medium
CN115098116A (en) Simulation operation method and device of application program, terminal and storage medium
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN115705187A (en) Item dependency relationship display method and device, terminal equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant