CN109213477B - Method and device for realizing automatic comparison of software line difference - Google Patents

Method and device for realizing automatic comparison of software line difference Download PDF

Info

Publication number
CN109213477B
CN109213477B CN201811115087.1A CN201811115087A CN109213477B CN 109213477 B CN109213477 B CN 109213477B CN 201811115087 A CN201811115087 A CN 201811115087A CN 109213477 B CN109213477 B CN 109213477B
Authority
CN
China
Prior art keywords
folder
files
project
compared
same file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811115087.1A
Other languages
Chinese (zh)
Other versions
CN109213477A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811115087.1A priority Critical patent/CN109213477B/en
Publication of CN109213477A publication Critical patent/CN109213477A/en
Application granted granted Critical
Publication of CN109213477B publication Critical patent/CN109213477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/314Parallel programming languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for realizing automatic comparison of software circuit difference, which comprises the following steps: converting the bill of material file and the netlist file of the first engineering and the second engineering into a csv format; naming the converted bill of material files of the first project and the second project, respectively putting the named bill of material files into a first folder and a second folder, naming the netlist files of the first project and the second project, and respectively putting the named netlist files of the first project and the second project into a third folder and a fourth folder; the method comprises the steps of taking a first folder as a reference and a second folder as a project to be compared for retrieval, taking the second folder as the reference and the first folder as the project to be compared for retrieval in parallel, taking a third folder as the reference and a fourth folder as the project to be compared for retrieval, and taking the fourth folder as the reference and the third folder as the project to be compared for retrieval in parallel; and outputting the searched difference points to a detection document. The invention can quickly compare the difference of the software circuit and improve the comparison efficiency.

Description

Method and device for realizing automatic comparison of software line difference
Technical Field
The present invention relates generally to the field of computer technology, and more particularly, to a method and apparatus for implementing automatic comparison of software circuit differences.
Background
The software principle design part of the Cadence company comprises two types of software, namely concept hdl which is an original tool of Cadence and capture of orcad which is purchased later. Both types of software do not have a circuit diagram difference comparison tool, but nowadays more and more companies use a capture, the circuit diagram comparison tool of the capture is also designed by engineers, and the concept hdl has no more mature circuit comparison tool because the use range is relatively small. For the current increasingly complex product design, the difference of the circuit diagram is compared with the work with large workload and high error rate. The rapid line comparison can enable an engineer to check defects and fill up leakage through software after each modification, and verify whether the difference of the lines meets the design requirement. When teams work cooperatively, if a project which is responsible for by other people is taken over or is responsible for by other people, the mastering of the whole project change by the line change part is very important. If the changed difference part can be classified and displayed through an automatic comparison software, the work can be performed easily, and the improvement on the work efficiency can be increased.
At present, Cadence concept hdl has no mature line difference comparison tool, and the current line comparison mainly depends on manual inspection and comparison by people. Manual inspection contrast is boring tasteless, makes mistakes easily moreover and omits, if there is one set of automatic contrast instrument can come out the component difference of circuit and the automatic contrast of line connection difference, and the efficiency of contrast can improve many times, and the error rate can greatly reduced. The automatic comparison software aims to compare two lines one by one, then classify and display network connection differences, component materials and loading differences of the lines, and output the network connection differences, the component materials and the loading differences by documents.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method and an apparatus for implementing automatic comparison of software line differences, which use a multi-process parallel processing manner to quickly compare network connection differences, component materials and loading differences of two lines, and output the network connection differences, component materials and loading differences as documents.
Based on the above purpose, an aspect of the embodiments of the present invention provides a method for implementing automatic comparison of software circuit differences, including the following steps:
converting both the bill of material (bom) files and the netlist files of the first and second projects into a csv (Comma-Separated Values, sometimes also referred to as character-Separated Values) format;
respectively placing the converted bill of material files of the first project and the second project into a first folder and a second folder, and respectively placing the netlist files of the first project and the second project into a third folder and a fourth folder;
retrieving by taking the first folder as a reference and the second folder as a project to be compared, retrieving by taking the second folder as a reference and the first folder as a project to be compared in parallel, retrieving by taking the third folder as a reference and the fourth folder as a project to be compared, and retrieving by taking the fourth folder as a reference and the third folder as a project to be compared in parallel; and
and outputting the difference points obtained by the retrieval to a detection document.
In some embodiments, placing the converted bill of material files of the first and second projects into a first folder and a second folder, respectively, and placing the netlist files of the first and second projects into a third folder and a fourth folder, respectively, comprises: and naming the bill of material files and the netlist files of the first engineering and the second engineering according to the bit numbers of the components.
In some embodiments, the method is implemented through C # programming language programming.
In some embodiments, the retrieval step implemented by the C # programming language invokes a program to perform the retrieval in parallel multiple threads.
In some embodiments, the searching with the second folder as a reference and the first folder as the project to be compared includes the following steps:
sequentially traversing the second folder according to the files in the first folder, and directly outputting the file contents in the first folder to the detection document when the second folder does not have files with the same file names;
and when the second folder has files with the same file name, comparing whether the contents of the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
In some embodiments, the searching with the first folder as a reference and the second folder as the project to be compared includes the following steps:
sequentially traversing the first folder according to files in the second folder, and directly outputting the file contents in the second folder to the detection document when the first folder does not have files with the same file names;
and when the first folder has files with the same file name, comparing whether the contents in the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
In some embodiments, the searching with the fourth folder as a reference and the third folder as a project to be compared includes the following steps:
sequentially traversing the fourth folder according to the files in the third folder, and directly outputting the file contents in the third folder to the detection document when the fourth folder does not have files with the same file names;
and when the fourth folder has files with the same file name, comparing whether the contents of the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
In some embodiments, the searching with the third folder as a reference and the fourth folder as a project to be compared includes the following steps:
sequentially traversing the third folder according to the files in the fourth folder, and directly outputting the file contents in the fourth folder to the detection document when the third folder does not have files with the same file names;
and when the third folder has files with the same file name, comparing whether the contents in the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
In some embodiments, the software is Cadence concept hdl.
In another aspect of the embodiments of the present invention, an automatic circuit difference comparing apparatus is further provided, including:
at least one processor; and
a memory storing a computer program operable on the processor, the processor when executing the program performing the method of any one of the preceding claims.
The invention has the following beneficial technical effects: the method and the device for realizing the automatic comparison of the software circuit difference can decompose the file content and compare the connection difference of elements in a parallel multithreading way by using a bill of material document and a netlist document output by Cadence concept hdl by using a C # programming language, and collect and arrange the difference, thereby improving the comparison efficiency, facilitating a user to master the change condition of the whole project and ensuring that the work is more careful.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of one embodiment of a method for implementing software circuit difference auto-contrast provided by the present invention;
fig. 2 is a schematic diagram of a hardware structure of an embodiment of the software circuit difference automatic comparison apparatus provided in the present invention.
Detailed Description
Embodiments of the present disclosure are described below. However, it is to be understood that the disclosed embodiments are merely examples and that other embodiments may take various and alternative forms. The figures are not necessarily to scale; certain features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention. As one of ordinary skill in the art will appreciate, various features illustrated and described with reference to any one of the figures may be combined with features illustrated in one or more other figures to produce embodiments that are not explicitly illustrated or described. The combination of features shown provides a representative embodiment for a typical application. However, various combinations and modifications of the features consistent with the teachings of the present disclosure may be desirable for certain specific applications or implementations.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
Based on the above object, a first aspect of the embodiments of the present invention provides a method for implementing automatic comparison of software circuit differences, wherein the design adopts a general total design concept, and first converts a bill of material document (bom document) and a netlist document of a first engineering and a second engineering into a document in a csv format; naming the converted bill of material files of the first project and the second project, respectively putting the named bill of material files into a first folder and a second folder, naming the netlist files of the first project and the second project, and respectively putting the named netlist files of the first project and the second project into a third folder and a fourth folder; the method comprises the steps of taking a first folder as a reference and a second folder as a project to be compared for retrieval, taking the second folder as the reference and the first folder as the project to be compared for retrieval in parallel, taking a third folder as the reference and a fourth folder as the project to be compared for retrieval, and taking the fourth folder as the reference and the third folder as the project to be compared for retrieval in parallel; and outputting the searched difference points to a detection document.
In one embodiment according to the present invention, the line contrast method is implemented by programming via C # programming language, which is an object-oriented high-level programming language published by microsoft that runs on top of NET Framework. In some embodiments, the method can be implemented by parallel multi-process processing, because the number of components in a project is large, and at most, the number of components is ten thousand, and the direct sequential execution of the C # program is very inefficient. Therefore, in one embodiment according to the invention, data can be processed in a multi-thread manner in parallel by calling the task.run () method, and the execution efficiency of software is greatly improved.
The bill of material file and netlist file output by Cadence software are documents that can be converted into csv format, where csv is comma separated value file format, and its files store table data (numbers and text) in plain text form. In one embodiment of the invention, after the bill of material file and the netlist file derived from Cadence concept hdl are converted into the document in the csv format, the document is divided into a plurality of small files according to the names of the components. Because the device names are unique in a project, the device names are adopted to split the whole bill of material file and the netlist file, the whole part is broken into parts, repeated files cannot be generated, and resource waste caused by attribute comparison between a certain device and other devices every time is avoided. In one embodiment, as shown in fig. 1, a bill of material file and a netlist file derived from Cadence concept hdl may be named according to the bit number of each component, and then the bill of material file is named according to the bit number of each component and stored in an a folder, where the file contents are the material number and the loading mode attribute of the component. And naming the netlist file according to the bit number of the component and storing the name into a C folder, wherein the file content is the connection network name of each pin of the component. The other engineering bill of materials file and netlist file are processed according to the above method and finally stored in B, D folders respectively.
A. In one embodiment, as shown in fig. 1, the file in the folder a is used as a project to be compared, and the folder B is used as a reference, the file in the folder a is sequentially moved to the folder B for traversal, if files with the same file name exist, whether the file attributes of the components in the file content are consistent is compared, and the difference points of the files in the folder a relative to the files in the folder B are stored in a final detection document; similarly, the B folder is used as a project to be compared, the A folder is used as a reference, the A folder is sequentially moved into the A folder for traversing according to the files in the B folder, and the difference points in the B folder relative to the files in the A folder are also output to the detection document. C. And D folders respectively store netlist files of two projects, the C folder is used as a project to be compared, the D folder is used as a reference, the D folder is sequentially traversed under the C folder according to files in the C folder, if the D folder does not have files with the same name, the D folder is represented as a newly added component, if the D folder has the same files, the material number values of the components in the file contents and the connection network names of all pins are compared to determine whether the material number values and the connection network names of all the pins are consistent, and difference points in the compared C folder relative to the D file are output to a detection document. Similarly, the D folder is used as a project to be compared, the C folder is used as a reference, the comparison is carried out, and after the comparison is finished, the difference points in the D folder relative to the files in the C folder are also output to the detection document. The detection document can be in the form of an Excel document, and the difference points among the projects are clearly and intuitively displayed for a user.
It should be particularly noted that, the steps in the embodiments of the method for implementing automatic software circuit difference comparison described above may be mutually intersected, replaced, added, and deleted, so that these methods for implementing automatic software circuit difference comparison, which are reasonably arranged and combined, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the described embodiments.
It can be seen from the above embodiments that the method for implementing automatic comparison of software circuit differences provided by the embodiments of the present invention can utilize parallel multithread processing of C #, perform decomposition of file contents and comparison of connection differences of elements at the same time, and summarize and sort differences, thereby improving comparison efficiency; the multi-process advantage of the computer is fully utilized, so that a user can conveniently master the change condition of the whole project, and the work can be more handy.
In view of the above-mentioned objects, according to a second aspect of the embodiments of the present invention, an embodiment of a software circuit difference automatic comparison apparatus is provided.
The software circuit difference automatic comparison device comprises at least one processor and a memory, wherein the memory stores a computer program capable of running on the processor, and the processor executes any one of the methods when executing the computer program.
Fig. 2 is a schematic diagram of a hardware structure of an embodiment of the software circuit difference automatic comparison apparatus provided in the present invention.
Taking fig. 2 as an example, the apparatus includes a processor 201 and a memory 202, and may further include: an input device 203 and an output device 204.
The processor 201, the memory 202, the input device 203 and the output device 204 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 202, which is a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the software circuit difference automatic comparison method in the embodiments of the present application. The processor 201 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 202, that is, implements the software circuit difference automatic comparison method of the above-described method embodiment.
The memory 202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the stored data area may store data created from use of the software line difference automatic comparison device, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 202 may optionally include memory located remotely from processor 201, which may be connected to local modules via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 203 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the software circuit difference automatic comparison device. The output device 204 may include a display device such as a display screen.
Program instructions/modules corresponding to the one or more software circuit difference automatic comparison methods are stored in the memory 202, and when executed by the processor 201, the software circuit difference automatic comparison method in any of the above-mentioned method embodiments is executed.
Any embodiment of the device for performing the software circuit difference automatic comparison can achieve the same or similar effects as any corresponding method embodiment.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
In addition, the apparatuses, devices and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television and the like, or may be a large terminal device, such as a server and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed in the embodiment of the present invention may be applied to any one of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions described herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for realizing automatic comparison of software circuit difference is characterized by comprising the following steps:
converting the bill of material file and the netlist file of the first engineering and the second engineering into a csv format;
respectively placing the converted bill of material files of the first project and the second project into a first folder and a second folder, and respectively placing the netlist files of the first project and the second project into a third folder and a fourth folder;
retrieving by taking the first folder as a reference and the second folder as a project to be compared, retrieving by taking the second folder as a reference and the first folder as a project to be compared in parallel, retrieving by taking the third folder as a reference and the fourth folder as a project to be compared, and retrieving by taking the fourth folder as a reference and the third folder as a project to be compared in parallel; and
and outputting the difference points obtained by the retrieval to a detection document.
2. The method of claim 1, wherein placing the converted first and second engineering bill of materials files into a first folder and a second folder, respectively, and placing the first and second engineering netlist files into a third folder and a fourth folder, respectively, comprises: and naming the bill of material files and the netlist files of the first engineering and the second engineering according to the bit numbers of the components.
3. The method of claim 1, wherein the method is implemented through C # programming language programming.
4. The method of claim 3, wherein the retrieving step implemented by the C # programming language invokes a program to retrieve in parallel multiple threads.
5. The method according to claim 1, wherein the searching with the second folder as a reference and the first folder as the project to be compared comprises the following steps:
sequentially traversing the second folder according to the files in the first folder, and directly outputting the file contents in the first folder to the detection document when the second folder does not have files with the same file names;
and when the second folder has files with the same file name, comparing whether the contents of the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
6. The method according to claim 1, wherein the step of searching for the project to be compared by using the first folder as a reference and the second folder comprises the following steps:
sequentially traversing the first folder according to files in the second folder, and directly outputting the file contents in the second folder to the detection document when the first folder does not have files with the same file names;
and when the first folder has files with the same file name, comparing whether the contents in the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
7. The method according to claim 1, wherein the searching with the fourth folder as a reference and the third folder as the project to be compared comprises the following steps:
sequentially traversing the fourth folder according to the files in the third folder, and directly outputting the file contents in the third folder to the detection document when the fourth folder does not have files with the same file names;
and when the fourth folder has files with the same file name, comparing whether the contents of the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
8. The method according to claim 1, wherein the searching with the third folder as a reference and the fourth folder as the project to be compared comprises the following steps:
sequentially traversing the third folder according to the files in the fourth folder, and directly outputting the file contents in the fourth folder to the detection document when the third folder does not have files with the same file names;
and when the third folder has files with the same file name, comparing whether the contents in the two files with the same file name are consistent or not, and outputting the difference points to the detection document.
9. The method of claim 1, wherein said software is Cadence concept hdl.
10. A software circuit difference automatic comparison device comprises:
at least one processor; and
memory storing a computer program operable on the processor, wherein the processor, when executing the program, performs the method of any of claims 1-9.
CN201811115087.1A 2018-09-25 2018-09-25 Method and device for realizing automatic comparison of software line difference Active CN109213477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115087.1A CN109213477B (en) 2018-09-25 2018-09-25 Method and device for realizing automatic comparison of software line difference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115087.1A CN109213477B (en) 2018-09-25 2018-09-25 Method and device for realizing automatic comparison of software line difference

Publications (2)

Publication Number Publication Date
CN109213477A CN109213477A (en) 2019-01-15
CN109213477B true CN109213477B (en) 2021-07-06

Family

ID=64984777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115087.1A Active CN109213477B (en) 2018-09-25 2018-09-25 Method and device for realizing automatic comparison of software line difference

Country Status (1)

Country Link
CN (1) CN109213477B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800022B (en) * 2019-01-25 2022-07-08 郑州云海信息技术有限公司 Method, system, terminal and storage medium for automatically comparing BIOS information difference
CN114997241B (en) * 2022-06-29 2024-01-26 苏州浪潮智能科技有限公司 Pin inspection method, pin inspection device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612140A (en) * 2003-10-31 2005-05-04 英业达股份有限公司 Comparision method for automatically comparing circuit design diagram with its modification conditions
CN1885293A (en) * 2005-06-22 2006-12-27 鸿富锦精密工业(深圳)有限公司 System and method for contrasting element relation in circuit design layout
CN103136354A (en) * 2013-03-04 2013-06-05 浪潮电子信息产业股份有限公司 Linux system folder comparison method
CN104182557A (en) * 2013-05-24 2014-12-03 英业达科技有限公司 Element file reference inspection method
CN106327100A (en) * 2016-08-31 2017-01-11 北京汽车研究总院有限公司 Change list generation method and device
CN107025362A (en) * 2017-04-28 2017-08-08 无锡市同步电子科技有限公司 A kind of method for verifying schematic diagram and PCB creation data uniformity
CN107515958A (en) * 2016-06-16 2017-12-26 迈普通信技术股份有限公司 Wiring inspection method and device
CN108108425A (en) * 2017-12-18 2018-06-01 苏州蜗牛数字科技股份有限公司 Text-processing comparative approach and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173357A1 (en) * 2016-03-31 2017-10-05 Mentor Graphics Corporation Circuit validation for circuits comprising multiple possible variants for individual components
US20180060457A1 (en) * 2016-08-29 2018-03-01 Dspace Digital Signal Processing And Control Engineering Gmbh Method and system for comparing block diagrams
US20180157778A1 (en) * 2016-12-02 2018-06-07 Texas Instruments Incorporated Side-by-side interactive circuit design panel

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1612140A (en) * 2003-10-31 2005-05-04 英业达股份有限公司 Comparision method for automatically comparing circuit design diagram with its modification conditions
CN1885293A (en) * 2005-06-22 2006-12-27 鸿富锦精密工业(深圳)有限公司 System and method for contrasting element relation in circuit design layout
CN103136354A (en) * 2013-03-04 2013-06-05 浪潮电子信息产业股份有限公司 Linux system folder comparison method
CN104182557A (en) * 2013-05-24 2014-12-03 英业达科技有限公司 Element file reference inspection method
CN107515958A (en) * 2016-06-16 2017-12-26 迈普通信技术股份有限公司 Wiring inspection method and device
CN106327100A (en) * 2016-08-31 2017-01-11 北京汽车研究总院有限公司 Change list generation method and device
CN107025362A (en) * 2017-04-28 2017-08-08 无锡市同步电子科技有限公司 A kind of method for verifying schematic diagram and PCB creation data uniformity
CN108108425A (en) * 2017-12-18 2018-06-01 苏州蜗牛数字科技股份有限公司 Text-processing comparative approach and device

Also Published As

Publication number Publication date
CN109213477A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
US9904694B2 (en) NoSQL relational database (RDB) data movement
CN112036736A (en) Workflow creating method and device
US9652368B2 (en) Using linked data to determine package quality
CN102665231B (en) Method of automatically generating parameter configuration file for LTE (Long Term Evolution) system
CN107622080B (en) Data processing method and equipment
US9928288B2 (en) Automatic modeling of column and pivot table layout tabular data
CN110990274B (en) Data processing method, device and system for generating test cases
CN104035754A (en) XML (Extensible Markup Language)-based custom code generation method and generator
US20150066977A1 (en) Method and system for managing digital resources
CN104965714A (en) Code generation method and system of application software
CN110515896B (en) Model resource management method, model file manufacturing method, device and system
CN111324577B (en) Yml file reading and writing method and device
CN105653554A (en) File data comparison method and system
CN113688288B (en) Data association analysis method, device, computer equipment and storage medium
CN109213477B (en) Method and device for realizing automatic comparison of software line difference
CN103914290A (en) Operating command processing method and device
CN101388018A (en) Computer aided design document management method
CN112631833A (en) Data archiving and querying method, system, storage medium and equipment
CN111142871A (en) Front-end page development system, method, equipment and medium
CN115757174A (en) Database difference detection method and device
CN103164491B (en) The method and apparatus of a kind of data processing and retrieval
US10872103B2 (en) Relevance optimized representative content associated with a data storage system
JP6287506B2 (en) Database access control program, database access control method, and information processing apparatus
US11232121B2 (en) Method, apparatus, and computer-readable medium for data transformation pipeline optimization
US20130144885A1 (en) File search apparatus and method using attribute information

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