A drawing inspection method and device, storage medium and computer program product

By standardizing and data processing of drawing data, establishing a functional requirement library and performance parameter library, and automatically identifying abnormal devices, solving the problems of low drawing inspection accuracy and efficiency in the existing technology, and achieving efficient design inspection and reliability of circuit design sex.

CN118607467BActive Publication Date: 2024-11-05INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411038850.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-05
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the prior art, the inspection of server drawing design remains in the manual inspection stage, resulting in low inspection accuracy and efficiency, and it is difficult to effectively identify design errors and human errors.

Method used

By obtaining the functional requirements and design drawing data of the module circuit, standardizing and data processing, establishing a functional requirements library and performance parameter library, using these libraries to compare and identify abnormal devices, and generating inspection reports to improve design accuracy and efficiency.

Benefits of technology

It realizes automatic inspection of design drawings, improves the accuracy and efficiency of drawing inspections, reduces human errors and design deviations, and ensures the accuracy and reliability of circuit design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607467B_ABST
    Figure CN118607467B_ABST
Patent Text Reader

Abstract

The present application discloses a drawing review method and device, storage medium and computer program product, and relates to the field of computer technology. The method comprises: obtaining functional requirements for module circuits, standardizing and digitizing the functional requirements to obtain a functional requirement library; wherein the functional requirement library comprises a mapping relationship between schemes, parameters of devices in the schemes, and functional identifiers of devices in the schemes, and the functional identifiers are used to describe the functional characteristics of the devices; obtaining drawing data of design drawings, standardizing and digitizing the drawing data to obtain a performance parameter library; wherein the performance parameter library comprises index information and functional identifiers of devices in the design drawings; and reviewing the design drawings by comparing the functional requirement library and the performance parameter library. The present application realizes the automated review of design drawings, and improves the accuracy and efficiency of drawing review.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a drawing review method and device, a storage medium, and a computer program product. Background Art

[0002] With the rise of emerging digital industries such as artificial intelligence, big data, blockchain, and cloud computing, the types and numbers of servers have been steadily increasing, and the workload of server drawing design has also been increasing. In the process of schematic drawing design, many mature chips will be reused in servers and corresponding parameter design will be carried out according to actual needs. Designers generally make corresponding electrical connection parameter modifications and electrical component parameter modifications based on actual needs based on the drawings of typical chips, and the inspectors will check the drawing parameters and generate drawings.

[0003] Currently, the review of design drawings is still at the manual review stage. During the review, designers need to check whether the performance of the design meets the requirements according to the different requirements of the drawings, and further decompose the performance to implement each performance on the drawings. In addition, they need to check the component parameters and network connections of each page of the drawings according to the design goals, and check whether there are any design errors and human errors such as misconnection and short circuit in the drawings.

[0004] Therefore, how to improve the accuracy and efficiency of drawing review is a technical problem that technical personnel in this field need to solve. Summary of the invention

[0005] The purpose of this application is to provide a drawing review method and device, a storage medium and a computer program product, which improve the accuracy and efficiency of drawing review.

[0006] To achieve the above purpose, the present application provides a drawing review method, comprising:

[0007] Acquire functional requirements for module circuits, and standardize and digitize the functional requirements to obtain a functional requirement library; wherein the functional requirement library includes a mapping relationship between a scheme, parameters of a device in the scheme, and a functional identifier of the device in the scheme, and the functional identifier is used to describe the functional characteristics of the device;

[0008] Acquire drawing data of the design drawing, and standardize and digitize the drawing data to obtain a performance parameter library; wherein the performance parameter library includes index information and function identifiers of the components in the design drawing;

[0009] The design drawings are reviewed by comparing the functional requirement library and the performance parameter library.

[0010] The functional requirements are standardized and digitized to obtain a functional requirements library, including:

[0011] Select a corresponding solution according to the functional requirements;

[0012] Calculating and setting parameters of the device in the solution according to the functional requirements, and setting corresponding function identifiers for the device in the solution according to the functional characteristics of the device in the solution under the parameters;

[0013] A functional requirement library is established based on the mapping relationship between the solution, the parameters of the components in the solution, and the functional identifiers of the components in the solution.

[0014] Wherein, obtaining the drawing data of the design drawing includes:

[0015] A design drawing is obtained, and the design drawing is converted into drawing data including device information and connection line information.

[0016] The drawing data is standardized and digitized to obtain a performance parameter library, including:

[0017] Creating a topology map based on the device information and connection line information contained in the drawing data; wherein the topology map includes the devices in the design drawing and the connection relationship between the devices;

[0018] Generate index information of the devices in the design drawing based on the topology diagram, and set corresponding function identifiers for the devices in the design drawing according to the functional characteristics of the devices in the design drawing;

[0019] A performance parameter library is established based on the index information and function identification of the devices in the design drawings.

[0020] The topology diagram is created based on the device information and connection line information contained in the drawing data, including:

[0021] Determine the main chip in the drawing data, traverse each pin of the main chip to determine the device connected to the pin according to the device information and the connection line information, and create a topology map according to the connection relationship between each pin of the main chip and the device, and the connection relationship between the devices.

[0022] The step of generating index information of the components in the design drawing based on the topology diagram includes:

[0023] Determine the target pin of the device in the design drawing connected to the main chip according to the topology diagram, and determine the pin identifier of the target pin;

[0024] Determining the topological level of the device in the design drawing in the topological diagram; wherein the topological level is used to describe the number of devices between the device and the target pin;

[0025] A one-dimensional array is created according to the pin identifier and the topological level, and index information of the device in the design drawing is determined according to the one-dimensional array.

[0026] After creating a topology map based on the device information and connection line information included in the drawing data, the method further includes:

[0027] If there are two identical first target devices in the topology diagram, and the two identical first target devices are connected to two different pins of the main chip, the first target device with the largest topology level is deleted.

[0028] Wherein, determining the index information of the device in the design drawing according to the one-dimensional array includes:

[0029] The one-dimensional array corresponding to the first target device is used as index information of the first target device.

[0030] Wherein, determining the index information of the device in the design drawing according to the one-dimensional array includes:

[0031] If there are more than two identical second target devices in the topology diagram, and the two or more identical second target devices are connected to more than two different pins of the main chip, a two-dimensional array is created based on the two or more one-dimensional arrays corresponding to the second target devices, and the two-dimensional array is used as the index information of the second target device.

[0032] The step of reviewing the design drawings by comparing the functional requirement library and the performance parameter library includes:

[0033] Retrieving parameters of corresponding devices in the functional requirement library according to the functional identifier in the performance parameter library;

[0034] Retrieving parameters of corresponding devices in the drawing data according to index information in the performance parameter library;

[0035] The parameters of the device retrieved from the functional requirement library are compared with the parameters of the corresponding device retrieved from the drawing data to determine the abnormal device.

[0036] Among them, determining abnormal devices includes:

[0037] Determining whether a difference between a parameter of a device retrieved from the functional requirement library and a parameter of a corresponding device retrieved from the drawing data is within a preset error;

[0038] If not, the device is regarded as an abnormal device.

[0039] After the abnormal device is determined, the method further includes:

[0040] Generate an inspection report based on the abnormal device; wherein the inspection report includes any one or a combination of index information of the abnormal device, function identification, parameters retrieved from the function requirement library, and parameters retrieved from the drawing data.

[0041] To achieve the above objectives, the present application provides an electronic device, including:

[0042] Memory for storing computer programs;

[0043] A processor is used to implement the steps of the above-mentioned drawing review method when executing the computer program.

[0044] To achieve the above-mentioned purpose, the present application provides a non-volatile storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned drawing review method are implemented.

[0045] To achieve the above-mentioned purpose, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned drawing review method are implemented.

[0046] It can be seen from the above scheme that a drawing review method provided by the present application includes: obtaining functional requirements for module circuits, standardizing and digitizing the functional requirements to obtain a functional requirement library; wherein the functional requirement library includes a mapping relationship between schemes, parameters of devices in the schemes, and functional identifiers of devices in the schemes, and the functional identifiers are used to describe the functional characteristics of the devices; obtaining drawing data of design drawings, standardizing and digitizing the drawing data to obtain a performance parameter library; wherein the performance parameter library includes index information and functional identifiers of devices in the design drawings; and reviewing the design drawings by comparing the functional requirement library and the performance parameter library.

[0047] The drawing review method provided by the present application standardizes and digitizes the drawing data of functional requirements and design drawings, and realizes the review of the parameters of the devices in the design drawings by comparing the digitized scheme information with the digitized drawing data. It can be seen that the drawing review method provided by the present application realizes the automated review of design drawings and improves the accuracy and efficiency of drawing review. The present application also discloses an electronic device, a non-volatile storage medium and a computer program product, which can also achieve the above-mentioned technical effects.

[0048] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific implementation methods, they are used to explain the present disclosure, but do not constitute a limitation to the present disclosure. In the drawings:

[0050] Figure 1 is a flow chart of a drawing review method according to an exemplary embodiment;

[0051] Figure 2 is a flow chart of another drawing review method according to an exemplary embodiment;

[0052] Figure 3 is a structural diagram of a drawing review device according to an exemplary embodiment;

[0053] Figure 4 The figure is a structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] The embodiment of the present application discloses a drawing review method, which improves the accuracy and efficiency of drawing review.

[0056] See also Figure 1 , according to a flowchart of a drawing review method shown in an exemplary embodiment, as shown in Figure 1 As shown, including:

[0057] S101: Acquire functional requirements for module circuits, and standardize and digitize the functional requirements to obtain a functional requirement library; wherein the functional requirement library includes a mapping relationship between a scheme, parameters of a device in the scheme, and a functional identifier of the device in the scheme, and the functional identifier is used to describe the functional characteristics of the device;

[0058] This embodiment can be applied to the inspection of the design drawings of the server. In this step, first, according to the conventional design process of the schematic diagram, the functional requirements of the system for the module circuit are established, and then the functional requirements are converted into a unified standardized format for easy understanding and application. Next, these standardized requirements are further refined into specific data to form a functional requirement library. The functional requirement library records in detail the scheme for implementing each functional requirement, the parameters of the required devices, and the identification of the functional characteristics of the devices. The scheme can be understood as a circuit diagram for implementing the functional requirements, which contains multiple devices, each device has its corresponding parameters, and the functional identification of the device is used to describe the functional characteristics of the device under the corresponding parameters, that is, the electrical functional characteristics. The functional identification helps the designer understand the role of each device in the circuit. The mapping relationship in the functional requirement library ensures the logical consistency between the scheme, parameters and functional identification, and provides clear guidance for circuit design.

[0059] As a feasible implementation method, the functional requirements are standardized and digitized to obtain a functional requirement library, including: selecting a corresponding solution according to the functional requirements; calculating and setting parameters of the devices in the solution according to the functional requirements, and setting corresponding functional identifiers for the devices in the solution according to the functional characteristics of the devices in the solution under the parameters; and establishing a functional requirement library based on the mapping relationship between the solution, the parameters of the devices in the solution, and the functional identifiers of the devices in the solution.

[0060] In the specific implementation, the corresponding scheme is selected according to the functional requirements, and the parameters in the circuit are calculated and set according to the set scheme. Since the same scheme will reflect different electrical functional characteristics when the parameters are different, it is necessary to establish a functional requirement library containing the mapping relationship between the scheme, device parameters, and functional identification. In addition, the functional requirement library can also be supplemented based on the mapping relationship according to the error requirements and reliability requirements to realize the function retrieval corresponding to the scheme.

[0061] For example, when the system needs a power supply with an output voltage of 3.3V / 5A, the power supply scheme will be selected first according to the voltage input, output range and output current. Filter out the power chip A used in the power supply scheme, and obtain the chip's functional parameter setting method by consulting the data sheet of chip A. For digital information comparison, after calculating the parameters, the parameters are uniquely named. For example, if the reference voltage of chip A is 0.6V, two resistors need to be configured here to divide the voltage to obtain a 3.3V voltage. The two resistors are named chip name_FB_L and chip name_FB_H respectively. Each parameter of chip A is calculated and uniquely identified one by one, and included in the database in a topological hierarchical manner as a functional requirement library for module circuits. For example, the operating frequency of the power supply is set through a resistor. This resistor is named: Chip Name_MDOE. When the operating frequency needs to be 600kHZ and the mode is FCCM (Forced Continuous Conduction Mode), the resistance of the chip at the PIN3 pin should be set to 100kΩ. When it needs to work at 1000kHZ and the mode is DCM (Discontinuous Conduction Mode), the resistance of the chip at the PIN3 pin should be set to 30kΩ. In this way, the frequency setting and operating mode information are entered and collected accordingly.

[0062] S102: Acquire drawing data of the design drawing, and standardize and digitize the drawing data to obtain a performance parameter library; wherein the performance parameter library includes index information and function identifiers of the components in the design drawing;

[0063] In this step, first obtain the detailed data contained in the drawing. Then, organize and format these data according to unified standards to form a performance parameter library. The performance parameter library records the index information and function identification of each device in the drawing in detail. The index information is used to describe the position and connection relationship of the device in the drawing, and the function identification is used to describe the functional characteristics of the device, that is, the external characteristics of the electrical function. In this way, the device information in the drawing can be easily retrieved and analyzed, improving the efficiency of design and analysis.

[0064] As a feasible implementation method, obtaining drawing data of a design drawing includes: obtaining a design drawing, and converting the design drawing into drawing data including device information and connection line information. In a specific implementation, the information of the design drawing is converted into a drawing information summary including device information, connection line information, etc. To ensure the correct identification of the functional definition of the device, the device information should include the name of the device and pin information.

[0065] As a feasible implementation method, the drawing data is standardized and digitized to obtain a performance parameter library, including: creating a topology map based on the device information and connection line information contained in the drawing data; wherein the topology map includes the devices in the design drawing and the connection relationship between the devices; generating index information of the devices in the design drawing based on the topology map, and setting corresponding function identifiers for the devices in the design drawing according to the functional characteristics of the devices in the design drawing; and establishing a performance parameter library based on the index information and function identifiers of the devices in the design drawing.

[0066] In the specific implementation, a topology diagram is first created based on the device information and connection line information in the design drawing to describe the connection relationship between devices. The topology diagram is the basis of circuit design, which graphically represents the physical structure of the circuit. Then the index information of each device is extracted from the topology diagram, including its position and connection method in the circuit. At the same time, a functional identifier is assigned to each device according to the functional characteristics of the device. Finally, a performance parameter library is constructed using the index information and functional identifier. The performance parameter library not only contains the physical connection information of the devices, but also integrates their performance parameters and functional descriptions, providing comprehensive reference data for further circuit analysis and design optimization.

[0067] S103: Reviewing the design drawings by comparing the functional requirement library and the performance parameter library.

[0068] In this step, the parameters of the device in the design drawing are checked by comparing the digitized solution information with the digitized drawing data.

[0069] As a feasible implementation method, the design drawings are reviewed by comparing the function requirement library and the performance parameter library, including: retrieving the parameters of the corresponding device in the function requirement library according to the function identifier in the performance parameter library; retrieving the parameters of the corresponding device in the drawing data according to the index information in the performance parameter library; comparing the parameters of the device retrieved in the function requirement library with the parameters of the corresponding device retrieved in the drawing data to determine the abnormal device.

[0070] In the specific implementation, first, the function identifier in the performance parameter library is used to retrieve the corresponding device parameters in the function requirement library, that is, to determine the ideal or standard parameters of the device required in the design. Subsequently, the device parameters actually used are located and retrieved in the original drawing data according to the index information provided by the performance parameter library, that is, to determine the parameters of the device actually used in the design implementation phase. Finally, the device parameters obtained from the function requirement library are compared and analyzed with the device parameters in the drawing data. If the parameters in the function requirement library are inconsistent with the parameters in the drawing data, this indicates that there may be abnormal devices. This comparison is a key step in quality control, which can identify design deviations or potential errors, thereby ensuring the accuracy and reliability of circuit design. By identifying and correcting abnormal devices, it can be ensured that the designed circuit can operate as expected.

[0071] As a preferred implementation, determining an abnormal device includes: judging whether the difference between the parameters of the device retrieved in the functional requirement library and the parameters of the corresponding device retrieved in the drawing data is within a preset error; if not, treating the device as an abnormal device. In a specific implementation, a certain error between the parameters of the device actually used and the standard parameters is allowed. First, obtain the function identifier of the device from the performance parameter library, and retrieve the corresponding device parameters in the functional requirement library. At the same time, use the index information to find the actual parameters of these devices in the drawing data. Compare the difference between the two sets of parameters. If the difference exceeds the preset error range, this indicates that the device is an abnormal device.

[0072] As a feasible implementation method, after determining the abnormal device, it also includes: generating an inspection report based on the abnormal device; wherein the inspection report includes any one or a combination of any one of the index information of the abnormal device, the function identifier, the parameters retrieved from the function requirement library, and the parameters retrieved from the drawing data.

[0073] In specific implementation, after confirming the abnormal device, a detailed inspection report can be generated. This report will contain index information of the abnormal device, such as its location and connection method in the circuit; functional identification, that is, a label that describes its functional characteristics; and standard parameters retrieved from the functional requirements library and actual parameters in the drawing data. The purpose of the inspection report is to provide a clear comparison to show in which aspects the abnormal device does not meet the expected performance standards. Through the inspection report, designers can quickly locate the problem, analyze the cause, and take appropriate corrective measures. The report may also include differential analysis, possible impact assessment, and recommended solutions to ensure that the circuit design meets the established functional requirements and performance standards.

[0074] The drawing review method provided in the embodiment of the present application standardizes and digitizes the drawing data of the functional requirements and the design drawings, and checks the parameters of the devices in the design drawings by comparing the digitized scheme information with the digitized drawing data. It can be seen that the drawing review method provided in the present application realizes the automated review of the design drawings and improves the accuracy and efficiency of the drawing review.

[0075] The embodiment of the present application discloses a drawing review method. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically:

[0076] See also Figure 2 , a flowchart of another drawing review method according to an exemplary embodiment is shown, such as Figure 2 As shown, including:

[0077] S201: Select a corresponding solution according to the functional requirements, calculate and set parameters of devices in the solution according to the functional requirements, set corresponding function identifiers for devices in the solution according to functional characteristics of the devices in the solution under the parameters, and establish a function requirement library based on the mapping relationship between the solution, the parameters of the devices in the solution, and the function identifiers of the devices in the solution.

[0078] S202: Acquire drawing data of a design drawing, and create a topology map based on device information and connection line information contained in the drawing data; wherein the topology map includes the connection relationship between devices in the design drawing;

[0079] As a feasible implementation method, a topological map is created based on the device information and connection line information contained in the drawing data, including: determining a main chip in the drawing data, traversing each pin of the main chip to determine the device connected to the pin according to the device information and the connection line information, and creating a topological map according to the connection relationship between each pin of the main chip and the device, and the connection relationship between devices.

[0080] In the specific implementation, when collecting characteristic information of a specific solution, it is necessary to find the main chip of the solution, and based on this, filter out the information related to the main chip from the summarized drawing information. According to actual needs, multi-level topological relationship information will be established, specifically: first start searching from the pin of the chip, find all the networks connected to this pin, and define them hierarchically, where one device and one network are defined as the first-level topology of the pin. If the chip pin and the network line connected to it constitute the first-level topology of the pin, the number of first-level topologies here may be more than one, and then find the devices other than the chip connected to the first-level network according to the network, and find the network connected to it again, which is defined as the second-level topology of the pin. Continue to search for subsequent third-level, fourth-level, etc. topologies according to the above method to obtain the series and parallel information of the device.

[0081] S203: generating index information of the devices in the design drawing based on the topology diagram, setting corresponding function identifiers for the devices in the design drawing according to the functional characteristics of the devices in the design drawing, and establishing a performance parameter library based on the index information and function identifiers of the devices in the design drawing;

[0082] As a feasible implementation method, the index information of the device in the design drawing is generated based on the topology map, including: determining the target pin of the main chip connected to the device in the design drawing according to the topology map, and determining the pin identifier of the target pin; determining the topology level of the device in the design drawing in the topology map; wherein the topology level is used to describe the number of devices between the device and the target pin; creating a one-dimensional array according to the pin identifier and the topology level, and determining the index information of the device in the design drawing according to the one-dimensional array.

[0083] In the specific implementation, firstly, the target pins of each device connected to the main chip are identified according to the topological diagram, and the identification of these pins is recorded. Then the topological level of each device in the topological structure is analyzed and determined. The topological level is the number of devices required to pass from the main chip to the device plus one, thereby reflecting the hierarchical relationship of the device. For example, pin 1 connects device 1 to device 2, the topological level of device 1 is level one, and the topological level of device 2 is level two. A one-dimensional array is created as the index information of the device using the pin identification and topological level. The index information is the unique identification of the device in the circuit design, which allows quick access and reference to the detailed parameters and functional characteristics of the device. In this way, the device information in the circuit can be systematically organized and managed, which facilitates further design verification and optimization.

[0084] As a feasible implementation method, after creating a topological map based on the device information and connection line information contained in the drawing data, it also includes: if there are two identical first target devices in the topological map, and the two identical first target devices are connected to two different pins of the main chip, then the first target device with the largest topological level is deleted; accordingly, the index information of the device in the design drawing is determined according to the one-dimensional array, including: using the one-dimensional array corresponding to the first target device as the index information of the first target device.

[0085] In a specific implementation, if the topologies of two different pins of the main chip at different topological levels have the same device, that is, there are two identical devices in the topological map, they are referred to as the first target device. For example, pin 1 is connected to device 1 connected to device 2, pin 2 is connected to device 2, and device 2 is the first target device. Then the maximum topological level of the first target device is determined. If the maximum topological level is an even number, the topological structure of the maximum topological level / 2 is merged, that is, the first target device with a larger topological level in the topological map is deleted; if the maximum topological level is an odd number, the topological structure of (maximum topological level+) / 2 is merged, that is, the first target device with a larger topological level in the topological map is deleted. In the above example, device 2 connected to device 1 is deleted.

[0086] As a feasible implementation method, the index information of the device in the design drawing is determined based on the one-dimensional array, including: if there are more than two identical second target devices in the topology diagram, and the two or more identical second target devices are connected to more than two different pins of the main chip, then a two-dimensional array is created based on the two or more one-dimensional arrays corresponding to the second target devices, and the two-dimensional array is used as the index information of the second target device.

[0087] In a specific implementation, if the same device exists in the topology of different topological levels of two or more different pins of the main chip, that is, there are more than two identical devices in the topological diagram, they are called second target devices. For example, pin 1 connects device 1, device 2, device 3, pin 2 connects device 4, device 3, pin 3 connects device 3, and device 3 is the second target device. At this time, multiple one-dimensional arrays are created based on the pin identifiers of different pins and the topological levels of the corresponding devices. In the above example, the one-dimensional arrays are (pin 1, level 3), (pin 2, level 2), and (pin 3, level 1). Then, multiple one-dimensional arrays are combined into a two-dimensional array, and the two-dimensional array is used as the index information of the second target device. In the above example, the composed two-dimensional array is ((pin 1, level 3), (pin 2, level 2), (pin 3, level 1)).

[0088] As another feasible implementation, if there are more than two identical second target devices in the topology map, and the two or more identical second target devices are connected to more than two different pins of the main chip, the second target device with the smallest topological level in the topology map is retained, and the other second target devices are deleted, and the index information of the second target device is a one-dimensional array. That is, for multiple identical devices in the topology map, the same processing method is adopted, which simplifies the processing flow.

[0089] S204: Retrieve parameters of corresponding devices in the function requirement library according to the function identifier in the performance parameter library, retrieve parameters of corresponding devices in the drawing data according to the index information in the performance parameter library, and compare the parameters of the devices retrieved from the function requirement library with the parameters of the corresponding devices retrieved from the drawing data to determine abnormal devices.

[0090] It can be seen that this embodiment converts the graphical electrical design information used for human eye design and inspection into digital data information that can be automatically processed by the program. By establishing a functional requirement library and a performance parameter library with the control chip as the core, the mapping of the drawing design information to the performance parameters is realized, and the performance parameter inspection of the drawings is convenient and fast. An automated inspection technology is provided for drawing inspection, which greatly improves the inspection speed and efficiency. At the same time, it overcomes the missed inspection and wrong inspection caused by different experiences and cognitions of different engineers, and greatly improves the accuracy of the inspection.

[0091] A drawing review device provided in an embodiment of the present application is introduced below. The drawing review device described below and the drawing review method described above can be referenced to each other.

[0092] See also Figure 3 , according to an exemplary embodiment, a structural diagram of a drawing review device is shown, such as Figure 3 As shown, including:

[0093] The first construction module 301 is used to obtain functional requirements for module circuits, and to standardize and digitize the functional requirements to obtain a functional requirement library; wherein the functional requirement library includes a mapping relationship between a scheme, parameters of a device in the scheme, and a functional identifier of the device in the scheme, and the functional identifier is used to describe the functional characteristics of the device;

[0094] The second construction module 302 is used to obtain drawing data of the design drawing, and standardize and digitize the drawing data to obtain a performance parameter library; wherein the performance parameter library includes index information and function identifiers of the components in the design drawing;

[0095] The comparison module 303 is used to review the design drawings by comparing the functional requirement library and the performance parameter library.

[0096] The drawing review device provided in the embodiment of the present application standardizes and digitizes the drawing data of the functional requirements and the design drawings, and reviews the parameters of the devices in the design drawings by comparing the digitized scheme information with the digitized drawing data. It can be seen that the drawing review method provided in the present application realizes the automated review of the design drawings and improves the accuracy and efficiency of the drawing review.

[0097] On the basis of the above embodiments, as a preferred implementation mode, the first construction module 301 is specifically used to: select a corresponding scheme according to the functional requirements; calculate and set the parameters of the devices in the scheme according to the functional requirements, and set corresponding functional identifiers for the devices in the scheme according to the functional characteristics of the devices in the scheme under the parameters; establish a functional requirement library based on the mapping relationship between the scheme, the parameters of the devices in the scheme, and the functional identifiers of the devices in the scheme.

[0098] Based on the above embodiment, as a preferred implementation mode, the second construction module 302 is specifically used to: obtain a design drawing, and convert the design drawing into drawing data including device information and connection line information.

[0099] On the basis of the above embodiments, as a preferred implementation mode, the second construction module 302 is specifically used to: create a topology map based on the device information and connection line information contained in the drawing data; wherein the topology map includes the devices in the design drawing and the connection relationship between the devices; generate index information of the devices in the design drawing based on the topology map, and set corresponding function identifiers for the devices in the design drawing according to the functional characteristics of the devices in the design drawing; establish a performance parameter library based on the index information and function identifiers of the devices in the design drawing.

[0100] Based on the above embodiments, as a preferred implementation mode, the second construction module 302 is specifically used to: determine the main chip in the drawing data, traverse each pin of the main chip to determine the device connected to the pin according to the device information and the connection line information, and create a topological map according to the connection relationship between each pin of the main chip and the device, and the connection relationship between devices.

[0101] On the basis of the above embodiments, as a preferred implementation mode, the second construction module 302 is specifically used to: determine the target pin of the device in the design drawing connected to the main chip according to the topology map, and determine the pin identifier of the target pin; determine the topology level of the device in the design drawing in the topology map; wherein the topology level is used to describe the number of devices between the device and the target pin; create a one-dimensional array according to the pin identifier and the topology level, and determine the index information of the device in the design drawing according to the one-dimensional array.

[0102] Based on the above embodiment, as a preferred implementation, the second construction module 302 is also used for: if there are two identical first target devices in the topology diagram, and the two identical first target devices are connected to two different pins of the main chip, then the first target device with the largest topology level is deleted.

[0103] Based on the above embodiment, as a preferred implementation mode, the second construction module 302 is specifically used to: use the one-dimensional array corresponding to the first target device as the index information of the first target device.

[0104] Based on the above embodiment, as a preferred implementation mode, the second construction module 302 is specifically used for: if there are more than two identical second target devices in the topology diagram, and more than two identical second target devices are connected to more than two different pins of the main chip, then a two-dimensional array is created based on more than two one-dimensional arrays corresponding to the second target devices, and the two-dimensional array is used as the index information of the second target device.

[0105] Based on the above embodiments, as a preferred implementation mode, the comparison module 303 is specifically used to: retrieve the parameters of the corresponding device in the function requirement library according to the function identifier in the performance parameter library; retrieve the parameters of the corresponding device in the drawing data according to the index information in the performance parameter library; compare the parameters of the device retrieved in the function requirement library with the parameters of the corresponding device retrieved in the drawing data to determine the abnormal device.

[0106] Based on the above embodiments, as a preferred implementation mode, the comparison module 303 is specifically used to determine whether the difference between the parameters of the device retrieved in the functional requirement library and the parameters of the corresponding device retrieved in the drawing data is within a preset error; if not, the device is treated as an abnormal device.

[0107] Based on the above embodiment, as a preferred implementation, it also includes:

[0108] A generation module is used to generate an inspection report based on the abnormal device; wherein the inspection report includes any one or a combination of any several of the index information of the abnormal device, the function identifier, the parameters retrieved from the function requirement library, and the parameters retrieved from the drawing data.

[0109] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0110] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, Figure 4 FIG. 1 is a structural diagram of an electronic device according to an exemplary embodiment. Figure 4 As shown, the electronic equipment includes:

[0111] Communication interface 1, capable of exchanging information with other devices such as network devices;

[0112] The processor 2 is connected to the communication interface 1 to realize information exchange with other devices, and is used to execute the drawing inspection method provided by one or more technical solutions when running a computer program. The computer program is stored in the memory 3.

[0113] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 4 .

[0114] The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0115] It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAMbus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 3 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.

[0116] The method disclosed in the above embodiment of the present application can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2 or the instruction in the form of software. The above processor 2 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 3, and the processor 2 reads the program in the memory 3 and completes the steps of the above method in combination with its hardware.

[0117] When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be repeated here for the sake of brevity.

[0118] In an exemplary embodiment, the embodiment of the present application further provides a non-volatile storage medium storing a computer program, which can be executed by the processor 2 to complete the steps of the aforementioned method.

[0119] In an exemplary embodiment, the present application also provides a computer program product, including a computer program, which is executed by the processor 2 to complete the steps of the aforementioned method.

[0120] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to computer program instructions, and the aforementioned computer program can be stored in a non-volatile storage medium. When the computer program is executed, it executes the steps of the above-mentioned method embodiment. Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product, which is stored in a non-volatile storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, a network device, etc.) to execute all or part of the methods described in each embodiment of the present application.

[0121] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A drawing review method, characterized in that: include: Acquire functional requirements for module circuits, and standardize and digitize the functional requirements to obtain a functional requirement library; wherein the functional requirement library includes a mapping relationship between a scheme, parameters of a device in the scheme, and a functional identifier of the device in the scheme, and the functional identifier is used to describe the functional characteristics of the device; Acquire drawing data of the design drawing, and standardize and digitize the drawing data to obtain a performance parameter library; wherein the performance parameter library includes index information and function identifiers of the components in the design drawing; Reviewing the design drawings by comparing the functional requirement library with the performance parameter library; The drawing data is standardized and digitized to obtain a performance parameter library, including: Determine the main chip in the drawing data, traverse each pin of the main chip to determine the device connected to the pin according to the device information and connection line information in the drawing data, and create a topology map according to the connection relationship between each pin of the main chip and the device, and the connection relationship between the devices; The index information of the components in the design drawing is generated based on the topological diagram, and a performance parameter library is established based on the index information and function identifiers of the components in the design drawing.

2. The drawing inspection method according to claim 1, characterized in that: The functional requirements are standardized and digitized to obtain a functional requirement library, including: Select a corresponding solution according to the functional requirements; Calculating and setting parameters of the device in the solution according to the functional requirements, and setting corresponding function identifiers for the device in the solution according to the functional characteristics of the device in the solution under the parameters; A functional requirement library is established based on the mapping relationship between the solution, the parameters of the components in the solution, and the functional identifiers of the components in the solution.

3. The drawing inspection method according to claim 1, characterized in that: Get drawing data of design drawings, including: A design drawing is obtained, and the design drawing is converted into drawing data including device information and connection line information.

4. The drawing inspection method according to claim 3, characterized in that: A performance parameter library is established based on the index information and function identifiers of the devices in the design drawings, including: Setting corresponding function identifiers for the devices in the design drawings according to the functional characteristics of the devices in the design drawings; A performance parameter library is established based on the index information and function identifiers of the devices in the design drawings.

5. The drawing review method according to claim 1, characterized in that: Generating index information of devices in the design drawing based on the topology diagram includes: Determine the target pin of the device in the design drawing connected to the main chip according to the topology diagram, and determine the pin identifier of the target pin; Determining the topological level of the device in the design drawing in the topological diagram; wherein the topological level is used to describe the number of devices between the device and the target pin; A one-dimensional array is created according to the pin identifier and the topological level, and index information of the device in the design drawing is determined according to the one-dimensional array.

6. The drawing inspection method according to claim 5, characterized in that: After creating a topology diagram based on the device information and connection line information contained in the drawing data, the method further includes: If there are two identical first target devices in the topology diagram, and the two identical first target devices are connected to two different pins of the main chip, the first target device with the largest topology level is deleted.

7. The drawing inspection method according to claim 6, characterized in that: Determining index information of devices in the design drawing according to the one-dimensional array includes: The one-dimensional array corresponding to the first target device is used as index information of the first target device.

8. The drawing review method according to claim 5, characterized in that: Determining index information of devices in the design drawing according to the one-dimensional array includes: If there are more than two identical second target devices in the topology diagram, and the two or more identical second target devices are connected to more than two different pins of the main chip, a two-dimensional array is created based on the two or more one-dimensional arrays corresponding to the second target devices, and the two-dimensional array is used as the index information of the second target device.

9. The drawing review method according to claim 1, characterized in that: The design drawings are reviewed by comparing the functional requirement library and the performance parameter library, including: Retrieving parameters of corresponding devices in the functional requirement library according to the functional identifier in the performance parameter library; Retrieving parameters of corresponding devices in the drawing data according to index information in the performance parameter library; The parameters of the device retrieved from the functional requirement library are compared with the parameters of the corresponding device retrieved from the drawing data to determine the abnormal device.

10. The drawing inspection method according to claim 9, characterized in that: Identify abnormal devices, including: Determining whether a difference between a parameter of a device retrieved from the functional requirement library and a parameter of a corresponding device retrieved from the drawing data is within a preset error; If not, the device is regarded as an abnormal device.

11. The drawing inspection method according to claim 9, characterized in that: After the abnormal device is determined, the method further includes: Generate an inspection report based on the abnormal device; wherein the inspection report includes any one or a combination of index information of the abnormal device, function identification, parameters retrieved from the function requirement library, and parameters retrieved from the drawing data.

12. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the drawing review method as claimed in any one of claims 1 to 11 when executing the computer program.

13. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a computer program, which, when executed, implements the steps of the drawing review method according to any one of claims 1 to 11.

14. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed, the steps of the drawing review method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Data processing method and device for computer drawing model

    CN103823932A

  • A drawing verification system based on big data

    CN109086735A

  • Substation CAD drawing auditing method and equipment

    CN115329556A

  • Drawing detection method and device, electronic equipment and storage medium

    CN115953120A

  • Electronic design drawing management method and device, electronic equipment and storage medium

    CN117473940A