Drawing viewing method, device and electronic equipment
Through AI technology, the drawings are identified and classified, adjusted into a single component mode and rotated to display, which solves the problem of low efficiency in manual viewing of components and viewpoint conversion in existing drawing software, realizes personalized viewpoint adjustment and classification review, and improves the Audit efficiency.
Patent Information
- Application Number
- CN202111517243.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-31
- Filing Date
- 2021-12-13
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-13
AI Technical Summary
There are many components in the existing drawing software during auditing, and users need to manually view the components and viewpoints to be converted, which affects the review efficiency.
Through AI technology, components are identified and classified by drawings to be reviewed, adjusted into a single component mode, and rotated to display according to the review viewpoint to realize personalized viewpoint adjustment and classified review.
It improves the review efficiency and facilitates the review and review process of auditors.
Smart Images

Figure CN114049649B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a drawing viewing method, device and electronic equipment. Background Art
[0002] Computer Aided Design (CAD) refers to the use of computers and their graphic equipment to help designers with their design work. In design, computers are usually used to perform a large number of calculations, analyses and comparisons on different schemes to determine the best one; various design information, whether digital, textual or graphic, can be stored in the computer's memory or external storage and can be quickly retrieved; designers usually start designing with sketches, and the heavy work of turning sketches into working drawings can be done by computers; the design results automatically generated by computers can quickly produce graphics, allowing designers to make judgments and modifications to the design in a timely manner; computers can be used to process graphic data related to editing, enlarging, reducing, translating, copying and rotating graphics.
[0003] The existing drawing software has too many components when being reviewed, and users are required to manually check and convert components and viewpoints, which affects the review efficiency. Summary of the invention
[0004] An embodiment of the present application provides a drawing review method, which can extract problematic components and rotate the viewpoint for review through AI, thereby improving review efficiency.
[0005] In a first aspect, an embodiment of the present application provides a drawing viewing method, which is applied to an electronic device and includes the following steps:
[0006] Get the drawings to be reviewed and extract the first picture of the reviewer;
[0007] Recognize the first image to determine a first identity, and extract a review viewpoint corresponding to the first identity;
[0008] Identify the components of the drawings to be reviewed to determine the categories of each component;
[0009] Components of the same category are adjusted into single-component mode one by one, and the components in the single-component mode are rotated and displayed according to the review viewpoint.
[0010] In a second aspect, a drawing viewing device is provided, the device being applied to an electronic device, and specifically comprising:
[0011] The acquisition unit is used to obtain the drawings to be reviewed.
[0012] A processing unit is used to extract a first image of a reviewer, identify a first identity by recognizing the first image, and extract a review viewpoint corresponding to the first identity; identify components of the drawings to be reviewed to determine the category of each component; adjust components of the same category into a single component mode one by one, and rotate the components in the single component mode according to the review viewpoint and then display them.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the second aspect of the embodiment of the present application.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the second aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0016] It can be seen that the technical solution provided by this application obtains the drawings to be reviewed, extracts the first picture of the reviewer, identifies the first identity of the first picture, and extracts the review viewpoint corresponding to the first identity; identifies the components of the drawings to be reviewed to determine the category of each component; adjusts the components of the same category into single component mode one by one, and rotates the components in the single component mode according to the review viewpoint and displays them. In this way, during the review, the viewpoint can be adjusted according to the habits of the reviewer, and the review is conducted according to the classification, which is convenient for the reviewer to watch and improves the review efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be 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.
[0018] Figure 1A It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0019] Figure 1B It is a demonstration schematic diagram of a display interface of an electronic device provided in an embodiment of the present application;
[0020] Figure 1C is another demonstration schematic diagram of a display interface of an electronic device provided in an embodiment of the present application;
[0021] Figure 1D This is a schematic diagram showing a display interface for switching regions provided in an embodiment of the present application;
[0022] Figure 2 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 3 The present application provides a flowchart of a method for viewing drawings;
[0024] Figure 4 It is a structural schematic diagram of a drawing viewing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0026] In order to better understand the solutions of the embodiments of the present application, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.
[0027] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] The electronic devices described in the embodiments of the present application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, video matrices, monitoring platforms, mobile Internet devices (mobile internet devices, MID) or wearable devices, etc. The above are only examples and not exhaustive, including but not limited to the above devices. Of course, the above electronic devices can also be servers, for example, cloud servers.
[0031] See also Figure 1A , Figure 1A A drawing viewing method is provided, which can be applied to electronic equipment. Figure 1A As shown, the following steps are included:
[0032] 101. Obtain drawings to be reviewed, extract a first image of a reviewer, identify a first identity based on the first image, and extract a review viewpoint corresponding to the first identity.
[0033] The drawings to be reviewed may be computer-aided design (CAD) drawings or building information models (BIM) for any specific project or specific object. The specific project may be an engineering project (e.g., a real estate project, a bridge project). The specific object may be a machine, which may include at least one of the following: a car, an airplane, a ship, a space capsule, a satellite, a rocket, a photolithography machine, etc., without limitation.
[0034] In a specific implementation, the first image may include at least one of the following: a face image, a fingerprint image, an iris image, etc., which are not limited here. For example, the electronic device may obtain the drawings to be reviewed, and then extract the first image of the reviewer. For example, the reviewer may be photographed through a camera to obtain the first image. For another example, the user may be reminded to enter the fingerprint, and the entered fingerprint image may be used as the first image.
[0035] Next, the first image can be identified to determine the first identity. Specifically, the first image can be subjected to target extraction to obtain a target area image, and the target area image can be compared with a preset template. When the comparison is successful, it is determined that the identity of the auditor has passed the review. The review viewpoint corresponding to the preset template can also be determined according to the mapping relationship between the preset template and the review viewpoint. The preset template can be pre-recorded, and the review viewpoint corresponding to the preset template can also be pre-set. Different auditors can set different review viewpoints based on user habits.
[0036] 102. Identify the components of the drawings to be reviewed to determine the categories of each component.
[0037] In a specific implementation, different components may correspond to different categories, and the categories may be divided according to the area where the parts are located, or the categories may be divided according to the names of the components, and different components may correspond to different names or areas, or the categories may be classified according to the types of problems existing in the components. The problems may include at least one of the following: misplacement problems, description errors, structural drawing errors, etc., which are not limited here.
[0038] Specifically, the electronic device can identify relevant information of the components of the reviewed drawing to determine the category of each component. The relevant parameters may include at least one of the following: size, coordinate position, connection relationship, functional use, cost, shape, etc., which are not limited here.
[0039] 103. Adjust components of the same category into single-component mode one by one, and rotate and display the components in the single-component mode according to the review viewpoint.
[0040] Among them, the electronic device can adjust the components of the same category into single-component mode one by one, and each category of components can correspond to a single-component mode, and the components of the single-component mode can be rotated and displayed according to the review viewpoint. The electronic device can display at least one component in the single-component mode, for example, one component at a time, or for another example, two components can be displayed at a time. Of course, the specific display quantity can be set according to user habits, or it can also be set based on the number of components or the size of components, which is not limited here. Different components can also correspond to different colors. When different components are displayed, the component name, functional purpose, component location, etc. can also be displayed, which is not limited here. The components in the single-component mode can be displayed as thumbnails or enlarged images.
[0041] In a specific implementation, the electronic device may first adjust components of the same category into single-component mode one by one, and then rotate the components in the single-component mode to a preset angle according to the review viewpoint and then display them. The preset angle may be pre-set or system default.
[0042] To illustrate, in an embodiment of the present application, a problem viewpoint diagram can be generated for each problem component. By clicking on the problem viewpoint diagram, you can quickly switch to different problem components, and you can also classify the types of problem components and view them according to the types. After the AI drawing review is completed, a thumbnail viewpoint diagram of the problem space will be generated. By clicking on the thumbnail viewpoint diagram, you can quickly switch to view different problem spaces. The types of problem spaces can include bathrooms, kitchens, etc. You can locate the corresponding type of space and switch quickly. In this way, the efficiency of users viewing drawing components / spaces can be improved.
[0043] The technical solution provided by the present application obtains the drawings to be reviewed, extracts the first picture of the reviewer, identifies the first identity of the first picture, and extracts the review viewpoint corresponding to the first identity; identifies the components of the drawings to be reviewed to determine the category of each component; adjusts the components of the same category into single component mode one by one, and rotates the components in the single component mode according to the review viewpoint and displays them. In this way, during the review, the viewpoint can be adjusted according to the habits of the reviewer, and the review is conducted according to the classification, which is convenient for the reviewer to watch and improves the review efficiency.
[0044] In an optional solution, the implementation method of the above step 102 may specifically include:
[0045] The names of the components of the drawings to be reviewed are extracted, and the names are input into the AI classification model to determine the categories of the components.
[0046] In a specific implementation, the AI classification model may include a neural network model or a non-neural network model, which can complete the component classification function. The neural network model may include at least one of the following: a convolutional neural network model, a recurrent neural network model, a fully connected neural network model, etc., which are not limited here.
[0047] In a specific implementation, the electronic device can extract the names of the components of the reviewed drawing and input the names into the AI classification model to determine the categories of each component.
[0048] In an optional solution, the above method may further include:
[0049] The mechanical connection relationship between the various components is obtained, and multiple components with the mechanical connection relationship are determined as an audit component.
[0050] Specifically, for example, a component, such as a car engine, and its corresponding sub-parts, such as a cylinder, a conveyor belt, etc., can all be regarded as having a mechanical connection relationship, and the above-mentioned multiple components are determined as an audit component.
[0051] In a specific implementation, the mechanical connection relationship can be set in advance, or different components can be associated through parameter settings. Then, the electronic device can obtain the mechanical connection relationship between the components, and then determine multiple components with mechanical connection relationships as an audit component. A drawing can include at least one audit component. By extracting the audit component, the main structure in the drawing can be grasped, thereby improving the audit efficiency and audit direction.
[0052] In an optional solution, the above method may further include:
[0053] The electronic device is configured with a switching button or a switching area, and determines that when a mouse clicks the switching button or the switching area, the component in the single-component mode is switched to the next component.
[0054] Among them, at least one switching button or at least one switching area can be configured in the electronic device, and different switching buttons can switch to different single-component modes, or different switching areas can switch to different single-component modes. For example, the electronic device may include multiple switching buttons, and for another example, the electronic device may include multiple switching areas, and for another example, the electronic device may include both switching buttons and switching areas. In the embodiment of the present application, the switching button can be a physical button or a virtual button.
[0055] For example, different switch buttons can correspond to different single component modes, such as Figure 1B As shown, only one switching button is used for explanation. In a specific implementation, the number of switching buttons can be determined according to the number of categories. For example, if there are 5 component categories, 5 single-component modes can be corresponding, as shown in the following table:
[0056] Switch Button Single Component Mode Switch button 1 Single component mode 1 Switch button 2 Single Component Mode 2 … … Switch button n Single Component Mode
[0057] To illustrate, different switching areas may correspond to different single-component modes. In a specific implementation, the number of switching areas may be determined according to the number of categories. For example, if there are 5 component categories, 5 single-component modes may be corresponding, as shown in the following table:
[0058] Switching Regions Single Component Mode Switching area 1 Single component mode 1 Switching area 2 Single Component Mode 2 … … Switching area n Single Component Mode
[0059] The switching area may be an area such as Figure 1C As shown, further, the switching area may include multiple switching sub-areas, such as Figure 1D As shown, each switching sub-area may correspond to a single-component mode.
[0060] To give another example, in the case of including a switch button and a switch area, the switch area can be used to implement single-component mode switching, and the switch button is used to implement component switching in the single-component mode.
[0061] Optionally, the following steps may also be included:
[0062] S1. Determine the click parameter of the mouse clicking the switch button or the switch area;
[0063] S2, when the click parameter meets the first preset condition, executing the step of switching the component in the single-component mode to the next component;
[0064] S3. When the click parameter meets a second preset condition, determine a mode switching parameter corresponding to the click parameter, and switch the current single-component mode to another single-component mode according to the mode switching parameter.
[0065] In the embodiment of the present application, the first preset condition can be preset or the system defaults, and the second preset condition can be preset or the system defaults. For example, the first preset condition can be clicked once, and the second preset condition can be greater than the number of clicks greater than 1. The first preset condition is different from the second preset condition.
[0066] In a specific implementation, the click parameter of the mouse clicking the switch button or the switch area can be determined, and the click parameter can include at least one of the following: the number of clicks, the click strength, the click duration, the click position, etc., which are not limited here. The mode switching parameter can include at least one of the following: a mode identifier, a component identifier under the mode identifier, a viewing angle parameter under the mode identifier, etc., which are not limited here.
[0067] Specifically, when the click parameter meets the first preset condition, the step of switching the component of the single-component mode to the next component is executed. In addition, when the click parameter meets the second preset condition, the mode switching parameter corresponding to the click parameter is determined, and the current single-component mode is switched to another single-component mode according to the mode switching parameter. In this way, not only the component switching in the single-component mode can be realized, but also the mode switching in the single-component mode can be realized, which helps to improve the user experience.
[0068] In an optional solution, if the audit viewpoint has multiple viewpoints, the above method may further include:
[0069] A viewpoint switching button is configured to ensure that when the mouse clicks the viewpoint switching button, the component in the single component mode is switched from the first viewpoint to the second viewpoint for display.
[0070] In the specific implementation, the viewpoint may include an angle parameter. Of course, the viewpoint may also include a distance parameter. The distance parameter may be preset or set by the system by default. Adding the distance parameter allows the component to be scaled. Users observe different phenomena at different distances. The distance parameter may be set based on user experience. In this way, the depth conforms to the reviewer's review habits, making the review effect closer to the actual application scenario.
[0071] In a specific implementation, different numbers of clicks may correspond to different viewpoints. Of course, images of the same component from different viewpoints may also be displayed at the same time, thereby highlighting the comparison effect.
[0072] The viewpoints may be viewing directions of a 3D view, for example, the first viewpoint is a main view direction, and the second viewpoint is a 45° inclined direction.
[0073] With the above Figure 1A For the embodiments shown, please refer to Figure 2 , Figure 2 This is a flow chart of a drawing viewing method provided by an embodiment of the present application. As shown in the figure, it is applied to an electronic device. The drawing viewing method includes:
[0074] 201. Obtain drawings to be reviewed, extract a first picture of a reviewer, identify a first identity based on the first picture, and extract a review viewpoint corresponding to the first identity.
[0075] 202. Extract the names of the components of the drawings to be reviewed, and input the names into an AI classification model to determine the categories of the components.
[0076] 203. Adjust components of the same category into single-component mode one by one, and rotate and display the components in the single-component mode according to the review viewpoint.
[0077] 204. Configure a viewpoint switching button, and ensure that when a mouse clicks the viewpoint switching button, the component in the single-component mode is switched from the first viewpoint to the second viewpoint for display.
[0078] The specific description of the above steps 201 to 204 can refer to the above Figure 1A The corresponding steps of the described drawing viewing method will not be repeated here.
[0079] It can be seen that the technical solution provided by the present application obtains the drawings to be reviewed, extracts the first picture of the reviewer, identifies the first identity of the first picture, and extracts the review viewpoint corresponding to the first identity; extracts the names of the components of the drawings to be reviewed, and inputs the names into the AI classification model to determine the types of each component; adjusts the components of the same category to single-component mode one by one, and rotates and displays the components in the single-component mode according to the review viewpoint; configures a viewpoint switching button, and determines that when the mouse clicks the viewpoint switching button, the components in the single-component mode are switched from the first viewpoint to the second viewpoint for display. In this way, during the review, it is possible to realize personalized adjustment of the viewpoint according to the habits of the reviewer, and conduct the review based on the classification, which is convenient for the reviewer to watch and improves the review efficiency.
[0080] In accordance with the above embodiment, please refer to Figure 3 , Figure 3 1 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0081] Get the drawings to be reviewed and extract the first picture of the reviewer;
[0082] Recognize the first image to determine a first identity, and extract a review viewpoint corresponding to the first identity;
[0083] Identify the components of the drawings to be reviewed to determine the categories of each component;
[0084] Components of the same category are adjusted into single-component mode one by one, and the components in the single-component mode are rotated and displayed according to the review viewpoint.
[0085] Optionally, in the aspect of identifying the components of the drawings to be reviewed and determining the categories of the components, the program includes instructions for executing the following steps:
[0086] The names of the components of the drawings to be reviewed are extracted, and the names are input into the AI classification model to determine the categories of the components.
[0087] Optionally, the program further includes instructions for executing the following steps:
[0088] The mechanical connection relationship between the various components is obtained, and multiple components with the mechanical connection relationship are determined as an audit component.
[0089] Optionally, the program further includes instructions for executing the following steps:
[0090] A switching button or a switching area is configured to switch the component in the single component mode to the next component when the mouse clicks the switching button or the switching area.
[0091] Optionally, the program further includes instructions for executing the following steps:
[0092] Determine the click parameters of the mouse clicking the switch button or switch area;
[0093] When the click parameter meets the first preset condition, executing the step of switching the component in the single-component mode to the next component;
[0094] When the click parameter meets the second preset condition, a mode switching parameter corresponding to the click parameter is determined, and the current single-component mode is switched to another single-component mode according to the mode switching parameter.
[0095] Optionally, the program further includes instructions for executing the following steps:
[0096] A viewpoint switching button is configured to ensure that when the mouse clicks the viewpoint switching button, the component in the single component mode is switched from the first viewpoint to the second viewpoint for display.
[0097] The electronic device of the technical solution provided by the present application obtains the drawings to be reviewed, extracts the first picture of the reviewer, identifies the first identity of the first picture, and extracts the review viewpoint corresponding to the first identity; identifies the components of the drawings to be reviewed to determine the category of each component; adjusts the components of the same category into a single component mode one by one, and rotates the components in the single component mode according to the review viewpoint and displays them. In this way, during the review, the viewpoint can be adjusted in a personalized manner according to the habits of the reviewer, and the review is conducted according to the classification, which is convenient for the reviewer to watch and improves the review efficiency.
[0098] See also Figure 4 , Figure 4 A drawing viewing device is provided, which is applied to an electronic device and specifically comprises:
[0099] The acquisition unit 401 is used to acquire drawings to be reviewed.
[0100] The processing unit 402 is used to identify the first identity of the first image and extract the audit viewpoint corresponding to the first identity; identify the components of the drawing to be audited to determine the category of each component; and adjust the components of the same category into a single component mode one by one, and rotate the components in the single component mode according to the audit viewpoint and then display them.
[0101] Optionally, the processing unit 402 is specifically configured to extract the names of the components of the drawing to be reviewed, and input the names into an AI classification model to determine the types of each component.
[0102] Optionally, the processing unit 402 is further configured to obtain a mechanical connection relationship between various components, and determine multiple components having a mechanical connection relationship as one audit component.
[0103] Optionally, the processing unit 402 is further configured to configure a switch button or a switch area, and determine that when a mouse clicks the switch button or the switch area, the component in the single component mode is switched to the next component.
[0104] Optionally, the device is further specifically used for:
[0105] Determine the click parameters of the mouse clicking the switch button or switch area;
[0106] When the click parameter meets the first preset condition, executing the step of switching the component in the single-component mode to the next component;
[0107] When the click parameter meets the second preset condition, a mode switching parameter corresponding to the click parameter is determined, and the current single-component mode is switched to another single-component mode according to the mode switching parameter.
[0108] Optionally, the device is further specifically used for:
[0109] Configure a viewpoint switching button to ensure that when the mouse clicks the viewpoint switching button, the component in the single component mode is switched from the first viewpoint to the second viewpoint display.
[0110] The device in the technical solution provided by the present application obtains the drawings to be reviewed, extracts the first picture of the reviewer, identifies the first identity of the first picture, and extracts the review viewpoint corresponding to the first identity; identifies the components of the drawings to be reviewed to determine the category of each component; adjusts the components of the same category into single component mode one by one, and rotates the components in the single component mode according to the review viewpoint and displays them. In this way, during the review, the viewpoint can be adjusted according to the habits of the reviewer, and the review is conducted according to the classification, which is convenient for the reviewer to watch and improves the review efficiency.
[0111] The processing unit 402 may also perform the following steps: Figure 1A or Figure 2 The detailed solutions or optional solutions of the illustrated method embodiment will not be described in detail here.
[0112] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0113] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0114] This embodiment also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the drawing viewing method in the above-mentioned embodiment.
[0115] This embodiment also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the drawing viewing method in the above-mentioned embodiment.
[0116] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes the drawing viewing method in the above-mentioned method embodiments.
[0117] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.
[0118] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0119] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0120] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0121] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0122] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0123] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A drawing viewing method, characterized in that: The method is applied to electronic equipment, and the method comprises the following steps: Get the drawings to be reviewed and extract the first picture of the reviewer; Recognize the first image to determine the first identity, and extract the audit viewpoint corresponding to the first identity, specifically: extract the target from the first image to obtain a target area image, compare the target area image with a preset template, and when the comparison is successful, determine that the identity of the auditor has passed the audit, and determine the audit viewpoint corresponding to the preset template according to the mapping relationship between the preset template and the audit viewpoint; Identify the components of the drawings to be reviewed to determine the categories of the components, wherein different components correspond to different categories, and the categories are divided according to the areas where the components are located, or the categories are divided according to the names of the components, and different components correspond to different names or areas, or the categories are classified according to the types of problems existing in the components, and the problems include at least one of the following: misplacement problems, description errors, and structural drawing errors; Components of the same category are adjusted into single-component mode one by one, and the components in the single-component mode are rotated and displayed according to the review viewpoint.
2. The method according to claim 1, characterized in that The step of identifying the components of the drawings to be reviewed and determining the categories of the components specifically includes: The names of the components of the drawings to be reviewed are extracted, and the names are input into the AI classification model to determine the categories of the components.
3. The method according to claim 1, characterized in that: The method further comprises: The mechanical connection relationship between the various components is obtained, and multiple components with the mechanical connection relationship are determined as an audit component.
4. The method according to claim 1, characterized in that: The method further comprises: A switching button or a switching area is configured to switch the component in the single component mode to the next component when the mouse clicks the switching button or the switching area.
5. The method according to claim 4, characterized in that The method further comprises: Determine the click parameters of the mouse clicking the switch button or switch area; When the click parameter meets the first preset condition, executing the step of switching the component in the single-component mode to the next component; When the click parameter meets the second preset condition, a mode switching parameter corresponding to the click parameter is determined, and the current single-component mode is switched to another single-component mode according to the mode switching parameter.
6. The method according to claim 1, characterized in that The method further comprises: A viewpoint switching button is configured to ensure that when a mouse clicks on the viewpoint switching button, the component in the single-component mode is switched from the first viewpoint to the second viewpoint for display.
7. A drawing viewing device, characterized in that: The device comprises: The acquisition unit is used to obtain the drawings to be reviewed. A processing unit is used to extract a first image of a reviewer, identify the first image to determine a first identity, and extract an audit viewpoint corresponding to the first identity, specifically: perform target extraction on the first image to obtain a target area image, compare the target area image with a preset template, and when the comparison is successful, determine that the identity of the reviewer has passed the review, and determine the audit viewpoint corresponding to the preset template according to the mapping relationship between the preset template and the audit viewpoint; identify the components of the drawings to be reviewed to determine the category of each component, wherein different components correspond to different categories, and the categories are divided according to the areas where the components are located, or the categories are distinguished according to the names of the components, and different components correspond to different names or areas, or the categories are classified according to the types of problems existing in the components, and the problems include at least one of the following: misplacement problems, description errors, and structural drawing errors; adjust the components of the same category one by one into single component mode, and rotate the components in the single component mode according to the audit viewpoint and display them.
8. The device according to claim 7, characterized in that The processing unit is specifically used to extract the names of the components of the drawings to be reviewed, and input the names into the AI classification model to determine the types of each component.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store one or more programs and is configured to be executed by the processor, wherein the program comprises instructions for executing the steps in the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 6.
