Design drawing filing method and indexing method, device, equipment, medium, product

By detecting the device attribute information in the design drawings, ensuring its accuracy, and then archiving and querying, the problem of unstable quality of borrowed drawings is solved, and product quality and design efficiency are improved.

CN118170715BActive Publication Date: 2024-12-17MIDEA SMART TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310495678.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-12-17
Estimated Expiration
2043-05-05

AI Technical Summary

Technical Problem

During the design process of electronic design drawings, the quality of the borrowed drawings is unstable, which can easily lead to design errors and thus lead to quality accidents in the production products.

Method used

By obtaining device attribute information in the design drawings, checking bit numbers, pin connection status, package version number and functional module naming, ensuring that the detection results are normal, the parameter attribute mapping file is built, and the drawing attribute information is passed Conduct query and update.

Benefits of technology

It effectively avoids incorrect archives of design drawings, improves product quality, and ensures the quality and design efficiency of design drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170715B_ABST
    Figure CN118170715B_ABST
Patent Text Reader

Abstract

The present application relates to the field of design drawing processing, and provides a design drawing archiving method and indexing method, device, equipment, medium, and product. The method includes: obtaining device attribute information of all devices in the design drawings to be archived; detecting the design drawings according to the device attribute information to obtain the detection result; and archiving the drawings when the detection result is determined to be normal. The present application detects the design drawings through device attribute information such as the bit number of each device in the design drawings to be archived, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings, and the module naming information of each functional module in the design drawings. The design drawings are archived when the detection result is normal, avoiding the archiving of erroneous design drawings, and producing through the archived design drawings can avoid quality accidents in the produced products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of design drawing processing, and in particular to a design drawing archiving method and indexing method, device, equipment, medium, and product. Background Art

[0002] When designing electronic design drawings, hardware design engineers usually borrow existing drawings, and then add or remove some functional modules according to the needs of their own projects to form new electronic design drawings. Currently, when borrowing drawings, they generally come from drawings stored by other engineers, data drawings on the Internet, and drawings provided by suppliers. However, the drawings from the above sources may not be complete and reliable, resulting in unstable quality of existing borrowed drawings, making it easy for electronic design drawings designed based on borrowed drawings to have errors, which in turn leads to quality accidents of products produced based on electronic design drawings. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a design drawing archiving method, which can avoid errors in electronic design drawings and thus improve the quality of products produced based on electronic design drawings.

[0004] The present application also proposes a design drawing indexing method, device, equipment, medium and product.

[0005] The design drawing archiving method according to the first aspect of the present application includes:

[0006] Obtain device attribute information of all devices in the design drawings to be archived;

[0007] Detecting the design drawing according to the device attribute information to obtain a detection result;

[0008] When it is determined that the test result is normal, archiving the design drawing;

[0009] The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing and the module naming information of each functional module in the design drawing.

[0010] According to the design drawing archiving method of the embodiment of the present application, the design drawings are inspected through device attribute information such as the position number of each device in the design drawings to be archived, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings, and the module naming information of each functional module in the design drawings. When the inspection result of the design drawings is normal, they are archived to avoid archiving of erroneous design drawings. Production based on the archived design drawings can avoid quality accidents in the produced products.

[0011] According to an embodiment of the present application, the step of detecting the design drawing according to the device attribute information to obtain a detection result includes:

[0012] Based on the bit number of each device in the device attribute information, performing bit number duplication detection on the design drawing;

[0013] Based on the pin connection status of each device in the device attribute information, performing pin connection detection on the design drawing;

[0014] Based on the package version number of each device in the device attribute information, performing package version number detection on the design drawing;

[0015] Based on the position information of each device in the device attribute information, performing position detection on the design drawing;

[0016] Based on the module naming information of each functional module in the device attribute information, the design drawing is subjected to naming detection; any module is composed of at least one device;

[0017] When the results of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection, and the naming detection are all normal, it is determined that the detection result is normal.

[0018] According to an embodiment of the present application, the step of performing bit number duplication detection on the design drawing based on the bit number of each device in the device attribute information includes:

[0019] Comparing the bit numbers of the devices in the device attribute information in pairs;

[0020] If the bit numbers of all the components in the component attribute information are different, it is determined that the result of the bit number duplication detection of the design drawing is normal.

[0021] According to an embodiment of the present application, the pin connection detection on the design drawing based on the pin connection status of each device in the device attribute information includes:

[0022] If it is determined that in the pin connection state of the device attribute information, there is a connection between any called pin and any other called pin, it is determined that the result of the pin connection detection of the design drawing is normal.

[0023] According to an embodiment of the present application, the step of detecting the package version number of the design drawing based on the package version number of each device in the device attribute information includes:

[0024] Retrieve the version number of each device from the package version library;

[0025] Compare the package version number of each device in the device attribute information with the respective storage version number;

[0026] If it is determined that the results of the version number comparison of each device are the same, then it is determined that the result of the package version number detection of the design drawing is normal.

[0027] According to an embodiment of the present application, the performing position detection on the design drawing based on the position information of each device in the device attribute information includes:

[0028] If it is determined based on the position information of each device in the device attribute information that each device is at least located within any preset position range, then the result of the position detection of the design drawing is determined to be normal.

[0029] According to an embodiment of the present application, the step of performing naming detection on the design drawing based on the module naming information of each functional module in the device attribute information includes:

[0030] Obtaining the module naming information of each functional module in the device attribute information;

[0031] If it is determined that all the module naming information in the device attribute information is normal based on a pre-set naming rule for naming the functional modules, then it is determined that the result of the naming detection of the design drawing is normal.

[0032] According to an embodiment of the present application, after the design drawings are archived, the method further includes:

[0033] Constructing a parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing;

[0034] The parameter attribute mapping file includes drawing attribute information and device attribute information; the drawing attribute information is formed after the design drawings to be archived are archived, including at least one attribute information of usage scenario, creator, drawing version number, core device model, design guidance file, archived drawing name, creation time, total cost, and number of functional modules.

[0035] According to one embodiment of the present application, after constructing the parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing, the method further includes:

[0036] Receiving a design drawing update instruction; the design drawing update instruction is used to instruct to update the design drawing based on the update drawing;

[0037] In response to the design drawing update instruction, obtaining a parameter attribute mapping file of the design drawing, and comparing the device attribute information in the parameter attribute mapping file with the device attribute information of the update drawing;

[0038] If the device attribute information in the parameter attribute mapping file is different from the device attribute information of the updated drawing, then outputting the difference information between the device attribute information in the parameter attribute mapping file and the device attribute information of the updated drawing;

[0039] A confirmation instruction based on the difference information is received, drawing attribute information of the updated drawing is acquired, and drawing attribute information in the parameter attribute mapping file is updated according to the drawing attribute information of the updated drawing.

[0040] According to an embodiment of the present application, the design drawing is detected according to the device attribute information, and after the detection result is obtained, the following steps are iteratively performed until it is determined that the target result is normal, so as to archive the modified drawing:

[0041] When it is determined that the detection result is abnormal, outputting the abnormal matters of the design drawing;

[0042] Obtain a modified drawing based on the feedback of the abnormal matter, detect the modified drawing according to the device attribute information of the modified drawing, and obtain a target result.

[0043] According to the second aspect of the present application, the design drawing indexing method includes:

[0044] Receiving a design drawing query instruction, and then performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, a design guide file, an archived drawing name, a creation time, a total cost, and a number of functional modules;

[0045] If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword;

[0046] Wherein, the design drawings are archived using the design drawing archiving method described in the first aspect.

[0047] According to the design drawing indexing method of the embodiment of the present application, by performing design drawing queries using keywords formed by drawing attribute information carried by archived design drawings, the quality of borrowed design drawings can be ensured, errors in drawing design can be reduced, and the design efficiency of design drawings can be improved.

[0048] A design drawing archiving device according to an embodiment of the third aspect of the present application includes:

[0049] An acquisition module, used to acquire device attribute information of all devices in the design drawings to be archived;

[0050] A detection module, used to detect the design drawing according to the device attribute information to obtain a detection result;

[0051] An archiving module is used to archive the design drawings when it is determined that the detection results are normal; the device attribute information includes the position number of each device in the design drawings, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings and the module naming information of each functional module in the design drawings.

[0052] According to the fourth aspect of the present application, a design drawing indexing device includes:

[0053] An indexing module, for receiving a design drawing query instruction, and performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, a design guide file, an archived drawing name, a creation time, a total cost, and a number of functional modules;

[0054] An output module is used to output drawing information of the design drawing corresponding to the keyword if there is a design drawing corresponding to the keyword; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword; wherein the design drawing is archived using the design drawing archiving method described in the first aspect.

[0055] According to the device of the fifth aspect embodiment of the present application, the device is an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the design drawing archiving method or the design drawing indexing method is implemented.

[0056] According to the medium of the sixth aspect embodiment of the present application, the medium is a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the design drawing archiving method or the design drawing indexing method is implemented.

[0057] According to the product of the seventh aspect embodiment of the present application, the product is a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the design drawing archiving method or the design drawing indexing method.

[0058] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0059] By checking the device attribute information such as the position number of each device in the design drawing to be archived, the pin connection status of each device in the design drawing, the package version number of each device, the location information of each device in the design drawing and the module naming information of each functional module in the design drawing, the design drawings are inspected and archived when the inspection results of the design drawings are normal to avoid archiving of erroneous design drawings. Production based on the archived design drawings can avoid quality accidents in the produced products.

[0060] Furthermore, by searching for design drawings using keywords formed from the drawing attribute information carried by the archived design drawings, the quality of the borrowed design drawings can be ensured, errors in drawing design can be reduced, and the design efficiency of the design drawings can be improved.

[0061] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. 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 paying creative work.

[0063] Figure 1 It is a flowchart of a design drawing archiving method provided in an embodiment of the present application;

[0064] Figure 2 It is a schematic diagram of the detection process in the design drawing archiving method provided in the embodiment of the present application;

[0065] Figure 3 It is a schematic diagram of a scenario in which a preset mark exists in a design drawing in the design drawing detection method provided in an embodiment of the present application;

[0066] Figure 4 It is a schematic diagram of a scenario in which there are repeated device position numbers in a design drawing in the design drawing archiving method provided in an embodiment of the present application;

[0067] Figure 5 It is a schematic diagram of output information of abnormal matters when there are repeated device position numbers in the design drawings in the design drawing archiving method provided in the embodiment of the present application;

[0068] Figure 6 It is a schematic diagram of a scenario in which a pin connection abnormality exists in a design drawing in the design drawing archiving method provided in an embodiment of the present application;

[0069] Figure 7 It is a schematic diagram of a scenario in which a position abnormality exists in a design drawing in the design drawing archiving method provided in an embodiment of the present application;

[0070] Figure 8 It is a structural schematic diagram of a design drawing archiving device provided in an embodiment of the present application;

[0071] Fig. 9 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0072] The following is a further detailed description of the implementation of the present application in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but cannot be used to limit the scope of the present application.

[0073] In the description of the embodiments of the present application, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the embodiments of the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0074] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0075] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0076] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0077] Figure 1 is a flow chart of a design drawing archiving method provided in an embodiment of the present application, such as Figure 1 As shown, the design drawing archiving method includes:

[0078] Step 110, obtaining device attribute information of all devices in the design drawings to be archived.

[0079] It should be noted that the executor of the design drawing archiving method provided in the embodiment of the present application can be a server, a computer device, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.

[0080] The present application may provide software for archiving design drawings. The software may be arranged in the above-mentioned execution subject and may be used to execute the design drawing archiving method in the present application.

[0081] Among them, the design drawings can be divided into plan views, ground plans, ceiling plans, elevation views, node details, high-voltage laying views, low-voltage laying views, etc.

[0082] Design drawings to be archived are design drawings that need to be archived.

[0083] The design drawings in this application are electronic design drawings.

[0084] Electronic design drawings are design drawings in electronic form.

[0085] Each electronic design may include multiple devices.

[0086] It can be understood that one or more devices can constitute a functional module.

[0087] Among them, the device attribute information in the present application may include the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing, and the module naming information of each functional module in the design drawing.

[0088] Step 120, testing the design drawing according to the device attribute information to obtain a test result.

[0089] The device attribute information in the present application may be data information carried by the design drawings when they are generated in the above-mentioned software, or may be data information obtained by the above-mentioned software through image recognition of the design drawings.

[0090] In some embodiments, the design drawings may be inspected based on the data information carried in the design drawings.

[0091] In some embodiments, the design drawings may be detected by using data information obtained by identifying the design drawings.

[0092] In some embodiments, the design drawings may also be detected by combining the data information carried in the design drawings with the data information obtained by identifying the design drawings.

[0093] The focus of this application is on how to perform the detection, and there is no specific limitation on the data extraction process in the design drawings, as long as the data information extraction of the design drawings can be completed.

[0094] Among them, each device in the design drawings of this application has certain attribute information itself, as well as attribute information input by relevant personnel according to requirements during design.

[0095] In some embodiments, the connecting line is also a device, and the software can obtain the connection status of the device, that is, whether the connecting line is connected to any two interfaces (input ends, output ends or other functional ends required according to actual needs) of other devices.

[0096] The detection in this application may include bit number duplication detection, pin connection detection, package version number detection, position detection and naming detection, etc.

[0097] Among them, the bit number duplication detection is used to detect whether there is bit number duplication in all devices in the design drawing. If it exists, it is abnormal, otherwise it is normal.

[0098] Pin connection detection is used to detect whether there are any unconnected pins in all devices in the design drawings. If so, it is abnormal, otherwise it is normal.

[0099] Package version number detection is used to detect whether all devices in the design drawings are the latest package versions.

[0100] Position detection is used to detect whether all the components in the design drawing are located in the specified area.

[0101] Naming detection is used to detect whether the naming of all functional modules in the design drawings conforms to the naming rules set in advance based on actual needs.

[0102] Step 130, when it is determined that the test result is normal, the design drawings are archived.

[0103] After obtaining the test results, if it is determined that the test results are normal, the design drawings can be archived.

[0104] Archiving means storing the design drawings in a specified location, such as in a specified folder in a specified storage space.

[0105] It should be noted that when archiving design drawings, it is also necessary to obtain the attribute information of the archived drawings, which is subsequently referred to as drawing attribute information.

[0106] The drawing attribute information in this application can be divided into two parts, one part is the information entered manually, and the other part is the information recorded by the software during the archiving process.

[0107] Manually entered attribute information may include:

[0108] Usage scenario (scenario can be platform and / or product), used to indicate the platform and / or product to which the archived design drawings are applied;

[0109] Creator, which is used to indicate the engineer who initiated the request for archiving drawings;

[0110] Drawing version number, used to indicate the version of the archived drawing. The version number is used to distinguish iterative upgrades;

[0111] Core device model, which may be the model of a core chip, such as a power chip, a main control chip, etc.;

[0112] Design guidance document, used to guide other engineers who borrow the drawing to carry out design.

[0113] It can also include failure case analysis files. If the archived design drawings have failure cases during the design phase, the relevant personnel need to upload a failure case analysis file for other engineers to read to avoid making the same mistakes during secondary development.

[0114] The attribute information recorded by the software may include:

[0115] Archive drawing name, that is, the file name of the archive drawing automatically captured by the software;

[0116] Creation time, which is the time information automatically brought out by the software based on the current time when the design drawing is archived;

[0117] Total cost. Each device in the device library of this application can have its own cost attribute. Therefore, the total cost can be obtained by capturing the cost attributes of all devices through software and adding up the cost attributes of all devices to obtain the total cost.

[0118] The number of functional modules: The software of this application can capture the annotations corresponding to all functional modules in the design drawings (i.e., module naming information) and count the number of annotations corresponding to each functional module. For example, the software can count that the design drawings include 1 main control module, 2 power modules, 4 driver modules, 6 interface modules, etc.

[0119] The above-mentioned drawing attribute information can be called by users after being formed, and output when called for relevant personnel to view.

[0120] According to the design drawing archiving method of the embodiment of the present application, the design drawings are inspected through device attribute information such as the position number of each device in the design drawings to be archived, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings, and the module naming information of each functional module in the design drawings. When the inspection result of the design drawings is normal, they are archived to avoid archiving of erroneous design drawings. Production based on the archived design drawings can avoid quality accidents in the produced products.

[0121] Based on the above embodiments, Figure 2 : is a schematic diagram of the detection process in the design drawing archiving method provided in the embodiment of the present application, such as Figure 2 As shown, the above step 120 may include:

[0122] Step 121, based on the bit number of each device in the device attribute information, perform bit number duplication detection on the design drawing;

[0123] The present application can detect the duplication of bit numbers in design drawings by determining whether there are duplications in the bit numbers of each device in the device attribute information.

[0124] The result of the bit number duplication detection may be normal or abnormal.

[0125] Step 122, based on the pin connection status of each device in the device attribute information, perform pin connection detection on the design drawing;

[0126] In actual design, some device pins may not be used and do not need to be connected. In this case, relevant personnel can set preset identifiers at the corresponding pins.

[0127] If it is detected that a preset mark, such as "X", exists on a pin of the device, there is no need to perform a pin connection detection on the pin.

[0128] The present application can detect pin connection on the design drawing by determining whether there is any pin whose connection state is that there is no connection with any other called pin among the pins of each device in the device attribute information.

[0129] The present application can determine whether the corresponding pin is called by identifying whether there is a preset mark on each pin in the design drawing. The preset mark can be a mark set according to actual needs to indicate whether the pin is called.

[0130] If the pin has a preset mark in the design drawing, it is determined that the pin has not been called, otherwise it is determined that the pin has been called.

[0131] The result of the pin connection detection may be normal or abnormal.

[0132] Reference Figure 3 , Figure 3 is a schematic diagram of a scenario in which a preset mark exists in a design drawing in the design drawing detection method provided in an embodiment of the present application, such as Figure 3 As shown, the device with the bit number E1 has 6 pins, namely pin 11, pin 12, pin 13, pin 14, pin 15, and pin 16.

[0133] Among them, a preset mark "X" is set on pin 14, then it can be determined that pin 14 is not called, and the remaining pins 11, pin 12, pin 13, pin 15 and pin 16 are all called.

[0134] Step 123, based on the package version number of each device in the device attribute information, perform package version number detection on the design drawing;

[0135] In the present application, the package version number detection of the design drawing can be achieved by determining whether the package version number of each device in the device attribute information is the latest version number.

[0136] Among them, the package version number detection includes normal and abnormal. If the package version number of each device in the device attribute information is the latest version, it is normal; if the package version number of any device in the device attribute information is not the latest version, it is abnormal.

[0137] Step 124, based on the position information of each device in the device attribute information, perform position detection on the design drawing;

[0138] The present application can implement position detection on the design drawing by determining whether all devices in the device attribute information of the design drawing are located in a specified area.

[0139] If all the devices in the device attribute information of the design drawing are located within the specified area, the result of the position detection is determined to be normal.

[0140] If any device in the device attribute information of the design drawing is located outside the specified area, the result of the position detection is determined to be abnormal.

[0141] Step 125, based on the module naming information of each functional module in the device attribute information, perform naming detection on the design drawing;

[0142] Any module is composed of at least one device.

[0143] In the present application, the naming detection of the design drawings can be achieved by determining whether the module naming information of each functional module in the device attribute information conforms to the naming rules pre-set according to actual needs.

[0144] If the module naming information of each functional module in the device attribute information complies with the naming rules pre-set according to actual needs, it is determined that the result of the naming detection of the design drawing is normal.

[0145] If the module naming information of any functional module in the device attribute information does not conform to the naming rules pre-set according to actual needs, it is determined that the result of the naming detection of the design drawing is abnormal.

[0146] Step 126, when the results of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection, and the naming detection are all normal, determining that the detection result is normal;

[0147] In the present application, when it is determined that the results of the bit number duplication detection, pin connection detection, package version number detection and position detection are all normal, it is determined that the detection result of the design drawing is normal.

[0148] Step 127 , when any result of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection and the naming detection is abnormal, determine that the detection result is abnormal.

[0149] In the present application, if any result of the bit number duplication detection, pin connection detection, package version number detection and position detection is determined to be abnormal, then the detection result of the design drawing is determined to be abnormal.

[0150] For example: if the result of the bit number duplication detection is abnormal, while the results of the pin connection detection, the package version number detection and the position detection are normal, then it is determined that the detection result of the design drawing is abnormal.

[0151] For another example: if the results of the bit number duplication detection, pin connection detection, and package version number detection are all normal, but the result of the position detection is abnormal, then the detection result of the design drawing is determined to be abnormal.

[0152] This embodiment performs multi-dimensional detection on the design drawings, such as bit number duplication detection, pin connection detection, package version number detection, etc., to comprehensively detect the design drawings and obtain accurate detection results. When the detection results are normal, they are archived to avoid archiving of erroneous design drawings. Production is carried out based on the archived design drawings to avoid quality accidents in the produced products.

[0153] In some embodiments, the above step 121 may include:

[0154] Step 1211, comparing the bit numbers of the components in the component attribute information in pairs;

[0155] In actual production, it is impossible for two components with the same position number to appear in a design drawing. Otherwise, the production side will not know which position a component should be placed in, which will cause confusion on the production side and prevent normal production. Based on this, it will be sent back to the design side for revision, delaying the project progress.

[0156] Therefore, it is necessary to perform a duplicate detection of the device's bit numbers and report errors for any bit numbers that appear repeatedly in the design drawings.

[0157] In the present application, the bit numbers of the components in the component attribute information can be compared two by two to determine whether there are any two identical bit numbers among the bit numbers of the components.

[0158] In the present application, for each device bit number, the bit number of the device can be compared with the bit numbers of all other devices one by one to determine whether the bit number of the device is the same as the bit number of any other device.

[0159] Step 1212: If the bit numbers of all the components in the component attribute information are different, it is determined that the result of the bit number duplication detection of the design drawing is normal.

[0160] After the comparison is completed, if the bit numbers of all devices are different from the bit numbers of any other devices, the result of the bit number duplication detection of the design drawing is determined to be normal.

[0161] If it is determined that there are any two devices with the same bit number in the device attribute information, then the result of the bit number duplication detection of the design drawing is determined to be abnormal.

[0162] If the result of the repeated detection of the bit number of the design drawing is abnormal, the abnormal items can be output. Specifically, the abnormal cause, bit number (as an abnormal object), material number and position of the device with the same bit number in the design drawing can be output as a group of abnormal items. Among them, the material number of the device can include the material code and the material model. The material code is the code of the material, and the material model is the model of the material.

[0163] Reference Figure 4 , Figure 4 is a schematic diagram of a scenario in which there are repeated device position numbers in a design drawing in the design drawing archiving method provided in an embodiment of the present application, such as Figure 4 As shown, the design drawing includes ground GND, power supply VCC, a device with position number E1, and another device with position number E1. Since there are two devices with the same position number in the design drawing, the result of the position number duplication detection of the design drawing is determined to be abnormal.

[0164] In one embodiment, the abnormal items output in the present application may include the cause of the abnormality, the abnormal object (ie, the position number of the device), the material number (including the material code and the material model), and the position in the design drawing.

[0165] Reference Figure 5 , Figure 5 is a schematic diagram of outputting information of abnormal matters when there are repeated device bit numbers in the design drawings in the design drawing archiving method provided in the embodiment of the present application, such as Figure 5 As shown, there may be 2 abnormal items. The reason for the first abnormal item is the duplication of component position numbers. The position number is E1, the material code is 111, and the material model is E-001, and the position in the design drawing is (4200,5500). The reason for the second abnormal item is the duplication of component position numbers. The position number is E1, the material code is 111, and the material model is E-001, and the position in the design drawing is (4700,5500).

[0166] If the result of the repeated inspection of the position number of the design drawing is normal, the design drawing will be archived when it is determined that the results of other inspections are also normal.

[0167] This embodiment can accurately detect duplicate bit numbers on design drawings based on the bit numbers of each device in the device attribute information, avoid archiving of erroneous design drawings, and produce based on archived design drawings to avoid quality accidents in the produced products.

[0168] In some embodiments, the above step 122 may include:

[0169] Step 1221, if it is determined that in the pin connection state of the device attribute information, there is a connection between any called pin and any other called pin, it is determined that the result of the pin connection detection of the design drawing is normal.

[0170] In actual testing and production, if there is a break in the design drawing, it will cause test failure and even cause product problems.

[0171] Therefore, it is necessary to perform pin connection detection to detect the connection status of all pins in the design drawing and report errors for devices whose pins are not connected.

[0172] In this application, the pins called in each device can be identified.

[0173] For each called pin, it can be determined whether the pin connection state of the pin is connected with any other called pin.

[0174] If all pins are connected to any other called pins, the result of the pin connection detection of the design drawing is determined to be normal.

[0175] If the pin connection state of any pin among all the called pins is that there is no connection between it and any other called pins, then the result of the pin connection detection of the design drawing is determined to be abnormal.

[0176] If the result of the pin connection detection of the design drawing is abnormal, the abnormal items can be output. Specifically, the abnormal reason, the position number, the material number and the position in the design drawing of the device corresponding to the pin whose pin connection state is that there is no connection between any other called pins can be output as a group of abnormal items.

[0177] Reference Figure 6 , Figure 6 is a schematic diagram of a scenario in which a pin connection abnormality exists in a design drawing in the design drawing archiving method provided in an embodiment of the present application, such as Figure 6 As shown, the design drawing includes ground GND, power VCC, a device with position C1, and another device with position C2. Since each pin of the device with position GND, power VCC, and position C1 has been connected to any called pin, and there is a pin in the device with position C2 that is not connected to any called pin, the device with position C2 has a pin connection anomaly.

[0178] based on Figure 6 An exception item can be output, which can be: Exception reason: There is an empty pin in the component, the position number is: C2, the material code is 111, the material model is C-001, and the position in the design drawing is (4900,5400).

[0179] In some embodiments, when performing pin connection detection on a design drawing, the present application can not only determine whether the pin connection status of a called pin in the device is connected to any other called pin, but also obtain the pin connection status of each port and network label in the design drawing.

[0180] And further determine whether the pin connection status of each port and / or each network label is connected with any other called pin. If so, the result of the pin connection detection of the design drawing is normal. Otherwise, the result of the pin connection detection of the design drawing is abnormal.

[0181] This embodiment can accurately detect the pin connection status of each device in the device attribute information, avoid archiving of erroneous design drawings, and produce according to the archived design drawings to avoid quality accidents in the produced products.

[0182] In some embodiments, the above step 123 may include:

[0183] Step 1231, retrieve the version number of each device from the package version library;

[0184] Due to the continuous improvement of device process requirements, the version number of the device package in the package version library will be updated from time to time. When creating a package version library, each device package has a version number. When a device package is upgraded, the version number will also be upgraded.

[0185] In some cases, after an engineer calls a device in the package version library, the package of the device is updated, but the engineer is not aware of it. Therefore, it is necessary to check the package version numbers of all devices before archiving the design drawings to ensure that the version numbers of each device are the latest.

[0186] On this basis, the present application can retrieve the storage version number corresponding to each device in the device attribute information from the package version library.

[0187] Step 1232, comparing the package version number of each device in the device attribute information with the respective storage version number;

[0188] After obtaining the package version number of each device in the device attribute information and the inventory version number corresponding to each device in the design drawing in the package version library, the package version number of each device in the device attribute information can be compared with their respective inventory version numbers to determine whether the package version number of each device in the device attribute information is the latest package version number.

[0189] When comparing the version numbers, a judgment can be made based on the version number update rules of the device. For example, if the larger the value of the version number, the newer the version, the package version number of the device is compared with the storage version number. If the package version number of the device is the same as the storage version number, it is determined that the package version of the device is the latest; if the package version number of the device is smaller than the storage version number, it is determined that the package version of the device is not the latest.

[0190] It should be noted that the package version of the device in the package version library when it is entered into the library can only be the same as the device in the design drawing or newer than the package version of the device in the design drawing. It is impossible that the package version of the device in the package version library when it is entered into the library is older than the package version of the device in the design drawing.

[0191] Therefore, if the package version number of the device is different from the inventory version number, it can be determined that the package version of the device is not the latest.

[0192] Step 1233: If it is determined that the comparison results of the version numbers of the components are the same, then it is determined that the result of the package version number detection of the design drawing is normal.

[0193] After completing the version number comparison, if it is determined that the package version number of each device is the same as its respective inventory version number, it can be determined that the package version of each device is the latest version, and further it can be determined that the result of the package version number detection of the design drawing is normal.

[0194] If it is determined that the package version number of any device is different from the corresponding inventory version number, then the result of the package version number detection of the design drawing is determined to be abnormal.

[0195] If the result of the package version number detection of the design drawing is abnormal, the abnormal matters can be output. Specifically, the abnormal reason, the bit number, the material number and the position in the design drawing of the device whose package version is not the latest can be output together as a group of abnormal matters.

[0196] It should be noted that if the package version of the device is not the latest, the engineer must make all the modifications correctly, and the design drawings are not allowed to show the package version of the device is not the latest.

[0197] If the result of the package version number test of the design drawing is normal, the design drawing will be archived when it is determined that the results of other tests are also normal.

[0198] This embodiment can accurately detect the package version number of the design drawings through the package version number of each device in the device attribute information, avoid archiving of erroneous design drawings, and produce through the archived design drawings to avoid quality accidents in the produced products.

[0199] In some embodiments, the above step 124 may include:

[0200] Step 1241: If, based on the position information of each device in the device attribute information, it is determined that each device is at least located within any preset position range, then the result of the position detection of the design drawing is determined to be normal.

[0201] Since different functional modules are designed separately during the design process, such as the power module, inspection module, drive module, etc., the design drawings can look clear.

[0202] Furthermore, each functional module is connected in the drawing through the port. When designing electronic design drawings, engineers will put each functional module in a functional box. For example, if there are ten functional modules, they will be placed in the corresponding ten functional boxes. This ensures that each functional module can be distinguished and engineers can better distinguish each functional module.

[0203] In the present application, the position information of each device in the design drawing can be obtained. At the same time, the position range corresponding to the area where each functional box is located can be obtained, that is, the position range formed by the functional box in the design drawing, and used as a preset position range.

[0204] Furthermore, the position information of each device in the design drawing is compared with each preset position range to determine whether each device is within any preset position range.

[0205] If it is determined that each device is at least located within any preset position range, then the result of the position detection of the design drawing is determined to be normal.

[0206] If it is determined that any device is outside all preset position ranges, then the result of the position detection of the design drawing is determined to be abnormal.

[0207] If the result of the position detection of the design drawing is abnormal, the abnormal items can be output. Specifically, the abnormal reasons, position numbers, material numbers and positions of the components outside all preset position ranges in the design drawing can be output together as a group of abnormal items.

[0208] It should be noted that for the situation where the device is outside all preset position ranges, the engineer must make all modifications correctly, and the device is not allowed to be outside the box in the design drawings.

[0209] If the result of the position detection of the design drawing is normal, the design drawing will be archived when it is determined that the results of other tests are also normal.

[0210] Reference Figure 7 , Figure 7 is a schematic diagram of a scenario in which a position abnormality exists in a design drawing in the design drawing archiving method provided in an embodiment of the present application, such as Figure 7 As shown, the design drawing includes function box 1, function box 2, function box 3, function box 4 and a device with a position number of D1. After comparing the position of the device with the position number of D1 with the preset position ranges corresponding to each function box, it is determined that the device with the position number of D1 is outside all the preset position ranges, that is, not in any function box, and then the result of the position detection of the design drawing is determined to be abnormal.

[0211] This embodiment can accurately detect the position of the design drawings through the position information of each device in the device attribute information, avoid archiving of erroneous design drawings, and produce through the archived design drawings to avoid quality accidents in the produced products.

[0212] In some embodiments, the above step 125 may include:

[0213] Step 1251, obtaining module naming information of each functional module in the device attribute information;

[0214] This application requires engineers to name each functional module of the design drawings according to certain rules during the design process.

[0215] Therefore, the engineer may first create a comment as the module naming information, wherein the format of the comment may be, for example: "number"-"number"-"text".

[0216] The first number represents: the code of the functional module. The second number represents: the number of times this type of functional module appears in the drawing. The text part represents: the name of the functional module, which can be a fixed name. For example, it can be: 2-1-power module. According to the module naming information of the functional module, it can be known that this functional module is the first power module in the design drawing.

[0217] Therefore, the present application can identify the annotations of each functional module in the device attribute information, and obtain the module naming information of each functional module after the identification is completed.

[0218] Step 1252: If it is determined that all module naming information in the device attribute information is normal based on the pre-set naming rule for naming the functional modules, then it is determined that the result of the naming detection of the design drawing is normal.

[0219] Furthermore, it is determined one by one whether the module naming information of each functional module in the device attribute information complies with a preset naming rule for naming the functional modules.

[0220] If it is determined that the module naming information of each functional module in the device attribute information complies with the pre-set naming rules for naming the functional modules, then it is determined that all the module naming information in the device attribute information is normal, and further it can be determined that the result of the naming detection of the design drawing is normal.

[0221] If it is determined that the module naming information of any functional module in the device attribute information does not comply with the pre-set naming rules for the functional modules, then it is determined that the module naming information of the functional module in the device attribute information is abnormal, and the result of the naming detection of the design drawing can be determined to be abnormal.

[0222] A naming convention in this application may include:

[0223] 1. Determine whether the module naming information conforms to the format of "number"-"number"-"text";

[0224] 2. Determine whether the first number and the text part correspond to each other.

[0225] In some embodiments, the correspondence between the first number and the text part in the naming rule may be as shown in Table 1 below:

[0226] Table 1

[0227]

[0228]

[0229] If the module naming information of the functional module satisfies the above two requirements at the same time, it is determined that the module naming information of the functional module is normal, otherwise it is abnormal.

[0230] If the result of the naming detection of the design drawing is abnormal, the abnormal matters can be output. Specifically, the abnormal reasons of the functional modules with abnormal module naming information and their module naming information can be output together as a group of abnormal matters.

[0231] It should be noted that if the module naming information of the functional module is abnormal, the engineer must modify it correctly, and abnormal module naming information of the functional module is not allowed to appear in the design drawings.

[0232] If the result of the naming test of the design drawing is normal, the design drawing will be archived when it is determined that the results of other tests are also normal.

[0233] This embodiment can accurately perform naming detection on design drawings through the module naming information of each functional module in the device attribute information, avoid archiving of erroneous design drawings, and produce through archived design drawings to avoid quality accidents in the produced products.

[0234] Based on the above embodiment, after step 130, the following steps may also be included:

[0235] Step 140: construct a parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing.

[0236] It should be noted that after completing the archiving of the design drawings, the present application can obtain the archived drawings corresponding to the design drawings. At the same time, a parameter attribute mapping file of the design drawings can also be constructed based on the drawing attribute information and the device attribute information.

[0237] Furthermore, the parameter attribute mapping file may be associated with the design drawing.

[0238] The parameter attribute mapping file includes drawing attribute information and device attribute information; the drawing attribute information is formed after the design drawings to be archived are archived, including at least one attribute information of usage scenario, creator, drawing version number, core device model, design guide file, archived drawing name, creation time, total cost, and number of functional modules.

[0239] When the archived design drawings need to be modified later, the differences between the device attribute information in the new design drawings and the device attribute information in the parameter attribute mapping file can be confirmed.

[0240] Based on the above embodiment, after step 140, the following steps may also be included:

[0241] Step 150, receiving a design drawing update instruction; the design drawing update instruction is used to instruct to update the design drawing based on the update drawing;

[0242] In the present application, a design drawing update instruction may be received for instructing to update the design drawing based on the update drawing.

[0243] It can be understood that the design drawing update instruction may include the name of the design drawing and relevant information of the updated drawing, which may include device attribute information of the updated drawing.

[0244] Step 160, responding to the design drawing update instruction, obtaining the parameter attribute mapping file of the design drawing, and comparing the device attribute information in the parameter attribute mapping file with the device attribute information of the updated drawing;

[0245] After receiving the design drawing update instruction, the parameter attribute mapping file corresponding to the design drawing can be obtained according to the association relationship between the design drawing and the parameter attribute mapping file.

[0246] Furthermore, the device attribute information in the parameter attribute mapping file may be compared with the device attribute information of the updated drawing to determine whether there is a difference between the updated drawing and the design drawing.

[0247] Specifically, a corresponding comparison can be made between various information such as the bit number, material code, material description, position in the drawing, and the functional module to which it belongs in the attribute information of the two devices.

[0248] Step 170, if the device attribute information in the parameter attribute mapping file is different from the device attribute information of the updated drawing, then output the difference information between the device attribute information in the parameter attribute mapping file and the device attribute information of the updated drawing;

[0249] If the device attribute information in the parameter attribute mapping file is different from the device attribute information in the updated drawing after the comparison, the difference information between the two device attribute information is output. The two device attribute information include the device attribute information in the parameter attribute mapping file and the device attribute information in the updated drawing.

[0250] After the difference information is output, relevant personnel can confirm the difference information.

[0251] Step 180: receiving a confirmation instruction based on the difference information, obtaining drawing attribute information of the updated drawing, and updating the drawing attribute information in the parameter attribute mapping file according to the drawing attribute information of the updated drawing.

[0252] If a confirmation instruction generated by a relevant person confirming the difference information is received, the drawing attribute information of the updated drawing is obtained.

[0253] Furthermore, the drawing attribute information in the parameter attribute mapping file is updated according to the drawing attribute information of the updated drawing.

[0254] The updated drawing attribute information may include:

[0255] The change person is the engineer who performs the iterative change archive drawing operation;

[0256] The new version number is used to distinguish it from the old version number and must be upgraded for each iterative update;

[0257] Change point description, the difference between the new version and the old version described by the engineer in words;

[0258] Change time: the software automatically records the time when the iterative change occurs;

[0259] The new total cost, each device in the device library has its own cost attribute. The total cost of the newly archived drawing can be captured by the software to obtain the cost of all devices and calculate the total cost, which is convenient for engineers to compare it with the total cost of the old version.

[0260] In some embodiments, the design drawing is tested according to the device attribute information. After the test result is obtained, the following steps are iteratively performed until the target result is determined to be normal, so as to archive the modified drawing:

[0261] When the test result is determined to be abnormal, the abnormal items of the design drawing are output;

[0262] Obtain modified drawings based on feedback from abnormal events, detect the modified drawings according to device attribute information of the modified drawings, and obtain target results.

[0263] This application outputs the abnormal items of the design drawings when the detection results are determined to be abnormal.

[0264] At this time, relevant personnel can refer to the output abnormal matters, adjust the design drawings, form modified drawings, and re-test the modified drawings to obtain corresponding test results. If the test result is abnormal, the corresponding abnormal matters are output again, and relevant personnel can refer to them to modify the drawings, and obtain new modified drawings, test the new modified drawings, and obtain corresponding test results, and so on, until it is determined that the test results are normal, and the drawings with normal test results are archived.

[0265] This embodiment can ensure the quality of archived design drawings by iteratively updating and maintaining design drawings, reduce the workload of each design drawing, and improve the efficiency of drawing design.

[0266] The present application also provides a design drawing indexing method, comprising:

[0267] Receiving a design drawing query instruction, indexing information according to keywords in the design drawing query instruction;

[0268] The keywords are formed based on the drawing attribute information; the drawing attribute information includes at least one of the following: usage scenario, creator, drawing version number, core device model, design guide file, archived drawing name, creation time, total cost, and number of functional modules;

[0269] If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword;

[0270] Among them, the design drawings are archived using the above-mentioned design drawing archiving method.

[0271] It should be noted that the executor of the design drawing indexing method provided in the embodiment of the present application can be a server, a computer device, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc.

[0272] The present application may provide software for indexing design drawings. The software may be arranged in the above-mentioned execution subject and may be used to execute the design drawing indexing method in the present application.

[0273] In this application, relevant personnel can form keywords based on one or more of the drawing attribute information including usage scenario, creator, drawing version number, core component model, archived drawing name, and creation time.

[0274] The keywords may be all the information of one or more of the following: usage scenario, creator, drawing version number, core device model, archived drawing name, and creation time; or they may be partial information corresponding to multiple items, or even partial information in one item.

[0275] Relevant personnel can enter keywords in the software, and the software will automatically generate design drawing query instructions.

[0276] Furthermore, information indexing can be performed based on keywords in the design drawing query instruction, and the keywords can be compared with specific information in each drawing attribute information. If it is determined that information corresponding to the keyword exists, the design drawing associated with the information is determined.

[0277] Furthermore, the drawing information of the above-determined design drawing is obtained and output.

[0278] The drawing information may include the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword.

[0279] In some embodiments, engineers can index archived drawings by entering keywords, which may include:

[0280] Archived drawing creator / changer, the person who creates or changes the archived drawing;

[0281] Archive drawing name. When searching, you do not need to write the full name. You can also write some fields in the middle of the name as keywords.

[0282] When using a platform / product, you do not need to write the full name when searching. You can also use only some fields in the middle of the name as keywords.

[0283] Core device model. You do not need to write the complete model when searching. You can also write some fields in the middle of the model as keywords.

[0284] Change time, fill in the time range, for example: before October 2022.

[0285] After successful indexing, the software can output the most recently updated archived drawings (if there is no update record, the original archived drawings will be displayed), archived drawing names, most recently updated drawing version numbers (if there is no update record, the original version number will be displayed), platform / product used, creator, creation time, changer (if there is no change, it will not be displayed), change time (if there is no change, it will not be displayed), design guidance files, and failure case analysis files (if there is no change, it will not be displayed).

[0286] This embodiment searches for design drawings using keywords formed from the drawing attribute information carried by the archived design drawings, which can ensure the quality of the borrowed design drawings, reduce errors in drawing design, and improve the design efficiency of the design drawings.

[0287] Figure 8 is a schematic diagram of the structure of the design drawing archiving device provided in the embodiment of the present application, such as Figure 8 As shown, the design drawing filing device comprises:

[0288] The acquisition module 810 is used to acquire device attribute information of all devices in the design drawing to be archived;

[0289] A detection module 820, configured to detect the design drawing according to the device attribute information to obtain a detection result;

[0290] The archiving module 830 is used to archive the design drawings when it is determined that the detection results are normal; the device attribute information includes the position number of each device in the design drawings, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings and the module naming information of each functional module in the design drawings.

[0291] According to the design drawing archiving device of the embodiment of the present application, the design drawings are inspected through device attribute information such as the position number of each device in the design drawings to be archived, the pin connection status of each device in the design drawings, the package version number of each device, the position information of each device in the design drawings, and the module naming information of each functional module in the design drawings. When the inspection result of the design drawings is normal, they are archived to avoid archiving of erroneous design drawings. Production based on the archived design drawings can avoid quality accidents in the produced products.

[0292] Based on any of the above embodiments, the detection module 820 is specifically used for:

[0293] Based on the bit number of each device in the device attribute information, performing bit number duplication detection on the design drawing;

[0294] Based on the pin connection status of each device in the device attribute information, performing pin connection detection on the design drawing;

[0295] Based on the package version number of each device in the device attribute information, performing package version number detection on the design drawing;

[0296] Based on the position information of each device in the device attribute information, performing position detection on the design drawing;

[0297] Based on the module naming information of each functional module in the device attribute information, the design drawing is subjected to naming detection; any module is composed of at least one device;

[0298] When the results of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection, and the naming detection are all normal, it is determined that the detection result is normal.

[0299] Based on any of the foregoing embodiments, the detection module 820 includes a first detection unit, where the first detection unit is configured to:

[0300] Comparing the bit numbers of the devices in the device attribute information in pairs;

[0301] If the bit numbers of all the components in the component attribute information are different, it is determined that the result of the bit number duplication detection of the design drawing is normal.

[0302] Based on any of the foregoing embodiments, the detection module 820 includes a second detection unit, where the second detection unit is configured to:

[0303] If it is determined that in the pin connection state of the device attribute information, there is a connection between any called pin and any other called pin, it is determined that the result of the pin connection detection of the design drawing is normal.

[0304] Based on any of the foregoing embodiments, the detection module 820 includes a third detection unit, and the third detection unit is used to:

[0305] Retrieve the version number of each device from the package version library;

[0306] Compare the package version number of each device in the device attribute information with the respective storage version number;

[0307] If it is determined that the results of the version number comparison of each device are the same, then it is determined that the result of the package version number detection of the design drawing is normal.

[0308] Based on any of the foregoing embodiments, the detection module 820 includes a fourth detection unit, and the fourth detection unit is used to:

[0309] If it is determined based on the position information of each device in the device attribute information that each device is at least located within any preset position range, then the result of the position detection of the design drawing is determined to be normal.

[0310] Based on any of the foregoing embodiments, the detection module 820 includes a fifth detection unit, and the fifth detection unit is used to:

[0311] Obtaining the module naming information of each functional module in the device attribute information;

[0312] If it is determined that all the module naming information in the device attribute information is normal based on a pre-set naming rule for naming the functional modules, then it is determined that the result of the naming detection of the design drawing is normal.

[0313] Based on any of the above embodiments, the detection module 820 includes an iteration unit, and the iteration unit is used to:

[0314] When it is determined that the detection result is abnormal, outputting the abnormal matters of the design drawing;

[0315] Obtain a modified drawing based on the feedback of the abnormal matter, detect the modified drawing according to the device attribute information of the modified drawing, and obtain a target result.

[0316] Based on any of the above embodiments, the archiving module 830 is further used for:

[0317] Constructing a parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing;

[0318] The parameter attribute mapping file includes drawing attribute information and device attribute information; the drawing attribute information is formed after the design drawings to be archived are archived, including at least one attribute information of usage scenario, creator, drawing version number, core device model, design guidance file, archived drawing name, creation time, total cost, and number of functional modules.

[0319] Based on any of the above embodiments, the archiving module 830 further includes an updating unit, and the updating unit is used to:

[0320] Receiving a design drawing update instruction; the design drawing update instruction is used to instruct to update the design drawing based on the update drawing;

[0321] In response to the design drawing update instruction, obtaining a parameter attribute mapping file of the design drawing, and comparing the device attribute information in the parameter attribute mapping file with the device attribute information of the update drawing;

[0322] If the device attribute information in the parameter attribute mapping file is different from the device attribute information of the updated drawing, then outputting the difference information between the device attribute information in the parameter attribute mapping file and the device attribute information of the updated drawing;

[0323] A confirmation instruction based on the difference information is received, drawing attribute information of the updated drawing is acquired, and drawing attribute information in the parameter attribute mapping file is updated according to the drawing attribute information of the updated drawing.

[0324] The embodiment of the present application provides a design drawing archiving device, the design drawing archiving device comprising:

[0325] An indexing module, for receiving a design drawing query instruction, and performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, a design guide file, an archived drawing name, a creation time, a total cost, and a number of functional modules;

[0326] An output module is used to output the drawing information of the design drawing corresponding to the keyword if there is a design drawing corresponding to the keyword; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword; wherein the design drawing is archived using the above-mentioned design drawing archiving method.

[0327] According to the design drawing archiving device of the embodiment of the present application, by performing design drawing queries through keywords formed by drawing attribute information carried by the archived design drawings, the quality of the borrowed design drawings can be ensured, errors in drawing design can be reduced, and the design efficiency of the design drawings can be improved.

[0328] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the following method: obtaining device attribute information of all devices in the design drawing to be archived;

[0329] Detecting the design drawing according to the device attribute information to obtain a detection result;

[0330] When it is determined that the test result is normal, archiving the design drawing;

[0331] The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing and the module naming information of each functional module in the design drawing.

[0332] or:

[0333] Receiving a design drawing query instruction, and then performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, an archived drawing name, and a creation time;

[0334] If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword;

[0335] Wherein, the design drawings are archived using the above-mentioned design drawing archiving method.

[0336] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0337] On the other hand, an embodiment of the present application discloses a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can perform the methods provided by the above-mentioned method embodiments, for example, including: obtaining device attribute information of all devices in the design drawings to be archived;

[0338] Detecting the design drawing according to the device attribute information to obtain a detection result;

[0339] When it is determined that the test result is normal, archiving the design drawing;

[0340] The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing and the module naming information of each functional module in the design drawing.

[0341] or:

[0342] Receiving a design drawing query instruction, and then performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, an archived drawing name, and a creation time;

[0343] If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword;

[0344] Wherein, the design drawings are archived using the above-mentioned design drawing archiving method.

[0345] In another aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method provided by the above embodiments is implemented, for example, including: obtaining device attribute information of all devices in the design drawing to be archived;

[0346] Detecting the design drawing according to the device attribute information to obtain a detection result;

[0347] When it is determined that the test result is normal, archiving the design drawing;

[0348] The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing and the module naming information of each functional module in the design drawing.

[0349] or:

[0350] Receiving a design drawing query instruction, and then performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, an archived drawing name, and a creation time;

[0351] If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword;

[0352] Wherein, the design drawings are archived using the above-mentioned design drawing archiving method.

[0353] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0354] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0355] Finally, it should be noted that the above implementation modes are only used to illustrate the present application, rather than to limit the present application. Although the present application is described in detail with reference to the embodiments, a person skilled in the art should understand that various combinations, modifications or equivalent substitutions of the technical solutions of the present application do not depart from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.

Claims

1. A design drawing archiving method, characterized in that: include: Obtain device attribute information of all devices in the design drawings to be archived; Detecting the design drawing according to the device attribute information to obtain a detection result; When it is determined that the test result is normal, archiving the design drawing; The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing, and the module naming information of each functional module in the design drawing; The step of testing the design drawing according to the device attribute information to obtain a test result includes: Based on the bit number of each device in the device attribute information, performing bit number duplication detection on the design drawing; Based on the pin connection status of each device in the device attribute information, performing pin connection detection on the design drawing; Based on the package version number of each device in the device attribute information, performing package version number detection on the design drawing; Based on the position information of each device in the device attribute information, performing position detection on the design drawing; Based on the module naming information of each functional module in the device attribute information, the design drawing is subjected to naming detection; any module is composed of at least one device; When the results of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection, and the naming detection are all normal, it is determined that the detection result is normal.

2. The design drawing archiving method according to claim 1, characterized in that: The performing bit number duplication detection on the design drawing based on the bit number of each device in the device attribute information includes: Comparing the bit numbers of the devices in the device attribute information in pairs; If the bit numbers of all the components in the component attribute information are different, it is determined that the result of the bit number duplication detection of the design drawing is normal.

3. The design drawing archiving method according to claim 1, characterized in that: The step of performing pin connection detection on the design drawing based on the pin connection status of each device in the device attribute information includes: If it is determined that in the pin connection state of the device attribute information, there is a connection between any called pin and any other called pin, it is determined that the result of the pin connection detection of the design drawing is normal.

4. The design drawing archiving method according to claim 1, characterized in that: The step of detecting the package version number of the design drawing based on the package version number of each device in the device attribute information includes: Retrieve the version number of each device from the package version library; Compare the package version number of each device in the device attribute information with the respective storage version number; If it is determined that the version number comparison results of each device are the same, then it is determined that the result of the package version number detection of the design drawing is normal.

5. The design drawing archiving method according to claim 1, characterized in that: The performing position detection on the design drawing based on the position information of each device in the device attribute information includes: If it is determined based on the position information of each device in the device attribute information that each device is at least located within any preset position range, then the result of the position detection of the design drawing is determined to be normal.

6. The design drawing archiving method according to claim 1, characterized in that: The step of performing naming detection on the design drawing based on the module naming information of each functional module in the device attribute information includes: Obtaining the module naming information of each functional module in the device attribute information; If it is determined that all the module naming information in the device attribute information is normal based on a pre-set naming rule for naming the functional modules, then it is determined that the result of the naming detection of the design drawing is normal.

7. The design drawing archiving method according to claim 1, characterized in that: After the design drawings are filed, it also includes: Constructing a parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing; The parameter attribute mapping file includes drawing attribute information and device attribute information; the drawing attribute information is formed after the design drawings to be archived are archived, including at least one attribute information of usage scenario, creator, drawing version number, core device model, design guidance file, archived drawing name, creation time, total cost, and number of functional modules.

8. The design drawing filing method according to claim 7, characterized in that: After constructing the parameter attribute mapping file of the design drawing to associate the parameter attribute mapping file with the design drawing, the method further includes: Receiving a design drawing update instruction; the design drawing update instruction is used to instruct to update the design drawing based on the update drawing; In response to the design drawing update instruction, obtaining a parameter attribute mapping file of the design drawing, and comparing the device attribute information in the parameter attribute mapping file with the device attribute information of the update drawing; If the device attribute information in the parameter attribute mapping file is different from the device attribute information of the updated drawing, then outputting the difference information between the device attribute information in the parameter attribute mapping file and the device attribute information of the updated drawing; A confirmation instruction based on the difference information is received, drawing attribute information of the updated drawing is acquired, and drawing attribute information in the parameter attribute mapping file is updated according to the drawing attribute information of the updated drawing.

9. The design drawing archiving method according to claim 1, characterized in that: After the design drawing is tested according to the device attribute information and the test result is obtained, the following steps are iteratively performed until the target result is determined to be normal, so as to archive the modified drawing: When it is determined that the detection result is abnormal, outputting the abnormal matters of the design drawing; Obtain a modified drawing based on the feedback of the abnormal matter, detect the modified drawing according to the device attribute information of the modified drawing, and obtain a target result.

10. A design drawing indexing method, characterized in that: include: Receiving a design drawing query instruction, and then performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, an archived drawing name, and a creation time; If there is a design drawing corresponding to the keyword, then the drawing information of the design drawing corresponding to the keyword is output; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword; Wherein, the design drawings are archived using the design drawing archiving method described in any one of claims 1-9.

11. A design drawing archiving device, characterized in that: include: An acquisition module, used to acquire device attribute information of all devices in the design drawings to be archived; A detection module, used to detect the design drawing according to the device attribute information to obtain a detection result; An archiving module, used for archiving the design drawing when it is determined that the detection result is normal; The device attribute information includes the position number of each device in the design drawing, the pin connection status of each device in the design drawing, the package version number of each device, the position information of each device in the design drawing, and the module naming information of each functional module in the design drawing; The detection module is specifically used to perform bit number duplication detection on the design drawings based on the bit number of each device in the device attribute information; to perform pin connection detection on the design drawings based on the pin connection status of each device in the device attribute information; to perform package version number detection on the design drawings based on the package version number of each device in the device attribute information; to perform position detection on the design drawings based on the position information of each device in the device attribute information; to perform naming detection on the design drawings based on the module naming information of each functional module in the device attribute information; any of the modules is composed of at least one of the devices; and when the results of the bit number duplication detection, the pin connection detection, the package version number detection, the position detection and the naming detection are all normal, the detection result is determined to be normal.

12. A design drawing indexing device, characterized in that: include: An indexing module, for receiving a design drawing query instruction, and performing information indexing according to a keyword in the design drawing query instruction; wherein the keyword is formed based on drawing attribute information; the drawing attribute information includes at least one of a usage scenario, a creator, a drawing version number, a core component model, a design guide file, an archived drawing name, a creation time, a total cost, and a number of functional modules; An output module is used to output drawing information of the design drawing corresponding to the keyword if there is a design drawing corresponding to the keyword; the drawing information includes the design drawing corresponding to the keyword, the archived drawing name of the design drawing corresponding to the keyword and / or the drawing attribute information of the design drawing corresponding to the keyword; wherein the design drawing is archived using the design drawing archiving method described in any one of claims 1 to 9.

13. A device, the device being an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the design drawing archiving method as described in any one of claims 1 to 9 or the design drawing indexing method as described in claim 10.

14. A medium, the medium being a non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that: When the computer program is executed by a processor, it implements the design drawing archiving method as described in any one of claims 1 to 9 or the design drawing indexing method as described in claim 10.

15. A product, the product being a computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, it implements the design drawing archiving method as described in any one of claims 1 to 9 or the design drawing indexing method as described in claim 10.