Standardized digital graph conversion method and electronic equipment
By matching and modifying the drawing templates in the standard drawing library, the problems of long drawing time and high error rate in the existing technology are solved, and fast and high-quality standardized digital graph conversion is achieved, and production efficiency is improved.
Patent Information
- Application Number
- CN202411786646.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-29
AI Technical Summary
The existing technology is difficult to efficiently and effectively realize standardized digital graph conversion, resulting in an extended drawing time, high error rate, and increased audit difficulty, which affects production and construction.
By filling in the system basic information configuration table, matching the standard library basic information configuration table, filtering out the only drawing with the most information comparison points as the drawing template, and making minimum modifications on it to generate a system drawing that meets the project needs.
It realizes the rapid and high-quality generation of standardized digital drawings, which reduces the time and error rate of users drawing drawings, and improves the efficiency and production efficiency of drawing review.
Smart Images

Figure CN119903824A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial design process standardization, and in particular to a standardized digital-to-image conversion method and an electronic device. Background Art
[0002] The current industrial design process has not yet achieved demand formatting and standardized production of drawings. The operating mode is basically that engineers check the project requirements and then search for reference drawings or draw them based on experience. The disadvantages of this are that it prolongs the drawing time of the project drawings, increases the error rate of drawings, and increases the difficulty of drawing review. Immature drawings will bring unpredictable difficulties to the production workshop and even the construction site, prolong the project tracking cycle, and consume a lot of manpower and material resources.
[0003] With the increase in the scale and complexity of industrial design, the existing method of generating digital drawings can no longer meet the needs of the work. Therefore, there is an urgent need for a technology to quickly and high-quality generate standardized digital drawings.
[0004] After searching, Chinese invention patent publication number CN118965469A discloses a method and device for generating digital drawings of secondary complex circuit models of power systems, which relates to the technical field of power systems and solves the problems of low efficiency and error-proneness of traditional drawing processing methods in the prior art, as well as time-consuming and laborious maintenance of traditional drawings. The method includes the following steps: creating a model library file and a legend library; loading an SDD model file; establishing an association mapping between the SDD model file and the model library file, establishing an association mapping between the SDD model file and the legend library, and establishing an association mapping between the model library file and the legend library; data processing; based on the above steps, establishing an association mapping between the SDD model file and the legend library to generate a digital drawing. This existing patent has the problem of not being suitable for drawing electrical system diagrams.
[0005] How to achieve standardized digital-graphic conversion efficiently and with high quality has become a technical problem that needs to be solved. Summary of the invention
[0006] The purpose of the present invention is to provide a standardized digital-to-image conversion method and electronic device in order to overcome the defects of the above-mentioned prior art.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] According to one aspect of the present invention, a standardized digital-to-graphic conversion method is provided, the method comprising:
[0009] Fill in the system basic information configuration table according to project requirements to record the basic information of the system drawings to be generated by the project;
[0010] Match the standard library basic information configuration table with the system basic information configuration table, and select the unique drawing with the most information comparison points as the drawing template. Each drawing in the standard library has a corresponding standard library basic information configuration table, in which the standard library basic information configuration table records the basic information of the drawings in the standard library;
[0011] Export the drawing template and modify it according to the project requirements until it meets the project requirements, thus obtaining the system drawings corresponding to the project.
[0012] Preferably, the unique drawing with the most information comparison points is screened out in sequence according to priority, including screening based on the first priority and screening based on the second priority.
[0013] More preferably, if the drawings filtered based on the first priority are not unique, filtering based on the second priority is performed.
[0014] More preferably, the parameters considered in the first priority screening include loop name and loop function.
[0015] More preferably, the parameters considered in the second priority screening include the number of loops, the names of components in the loops, the number of components in the loops, the incoming line voltage, the incoming line current, the outgoing line voltage and the outgoing line current.
[0016] More preferably, if the drawing reference points screened out based on the first priority are less than a set threshold, it is directly determined that there is no standard drawing template required for the project in the standard library.
[0017] Preferably, the method further includes: if the reference points of the screened drawings are less than a set threshold, it is determined that there is no standard drawing template required for the project in the standard library, and the user is required to add a new standard drawing according to project requirements and add it to the library as a new standard drawing template.
[0018] More preferably, the process of adding a new standard drawing includes:
[0019] Fill in the standard basic information configuration table according to project requirements;
[0020] Draw drawings according to project requirements;
[0021] After the drawings are completed, they should be submitted for review, and they can be added to the standard library after passing the review.
[0022] Preferably, the parameters of the standard library basic information configuration table include loop name, loop function, loop quantity, component name in the loop, component quantity in the loop, incoming line information and outgoing line information, wherein the incoming line information includes incoming line voltage and incoming line current, and the outgoing line information includes outgoing line voltage and outgoing line current.
[0023] According to another aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the method described above is implemented when the processor executes the program.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] 1) The present invention first converts the project requirements into a defined system basic information configuration table, selects the best unique drawing from the annotation library as a drawing template through the matching principle of the most reference points, and makes minimal modifications to the mature drawing template to meet the project requirements. This can save users' time in drawing drawings, reduce the content and time of review, and reduce errors. It meets the demand for one-click automatic generation of batch solution drawings, thereby improving the quality of drawings and the production efficiency of the workshop, reducing the tracking time of the project, and enabling the project to be implemented better and faster at the construction site.
[0026] 2) The present invention adopts a priority-based screening mechanism and designs corresponding parameters for each priority. When the first priority screening result meets the requirements, the second priority screening is not performed, thereby ensuring the efficiency of the screening and the reliability of the results.
[0027] 3) If the number of reference points of the screened drawings is less than the set threshold, it is judged that there is no standard drawing template required for the project in the standard library. The user is required to add standard drawings according to project requirements and add them to the library as new standard drawing templates to continuously improve the standard library, thereby improving the efficiency and quality of generating standardized digital drawings.
[0028] 4) The present invention uses a table format to compare one-to-one with the drawings in the standard library, which increases the intuitiveness of drawing management and facilitates users to call drawings according to intuitive tables. According to the table linked to the drawings, the electrical components needed to be purchased in a system can be easily obtained, which greatly saves the user's energy in checking materials and improves the accuracy involved in the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the process of the method for generating a standardized digital drawing in the present invention;
[0030] Figure 2 Schematic diagram of the screening mechanism of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] This embodiment relates to a standardized digital image conversion method, such as Figure 1 , including the following steps:
[0033] Step S1: After reading the project requirement sheet, the user fills in the basic information of the required system drawings in the format of the system basic information configuration table to form the system basic information configuration table corresponding to the project. The system basic information configuration table includes but is not limited to the circuit name, circuit function, number of circuits, names of components in the circuit, number of components in the circuit, incoming line information (including incoming line voltage and incoming line current), outgoing line information (including outgoing line voltage and outgoing line current), etc. The standard library basic information configuration table stores the basic information of the drawings in the standard library. The format of the standard library basic information configuration table and the system basic information configuration table is the same.
[0034] Step S2: According to the screening mechanism, standard drawings with the most information comparison points between the system basic information configuration table corresponding to the project are screened out from the standard library, that is, according to the principle of the most information comparison points, the standard library basic information configuration table of each drawing in the standard library is matched with the system basic information configuration table corresponding to the project, and the drawing with the most information comparison points is found, which is the drawing template. After exporting the template drawing, differential modifications are made on the basis of the drawing, so that the drawing finally meets the needs of the solution 100%. Drawing screening is based on full-word matching of parameter information of the standard library basic information configuration table and the system basic information configuration table. The project name is not included in the comparison of comparison points, and the comparison of drawing parameters is prioritized.
[0035] The sources of standard drawing libraries are diverse, including: 1) projects previously undertaken by the department, which are in completed status and have been successfully applied on-site; 2) classic textbooks and typical engineering project drawings; 3) drawings newly added by users to the template library.
[0036] The characteristics of a standard library are timeliness, accuracy, and full coverage. A system standard library that can cover all types of drawings can solve at least three common problems: first, the drawing difficulties for novice users; second, the review time for new drawings; and third, incorrect drawings that delay production and commissioning.
[0037] The drawings in the standard library are also drawn according to the basic information configuration table of the standard library. For the conversion of standardized digital images, the basic information configuration table of the standard library is the original data and the basis for drawing screening. Therefore, the accuracy of the basic information configuration table of the standard library must be guaranteed. There are no special requirements for the generation order of the basic information configuration table of the standard library and the drawings in the standard library. It is OK to complete the drawing first and then fill in the basic information configuration table of the standard library, or to draw the drawings according to the basic information configuration table of the standard library. However, it is required that the basic information configuration table of the standard library must correspond to the standard drawings one by one.
[0038] The basic information configuration table of the standard library is in the form of an Excel table. The table header is the project name. The drawing parameters include but are not limited to the circuit name, circuit function, number of circuits, names of components in the circuit, number of components in the circuit, incoming voltage, incoming current, outgoing voltage, outgoing current, remarks, etc.
[0039] The process of selecting the standard drawing template with the most information reference points is as follows: Figure 2 ,include:
[0040] Step S21: The screening mechanism firstly polls the standard drawings in the standard library according to the first priority and the specific project requirements. If the screening result is unique, there is no need to conduct a second poll. The drawing template is the best standard drawing, and the parameters considered in the first priority include the loop name and loop function.
[0041] Step S22: If the result of the first round of polling is not unique, the standard drawings in the standard library are polled for the second time according to the second priority and the specific project requirements, and the standard drawing with the most reference points is selected as the drawing template required for the project. The parameters considered in the second priority include the number of loops, the names of the components in the loop, the number of components in the loop, the incoming line voltage, the incoming line current, the outgoing line voltage, and the outgoing line current.
[0042] Step S23: In particular, if the reference points of the standard drawing selected by the first polling are too few, it is directly judged that there is no standard drawing required by the project in the standard library. At this time, the user needs to add a new standard drawing according to the project requirements and add it to the library as a new template for next use.
[0043] In step S23, the step of the user adding a standard drawing includes:
[0044] Step S231: Fill in the standard basic information configuration table according to project requirements;
[0045] Step S232: Draw drawings according to project requirements;
[0046] Step S233: After the drawing is completed, it is submitted for review and can be added to the standard library after passing the review.
[0047] Step S3: Export the unique standard drawing that has been screened out, and make differential modifications based on the drawing according to project requirements to fully meet the project requirements.
[0048] The idea of standardized digital-to-graphic conversion can be used as a business process or built into existing development software to create a special standardized digital-to-graphic conversion module, so that all users can maintain the standard library online. The more comprehensive the coverage of the standard library, the higher the efficiency of drawing production.
[0049] This standardized digital-to-graphic conversion method is based on the form of a table. Drawings are selected from the annotation library according to the principle of the most information reference points, meeting the requirement of minimal modification of drawings. It can realize the rapid drawing of industrial process drawings, meet the demand of one-click generation of batch scheme drawings, and effectively reduce the user's working time on drawing drawings. In addition, mature drawings can reduce the occurrence of errors, greatly improve the production efficiency of the department, and also have a positive role in promoting the efficient production of the production workshop.
[0050] The electronic device of the present invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0051] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.
[0052] The processing unit performs the various methods and processes described above. For example, in some embodiments, the method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of the method described above can be performed. Alternatively, in other embodiments, the CPU can be configured to perform the method in any other appropriate manner (e.g., by means of firmware).
[0053] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0054] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0055] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0056] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A standardized digital image conversion method, characterized in that: The method includes: Fill in the system basic information configuration table according to project requirements to record the basic information of the system drawings to be generated by the project; Match the standard library basic information configuration table with the system basic information configuration table, and select the unique drawing with the most information comparison points as the drawing template. Each drawing in the standard library has a corresponding standard library basic information configuration table, in which the standard library basic information configuration table records the basic information of the drawings in the standard library; Export the drawing template and modify it according to the project requirements until it meets the project requirements, thus obtaining the system drawings corresponding to the project.
2. A standardized digital image conversion method according to claim 1, characterized in that: The unique drawings with the most information comparison points are screened out in sequence according to priority, including screening based on the first priority and screening based on the second priority.
3. A standardized digital image conversion method according to claim 2, characterized in that: If the drawings filtered based on the first priority are not unique, filtering based on the second priority will be performed.
4. A standardized digital image conversion method according to claim 2, characterized in that: The parameters considered by the first priority screening include circuit name and circuit function.
5. A standardized number-to-image conversion method according to claim 2, characterized in that: The parameters considered in the second priority screening include the number of loops, the names of the components in the loops, the number of components in the loops, the incoming line voltage, the incoming line current, the outgoing line voltage and the outgoing line current.
6. A standardized number-to-image conversion method according to claim 2, characterized in that: If the number of drawing reference points screened out based on the first priority is less than the set threshold, it is directly determined that there is no standard drawing template required for the project in the standard library.
7. A standardized digital image conversion method according to claim 1, characterized in that: The method also includes: if the reference points of the screened drawings are less than a set threshold, it is determined that there is no standard drawing template required for the project in the standard library, and the user is required to add a new standard drawing according to the project requirements and add it to the library as a new standard drawing template.
8. A standardized number-to-image conversion method according to claim 7, characterized in that: The process of adding a new standard drawing includes: Fill in the standard basic information configuration table according to project requirements; Draw drawings according to project requirements; After the drawings are completed, they should be submitted for review, and they can be added to the standard library after passing the review.
9. A standardized digital image conversion method according to claim 1, characterized in that: The parameters of the standard library basic information configuration table include loop name, loop function, loop quantity, component name in the loop, component quantity in the loop, incoming line information and outgoing line information, wherein the incoming line information includes incoming line voltage and incoming line current, and the outgoing line information includes outgoing line voltage and outgoing line current.
10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method and device for generating digital drawing of secondary complex loop model of power system
CN118965469A