Drawing and data processing method and device, computer equipment and storage medium
By verifying the target drawings and generating equipment component attribute data tables and version number identifiers, the problem of inconsistent data versions after flowchart modification was solved, improving verification efficiency and consistency.
Patent Information
- Application Number
- CN202111333474.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2041-11-11
AI Technical Summary
In existing technologies, the data versions of flowcharts become inconsistent after modification, resulting in low verification efficiency and an inability to effectively determine the correspondence between flowcharts and data.
By acquiring the target drawings, verifying the component attribute information, generating a verification report, and generating a device component attribute data table and version number after passing the verification, performing format conversion to ensure the consistency of the drawing files, data tables and verification reports, and identifying the version number, the final file and report with consistent version number are stored.
It enables the generation of verification reports and equipment component attribute data tables in one go during the intelligent verification process, which improves work efficiency, ensures the consistency of drawings and data, and avoids verification delays caused by version mismatch.
Smart Images

Figure CN113900988B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer device, and storage medium for achieving consistency between flowchart diagrams and numbers. Background Technology
[0002] With the development of computer technology, intelligent flowchart drawing techniques have emerged. This technology can directly obtain data for each device component from the flowchart. However, each modification to the flowchart generates new data, making it difficult to determine the correspondence between multiple data sets and multiple modified flowcharts. When validating a flowchart and its data, the data is typically retrieved from a database and then validated. During this validation process, version inconsistencies between the flowchart and the data may arise. In such cases, the corresponding flowchart version data must be retrieved again and submitted for validation, thus reducing validation efficiency. Summary of the Invention
[0003] Therefore, it is necessary to provide a method, apparatus, computer equipment, and storage medium for processing drawings and data that can improve verification efficiency in response to the above-mentioned technical problems.
[0004] A method for processing drawings and data, the method comprising:
[0005] Obtain the target drawing to be verified;
[0006] Verify each component in the target drawing and its attribute information to obtain a verification report;
[0007] When the verification passes, a device component attribute data table is generated based on the target drawing; and the target drawing is converted to a new format to obtain a drawing file in the target format.
[0008] Generate a version number; the version number is used to jointly identify the drawing file, the equipment component attribute data table, and the verification report;
[0009] The drawing files, the equipment component attribute data table, and the verification report of the same version number are reviewed and approved.
[0010] When the verification is approved, the drawing file with the same version number, the equipment component attribute data table, and the verification report are stored.
[0011] In one embodiment, the method further includes: based on the verification report, determining whether there are any errors in each component and the attribute information of the component in the target drawing; if there are errors, determining that the verification fails and instructing the drawing creator to modify the target drawing; if there are no errors, determining that the verification passes and executing the step of generating a device component attribute data table based on the target drawing.
[0012] In one embodiment, instructing the drawing maker to modify the target drawing includes: obtaining error information based on the error items in the verification report, and instructing the drawing maker to modify the target drawing based on the error information.
[0013] In one embodiment, the review of the drawing files, equipment component attribute data tables, and verification reports of the same version number includes: in response to a triggering operation of the drawing release button, generating a drawing release list based on the drawing files, equipment component attribute data tables, and verification reports of the same version number; in response to a selection operation, selecting at least one version of the drawing files, equipment component attribute data tables, and verification reports from the drawing release list; and initiating a review process to the drawing review terminal, thereby instructing the drawing review terminal to review the selected drawing files, equipment component attribute data tables, and verification reports.
[0014] In one embodiment, before obtaining the target drawing to be verified, the method further includes: configuring and managing the permission levels of each user; opening functions that match the permission levels of each user, and restricting users from using functions beyond the scope of the permission levels; when the drawing review terminal has the permission to review the drawings, executing the step of initiating the review process to the drawing review terminal.
[0015] A drawing and data processing apparatus, the apparatus comprising:
[0016] The acquisition module is used to acquire the target drawing to be verified.
[0017] The verification module is used to verify each component in the target drawing and the attribute information of the component, and to obtain a verification report.
[0018] The conversion module is used to generate a device component attribute data table based on the target drawing when the verification is successful; and to convert the target drawing into a format to obtain a drawing file in the target format.
[0019] A generation module is used to generate a version number; the version number is used to jointly identify the drawing file, the equipment component attribute data table, and the verification report;
[0020] The verification module is used to verify the drawing files, the equipment component attribute data table, and the verification report with the same version number.
[0021] The storage module is used to store the drawing file with the same version number, the equipment component attribute data table, and the verification report when the verification is approved.
[0022] In one embodiment, the apparatus further includes: a determination module, configured to determine, based on the verification report, whether there are any errors in each component and the attribute information of the component in the target drawing; if errors exist, the verification is determined to have failed, and the drawing creator is instructed to modify the target drawing; if errors do not exist, the verification is determined to have passed, and the step of generating a device component attribute data table based on the target drawing is executed.
[0023] In one embodiment, the determining module is further configured to obtain error information based on the error items in the verification report, and instruct the drawing manufacturer to modify the target drawing based on the error information.
[0024] In one embodiment, the review module is further configured to, in response to a triggering operation of the drawing release button, generate a drawing release list based on the drawing files of the same version number, the equipment component attribute data table, and the verification report; in response to a selection operation, select at least one version of the drawing file, the equipment component attribute data table, and the verification report from the drawing release list; and initiate a review process to the drawing review terminal, thereby instructing the drawing review terminal to review the selected drawing file, the equipment component attribute data table, and the verification report.
[0025] In one embodiment, the device further includes: a permission module, used to configure and manage the permission levels of each user; to open functions matching the permission levels of each user, and to restrict users from using functions beyond the scope of the permission levels; and to execute the step of initiating a review process to the drawing review terminal when the drawing review terminal has the permission to review drawings.
[0026] A computer device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the above-described method for processing drawings and data.
[0027] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of the above-described method for processing drawings and data.
[0028] The aforementioned method, apparatus, computer equipment, and storage medium for processing drawings and data involve: acquiring the target drawing to be verified; verifying each component and its attribute information in the target drawing to obtain a verification report; generating a device component attribute data table based on the target drawing when verification passes; converting the target drawing to a target format drawing file; generating a version number; using the version number to jointly identify the drawing file, device component attribute data table, and verification report; reviewing drawing files, device component attribute data tables, and verification reports with the same version number; and storing drawing files, device component attribute data tables, and verification reports with the same version number when the review passes. In the intelligent verification process, a verification report and device component attribute data table can be generated at once, improving work efficiency. Version number identification of the drawing file, device component attribute data table, and verification report ensures a one-to-one correspondence between the drawing and data, eliminating the need to extend the verification process due to drawing-data mismatch issues. Therefore, the above steps achieve the goal of improving verification efficiency. Attached Figure Description
[0029] Figure 1 This is an application environment diagram of a drawing and data processing method in one embodiment;
[0030] Figure 2 This is a flowchart illustrating a method for processing drawings and data in one embodiment;
[0031] Figure 3 This is a schematic diagram of the architecture of a method for processing drawings and data in one embodiment;
[0032] Figure 4 This is a flowchart of a method for processing drawings and data in one embodiment;
[0033] Figure 5 This is a data interaction diagram of a drawing and data processing method in one embodiment;
[0034] Figure 6 This is a flowchart illustrating the process of initiating a review and approval procedure in one embodiment.
[0035] Figure 7 This is a structural block diagram of a drawing and data processing device in one embodiment;
[0036] Figure 8 This is a structural block diagram of the drawing and data processing device in another embodiment;
[0037] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0039] The drawing and data processing method provided in this application can be applied to, for example... Figure 1 The application environment shown includes terminal 102 and server 104.
[0040] Server 104 acquires the target drawing to be verified; verifies each component and its attribute information in the target drawing, and obtains a verification report; when the verification passes, server 104 generates a device component attribute data table based on the target drawing; and converts the target drawing to a target format drawing file; generates a version number; the version number is used to jointly identify the drawing file, device component attribute data table, and verification report; server 104 reviews drawing files, device component attribute data tables, and verification reports with the same version number; when the review passes, it stores drawing files, device component attribute data tables, and verification reports with the same version number.
[0041] The terminal 102 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these.
[0042] Server 104 can be an independent physical server or a service node in a blockchain system. The service nodes in the blockchain system form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol that runs on top of the Transmission Control Protocol (TCP).
[0043] In addition, server 104 can also be a server cluster consisting of multiple physical servers, which can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0044] Terminal 102 and server 104 can be connected via Bluetooth, USB (Universal Serial Bus) or network, etc., and this application does not impose any restrictions.
[0045] In one embodiment, such as Figure 2As shown, a method for processing drawings and data is provided, which can be applied to... Figure 1 Taking the server in the example, the following steps are included:
[0046] S202, Obtain the target drawing to be verified.
[0047] The target drawing to be verified can refer to the intelligent process system flow diagram that needs to be inspected. A process system flow diagram uses graphic symbols to represent the mechanical equipment used in a process flow and their interrelationships, including process piping and instrumentation diagrams. This flow diagram will show symbols related to certain valves, fittings, and automatic control instruments configured on pipelines and equipment. In addition to the above-mentioned graphic schematic information, the intelligent process system flow diagram can also obtain attribute data information for each equipment component on the diagram. For example, the nuclear power intelligent process system flow diagram can obtain attribute data information for equipment components such as valves, pipelines, and orifice plates on the diagram. Furthermore, there is a one-to-one correspondence between the intelligent process system flow diagram and the attribute data information; each time an intelligent process system flow diagram is published, a new version of attribute data information is generated.
[0048] Specifically, the server can obtain the completed intelligent process system flowchart uploaded by the user, or it can obtain the intelligent process system flowchart stored in the server database corresponding to the user's acquisition command.
[0049] In one embodiment, the server configures and manages the permission levels of each user; based on the permission level of each user, it opens functions that match the permission level of each user and restricts users from using functions beyond their permission level; when the drawing review terminal has the permission to review drawings, it executes the step of initiating a review process to the drawing review terminal.
[0050] The permission level defines the scope of access a user can have. The server configures each user's permission level based on their authority, including read-only, modify, and view. Users can only work within the permissions they are already authorized to have, such as... Figure 3 As shown, the server can use the SQL Server database to store the permission configurations for each process. The functions of the permission configuration and management module include: system permission configuration and management, process maintenance management, and process personnel configuration management.
[0051] S204 verifies each component and its attribute information in the target drawing and obtains a verification report.
[0052] In one embodiment, the server can implement a one-click intelligent verification module using PML (Physical Markup Language). The verification content for each component and its attribute information in the target drawing is shown in Table 1, including: verifying whether the drawing system number is filled in, whether the nozzle is connected to a pipe, whether the connection point is connected, and whether the nozzle attributes are complete, etc. The server adopts a layered technical architecture, embedding the intelligent verification module into the Diagrams software through the secondary development interface provided by the Diagrams software, such as... Figure 3 As shown, the .NET middleware layer, acting as an intermediate layer, embeds the developed intelligent verification module, version number generation module, and drawing publishing module into Diagrams through the secondary development interface provided by the Diagrams software. The .NET middleware layer interacts with the unified management and maintenance layer through the data service layer.
[0053] Table 1
[0054]
[0055]
[0056] In one embodiment, the server determines whether there are any errors in the components and their attribute information in the target drawing based on the verification report; if there are, the verification fails and the drawing creator is instructed to modify the target drawing; if there are no errors, the verification passes and the step of generating a device component attribute data table based on the target drawing is executed.
[0057] The verification report, displayed on the server's front-end page, refers to the inspection results of each component and its attribute information in the target drawing. When errors are found in the verification results, the server's front-end page will display an error message, which can be in text, English, or symbolic form. For example, if errors are found in the verification results, the server's front-end page will display the text message "An anomaly exists in the drawing."
[0058] Based on the error message, the server can display specific error information on the front-end page using the received instructions. The error information includes: error type, name of the faulty component, and detection information. Specifically, when an error message appears on the server's front-end page, the user can enter "!!checkpicrule(|drawing name|,|path to the check results storage folder|,|default settings|)" in the server command line. The server will then return the specific error information based on the received instructions. For example, if the drawing name is RCP-3310, the path to the results storage folder is D:\filetest, and the default setting is reportt.csv, the server can receive the instruction "!!checkpicrule(|RCP-3310|,|D:\filetest|,|reportt.csv|)".
[0059] In one embodiment, the server obtains error information based on the error items in the verification report and instructs the drawing creator to modify the target drawing based on the error information.
[0060] The error message includes the location information for each specific error. When an error occurs in the inspection report, the server will terminate the verification process and revert to the state where verification did not begin. Figure 4 As shown, the user corrects the error based on the error location information returned by the server until the correction is complete. The server then retrieves the modified target drawing again and verifies the components and their attribute information in the modified target drawing.
[0061] S206, when the verification passes, generate a device component attribute data table based on the target drawing; and convert the target drawing to a format to obtain a drawing file in the target format.
[0062] If no error message is displayed on the server's front-end page after verification, the target drawing has passed verification. Users can download the verification report and convert it into a specified table format. The target drawing is then converted to a suitable and compatible target format for storage. Specifically, when verification passes, the server can extract the target drawing to obtain a PDF drawing file.
[0063] Table 2 shows the types of components for generating equipment component attribute data tables based on the target drawings, including pipelines, valves, pumps, and heat exchangers. Each type of equipment component attribute data table has its corresponding attribute fields.
[0064] Table 2
[0065] Serial Number Table Name / Component Type (English) Table Name / Component Type (Chinese) 1 LINE pipeline 2 VALVE valve 3 PUMP pump 4 HE heat exchanger 5 ORIPLA Orifice plate 6 VESSEL container 7 FILTEROFF Offline filters 8 FILTERON Online filters 9 ELEV Electric valves 10 ELEE Electric equipment 11 ELEH Electric heater 12 LIMITSWITCH Limit switch 13 MEASOFF Offline Instruments 14 MEASON Online Instruments 15 OPCOUTRPE RPE hydrophobic venting points 16 DUCT air duct 17 DAMPER air valve 18 HVACEQU HVAC equipment 19 MISEQU Miscellaneous 20 OPCOUTALL interface
[0066] S208, Generate Version Number; the version number is used to jointly identify drawing files, equipment component attribute data tables, and verification reports.
[0067] The version number can be represented as a string of numbers, a string of letters, or a combination of numbers and letters. For example, the version number can be represented as VVP-3102. The drawing file, its corresponding equipment component attribute data sheet, and verification report share the same version number.
[0068] S210, review and verify drawing files, equipment component attribute data sheets and verification reports of the same version number.
[0069] Among them, verification refers to the process by which professionals verify and review the drawings, equipment and component attribute data sheets, and calibration reports that are to be stored.
[0070] In one embodiment, after the professional reviewer verifies that the drawing files, equipment component attribute data tables, and verification reports are correct, the server responds to the review approval button triggered by the professional reviewer and stores the automatically approved drawing files, equipment component attribute data tables, and verification reports into the database.
[0071] S212, when the verification is approved, store the drawing file, equipment component attribute data table and verification report of the same version number.
[0072] When the review is approved, the same version of the drawing files, equipment component attribute data tables and verification reports will be published and then the data will be stored in the database's fixed area.
[0073] In one embodiment, when the verification fails, the server's front-end page will display a verification error message and terminate the verification process, returning to the state where verification has not started. Figure 4 As shown, users can correct errors based on the verification error information returned by the server until the correction is complete. The server then retrieves the modified target drawing again, verifies each component and its attribute information in the modified target drawing, and restarts the verification process.
[0074] Error messages during the review process can be in text, English, or symbolic formats. For example, if an error is found in the review results, the server frontend will display the message "Review failed." Additionally, the server's frontend page can also display specific error information, instructing the user to make corrections.
[0075] In the above embodiments, the following is achieved: Figure 5The data interaction flow shown uses the .NET middleware layer as an intermediate layer to embed the developed intelligent verification module, version number generation module, and drawing publishing module into Diagrams via a secondary development interface. The .NET middleware layer interacts with the unified management and maintenance layer through the data service layer. The intelligent verification module in the server interacts with the original database through the original application's secondary development interface layer; the attribute data table of verified device components can be stored in the original database. The unified management and maintenance layer uses the MongoDB NoSQL database in the secondary development database to store the attribute data of each device component in the Diagrams software drawings, for use in the drawing publishing module of the unified maintenance and management layer; it also uses the SQL Server database in the secondary development database to store user permissions and configurations, for use in the permission configuration and management module of the unified maintenance and management layer.
[0076] The above-described method for processing drawings and data involves: acquiring the target drawing to be verified; verifying each component and its attribute information in the target drawing to obtain a verification report; generating a device component attribute data table based on the target drawing when verification passes; converting the target drawing to a target format drawing file; generating a version number; using the version number to jointly identify the drawing file, device component attribute data table, and verification report; reviewing drawing files, device component attribute data tables, and verification reports with the same version number; and storing drawing files, device component attribute data tables, and verification reports with the same version number when the review passes. This intelligent verification process generates a verification report and device component attribute data table in one go, improving work efficiency. Version numbers identify the drawing file, device component attribute data table, and verification report, allowing for a one-to-one correspondence between drawings and data. Therefore, the above steps achieve the goal of improving review efficiency.
[0077] In one embodiment, such as Figure 6 As shown, S210 includes:
[0078] Step 602: In response to the triggering operation of the drawing release button, generate a drawing release list based on the drawing files with the same version number, the equipment component attribute data table, and the verification report.
[0079] The document includes drawing files, equipment component attribute data tables, and verification reports with the same version number. These include the version number in the current verification process and the historical versions verified by that user. Alternatively, they can include historical versions verified by different users. Additionally, the drawing release list includes operation history, allowing users to view previous operation records such as modification time and number of modifications.
[0080] In one embodiment, the server can respond to a user's triggering action on the drawing publish button. Specifically, the user can trigger the server's drawing publish module and pop up the drawing publish list by clicking the "Drawing Publish Management" button; alternatively, the server can be configured to automatically pop up the drawing publish list and trigger the drawing publish module by default after the version number is generated.
[0081] Among them, such as Figure 3 As shown, the server can use a MongoDB NoSQL database to store the equipment component attribute data tables of the drawings for the drawing publishing module. When the user clicks the "Drawing Publishing Management" button and triggers the server's drawing publishing module, the server will retrieve the equipment component attribute data tables of each version number from the MongoDB NoSQL database and display the names of these equipment component attribute data tables in the drawing publishing list. That is, the drawing publishing module can display the publishing data processing interface and the publishing data query and export interface.
[0082] Step 604: Initiate the review process to the drawing review terminal to instruct it to review the selected drawing files, equipment component attribute data tables, and verification reports.
[0083] Users can select the version number of the drawing by checking the sequence number box. The server can respond to the user's trigger operation of the "Initiate Process" button and review the drawing file, equipment component attribute data table and verification report corresponding to the selected version number.
[0084] In this embodiment, by integrating and arranging all drawing files with version numbers, equipment component attribute data tables, and verification reports, the server responds to the triggering operations of the drawing publish button and the select button, thereby achieving the goal of flexibly selecting the version number to enter the review process and ensuring that the drawing files and equipment component attribute data tables correspond one-to-one.
[0085] It should be understood that, although Figure 2 , 6 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 , 6 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0086] In one embodiment, such as Figure 7 As shown, a drawing and data processing device is provided. This device can employ software modules, hardware modules, or a combination of both as part of a computer device. Specifically, the device includes: a 702 acquisition module, a 704 verification module, a 706 conversion module, a 708 generation module, a 710 review module, and a 712 storage module, wherein:
[0087] Module 702 is used to acquire the target drawing to be verified;
[0088] The verification module 704 is used to verify each component and its attribute information in the target drawing and to obtain a verification report.
[0089] The conversion module 706 is used to generate a device component attribute data table based on the target drawing when the verification is passed; and to convert the target drawing into a drawing file in the target format.
[0090] Module 708 is used to generate version numbers; the version number is used to jointly identify drawing files, equipment component attribute data tables, and verification reports.
[0091] The verification module 710 is used to verify drawing files, equipment component attribute data tables, and verification reports of the same version number.
[0092] Storage module 712 is used for drawing files, equipment component attribute data tables, and verification reports.
[0093] In the above embodiments, the following steps are taken: First, the target drawing to be verified is acquired. Then, the components and their attribute information in the target drawing are verified to obtain a verification report. When verification passes, a device component attribute data table is generated based on the target drawing. Next, the target drawing is converted to a target format drawing file. A version number is generated. This version number is used to jointly identify the drawing file, the device component attribute data table, and the verification report. Drawing files, device component attribute data tables, and verification reports with the same version number are reviewed. When the review passes, the drawing files, device component attribute data tables, and verification reports with the same version number are stored. This intelligent verification process generates a verification report and a device component attribute data table all at once, improving work efficiency. Version numbers are used to identify the drawing files, device component attribute data tables, and verification reports, ensuring a one-to-one correspondence between the drawings and data. Therefore, the above steps achieve the goal of improving review efficiency.
[0094] In one embodiment, such as Figure 8As shown, the device also includes: a determination module 714, used to determine, based on the verification report, whether there are any errors in the components and their attribute information in the target drawing; if there are, the verification is determined to be unsuccessful, and the drawing creator is instructed to modify the target drawing; if there are no errors, the verification is determined to be successful, and the step of generating a device component attribute data table based on the target drawing is executed.
[0095] In one embodiment, the determining module 714 is further configured to obtain error information based on the error items in the verification report, and instruct the drawing producer to modify the target drawing based on the error information.
[0096] In one embodiment, the review module 704 is further configured to, in response to a triggering operation of the drawing release button, generate a drawing release list based on drawing files, equipment component attribute data tables, and verification reports of the same version number; in response to a selection operation, select at least one version of the drawing file, equipment component attribute data table, and verification report from the drawing release list; and initiate a review process to the drawing review terminal to instruct the drawing review terminal to review the selected drawing file, equipment component attribute data table, and verification report.
[0097] In one embodiment, such as Figure 8 As shown, the device also includes: a permission module 716, used to configure and manage the permission levels of each user; to open functions that match the permission levels of each user, and to restrict users from using functions beyond their permission levels; and to execute the step of initiating a review process to the drawing review terminal when the drawing review terminal has the permission to review the drawings.
[0098] Specific limitations regarding the drawing and data processing device can be found in the limitations on the drawing and data processing methods described above, and will not be repeated here. Each module in the aforementioned drawing and data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0099] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores drawing data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for processing drawings and data.
[0100] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0101] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0102] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0103] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0104] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0105] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0106] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for processing drawings and data, characterized in that, The method includes: Obtain the target drawing to be verified; According to the verification items included in the preset verification table, each component in the target drawing and the attribute information of the component are verified to obtain a verification report. Based on the verification report, determine whether there are any errors in the components and attribute information of the components in the target drawing; If it exists, the verification is determined to be unsuccessful. The drawing creator is instructed to modify the target drawing and the current verification process is terminated. After the modified target drawing is obtained, the step of verifying each component in the target drawing and the attribute information of the component according to each verification item contained in the preset verification table is executed. If it does not exist, then the verification is successful; When the verification passes, a device component attribute data table is generated based on the target drawing; and the target drawing is converted to a new format to obtain a drawing file in the target format. Generate a version number; the version number is used to jointly identify the drawing file, the equipment component attribute data table, and the verification report; The drawing files, equipment component attribute data tables, and verification reports of the same version number shall be reviewed and verified; the review and verification refers to the verification and auditing of the drawing files, equipment component attribute data tables, and verification reports to be stored by professional personnel. When the verification is approved, the drawing file with the same version number, the equipment component attribute data table, and the verification report are stored.
2. The method according to claim 1, characterized in that, The modifications made to the target drawing by the party producing the instruction drawing include: Based on the error items in the verification report, error information is obtained, and the drawing creator is instructed to modify the target drawing based on the error information.
3. The method according to claim 1, characterized in that, The review and verification of the drawing files, equipment component attribute data tables, and verification reports of the same version number includes: In response to the triggering operation of the drawing release button, a drawing release list is generated based on the drawing files with the same version number, the equipment component attribute data table, and the verification report; In response to a selection operation, at least one version of the drawing file, the equipment component attribute data table, and the verification report are selected from the drawing release list; Initiate a review process to the drawing review terminal to instruct it to review the selected drawing file, the equipment component attribute data table, and the verification report.
4. The method according to claim 3, characterized in that, Before obtaining the target drawing to be verified, the method further includes: Configure and manage the permission levels for each user; Based on the permission level of each user, open functions that match the permission level of each user, and restrict users from using functions that exceed the scope of the permission level; When the drawing review terminal has the authority to review drawings, the step of initiating the review process to the drawing review terminal is executed.
5. A drawing and data processing device, characterized in that, The device includes: The acquisition module is used to acquire the target drawing to be verified. The verification module is used to verify each component in the target drawing and the attribute information of the component according to the verification items included in the preset verification table, and to obtain a verification report. The determination module is used to determine, based on the verification report, whether there are any errors in the components and their attribute information in the target drawing; if errors exist, the verification is determined to be unsuccessful, the drawing manufacturer is instructed to modify the target drawing, and the current verification process is terminated. After obtaining the modified target drawing, the step of verifying the components and their attribute information in the target drawing according to the verification items included in the preset verification table is executed; if no errors exist, the verification is determined to be successful. The conversion module is used to generate a device component attribute data table based on the target drawing when the verification is successful; and to convert the target drawing into a format to obtain a drawing file in the target format. A generation module is used to generate a version number; the version number is used to jointly identify the drawing file, the equipment component attribute data table, and the verification report; The verification module is used to verify the drawing files, equipment component attribute data tables, and verification reports of the same version number; the verification refers to the professional personnel verifying and reviewing the drawing files, equipment component attribute data tables, and verification reports that are to be stored. The storage module is used for the drawing files, the equipment component attribute data table, and the verification report.
6. The apparatus according to claim 5, characterized in that, The modifications made to the target drawing by the party producing the instruction drawing include: The determining module is further configured to obtain error information based on the error items in the verification report, and instruct the drawing manufacturer to modify the target drawing based on the error information.
7. The apparatus according to claim 5, characterized in that, The proofreading module is also used for: In response to the triggering operation of the drawing release button, a drawing release list is generated based on the drawing files with the same version number, the equipment component attribute data table, and the verification report; In response to a selection operation, at least one version of the drawing file, the equipment component attribute data table, and the verification report are selected from the drawing release list; Initiate a review process to the drawing review terminal to instruct it to review the selected drawing file, the equipment component attribute data table, and the verification report.
8. The apparatus according to claim 7, characterized in that, The device further includes an authorization module for: Configure and manage the permission levels for each user; Based on the permission level of each user, open functions that match the permission level of each user, and restrict users from using functions that exceed the scope of the permission level; When the drawing review terminal has the authority to review drawings, the step of initiating the review process to the drawing review terminal is executed.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
3D-PDF-file conversion method and device, terminal equipment and storage medium
CN108920432A
Equipment management method and device based on electronic document, equipment and storage medium
CN110717088A