CN111859503A - Drawing review method, electronic equipment and graphic server - Google Patents
Drawing review method, electronic equipment and graphic server Download PDFInfo
- Publication number
- CN111859503A CN111859503A CN202010659795.2A CN202010659795A CN111859503A CN 111859503 A CN111859503 A CN 111859503A CN 202010659795 A CN202010659795 A CN 202010659795A CN 111859503 A CN111859503 A CN 111859503A
- Authority
- CN
- China
- Prior art keywords
- primitive
- rule
- target
- preset
- local area
- 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.)
- Granted
Links
- 238000012552 review Methods 0.000 title claims abstract description 102
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000013461 design Methods 0.000 claims abstract description 44
- 238000007689 inspection Methods 0.000 claims description 68
- 238000013473 artificial intelligence Methods 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 6
- 238000012550 audit Methods 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000007726 management method Methods 0.000 description 7
- 230000002349 favourable effect Effects 0.000 description 6
- 238000011960 computer-aided design Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Architecture (AREA)
- Civil Engineering (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a drawing review method, electronic equipment and a graphic server, wherein the method comprises the following steps: acquiring a first operation instruction aiming at the electronic drawing, and forming a target local area on the electronic drawing according to the first operation instruction, wherein the target local area is used for representing a local area which does not meet standard requirements in architectural design specifications in the electronic drawing; determining at least one first primitive of a target local area; generating a review rule list according to the primitive type of at least one first primitive; acquiring a second operation instruction aiming at the review rule list, and determining a target preset review rule from the review rule list according to the second operation instruction; and determining the examination result of at least one first graphic element according to the target preset examination rule. Therefore, the method and the device for checking the target local area on the electronic drawing are beneficial to realizing the checking of the target local area on the electronic drawing without the checking of the whole drawing, thereby saving the time for checking the drawing and improving the efficiency for checking the drawing.
Description
Technical Field
The application relates to the technical field of computers, in particular to a drawing review method, electronic equipment and a graph server.
Background
The Building Information Modeling (BIM) is a datamation tool applied to engineering design, construction and management, can realize datamation and informationization model integration of a Building engineering project, and has the advantages of improving production efficiency, saving cost, shortening construction period and the like.
At present, in the process of examining the electronic drawings generated by the BIM software by a user, the process of examining the whole electronic drawings takes a lot of time, and the user sometimes does not need to examine the results of the whole electronic drawings. Therefore, how to save the review time and improve the review efficiency for the review processing of the electronic drawings becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a drawing review method, electronic equipment and a graph server, aiming at realizing the review of a target local area on an electronic drawing without the whole drawing review, thereby saving the drawing review time and improving the drawing review efficiency.
In a first aspect, an embodiment of the present application provides a drawing review method, including:
acquiring a first operation instruction aiming at an electronic drawing, and forming a target local area on the electronic drawing according to the first operation instruction, wherein the target local area is used for representing a local area which does not meet standard requirements in architectural design specifications in the electronic drawing;
Determining at least one first primitive of the target local area;
generating a review rule list according to the primitive type of the at least one first primitive, wherein the review rule list comprises at least one preset review rule, and the preset review rule comprises standard requirements of primitives in the electronic drawing in building design specifications;
acquiring a second operation instruction aiming at the examination rule list, and determining a target preset examination rule from the examination rule list according to the second operation instruction;
and determining the examination result of the at least one first graphic element according to the target preset examination rule.
In a second aspect, embodiments of the present application provide an electronic device, including a processor, an artificial intelligence AI module, a memory, and a communication interface, where the memory stores one or more programs, and the one or more programs are executed by the processor and the AI module, and the one or more programs include instructions for performing the steps in the first aspect of the embodiments of the present application.
In a third aspect, an embodiment of the present application provides a graphics server, including a processor, a memory, and a communication interface, where the memory stores one or more programs, and the one or more programs are executed by the processor, and the one or more programs include instructions for performing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of the present application. The computer program product may be a software installation package.
In the embodiment of the application, firstly, the electronic device forms a target local area on the electronic drawing according to a first operation instruction, and determines at least one first primitive of the target local area; then, the electronic equipment generates an examination rule list according to the primitive type of at least one first primitive, and determines a target preset examination rule from the examination rule list according to a second operation instruction; and finally, the electronic equipment determines the examination result of at least one first graphic element according to the target preset examination rule. Because the electronic equipment defines the target local area which does not meet the standard requirement in the architectural design specification in the electronic drawing according to the first operation instruction, the electronic equipment is favorable for implementing examination aiming at the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency. In addition, the electronic equipment acquires the primitives which do not meet the standard requirements in the building design specifications in the electronic drawing by determining at least one first primitive of the target local area, so that the primitives which do not meet the standard requirements in the building design specifications can be inspected according to the target preset inspection rule.
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 described below are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
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 drawing review method according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of an electronic drawing provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an electronic paper for examination provided in an embodiment of the present application;
FIG. 5 is a schematic structural diagram of yet another exemplary electronic paper provided in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of yet another review electronic drawing provided by an embodiment of the present application;
FIG. 7 is a schematic structural diagram of yet another review electronic drawing provided by an embodiment of the present application;
fig. 8 is a schematic diagram of an architecture of a drawing review system according to an embodiment of the present application;
Fig. 9 is a schematic structural diagram of a graphics server according to an embodiment of the present application;
fig. 10 is a schematic flowchart of another drawing review method provided in the embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 a part of the embodiments of the present application, and not all of the 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 terms "first," "second," and the like in the description and claims of the present application and in the above-described 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, software, product or apparatus that comprises a list of steps or elements is not limited to those listed but may alternatively include other steps or elements not listed or inherent to such process, method, product 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. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that the technical solution in the embodiment of the present application may be executed by the home terminal of the electronic device, or may be executed by interaction between the electronic device and the graphics server in the B/S architecture or the C/S architecture.
The following embodiments of the present application first specifically describe a case executed by a home terminal of an electronic device.
The electronic device according to the embodiment of the present application may be various handheld devices, vehicle-mounted devices, wearable devices, User Equipment (UE), terminal devices (terminating device), Personal Digital Assistants (PDA), Personal Computers (PC), terminal devices in a 5G communication system, and terminal devices in a Public Land Mobile Network (PLMN) for future evolution, which are used to provide an electronic drawing processing function.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 may include a processor 110, an Artificial Intelligence (AI) module 120, a memory 130, a communication interface 140, and at least one communication bus for connecting the processor 110, the AI module 120, the memory 130, and the communication interface 140. The processor 100 may be a Central Processing Unit (CPU) or an Application Processor (AP); the AI module 120 may be implemented in hardware and/or software, and when the AI module 120 is implemented in hardware, the processor 110 and the AI module 120 may be integrated or separated, and are not limited in this respect.
When the processor 110 and the AI module 120 are in an integrated configuration, if the processor 110 is a single-core processor, the AI module 120 may be an intelligent micro-processing circuit in the processor 110; if the processor 110 is a multi-core processor, the AI module 120 may be a single intelligent microprocessor core in the multi-core processor or an intelligent microprocessor circuit in a certain intelligent microprocessor core.
When the processor 110 and the AI module 120 are separately disposed, the AI module 120 may be a coprocessor in the application processor platform architecture, such as a neural-Network Processor (NPU), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), a Graphics Processor (GPU), an Image Signal Processor (ISP), or a Digital Signal Processor (DSP), besides the processor 110; AI module 120 may be an intelligent microprocessor circuit in a coprocessor; AI module 120 may be a newly configured intelligent microprocessor in the application processor platform architecture, in addition to processor 110; the AI module 120 may be a newly configured intelligent processing platform independent of the processor 110, and the intelligent processing platform includes at least one dedicated intelligent processor, and the intelligent processing platform is in communication connection with the processor 110, and meanwhile, the intelligent processing platform may also be in direct communication with a memory, an external device, and the like. In one possible example, the AI module 120 may be comprised of at least one NPU.
The memory 130 may be used to store software programs and/or modules and may include a program storage area and a data storage area. The storage program area may be used to store an operating system or a software program required by at least one function, and the software program required by the at least one function may be used to execute the drawing review function in the embodiment of the present application; the storage data area can be used for storing electronic drawings, data in the electronic drawings and the like. The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
The communication interface 140 may be used to send or receive an electronic drawing, data in the electronic drawing, a first operation command for the electronic drawing, a second operation instruction for the review rule list, and the like.
The AI module 120 in the electronic device 100 may perform the following operations by reading one or more programs 131 stored in the memory 130: acquiring a first operation instruction aiming at the electronic drawing through the communication interface 140, and forming a target local area on the electronic drawing according to the first operation instruction; determining at least one first primitive of a target local area; generating a review rule list according to the primitive type of at least one first primitive, wherein the review rule list comprises at least one preset review rule, and the preset review rule comprises standard requirements of the primitives in the electronic drawing in the building design specification; acquiring a second operation instruction aiming at the review rule list through the communication interface 140, and selecting a target preset review rule from the review rule list according to the second operation instruction; and determining the examination result of at least one first graphic element according to the target preset examination rule.
In the embodiment of the application, firstly, the electronic device forms a target local area on the electronic drawing through the AI module according to the first operation instruction, and determines at least one first primitive of the target local area; then, the electronic equipment generates an examination rule list according to the primitive type of at least one first primitive through an AI module, and determines a target preset examination rule from the examination rule list according to a second operation instruction; and finally, the electronic equipment determines the examination result of at least one first graphic element through the AI module according to the target preset examination rule. Because the target local area which does not meet the standard requirement in the building design specification in the electronic drawing is defined according to the first operation instruction, the method is favorable for implementing examination aiming at the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency. In addition, at least one first primitive of the target local area is determined, so that primitives which do not meet the standard requirements in the building design specifications in the electronic drawing are obtained, and inspection of the primitives which do not meet the standard requirements in the building design specifications is performed according to the target preset inspection rule.
In accordance with the above-described embodiments, the steps performed in the method for drawing review will now be described in terms of method examples, with reference to fig. 2. Fig. 2 is a schematic flowchart of a drawing review method provided in an embodiment of the present application, which is applied to an electronic device 100 including a processor 110 and an AI module 120, and the method includes:
s210, the electronic equipment acquires a first operation instruction aiming at the electronic drawing, and forms a target local area on the electronic drawing according to the first operation instruction.
Specifically, the target local area may be used to represent a local area in the electronic drawing that does not meet the standard requirements in the architectural design specifications.
It should be noted that, in the electronic apparatus 100, the AI module 120 in the internal structure forms the target local area on the electronic drawing according to the first operation instruction. Because the electronic equipment defines the target local area which does not meet the standard requirement in the architectural design specification in the electronic drawing according to the first operation instruction, the electronic equipment realizes that the examination is executed aiming at the target local area in the electronic drawing without whole drawing examination, thereby saving the drawing examination time and improving the drawing examination efficiency.
Specifically, the electronic drawings may include Computer Aided Design (CAD) drawings for Modeling the Building project, Building Information Model (BIM) drawings, and the like. The electronic drawing is a file that can be created by BIM software, and the BIM software may be AutoCAD, RevitStructure, ArchiCAD, Bentley System, Tekla structure, Digital Project, or the like.
Specifically, the data in the electronic drawing includes data of all the primitives in the electronic drawing, coordinate information of each primitive in all the primitives, a drawing frame in the electronic drawing, an axis network in the electronic drawing, and the like.
For example, referring to fig. 3, all the primitives in the electronic drawing 310 include a wall around a bedroom area, a wall around a living room area, a wall around a dining room area, a wall around a study room area, a wall around a toilet area, a wall around a garage area, a window, a door, and the like; the areas in the electronic drawing 310 include a bedroom area, a living room area, a dining room area, a study area, a toilet area, a garage area, a kitchen area, and the like; the axis network in the electronic drawing 310 includes horizontal axes sequentially labeled from left to right according to the numbers 1-6, vertical axes sequentially labeled from bottom to top according to the numbers a-E, and the like.
The following describes in detail how the electronic device forms the target local area on the electronic drawing according to the first operation instruction.
In one possible example, the forming of the target local area on the electronic drawing according to the first operation instruction may include the following operations: forming at least four touch points on the electronic drawing in time sequence according to the first operation instruction; the at least four touch points comprise a first touch point and a second touch point, the first touch point and the second touch point are overlapped, the first touch point is one of the at least four mark points with the earliest forming time, and the second touch point is one of the at least four mark points with the latest forming time; and determining a target local area according to the connection mode of the at least four touch points and the preset line segment.
In the electronic device 100, the AI module 120 in the internal structure forms at least four touch points on the electronic drawing according to the first operation instruction, and determines the target local area according to the connection manner of the at least four touch points and the preset line segment. In addition, the electronic device recognizes that the first touch point and the second touch point are overlapped, so that the electronic device can know that the forming process of the touch points is finished, and a target local area is formed immediately according to each touch point. Meanwhile, the first touch point and the second touch point are overlapped, so that the first touch point and the second touch point are favorable for rapidly and sequentially connecting each touch point according to the forming time sequence to form a target local area with a closed area. Because the electronic equipment defines the local area which does not meet the standard requirement in the architectural design specification in the electronic drawing through at least four touch points formed on the electronic drawing by the first operation instruction, and the at least four touch points are formed simply, conveniently and variously, the flexibility, the diversity and the convenience of the forming process of the target local area are favorably realized, and the processing efficiency of the examination process of the electronic drawing is favorably improved.
Specifically, the target local area and all the primitives in the electronic drawing are not in the same layer.
Specifically, the preset line segment connection mode includes a straight line connection mode or a curve connection mode.
Specifically, determining the target local area according to at least four touch points and a preset line segment connection manner may include the following operations: sequentially connecting each touch point of at least four touch points in a formed time sequence according to a preset line segment connection mode; and taking a closed area formed by connecting at least four touch points as a target local area.
For example, referring to fig. 4, first, the electronic device obtains a click command for the "review" button 410, generates the display interface 420, and obtains a click command for the "curve" button 4201; then, the electronic device sequentially forms a touch point 4301, a touch point 4302, a touch point 4303, a touch point 4304 and a touch point 4305 in an electronic drawing (a "one-layer plan view". dwg ") according to the first operation instruction, wherein the touch point 4301 and the touch point 4305; finally, the touch point 4301, the touch point 4302, the touch point 4303, the touch point 4304 and the touch point 4305 are sequentially connected in time sequence according to a curve connection manner, and a target local area 440 is formed. It should be noted that the target local area 440 is not in the same layer as all the primitives (e.g., walls, windows, etc. around the living room area) in the electronic drawing, the axis network in the electronic drawing, and the marking data in the electronic drawing.
S220, the electronic equipment determines at least one first primitive of the target local area.
Specifically, the first primitive is one of all primitives in the electronic drawing.
Further, the first primitive is one of all primitives in the electronic drawing which do not meet the standard requirements in the building design specifications.
It should be noted that the electronic device 100 determines at least one first primitive of the target local area by the AI module 120 in the internal structure. In addition, since the target local area can be used for representing a local area in the electronic drawing which does not meet the standard requirement in the architectural design specification, at least one first primitive of the target local area is determined, so that primitives which do not meet the standard requirement in the architectural design specification in the electronic drawing are obtained, and the examination of the primitives which do not meet the standard requirement in the architectural design specification is realized.
For example, in fig. 4, the at least one first primitive of the target local area 440 includes a window 450 in the bedroom area, a door 460 in the bedroom area, a door 470 in the garage area, a window 480 in the living room area, and a door 490 in the living room area in the electronic drawing.
Since the target local area may not be in the same layer as all the primitives in the electronic drawing, and it cannot be directly determined which primitives are selected by the target local area on the electronic drawing to obtain at least one first primitive of the target local area, a specific description will be given below on how to determine the at least one first primitive of the target local area.
In one possible example, determining at least one first primitive of the target local area may include the following operations: calculating coordinate information of all primitives in the electronic drawing on a preset two-dimensional coordinate system to obtain a first coordinate information set, wherein the preset two-dimensional coordinate system is constructed by taking an intersection point between an axis A in the electronic drawing and an axis 1 in the electronic drawing as an origin, taking the axis A as an X axis and taking the axis 1 as a Y axis; calculating coordinate information of the target local area on a preset two-dimensional coordinate system to obtain a second coordinate information set; selecting a target coordinate information set from the first coordinate information set, wherein the target coordinate information set is in the second coordinate information set; and determining at least one first graphic element of the target local area from all graphic elements in the electronic drawing according to the target information set.
It should be noted that, in the electronic device 100, the AI module 120 in the internal structure calculates and obtains coordinate information of all primitives and coordinate information of the target local area in the electronic drawing, selects and obtains a target coordinate information set, and determines at least one first primitive of the target local area from all primitives in the electronic drawing according to the target coordinate information set. In addition, because the target local area and all the primitives in the electronic drawing are not in the same layer, a coordinate information set of the target local area and all the primitives in the electronic drawing on a preset two-dimensional coordinate system is constructed, a target coordinate information set in a second coordinate information set is selected from the first coordinate information set, and then the primitive corresponding to the target coordinate information set is used as at least one first primitive of the target local area.
For example, referring to fig. 5, first, the electronic device constructs a two-dimensional coordinate system with an intersection 510 of an axis a and an axis 1 in the electronic drawing as an origin, the axis a as an X axis, and the axis 1 as a Y axis; secondly, the electronic equipment calculates the coordinate information of all the primitives in the electronic drawing on the two-dimensional coordinate system to obtain a first coordinate information set, namely { (x)1,1,y1,1),...,(x1,l,y1,l)};{(x2,1,y2,1),...,(x2,m,y2,m)};{(x3,1,y3,1),...,(x3,n,y3,n) }; .., and storing a first set of coordinate information, wherein the coordinate information of windows 520 in the bedroom area is { (x)1,1,y1,1),...,(x1,l,y1,l) The coordinate information of the door 530 in the living room area is { (x)3,1,y3,1),...,(x3,n,y3,n) }; third, the electronic device calculates the coordinate information of the target local area 540 formed on the electronic drawing by the first operation instruction on the two-dimensional coordinate system to obtain a second coordinate information set, i.e., { (x)1,1,y1,1),...,(x1,l,y1,l)};{(x3,1,y3,1),...,(x3,n,y3,n)};{(x5,1,y5,1),...,(x5,p,y5,p) }; ... }; then, a target set of coordinate information within the second set of coordinate information is selected from within the first set of coordinate information, i.e., { (x)1,1,y1,1),...,(x1,l,y1,l)};{(x3,1,y3,1),...,(x3,n,y3,n) }; ... }; finally, at least one first graphical element of the window 520 in the bedroom area and the door 530 in the living room area, i.e. the target partial area 540, is determined from all graphical elements in the electronic drawing according to the target coordinate information set.
And S230, the electronic equipment generates a review rule list according to the primitive type of the at least one first primitive.
The examination rule list may include at least one preset examination rule, and the preset examination rule may include a standard requirement of the graphic element in the electronic drawing in the building design specification.
It should be noted that the electronic device 100 generates the examination rule list according to the primitive type of the at least one first primitive by the AI module 120 in the internal structure. In addition, in the embodiment of the present application, it is considered that the predetermined inspection rule can only inspect specific primitive types to ensure the accuracy of the inspection result, that is, a certain predetermined inspection rule can only address the standard requirement of "door" in the building design specification, and another predetermined inspection rule can only address the standard requirement of "window" in the building design specification.
Therefore, the method and the device for generating the inspection rule list only select the primitive types existing in the at least one first primitive to generate the inspection rule list, and do not select the primitive types not existing in the at least one first primitive, so that the accuracy and the efficiency of the inspection process for the electronic drawing are improved. For example, in fig. 4, the at least one first primitive of the target local area 440 includes a window 450 in the bedroom area, a door 460 in the bedroom area, a door 470 in the garage area, a window 480 in the living room area, and a door 490 in the living room area in the electronic drawing, and thus the primitive types of the at least one first primitive are "door" and "window", so that only the preset examination rules for "door" and "window" are selected to generate the examination rule list.
Specifically, at least one preset examination rule in the examination rule list may be arranged and composed according to a preset arrangement order. The preset arrangement order may be an arrangement order of priorities of primitive types for which the examination rule is preset. For example, the arrangement order of the primitive types "window" targeted by a certain preset inspection rule has higher priority than the arrangement order of the primitive types "door" targeted by another preset inspection rule.
For example, referring to fig. 6, first, the electronic device forms a target local area 610 on an electronic drawing ("one-layer plan view. dwg") according to a first operation instruction; then, the electronic device determines that at least one first primitive of the target local area 610 includes a window 620 of a bedroom area, a door 630 of a bedroom area, a door 640 of a garage area, a window 650 of a living room area and a door 660 of the living room area; finally, the electronic device generates a review rule list 670 according to the primitive type of the at least one first primitive, wherein the review rule list 670 includes a "window" review rule 1, a "door" review rule 1, a "window" review rule 2, a "door" review rule 2, a "window" review rule 3, and a "door" review rule 3. When the arrangement order of the primitive types of a certain preset inspection rule as the window has higher priority than the arrangement order of the primitive types of another preset inspection rule as the door, the window inspection rule 1 is arranged before the door inspection rule 1, and the rest is the same.
In one possible example, prior to generating the review rule list from the primitive types for the at least one first primitive, electronic device 100 further performs the following: acquiring account information of a current user; sending a query request message to an examination rule server, wherein the query request message carries account information of a current user, and the query request message is used for requesting the examination rule server to query examination rules enjoyed by the current user according to the account information of the current user; and receiving a response message from the examination rule server for the query request message, wherein the response message contains at least one preset examination rule.
It should be noted that, the electronic device sends an inquiry request message to the examination rule server, and the examination rule server inquires the examination rule enjoyed by the current user according to the account information of the current user. Because at least one preset examination rule acquired by the electronic equipment is specific to the current user, the examination rule matched with the current user is acquired according to the account information of the current user.
And S240, the electronic equipment acquires a second operation instruction aiming at the review rule list, and selects a target preset review rule from the review rule list according to the second operation instruction.
It should be noted that, in the electronic device 100, the AI module 120 in the internal structure selects the target preset review rule from the review rule list according to the second operation instruction.
In one possible example, selecting the target preset review rule from the review rule list according to the second operation instruction may include: determining at least one preset examination rule in the examination rule list according to the arrangement sequence of the primitive types according to the second operation instruction to obtain a first arrangement sequence; and selecting a target preset examination rule from at least one preset examination rule according to the second operation instruction and the first arrangement sequence.
It should be noted that, in the electronic device 100, the AI module 120 in the internal structure arranges at least one preset inspection rule in the inspection rule list according to the primitive type according to the second operation instruction, and then selects to obtain the target preset inspection rule. In addition, at least one preset examination rule is arranged in the examination rule list according to the primitive types in sequence, so that the preset examination rule under the same primitive type can be conveniently searched in the examination rule list so as to select the target preset examination rule.
For example, referring to fig. 7, first, the electronic device obtains a first click command for the "arrange by type" button 710, and obtains a review rule list 720 sorted by the "window" review rule 1, the "window" review rule 2, the "window" review rule 3, the "door" review rule 1, the "door" review rule 2, and the "door" review rule 3 according to the first click command; then, the electronic equipment acquires a second click command aiming at the window examination rule 1 and a third click command aiming at the door examination rule 1; finally, the electronic device selects "window" review rule 1 and "door" review rule 1 from the review rule list 720 according to the second click command and the third click command. In this example, the second operation command includes a first click command, a second click command, and a third click command.
S250, the electronic equipment determines the examination result of at least one first graphic element according to the target preset examination rule.
It should be noted that, in the electronic device 100, the AI module 120 in the internal structure determines the inspection result of the at least one first primitive according to the target preset inspection rule.
In one possible example, determining the inspection result of the at least one first primitive according to the target preset inspection rule may include the following operations: and determining the inspection result of at least one first primitive according to the primitive type aimed by the target preset inspection rule and the primitive type of at least one target primitive.
It should be noted that the electronic device 100 determines the examination result of the at least one first primitive by the AI module 120 in the internal structure. In addition, the method and the device for checking the target graphic primitive take the graphic primitive type aimed at by the target preset checking rule into consideration to check at least one target graphic primitive, so that the accuracy of the checking result is guaranteed.
In one possible example, determining an inspection result of the at least one target primitive according to the primitive type targeted by the target preset inspection rule and the primitive type of the at least one first primitive may include the following operations: determining at least one second primitive from the at least one first primitive according to the primitive type aimed at by the target preset inspection rule and the primitive type of the at least one first primitive; the primitive type of the second primitive meets the primitive type aimed at by the target preset inspection rule; and checking whether the size or the area of the at least one second graphic element meets the standard requirements in the building design specifications according to a target preset checking rule to obtain a checking result of the at least one second graphic element.
It should be noted that, in the electronic device 100, the AI module 120 in the internal structure determines at least one second primitive, and then checks whether the size or area of the at least one second primitive meets the standard requirement in the building design specification according to the target preset inspection rule. In addition, the primitive meeting the primitive type aimed at by the target preset inspection rule is selected from the at least one first primitive, and then inspection is performed on the primitive, so that the accuracy of the inspection result is further ensured, and the inspection efficiency of the electronic drawing is improved.
For example, in fig. 6, when the target preset review rule determined by the electronic device according to the second operation instruction is the "window" review rule 1, the electronic device determines the window 620 of the bedroom area and the window 650 of the living room area as at least one second primitive from the window 620 of the bedroom area, the door 630 of the bedroom area, the door 640 of the garage area, the window 650 of the living room area and the door 660 of the living room area because the primitive type targeted by the "window" review rule 1 is the "window". The electronic device then reviews the size or area of window 620 for the bedroom region and the size or area of window 650 for the living room region according to "window" review rule 1.
In the embodiment of the application, firstly, the electronic device forms a target local area on the electronic drawing according to a first operation instruction, and determines at least one first primitive of the target local area; then, the electronic equipment generates an examination rule list according to the primitive type of at least one first primitive, and determines a target preset examination rule from the examination rule list according to a second operation instruction; and finally, the electronic equipment determines the examination result of at least one first graphic element according to the target preset examination rule. Because the electronic equipment defines the target local area which does not meet the standard requirement in the architectural design specification in the electronic drawing according to the first operation instruction, the electronic equipment is favorable for implementing examination aiming at the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency. In addition, the electronic equipment acquires the primitives which do not meet the standard requirements in the building design specifications in the electronic drawing by determining at least one first primitive of the target local area, so that the primitives which do not meet the standard requirements in the building design specifications can be inspected according to the target preset inspection rule.
The embodiment of the present application further specifically describes a situation of interactive execution between an electronic device and a graphics server in a B/S architecture or a C/S architecture.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating an architecture of a drawing review system according to an embodiment of the present application. The drawing review system 800 may include a graphics server 810, an electronic device 820. The electronic device 820 may upload an electronic drawing modeled for the building project to the graphics server 810, may send a first operation instruction in the electronic drawing and a second operation instruction for the review rule list to the graphics server 820, and may also receive a message sent by the graphics server 820 or an electronic drawing after review; the graphic server 810 may obtain the electronic drawing uploaded by the electronic device 820, may review, parse, store, display, or display data in the electronic drawing, may obtain a first operation instruction for the electronic drawing and a second operation instruction for the review rule list, and may also send a message or the reviewed electronic drawing to the electronic device 820. It should be noted that, the graphic server 810 and the electronic device 820 may communicate with each other in a wired or wireless manner, and are not limited in particular.
Specifically, the graphic server 810 in the embodiment of the present application may be various cloud servers, internet of things servers, data center network devices, Personal Computers (PCs), computing devices, network devices in a 5G system, network devices in a Public Land Mobile Network (PLMN) for future evolution, and the like, which are used to provide the drawing review function, and the embodiment of the present application is not particularly limited.
Specifically, the electronic device 820 according to the embodiment of the present application may be various handheld devices, vehicle-mounted devices, wearable devices, User Equipment (UE), terminal devices (terminal device), Personal Digital Assistants (PDA), Personal Computers (PC), terminal devices in a 5G communication system, terminal devices in a PLMN that is evolved in the future, and the like, which are used for supporting the uploading or displaying function of electronic drawings.
An example of a possible architecture for graphics server 810 is described below, with reference to fig. 9. Fig. 9 is a schematic structural diagram of a graphics server according to an embodiment of the present application. Graphics server 810 may include a processor 910, a communication module 920, a power management module 930, and a memory 940. The processor 910 is connected to and controls the communication module 920, the power management module 930, and the memory 940 in the form of corresponding buses. Processor 910 is, among other things, the control center for graphics server 810 and connects the various parts of graphics server 810 through various interfaces and lines. In addition, processor 910 invokes stored data in memory by running or executing software programs and/or modules within memory 940 to perform various functions of graphics server 810 and drawing inspection, and to monitor the overall operation of graphics server 810. Alternatively, the processor 910 may include a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), and the like. The communication module 920 may implement functions of a second generation 2G mobile communication technology network, a third generation 3G mobile communication technology network, a fourth generation 4G mobile communication technology network, and a fifth generation 5G mobile communication technology network, etc. to perform uploading and receiving of electronic drawings or sending and receiving of instructions, etc., and may provide channel spectrum resources of 2.4GHz and 5GHz to perform uploading and receiving of electronic drawings or sending and receiving of instructions, etc. The power management module 930 may include a power management chip and may provide management functions such as power conversion, distribution, detection, etc. for the graphics server 810. The memory 940 may be used to store software programs and/or modules, and may include a program storage area and a data storage area. The storage program area may be used to store an operating system or a software program required by at least one function, and the software program required by the at least one function may be used to execute the drawing review function in the embodiment of the present application; the storage data area can be used for storing electronic drawings, data in the electronic drawings and the like.
In an embodiment of the present application, the graphics server 810 may include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a CPU, a Memory Management Unit (MMU), and a memory (also referred to as a memory). The memory may be used to store software programs and/or modules, and may include a program storage area and a data storage area. The storage program area may be used to store an operating system or a software program required by at least one function, and the software program required by the at least one function may be used to execute the drawing review function in the embodiment of the present application; the storage data area can be used for storing electronic drawings, data in the electronic drawings and the like. The operating system may be any one or more computer operating systems that implement business processing through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. A graphic engine or the like runs on the application layer. Accordingly, the graphic processor 810 may review the electronic drawing or parse data in the electronic drawing through a graphic engine running on the application layer. In addition, the embodiment of the present application does not particularly limit the specific structure of the execution subject providing the drawing review method, as long as the execution subject can communicate according to the method provided by the embodiment of the present application by running the program recorded with the code of the method provided by the embodiment of the present application, for example, the execution subject of the method provided by the embodiment of the present application may be the graphics server 810, and may be a functional module in the graphics server 810, which can call the program and execute the program.
The steps performed in the method for drawing review will now be described with reference to fig. 10, in the context of a method example. Fig. 10 is a schematic flowchart of another drawing review method provided in an embodiment of the present application, which is applied to a graphics server 810, and the method includes:
s1010, the electronic equipment uploads a first operation instruction aiming at the electronic drawing to the graphic server.
Specifically, the electronic drawings may include Computer Aided Design (CAD) drawings for Modeling the Building project, Building Information Model (BIM) drawings, and the like. The electronic drawing is a file that can be created by AutoCAD software or BIM software, and the BIM software may include RevitStructure, ArchiCAD, Bentley System, Tekla structure, Digital Project, and the like.
Specifically, the data in the electronic drawing includes data of all the primitives in the electronic drawing, coordinate information of each primitive in all the primitives, a drawing frame in the electronic drawing, an axis network in the electronic drawing, and the like.
S1020, the graphics server obtains the first operation instruction and forms a target local area on the electronic drawing according to the first operation instruction.
Specifically, the target local area may be used to represent a local area in the electronic drawing that does not meet the standard requirements in the architectural design specifications.
It should be noted that the graphics server 810 forms the target local area on the electronic drawing by the processor 910 in the internal structure according to the first operation instruction. Because the graphic server 810 defines the target local area in the electronic drawing which does not meet the standard requirements in the architectural design specifications according to the first operation instruction, the examination of the target local area in the electronic drawing is realized without the whole drawing examination, thereby saving the drawing examination time and improving the drawing examination efficiency.
The following describes in detail how the graphics server 810 forms the target local area on the electronic drawing according to the first operation instruction.
In one possible example, the forming of the target local area on the electronic drawing according to the first operation instruction may include the following operations: forming at least four touch points on the electronic drawing in time sequence according to the first operation instruction; the at least four touch points comprise a first touch point and a second touch point, the first touch point and the second touch point are overlapped, the first touch point is one of the at least four mark points with the earliest forming time, and the second touch point is one of the at least four mark points with the latest forming time; and determining a target local area according to the connection mode of the at least four touch points and the preset line segment.
It should be noted that, in the graphics server 810, the processor 910 in the internal structure forms at least four touch points on the electronic drawing according to the first operation instruction, and determines the target local area according to the at least four touch points and the preset line segment connection manner. In addition, the graphics server recognizes that the first touch point and the second touch point are overlapped, so that the graphics server can know that the forming process of the touch points is finished, and a target local area is formed immediately according to each touch point. Meanwhile, the first touch point and the second touch point are overlapped, so that the first touch point and the second touch point are favorable for rapidly and sequentially connecting each touch point according to the forming time sequence to form a target local area with a closed area. Because the graphic server defines the local area which does not meet the standard requirement in the architectural design specification in the electronic drawing through at least four touch points formed on the electronic drawing by the first operation instruction, and the at least four touch points are formed simply, conveniently and variously, the flexibility, the diversity and the convenience of the forming process of the target local area are favorably realized, and the processing efficiency of the examination process of the electronic drawing is favorably improved.
Specifically, the target local area and all the primitives in the electronic drawing are not in the same layer.
Specifically, the preset line segment connection mode includes a straight line connection mode or a curve connection mode.
Specifically, determining the target local area according to at least four touch points and a preset line segment connection manner may include the following operations: sequentially connecting each touch point of at least four touch points in a formed time sequence according to a preset line segment connection mode; and taking a closed area formed by connecting at least four touch points as a target local area.
S1030, the graphics server determines at least one first primitive of the target local area.
Specifically, the first primitive is one of all primitives in the electronic drawing.
Further, the first primitive is one of all primitives in the electronic drawing which do not meet the standard requirements in the building design specifications.
It should be noted that the graphics server 810 determines at least one first primitive of the target local area by the processor 910 in the internal structure. In addition, since the target local area can be used for representing the local area in the electronic drawing which does not meet the standard requirement in the architectural design specification, at least one first primitive of the target local area is determined, so that primitives which do not meet the standard requirement in the architectural design specification in the electronic drawing are obtained, and the examination of the primitives which do not meet the standard requirement in the architectural design specification is realized.
Since the target local area may not be in the same layer as all the primitives in the electronic drawing, and it cannot be directly determined which primitives are selected by the target local area on the electronic drawing to obtain at least one first primitive of the target local area, a specific description will be given below on how to determine the at least one first primitive of the target local area.
In one possible example, determining at least one first primitive of the target local area may include the following operations: calculating coordinate information of all primitives in the electronic drawing on a preset two-dimensional coordinate system to obtain a first coordinate information set, wherein the preset two-dimensional coordinate system is constructed by taking an intersection point between an axis A in the electronic drawing and an axis 1 in the electronic drawing as an origin, taking the axis A as an X axis and taking the axis 1 as a Y axis; calculating coordinate information of the target local area on a preset two-dimensional coordinate system to obtain a second coordinate information set; selecting a target coordinate information set from the first coordinate information set, wherein the target coordinate information set is in the second coordinate information set; and determining at least one first graphic element of the target local area from all graphic elements in the electronic drawing according to the target information set.
It should be noted that, the graphics server 810 obtains, through calculation by the processor 910 in the internal structure, coordinate information of all primitives and coordinate information of the target local area in the electronic drawing, selects to obtain a target coordinate information set, and determines at least one first primitive of the target local area from all primitives in the electronic drawing according to the target coordinate information set. In addition, because the target local area and all the primitives in the electronic drawing are not in the same layer, a coordinate information set of the target local area and all the primitives in the electronic drawing on a preset two-dimensional coordinate system is constructed, a target coordinate information set in a second coordinate information set is selected from the first coordinate information set, and then the primitive corresponding to the target coordinate information set is used as at least one first primitive of the target local area.
And S1040, the graphic server generates a review rule list according to the primitive type of the at least one first primitive.
The examination rule list may include at least one preset examination rule, and the preset examination rule may include a standard requirement of the graphic element in the electronic drawing in the building design specification.
It should be noted that the graphics server 810 generates the examination rule list according to the primitive type of the at least one first primitive by the processor 910 in the internal structure. In addition, in the embodiment of the present application, it is considered that the predetermined inspection rule can only inspect specific primitive types to ensure the accuracy of the inspection result, that is, a certain predetermined inspection rule can only address the standard requirement of "door" in the building design specification, and another predetermined inspection rule can only address the standard requirement of "window" in the building design specification.
Therefore, the method and the device for generating the inspection rule list only select the primitive types existing in the at least one first primitive to generate the inspection rule list, and do not select the primitive types not existing in the at least one first primitive, so that the accuracy and the efficiency of the inspection process for the electronic drawing are improved.
Specifically, at least one preset examination rule in the examination rule list may be arranged according to a preset arrangement order. The preset arrangement order may be an arrangement order of priorities of primitive types for which the examination rule is preset. For example, the arrangement order of the primitive types "window" targeted by a certain preset inspection rule has higher priority than the arrangement order of the primitive types "door" targeted by another preset inspection rule.
In one possible example, prior to generating the review rule list from the primitive types for the at least one first primitive, the graphics server 810 further performs the following: acquiring account information of a current user; sending a query request message to an examination rule server, wherein the query request message carries account information of a current user, and the query request message is used for requesting the examination rule server to query examination rules enjoyed by the current user according to the account information of the current user; and receiving a response message from the examination rule server for the query request message, wherein the response message contains at least one preset examination rule.
It should be noted that the graphic server 810 sends a query request message to the examination rule server, and the examination rule server queries the examination rules enjoyed by the current user according to the account information of the current user. Since at least one preset examination rule acquired by the graphic server 810 is specific to the current user, the acquisition of the examination rule matched with the current user according to the account information of the current user is realized.
And S1050, the electronic device uploads a second operation instruction aiming at the examination rule list to the graphic server.
And S1060, the graphics server acquires the second operation instruction, and selects a target preset examination rule from the examination rule list according to the second operation instruction.
It should be noted that the graphic server 810 selects the target preset review rule from the review rule list according to the second operation instruction by the processor 910 in the internal structure.
In one possible example, selecting the target preset review rule from the review rule list according to the second operation instruction may include: determining at least one preset examination rule in the examination rule list according to the arrangement sequence of the primitive types according to the second operation instruction to obtain a first arrangement sequence; and selecting a target preset examination rule from at least one preset examination rule according to the second operation instruction and the first arrangement sequence.
It should be noted that, in the graphics server 810, the processor 910 in the internal structure arranges at least one preset inspection rule in the inspection rule list according to the primitive type according to the second operation instruction, and then selects to obtain the target preset inspection rule. In addition, at least one preset examination rule is arranged in the examination rule list according to the primitive types in sequence, so that the preset examination rule under the same primitive type can be conveniently searched in the examination rule list so as to select the target preset examination rule.
And S1070, the graphic server determines the examination result of at least one first graphic element according to a target preset examination rule.
It should be noted that the graphics server 810 determines the examination result of at least one first primitive according to the target preset examination rule by the processor 910 in the internal structure.
In one possible example, determining the inspection result of the at least one first primitive according to the target preset inspection rule may include the following operations: and determining the inspection result of at least one first primitive according to the primitive type aimed by the target preset inspection rule and the primitive type of at least one target primitive.
It should be noted that the graphics server 810 determines the examination result of at least one first primitive by the processor 910 in the internal structure. In addition, the method and the device for checking the target graphic primitive take the graphic primitive type aimed at by the target preset checking rule into consideration to check at least one target graphic primitive, so that the accuracy of the checking result is guaranteed.
In one possible example, determining an inspection result of the at least one target primitive according to the primitive type targeted by the target preset inspection rule and the primitive type of the at least one first primitive may include the following operations: determining at least one second primitive from the at least one first primitive according to the primitive type aimed at by the target preset inspection rule and the primitive type of the at least one first primitive; the primitive type of the second primitive meets the primitive type aimed at by the target preset inspection rule; and checking whether the size or the area of the at least one second graphic element meets the standard requirements in the building design specifications according to a target preset checking rule to obtain a checking result of the at least one second graphic element.
It should be noted that, the graphics server 810 determines at least one second primitive by the processor 910 in the internal structure, and then examines whether the size or area of the at least one second primitive meets the standard requirement in the building design specification according to the target preset examination rule. In addition, the primitive meeting the primitive type aimed at by the target preset inspection rule is selected from the at least one first primitive, and then inspection is performed on the primitive, so that the accuracy of the inspection result is further ensured, and the inspection efficiency of the electronic drawing is improved.
In the embodiment of the application, firstly, the graphics server forms a target local area on the electronic drawing according to a first operation instruction, and determines at least one first primitive of the target local area; then, the graphic server generates an examination rule list according to the primitive type of at least one first primitive, and determines a target preset examination rule from the examination rule list according to a second operation instruction; and finally, the graphic server determines the examination result of at least one first graphic element according to the target preset examination rule. The graphic server delineates the target local area which does not meet the standard requirement in the building design specification in the electronic drawing according to the first operation instruction, so that the method is favorable for implementing examination aiming at the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency. In addition, the graphics server determines at least one first primitive of the target local area, so that the primitive which does not meet the standard requirement in the building design specification in the electronic drawing is obtained, and inspection of the primitive which does not meet the standard requirement in the building design specification is performed according to the target preset inspection rule.
Embodiments of the present application also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, the computer program being operable to cause a computer to perform part or all of the steps of any of the methods as set forth in the above method embodiments.
Embodiments of the present application also provide a computer program product, where the computer program product includes a computer program operable to cause a computer to perform part or all of the steps of any one of the methods as described in the above method embodiments. The computer program product may be a software installation package.
For simplicity of description, each of the above method embodiments is described as a series of combinations of operations. Those skilled in the art should appreciate that the present application is not limited by the order of acts described, as some steps in the embodiments of the present application may occur in other orders or concurrently. Moreover, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that acts and modules referred to are not necessarily required to implement the embodiments of the application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the steps of the embodiments of the present application may be performed by associated hardware instructed by a program, and the program may be stored in a memory, which may include a flash memory disk, a ROM, a RAM, a magnetic or optical disk, and the like.
The embodiments of the present application are described in detail above, and the description in the embodiments of the present application is only for assisting understanding of the method and the core idea of the present application. One skilled in the art will appreciate that the embodiments of the present application can be varied in both the detailed description and the application, and thus the present description should not be construed as limiting the application.
Claims (10)
1. A drawing review method, comprising:
acquiring a first operation instruction aiming at an electronic drawing, and forming a target local area on the electronic drawing according to the first operation instruction, wherein the target local area is used for representing a local area which does not meet standard requirements in architectural design specifications in the electronic drawing;
Determining at least one first primitive of the target local area;
generating a review rule list according to the primitive type of the at least one first primitive, wherein the review rule list comprises at least one preset review rule, and the preset review rule comprises standard requirements of the primitives in the electronic drawing in building design specifications;
acquiring a second operation instruction aiming at the examination rule list, and determining a target preset examination rule from the examination rule list according to the second operation instruction;
and determining the examination result of the at least one first graphic element according to the target preset examination rule.
2. The drawing review method according to claim 1, wherein the forming of the target local area on the electronic drawing according to the first operation instruction includes:
forming at least four touch points on the electronic drawing in time sequence according to the first operation instruction; the at least four touch points comprise a first touch point and a second touch point, the first touch point and the second touch point are overlapped, the first touch point is one of the at least four mark points with the earliest forming time, and the second touch point is one of the at least four mark points with the latest forming time;
And determining the target local area according to the time sequence formed by each of the at least four touch points and a preset line segment connection mode.
3. The drawing review method of claim 1, wherein the determining at least one first primitive of the target local region comprises:
calculating coordinate information of all primitives in the electronic drawing on a preset two-dimensional coordinate system to obtain a first coordinate information set, wherein the preset two-dimensional coordinate system is constructed by taking an intersection point between an axis A in the electronic drawing and an axis 1 in the electronic drawing as an origin, the axis A as an X axis and the axis 1 as a Y axis;
calculating coordinate information of the target local area on the preset two-dimensional coordinate system to obtain a second coordinate information set;
selecting a target set of coordinate information from within the first set of coordinate information that is within the second set of coordinate information;
and determining at least one first graphic primitive of the target local area from all graphic primitives in the electronic drawing according to the target information set.
4. The drawing review method of claim 1, wherein the determining a target preset review rule from the review rule list according to the second operation instruction comprises:
Determining the at least one preset examination rule in the examination rule list according to the second operation instruction and the arrangement sequence of the primitive types to obtain a first arrangement sequence;
and selecting the target preset examination rule from the at least one preset examination rule according to the second operation instruction and the first arrangement sequence.
5. The method according to claim 1, wherein the determining the inspection result of the at least one first primitive according to the target preset inspection rule comprises:
and determining the examination result of the at least one first primitive according to the primitive type aimed by the target preset examination rule and the primitive type of the at least one target primitive.
6. The method according to claim 5, wherein the determining the inspection result of the at least one target primitive according to the primitive type targeted by the target preset inspection rule and the primitive type of the at least one first primitive comprises:
determining at least one second primitive from the at least one first primitive according to the primitive type aimed at by the target preset inspection rule and the primitive type of the at least one first primitive; the primitive type of the second primitive meets the primitive type aimed at by the target preset inspection rule;
And checking whether the size or the area of the at least one second primitive meets the standard requirement in the building design specification according to the target preset checking rule to obtain the checking result of the at least one second primitive.
7. The method according to any of claims 1-6, wherein prior to said generating an audit rule list from primitive types for said at least one first primitive, the method further comprises:
acquiring account information of a current user;
sending a query request message to a review rule server, wherein the query request message carries account information of the current user, and the query request message is used for requesting the review rule server to query a review rule enjoyed by the current user according to the account information of the current user;
receiving a response message from the examination rule server for the query request message, wherein the response message contains the at least one preset examination rule.
8. An electronic device comprising a processor, an Artificial Intelligence (AI) module, a memory, and a communication interface, wherein the memory stores one or more programs and the one or more programs are executable by the processor and the AI module, the one or more programs including instructions for performing the steps in the method of any of claims 1-7.
9. A graphics server comprising a processor, a memory, and a communication interface, wherein the memory stores one or more programs and the one or more programs are executed by the processor, the one or more programs including instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program is operable to cause a computer to perform the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010659795.2A CN111859503B (en) | 2020-07-09 | 2020-07-09 | Drawing examination method, electronic equipment and graphic server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010659795.2A CN111859503B (en) | 2020-07-09 | 2020-07-09 | Drawing examination method, electronic equipment and graphic server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111859503A true CN111859503A (en) | 2020-10-30 |
CN111859503B CN111859503B (en) | 2024-04-26 |
Family
ID=73152137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010659795.2A Active CN111859503B (en) | 2020-07-09 | 2020-07-09 | Drawing examination method, electronic equipment and graphic server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111859503B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112541214A (en) * | 2020-12-03 | 2021-03-23 | 深圳市矩阵室内装饰设计有限公司 | Method and device for processing house type design drawing and house type design drawing processing equipment |
CN112883799A (en) * | 2021-01-20 | 2021-06-01 | 上海品览智造科技有限公司 | Method for accurately identifying slope in CAD (computer-aided design) slope big sample graph |
CN113763497A (en) * | 2021-08-11 | 2021-12-07 | 中广核工程有限公司 | Link relation management method and device, computer equipment and storage medium |
CN114491741A (en) * | 2021-12-31 | 2022-05-13 | 万翼科技有限公司 | Wall line extraction method and device, electronic equipment and storage medium |
CN114494717A (en) * | 2021-12-21 | 2022-05-13 | 上海品览数据科技有限公司 | Method for identifying subgraphs in building professional plane or section stair thumbnail |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967574A (en) * | 2017-12-21 | 2018-04-27 | 深圳拎得清软件有限公司 | Digitlization check of drawings method and its system based on BIM |
CN108875599A (en) * | 2018-05-30 | 2018-11-23 | 成都小智审图科技有限公司 | A kind of identification check of drawings method of building trade ENGINEERING CAD drawing |
CN110502984A (en) * | 2019-07-11 | 2019-11-26 | 万翼科技有限公司 | Drawing review method, apparatus, computer equipment and storage medium |
CN110517223A (en) * | 2019-07-11 | 2019-11-29 | 万翼科技有限公司 | Drawing review method, apparatus, computer equipment and storage medium |
-
2020
- 2020-07-09 CN CN202010659795.2A patent/CN111859503B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967574A (en) * | 2017-12-21 | 2018-04-27 | 深圳拎得清软件有限公司 | Digitlization check of drawings method and its system based on BIM |
CN108875599A (en) * | 2018-05-30 | 2018-11-23 | 成都小智审图科技有限公司 | A kind of identification check of drawings method of building trade ENGINEERING CAD drawing |
CN110502984A (en) * | 2019-07-11 | 2019-11-26 | 万翼科技有限公司 | Drawing review method, apparatus, computer equipment and storage medium |
CN110517223A (en) * | 2019-07-11 | 2019-11-29 | 万翼科技有限公司 | Drawing review method, apparatus, computer equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112541214A (en) * | 2020-12-03 | 2021-03-23 | 深圳市矩阵室内装饰设计有限公司 | Method and device for processing house type design drawing and house type design drawing processing equipment |
CN112883799A (en) * | 2021-01-20 | 2021-06-01 | 上海品览智造科技有限公司 | Method for accurately identifying slope in CAD (computer-aided design) slope big sample graph |
CN112883799B (en) * | 2021-01-20 | 2024-04-09 | 上海品览智造科技有限公司 | Method for accurately identifying ramp in CAD ramp large-scale sample graph |
CN113763497A (en) * | 2021-08-11 | 2021-12-07 | 中广核工程有限公司 | Link relation management method and device, computer equipment and storage medium |
CN113763497B (en) * | 2021-08-11 | 2024-02-27 | 中广核工程有限公司 | Link relation management method, device, computer equipment and storage medium |
CN114494717A (en) * | 2021-12-21 | 2022-05-13 | 上海品览数据科技有限公司 | Method for identifying subgraphs in building professional plane or section stair thumbnail |
CN114491741A (en) * | 2021-12-31 | 2022-05-13 | 万翼科技有限公司 | Wall line extraction method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111859503B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111859503B (en) | Drawing examination method, electronic equipment and graphic server | |
WO2022063247A1 (en) | Neural architecture search method and apparatus | |
CN112950773A (en) | Data processing method and device based on building information model and processing server | |
CN112948951B (en) | Building model creating method and device and processing server | |
WO2023207487A1 (en) | Circuit wiring determination method and related device | |
CN110765507A (en) | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology | |
CN117977586B (en) | Power failure early warning method and device based on three-dimensional digital twin model and electronic equipment | |
JP2023047329A (en) | Positioning method, device, equipment, and system, medium, and autonomous vehicle | |
CN111102980B (en) | Path generation method and device and electronic equipment | |
CN111930694A (en) | Electronic file processing method, electronic device and processing server | |
CN112053440A (en) | Method for determining individualized model and communication device | |
CN116518979A (en) | Unmanned plane path planning method, unmanned plane path planning system, electronic equipment and medium | |
CN113971307A (en) | Incidence relation generation method and device, storage medium and electronic equipment | |
CN117458699A (en) | Power parameter control method and system for self-adaptive scene | |
CN111651826A (en) | Building information model technology-based building industrialization system | |
CN116662573A (en) | Knowledge graph prediction method and device applied to electric power energy management and control | |
WO2024045090A1 (en) | Product model simulation method and device | |
CN111831791B (en) | Drawing display method, electronic equipment and graphic server | |
CN114091133A (en) | City information model modeling method and device, terminal equipment and storage medium | |
CN111832093B (en) | Electronic drawing processing method, electronic equipment and graphic server | |
CN113313809A (en) | Rendering method and device | |
CN116888599A (en) | Method and device for layout of circuit units of integrated circuit | |
CN112801620A (en) | Engineering information processing method, device, equipment and storage medium | |
CN111930816A (en) | Data processing method and related device | |
CN113872798A (en) | Method and device for constructing space network topological graph, storage medium and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |