CN112528800A - Problem display method of CAD drawing and related equipment - Google Patents

Problem display method of CAD drawing and related equipment Download PDF

Info

Publication number
CN112528800A
CN112528800A CN202011400400.3A CN202011400400A CN112528800A CN 112528800 A CN112528800 A CN 112528800A CN 202011400400 A CN202011400400 A CN 202011400400A CN 112528800 A CN112528800 A CN 112528800A
Authority
CN
China
Prior art keywords
cad
area
target
drawing area
question
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011400400.3A
Other languages
Chinese (zh)
Inventor
李晨楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wanyi Digital Technology Co ltd
Original Assignee
Wanyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202011400400.3A priority Critical patent/CN112528800A/en
Publication of CN112528800A publication Critical patent/CN112528800A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Abstract

The application discloses a problem display method of a CAD drawing and related equipment, wherein the method comprises the following steps: the method comprises the steps that under the condition that a first instruction is received, the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, the first drawing area corresponding to the first drawing problem is determined, the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing and selecting the area where the first drawing problem is located; obtaining a target drawing area based on the first drawing area and the first drawing problem, wherein the size of the first drawing area is smaller than that of the target drawing area, and the target drawing area is a drawing area corresponding to the first drawing problem; and displaying the target drawing area. By adopting the embodiment of the application, the correction efficiency of the drawing problem can be improved.

Description

Problem display method of CAD drawing and related equipment
Technical Field
The application relates to the technical field of electronics, in particular to a problem display method of a CAD drawing and related equipment.
Background
Statistics shows that in addition to drawings such as planning drawings and general plan drawings, more than 80% of drawings in the building industry have not only plane drawings but also corresponding elevation drawings, so that a great deal of content is often required to be expressed in a CAD drawing in the building industry. When a drawing auditor audits a CAD drawing according to laws and regulations specified by a construction drawing auditing mechanism, a drawing area corresponding to a drawing problem is generally selected in the CAD drawing so as to correct the drawing problem. However, when the examiner checks the drawing area corresponding to the drawing problem, if the drawing area is not favorable for the examiner to check the drawing problem, the efficiency of correcting the drawing problem is reduced.
Disclosure of Invention
The embodiment of the application provides a problem display method of a CAD drawing and related equipment, which are beneficial to improving the correction efficiency of the drawing problem.
In a first aspect, an embodiment of the present application provides a method for displaying a problem on a CAD drawing, where the method includes:
the method comprises the steps that under the condition that a first instruction is received, the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, the first drawing area corresponding to the first drawing problem is determined, the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing and selecting the area where the first drawing problem is located;
obtaining a target drawing area based on the first drawing area and the first drawing problem, wherein the size of the first drawing area is smaller than that of the target drawing area, and the target drawing area is a drawing area corresponding to the first drawing problem;
and displaying the target drawing area.
In a second aspect, an embodiment of the present application provides a problem display device for a CAD drawing, including:
the first determining unit is used for determining a first drawing area corresponding to a first drawing problem in a first problem list under the condition that the first instruction is received and used for indicating and displaying the drawing area corresponding to the first drawing problem, wherein the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing the area where the first drawing problem is located;
a second determining unit, configured to obtain a target drawing area based on the first drawing area and the first drawing problem, where the first drawing area includes the target drawing area;
and the display unit is used for displaying the target drawing area.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where 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 steps in the method according to the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program enables a computer to perform some or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, when a first instruction is received and the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, a first drawing area corresponding to the first drawing problem is determined first, the first drawing area is obtained by a first drawing reviewer of a target CAD drawing by framing a region where the first drawing problem is located, then a target drawing area is obtained based on the first drawing area and the first drawing problem, the size of the first drawing area is smaller than that of the target drawing area, the target drawing area is the drawing area corresponding to the first drawing problem, and finally the target drawing area is displayed. After the first drawing area corresponding to the first drawing problem is determined, the size of the first drawing area is amplified based on the first drawing area and the first drawing problem to obtain the size of the target drawing area, and therefore the correction efficiency of the drawing problem is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flowchart of a problem display method for a CAD drawing provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a problem display device of a CAD drawing according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
Electronic devices may include various handheld devices, vehicle mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication capabilities, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device includes at least one of: processors, Memory, signal processors, transceivers, display screens, speakers, communication interfaces, Random Access Memory (RAM), cameras, sensors, and so forth. The storage, the signal processor, the display screen, the loudspeaker, the RAM, the camera, the sensor and the communication interface are connected with the processor, and the transceiver is connected with the signal processor.
The Display screen may be a Liquid Crystal Display (LCD), an Organic or inorganic Light-Emitting Diode (OLED), an Active Matrix/Organic Light-Emitting Diode (AMOLED), or the like.
The camera may be a common camera, an infrared camera, or an intelligent camera, and is not limited herein. The camera may be a front camera or a rear camera, and is not limited herein.
Wherein the sensor comprises at least one of: light-sensitive sensors, gyroscopes, infrared proximity sensors, fingerprint sensors, pressure sensors, etc. Among them, the light sensor, also called an ambient light sensor, is used to detect the ambient light brightness. The light sensor may include a light sensitive element and an analog to digital converter. The photosensitive element is used for converting collected optical signals into electric signals, and the analog-to-digital converter is used for converting the electric signals into digital signals. Optionally, the light sensor may further include a signal amplifier, and the signal amplifier may amplify the electrical signal converted by the photosensitive element and output the amplified electrical signal to the analog-to-digital converter. The photosensitive element may include at least one of a photodiode, a phototransistor, a photoresistor, and a silicon photocell.
The processor is a control center of the electronic equipment, various interfaces and lines are used for connecting all parts of the whole electronic equipment, and various functions and processing data of the electronic equipment are executed by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, so that the electronic equipment is monitored integrally.
The processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory is used for storing software programs and/or modules, and the processor executes various functional applications and data processing of the electronic equipment by operating the software programs and/or modules stored in the memory. The memory mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system, a software program required by at least one function and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The following describes embodiments of the present application in detail.
As shown in fig. 2, a flowchart of a problem display method for a CAD drawing provided in the embodiment of the present application is applied to the electronic device, and specifically includes the following steps:
step 201: the method comprises the steps that a first instruction is received, the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, the first drawing area corresponding to the first drawing problem is determined, the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through frame selection of an area where the first drawing problem is located.
The first instruction may be a click instruction, a voice selection instruction, or another instruction for selecting the first drawing question.
The first problem list is displayed in a preset area and comprises at least one drawing problem, and different drawing problems correspond to different drawing areas in a target CAD drawing.
The different drawing areas can be selected by the same drawing auditor or by different drawing auditors.
Wherein the first drawing question is associated with the first drawing area.
In one possible implementation, before receiving the first instruction, the method further includes:
acquiring a first CAD drawing;
splitting the first CAD drawing into N second CAD drawings, wherein the N second CAD drawings are used for being allocated to N second drawing reviewers to frame and select drawing areas where drawing problems are located, so as to obtain N second problem lists and N third CAD drawings, the N second CAD drawings correspond to the N second drawing reviewers one to one, the N third CAD drawings correspond to the N second CAD drawings one to one, the N second problem lists correspond to the N third CAD drawings one to one, each second problem list comprises the drawing problems in the corresponding third CAD drawings, each third CAD drawing comprises the drawing area corresponding to the drawing problems in the corresponding second problem list, the N second reviewers comprise the first drawing reviewer, and the drawing problems in the N second problem lists comprise the first drawing problems, n is a positive integer;
and obtaining N second problem lists, and determining to obtain the first problem list based on the N second problem lists.
And the first CAD drawing is a CAD drawing to be examined.
The first CAD drawing is split into N second CAD drawings, the first CAD drawing may be split based on a scene, or the first CAD drawing may be split based on a net axis, and so on.
And different second drawing auditors audit different second CAD drawings, the different second CAD drawings correspond to different second problem lists, the size of each second CAD drawing is the same as that of the corresponding third CAD drawing, and each third CAD drawing is obtained after the drawing area is framed in each third CAD drawing by the corresponding second drawing auditor. It can be understood that if a drawing question is found by a drawing reviewer in reviewing the second CAD drawing, a region where the drawing question is located is framed and selected in the reviewed second CAD drawing to obtain a corresponding third CAD drawing, and the drawing question is recorded in the second question list.
For example, if the first CAD drawing is divided into 2 second CAD drawings, the 2 second CAD drawings (drawing 1 and drawing 2) are correspondingly divided into 2 drawing reviewers (person 1 and person 2). Suppose that person 1 boxes drawing area 11, drawing area 12, and drawing area 13 after reviewing drawing 1, and records problem #11, problem #12, and problem #13 in second problem list 1 corresponding to drawing 1, drawing area 11 corresponds to problem #11, drawing area 12 corresponds to problem #12, and drawing area 13 corresponds to problem #13, person 2 boxes drawing area 21 and drawing area 22 after reviewing drawing 2, and records problem #21 and problem #22 in second problem list 2 corresponding to drawing 2, drawing area 21 corresponds to problem #21, and drawing area 22 corresponds to problem # 22.
Optionally, N second CAD drawings may be allocated to T second drawing reviewers for review, where the T second drawing reviewers correspond to T second problem lists, each second problem list includes a drawing problem in a second CAD drawing reviewed by the corresponding second drawing reviewer, and T is smaller than N.
The shape of the frame selection can be determined based on the drawing area where the drawing problem is located, and can be a square, a circle, an ellipse, and the like.
The drawing areas can be framed by solid lines or dotted lines, and the colors of lines used for framing the drawing areas by different second drawing auditors can be the same or different.
The first CAD drawing to be checked is split into the plurality of second CAD drawings, and the second CAD drawings are distributed to different second drawing checking personnel for checking, so that the efficiency of checking the CAD drawings is improved.
And the sizes of the second CAD drawings and the corresponding third CAD drawings are the same.
In a possible implementation manner, each second question list includes at least one second drawing question and at least one question importance degree, and the second drawing questions correspond to the question importance degrees one to one;
the determining to obtain the first question list based on the N second question lists includes:
acquiring a auditor grade table, wherein the auditor grade table comprises the grade of each second drawing auditor;
determining at least one question priority based on at least one question importance degree in each second question list and the grade of a second drawing auditor corresponding to each second question list, wherein the at least one question importance degree is in one-to-one correspondence with the at least one question priority;
and merging the second drawing problems included in the N second problem lists based on a merging principle that the priority of the problems is from high to low, and determining to obtain the first problem list.
The number of the second drawing problems included in different problem lists can be different, and the number of the second drawing problems included in the same second problem list is the same as the number of the problem importance degrees.
The reviewer grade table may further include grades of reviewers other than the second drawing reviewer.
Optionally, the audit staff level table may further include an audit field that the paper auditor excels in, and therefore, the N second paper auditors may be randomly selected in the audit staff level table, may also be selected based on the level of the paper auditor, may also be selected based on both the type of the CAD drawing and the level of the paper auditor, and may also be selected based on the type of the CAD drawing and the audit field that the paper auditor excels in.
The grade of the auditor can be represented by the working age of the auditor, the title of the auditor, the number of CAD drawings audited by the auditor, and so on.
The importance degree of the problem in each second problem list may be determined by the second drawing auditor corresponding to each second problem list.
Optionally, the determining at least one question priority based on at least one question importance degree in each second question list and the level of the second drawing auditor corresponding to each second question list includes:
determining the weight of the importance degree of the at least one question based on the grade of a second drawing auditor corresponding to each second question list;
determining at least one question priority based on the first formula, at least one question importance level in each of the second question lists, and the weight.
The grade of the second drawing auditor and the weight of the problem importance degree have an incidence relation, the incidence relation is preset, the higher the grade of the second drawing auditor is, the more accurate the judgment of the problem importance degree of the drawing problem is, and the weight of the problem importance degree is larger.
Wherein, the larger the problem priority is, the more serious the drawing problem is represented.
The first formula is J ═ α × a, J is the priority of the problem, α is the weight, and a is the importance of the problem.
For example, if the second question list a includes 3 questions (question 1, question 2, and question 3), the importance level of question 1 is 2, the importance level of question 2 is 4, the importance level of question 3 is 1, the level of the second drawing reviewer corresponding to the second question list is 3, and the weight of the importance level of the question corresponding to the level 3 is 3, the question priority of question 1 is 6, the question priority of question 2 is 12, and the question priority of question 3 is 3.
Because the priority of the drawing problem is determined based on the grade of the drawing auditor, the accuracy of determining the priority of the drawing problem is improved.
In one possible implementation, the method further includes:
acquiring the N third CAD drawings, and splicing the N third CAD drawings into the target CAD drawing;
associating each second drawing problem with the corresponding drawing area in the target CAD drawing;
and displaying the first question list and the target CAD drawing.
And splicing the third CAD drawing into a target CAD drawing according to a method for splitting the first CAD drawing.
The second drawing question may be associated with the coordinate range of the drawing area corresponding to the second drawing question.
And displaying the first problem list and the target CAD drawing in the corresponding preset area.
The method includes displaying a part of drawing questions in a first question list, and displaying another part of drawing questions after receiving a scroll display instruction for the first question list, or performing scroll display on the drawing questions in the first question list.
Because the third CAD drawing is combined into one CAD drawing, the drawing region corresponding to the drawing problem can be conveniently checked by a drawing auditor, and the efficiency of correcting the drawing problem is improved.
Step 202: obtaining a target drawing area based on the first drawing area and the first drawing problem, wherein the size of the first drawing area is smaller than that of the target drawing area, and the target drawing area is a drawing area corresponding to the first drawing problem.
The size of the target drawing area may be greater than or equal to the size of the first drawing area, or may be smaller than the size of the first drawing area.
In a possible implementation manner, the obtaining a target drawing area based on the first drawing area and the first drawing problem includes:
determining a first size of the first drawing area;
determining the magnification ratio of the first drawing area under the condition that the first size is smaller than or equal to a preset size and the problem priority corresponding to the first drawing problem is larger than or equal to a preset priority;
amplifying the first drawing area based on the amplification ratio to obtain a second drawing area;
and under the condition that the resolution of the second drawing area is smaller than the preset resolution, repairing the second drawing area to obtain the target drawing area.
In one possible implementation, the magnification scale is determined based on the first size and a second size of the display area.
The size of the display area may be the size of the display screen, or the size of the currently displayed target CAD drawing.
The drawing area is amplified, resolution repairing is carried out on the amplified drawing area, the target drawing area can be displayed more clearly, and the efficiency of correcting the drawing problem is improved.
Step 203: and displaying the target drawing area.
It can be seen that, in the embodiment of the application, when a first instruction is received and the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, a first drawing area corresponding to the first drawing problem is determined first, the first drawing area is obtained by a first drawing reviewer of a target CAD drawing by framing a region where the first drawing problem is located, then a target drawing area is obtained based on the first drawing area and the first drawing problem, the size of the first drawing area is smaller than that of the target drawing area, the target drawing area is the drawing area corresponding to the first drawing problem, and finally the target drawing area is displayed. After the first drawing area corresponding to the first drawing problem is determined, the size of the first drawing area is amplified to obtain the target drawing area based on the first drawing area and the first drawing problem, so that the improvement efficiency of the drawing problem is facilitated.
Referring to fig. 3, in accordance with the embodiment shown in fig. 2, fig. 3 is a schematic structural diagram of another electronic device provided in an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
the method comprises the steps that under the condition that a first instruction is received, the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, the first drawing area corresponding to the first drawing problem is determined, the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing and selecting the area where the first drawing problem is located;
obtaining a target drawing area based on the first drawing area and the first drawing problem, wherein the size of the first drawing area is smaller than that of the target drawing area, and the target drawing area is a drawing area corresponding to the first drawing problem;
and displaying the target drawing area.
In an implementation manner of the present application, before receiving the first instruction, the program includes instructions for performing the following steps:
acquiring a first CAD drawing;
splitting a first CAD drawing into N second CAD drawings, wherein the N second CAD drawings are used for being allocated to N second drawing reviewers to frame and select drawing areas where drawing problems are located, so as to obtain N second problem lists and N third CAD drawings, the N second CAD drawings correspond to the N second drawing reviewers one to one, the N third CAD drawings correspond to the N second CAD drawings one to one, the N second problem lists correspond to the N third CAD drawings one to one, each second problem list comprises the drawing problems in the corresponding third CAD drawings, each third CAD drawing comprises the drawing area corresponding to the drawing problems in the corresponding second problem list, the N second reviewers comprise the first drawing reviewers, and the drawing problems in the N second problem lists comprise the first drawing problems, n is a positive integer;
and obtaining N second problem lists, and determining to obtain the first problem list based on the N second problem lists.
In an implementation manner of the present application, each second question list includes at least one second drawing question and at least one question importance degree, and the second drawing questions correspond to the question importance degrees one to one;
in determining the first question list based on the N second question lists, the program includes instructions for:
acquiring a auditor grade table, wherein the auditor grade table comprises the grade of each second drawing auditor;
determining at least one question priority based on at least one question importance degree in each second question list and the grade of a second drawing auditor corresponding to each second question list, wherein the at least one question importance degree is in one-to-one correspondence with the at least one question priority;
and merging the second drawing problems included in the N second problem lists based on a merging principle that the priority of the problems is from high to low, and determining to obtain the first problem list.
In an implementation manner of the present application, the method further includes:
acquiring the N third CAD drawings, and splicing the N third CAD drawings into the target CAD drawing;
associating each second drawing problem with a corresponding drawing area in the target CAD drawing;
and displaying the first question list and the target CAD drawing.
In an implementation manner of the present application, in obtaining a target drawing area based on the first drawing area and the first drawing problem, the program includes instructions for performing the following steps:
determining a first size of the first drawing area;
determining the magnification ratio of the first drawing area under the condition that the first size is smaller than or equal to a preset size and the problem priority corresponding to the first drawing problem is larger than or equal to a preset priority;
amplifying the first drawing area based on the amplification ratio to obtain a second drawing area;
and under the condition that the resolution of the second drawing area is smaller than the preset resolution, repairing the second drawing area to obtain the target drawing area.
In one implementation of the present application, the magnification ratio is determined based on the first size and a second size of the display area.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a problem display device of a CAD drawing according to an embodiment of the present application, applied to an electronic device, where the device includes:
a first determining unit 401, configured to determine, when a first instruction is received, where the first instruction is used to indicate that a drawing area corresponding to a first drawing problem in a first problem list is displayed, the first drawing area corresponding to the first drawing problem, where the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing reviewer of the target CAD drawing by framing a region where the first drawing problem is located;
a second determining unit 402, configured to obtain a target drawing area based on the first drawing area and the first drawing problem, where a size of the first drawing area is smaller than a size of the target drawing area, and the first drawing area includes the target drawing area;
a display unit 403, configured to display the target drawing area.
In one possible implementation manner, the problem display apparatus of the CAD drawing further includes an obtaining unit 404, a splitting unit 405, and a splicing unit 406.
In an implementation manner of the present application, before receiving the first instruction, the obtaining unit 404 is configured to: acquiring a first CAD drawing;
the splitting unit 405 is configured to: splitting a first CAD drawing into N second CAD drawings, wherein the N second CAD drawings are used for being allocated to N second drawing reviewers to frame and select drawing areas where drawing problems are located, so as to obtain N second problem lists and N third CAD drawings, the N second CAD drawings correspond to the N second drawing reviewers one to one, the N third CAD drawings correspond to the N second CAD drawings one to one, the N second problem lists correspond to the N third CAD drawings one to one, each second problem list comprises the drawing problems in the corresponding third CAD drawings, each third CAD drawing comprises the drawing area corresponding to the drawing problems in the corresponding second problem list, the N second reviewers comprise the first drawing reviewers, and the drawing problems in the N second problem lists comprise the first drawing problems, n is a positive integer;
the acquiring unit 404 is configured to: and obtaining N second problem lists, and determining to obtain the first problem list based on the N second problem lists.
In an implementation manner of the present application, each second question list includes at least one second drawing question and at least one question importance degree, and the second drawing questions correspond to the question importance degrees one to one;
in terms of determining to obtain the first question list based on the N second question lists, the first determining unit 401:
acquiring a auditor grade table, wherein the auditor grade table comprises the grade of each second drawing auditor;
determining at least one question priority based on at least one question importance degree in each second question list and the grade of a second drawing auditor corresponding to each second question list, wherein the at least one question importance degree is in one-to-one correspondence with the at least one question priority;
and merging the second drawing problems included in the N second problem lists based on a merging principle that the priority of the problems is from high to low, and determining to obtain the first problem list.
In an implementation manner of the present application, the obtaining unit 404 is configured to: acquiring the N third CAD drawings;
the splicing unit 406 is configured to:
splicing the N third CAD drawings into the target CAD drawing;
associating each second drawing problem with a corresponding drawing area in the target CAD drawing;
the display unit is used for: and displaying the first question list and the target CAD drawing.
In an implementation manner of the present application, in terms of obtaining a target drawing area based on the first drawing area and the first drawing problem, the second determining unit is configured to:
determining a first size of the first drawing area;
determining the magnification ratio of the first drawing area under the condition that the first size is smaller than or equal to a preset size and the problem priority corresponding to the first drawing problem is larger than or equal to a preset priority;
amplifying the first drawing area based on the amplification ratio to obtain a second drawing area;
and under the condition that the resolution of the second drawing area is smaller than the preset resolution, repairing the second drawing area to obtain the target drawing area.
In one implementation of the present application, the magnification ratio is determined based on the first size and a second size of the display area.
It should be noted that the first determining unit 401, the second determining unit 402, the obtaining unit 404, the splitting unit 405, and the splicing unit 406 may be implemented by a processor, and the display unit 403 may be implemented by a display screen.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program causes a computer to perform some or all of the steps described in the electronic device in the above method embodiment.
Embodiments of the present application also provide a computer program product, where 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 perform some or all of the steps described in the electronic device in the above method. The computer program product may be a software installation package.
The steps of a method or algorithm described in the embodiments of the present application may be implemented in hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in Random Access Memory (RAM), flash Memory, Read Only Memory (ROM), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, a hard disk, a removable disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in an access network device, a target network device, or a core network device. Of course, the processor and the storage medium may reside as discrete components in an access network device, a target network device, or a core network device.
Those skilled in the art will appreciate that in one or more of the examples described above, the functionality described in the embodiments of the present application may be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Video Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the embodiments of the present application in further detail, and it should be understood that the above-mentioned embodiments are only specific embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (10)

1. A problem display method for a CAD drawing is characterized by comprising the following steps:
the method comprises the steps that under the condition that a first instruction is received, the first instruction is used for indicating and displaying a drawing area corresponding to a first drawing problem in a first problem list, the first drawing area corresponding to the first drawing problem is determined, the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing and selecting the area where the first drawing problem is located;
obtaining a target drawing area based on the first drawing area and the first drawing problem, wherein the size of the first drawing area is smaller than that of the target drawing area, and the target drawing area is a drawing area corresponding to the first drawing problem;
and displaying the target drawing area.
2. The method of claim 1, wherein prior to receiving the first instruction, the method further comprises:
acquiring a first CAD drawing;
splitting the first CAD drawing into N second CAD drawings, wherein the N second CAD drawings are used for being allocated to N second drawing reviewers to frame and select drawing areas where drawing problems are located, so as to obtain N second problem lists and N third CAD drawings, the N second CAD drawings correspond to the N second drawing reviewers one to one, the N third CAD drawings correspond to the N second CAD drawings one to one, the N second problem lists correspond to the N third CAD drawings one to one, each second problem list comprises the drawing problems in the corresponding third CAD drawings, each third CAD drawing comprises the drawing area corresponding to the drawing problems in the corresponding second problem list, the N second reviewers comprise the first drawing reviewer, and the drawing problems in the N second problem lists comprise the first drawing problems, n is a positive integer;
and obtaining N second problem lists, and determining to obtain the first problem list based on the N second problem lists.
3. The method of claim 2, wherein each of the second question lists comprises at least one second drawing question and at least one question importance level, the second drawing questions corresponding to the question importance levels one to one;
the determining to obtain the first question list based on the N second question lists includes:
acquiring a auditor grade table, wherein the auditor grade table comprises the grade of each second drawing auditor;
determining at least one question priority based on at least one question importance degree in each second question list and the grade of a second drawing auditor corresponding to each second question list, wherein the at least one question importance degree is in one-to-one correspondence with the at least one question priority;
and merging the second drawing problems included in the N second problem lists based on a merging principle that the priority of the problems is from high to low, and determining to obtain the first problem list.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
acquiring the N third CAD drawings, and splicing the N third CAD drawings into the target CAD drawing;
associating each second drawing problem with a corresponding drawing area in the target CAD drawing;
and displaying the first question list and the target CAD drawing.
5. The method of claim 4, wherein obtaining a target drawing area based on the first drawing area and the first drawing question comprises:
determining a first size of the first drawing area;
determining the magnification ratio of the first drawing area under the condition that the first size is smaller than or equal to a preset size and the problem priority corresponding to the first drawing problem is larger than or equal to a preset priority;
amplifying the first drawing area based on the amplification ratio to obtain a second drawing area;
and under the condition that the resolution of the second drawing area is smaller than the preset resolution, repairing the second drawing area to obtain the target drawing area.
6. The method of claim 5, wherein the magnification scale is determined based on the first size and a second size of the display area.
7. The problem display device of the CAD drawing is characterized by being applied to electronic equipment, and the device comprises:
the first determining unit is used for determining a first drawing area corresponding to a first drawing problem in a first problem list under the condition that the first instruction is received and used for indicating and displaying the drawing area corresponding to the first drawing problem, wherein the drawing problem included in the first problem list is a problem of a target CAD drawing, the target CAD drawing includes the first drawing area, and the first drawing area is obtained by a first drawing auditor of the target CAD drawing through framing the area where the first drawing problem is located;
a second determining unit, configured to obtain a target drawing area based on the first drawing area and the first drawing problem, where a size of the first drawing area is smaller than a size of the target drawing area, and the first drawing area includes the target drawing area;
and the display unit is used for displaying the target drawing area.
8. The apparatus of claim 7, wherein prior to receiving the first instruction, the method further comprises:
acquiring a first CAD drawing;
splitting the first CAD drawing into N second CAD drawings, wherein the N second CAD drawings are used for being allocated to N second drawing reviewers to frame and select drawing areas where drawing problems are located, so as to obtain N second problem lists and N third CAD drawings, the N second CAD drawings correspond to the N second drawing reviewers one to one, the N third CAD drawings correspond to the N second CAD drawings one to one, the N second problem lists correspond to the N third CAD drawings one to one, each second problem list comprises the drawing problems in the corresponding third CAD drawings, each third CAD drawing comprises the drawing area corresponding to the drawing problems in the corresponding second problem list, the N second reviewers comprise the first drawing reviewer, and the drawing problems in the N second problem lists comprise the first drawing problems, n is a positive integer;
and obtaining N second problem lists, and determining to obtain the first problem list based on the N second problem lists.
9. An electronic device, comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program is processed to perform the method according to any of the claims 1-6.
CN202011400400.3A 2020-12-04 2020-12-04 Problem display method of CAD drawing and related equipment Pending CN112528800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011400400.3A CN112528800A (en) 2020-12-04 2020-12-04 Problem display method of CAD drawing and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011400400.3A CN112528800A (en) 2020-12-04 2020-12-04 Problem display method of CAD drawing and related equipment

Publications (1)

Publication Number Publication Date
CN112528800A true CN112528800A (en) 2021-03-19

Family

ID=74997432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011400400.3A Pending CN112528800A (en) 2020-12-04 2020-12-04 Problem display method of CAD drawing and related equipment

Country Status (1)

Country Link
CN (1) CN112528800A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250615A1 (en) * 2007-05-01 2010-09-30 Reghetti Joseph P Systems and methods for differentiating and associating multiple drawings in a cad environment
CN110891167A (en) * 2019-11-30 2020-03-17 北京城市网邻信息技术有限公司 Information interaction method, first terminal and computer readable storage medium
CN111782758A (en) * 2020-06-18 2020-10-16 万翼科技有限公司 Drawing review result viewing method based on CAD and related device
CN111782583A (en) * 2020-06-12 2020-10-16 万翼科技有限公司 Intelligent image examination method and related device
CN111832254A (en) * 2020-06-24 2020-10-27 万翼科技有限公司 Drawing label display processing method and device
CN111858987A (en) * 2020-07-08 2020-10-30 万翼科技有限公司 Problem checking method of CAD (computer-aided design) image, electronic equipment and related product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250615A1 (en) * 2007-05-01 2010-09-30 Reghetti Joseph P Systems and methods for differentiating and associating multiple drawings in a cad environment
CN110891167A (en) * 2019-11-30 2020-03-17 北京城市网邻信息技术有限公司 Information interaction method, first terminal and computer readable storage medium
CN111782583A (en) * 2020-06-12 2020-10-16 万翼科技有限公司 Intelligent image examination method and related device
CN111782758A (en) * 2020-06-18 2020-10-16 万翼科技有限公司 Drawing review result viewing method based on CAD and related device
CN111832254A (en) * 2020-06-24 2020-10-27 万翼科技有限公司 Drawing label display processing method and device
CN111858987A (en) * 2020-07-08 2020-10-30 万翼科技有限公司 Problem checking method of CAD (computer-aided design) image, electronic equipment and related product

Similar Documents

Publication Publication Date Title
CN105210051B (en) Estimate the method and system of the visibility of content item
CN110602473B (en) White balance calibration method and device
CN111783392B (en) Drawing examination result display method and related equipment
CN107623818B (en) Image exposure method and mobile terminal
CN109068116B (en) Image processing method and device based on supplementary lighting, mobile terminal and storage medium
CN110445984B (en) Shooting prompting method and electronic equipment
CN111680864A (en) Method and device for determining emergency scheme of road accident and storage medium
CN115150929B (en) Method and device for adjusting antenna power and readable storage medium
CN110796552A (en) Risk prompting method and device
JP7472281B2 (en) Electronic device and focusing method
CN113553261A (en) Software automation test method, equipment and computer readable storage medium
CN113259954B (en) Method and device for determining quality difference processing strategy and electronic equipment
CN112528800A (en) Problem display method of CAD drawing and related equipment
CN110007836B (en) Bill generation method and mobile terminal
CN112261472A (en) Short video generation method and related equipment
CN109871324B (en) Control operation method and device
CN111859502A (en) Method and related equipment for positioning drawing review result
CN108509126B (en) Picture processing method and mobile terminal
CN116468914A (en) Page comparison method and device, storage medium and electronic equipment
CN110798505A (en) Management method and related device of plug-in Internet of things equipment
US20150142444A1 (en) Audio rendering order for text sources
CN109639880A (en) A kind of display method of weather information and terminal device
CN114063964A (en) Volume compensation optimization method and device, electronic equipment and readable storage medium
CN112764969A (en) Application software exception handling method and related equipment
CN109413276B (en) Information display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230616

Address after: A601, Zhongke Naneng Building, No. 06 Yuexing 6th Road, Gaoxin District Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518051

Applicant after: Shenzhen Wanyi Digital Technology Co.,Ltd.

Address before: 519000 room 105-24914, No.6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province (centralized office area)

Applicant before: WANYI TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right