CN111859503B - Drawing examination method, electronic equipment and graphic server - Google Patents

Drawing examination method, electronic equipment and graphic server Download PDF

Info

Publication number
CN111859503B
CN111859503B CN202010659795.2A CN202010659795A CN111859503B CN 111859503 B CN111859503 B CN 111859503B CN 202010659795 A CN202010659795 A CN 202010659795A CN 111859503 B CN111859503 B CN 111859503B
Authority
CN
China
Prior art keywords
primitive
rule
target
examination
preset
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.)
Active
Application number
CN202010659795.2A
Other languages
Chinese (zh)
Other versions
CN111859503A (en
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
Shenzhen Wanyi Digital 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 Shenzhen Wanyi Digital Technology Co ltd filed Critical Shenzhen Wanyi Digital Technology Co ltd
Priority to CN202010659795.2A priority Critical patent/CN111859503B/en
Publication of CN111859503A publication Critical patent/CN111859503A/en
Application granted granted Critical
Publication of CN111859503B publication Critical patent/CN111859503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval 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 examination method, electronic equipment and a graphic server, wherein the method comprises the following steps: 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 in the electronic drawing which does not meet the standard requirements in the building design specification; determining at least one first primitive of a target local region; generating an examination rule list according to the primitive type of at least one first primitive; 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 at least one first primitive according to the target preset examination rule. Therefore, the embodiment of the application is beneficial to realizing the examination of the target local area on the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency.

Description

Drawing examination method, electronic equipment and graphic server
Technical Field
The application relates to the technical field of computers, in particular to a drawing examination method, electronic equipment and a graphic server.
Background
The building information model (Building Information Modeling, BIM) is a datamation tool applied to engineering design, construction and management, can realize datamation and informatization model integration of building engineering projects, and has the advantages of improving production efficiency, saving cost, shortening construction period and the like.
At present, in the process of checking the electronic drawing generated by the user aiming at the BIM software, the checking process of the whole electronic drawing occupies a large amount of time, and the user does not need to aim at the checking result of the whole electronic drawing at times. Therefore, how to save the examination time and improve the examination efficiency for the examination processing of the electronic drawing becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a drawing examination method, electronic equipment and a graphic server, which are used for realizing the purpose of executing examination on a target local area on an electronic drawing without whole drawing examination, so that drawing examination time is saved and drawing examination efficiency is improved.
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 in the electronic drawing which does not meet the standard requirements in the building design specification;
Determining at least one first primitive of the target local region;
generating a checking rule list according to the primitive type of the at least one first primitive, wherein the checking rule list comprises at least one preset checking rule, and the preset checking 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 primitive according to the target preset examination rule.
In a second aspect, an embodiment of the present application provides 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 executed by the processor and the AI module, the one or more programs including instructions for performing the steps of the first aspect of the embodiment 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, the one or more programs including 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 storing a computer program for electronic data exchange, the computer program being 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, embodiments of the present application provide a computer program product, wherein the computer program product comprises a computer program 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. The computer program product may be a software installation package.
It can be seen that in the embodiment of the present application, first, an electronic device forms a target local area on an 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 a checking rule list according to the primitive type of at least one first primitive, and determines a target preset checking rule from the checking rule list according to a second operation instruction; finally, the electronic equipment determines the examination result of at least one first primitive according to the target preset examination rule. Because the electronic equipment marks 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, the electronic equipment is beneficial to realizing the examination of 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 device obtains the primitive which does not meet the standard requirement in the building design specification in the electronic drawing through determining at least one first primitive of the target local area, so as to execute examination on the primitive which does not meet the standard requirement in the building design specification according to the target preset examination 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 evident that the figures described below are only some embodiments of the application, from which other figures can be obtained without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a drawing review method provided in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an electronic drawing according to an embodiment of the present application;
Fig. 4 is a schematic structural diagram of an electronic examination drawing according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a structure of another electronic paper for inspection according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a structure of yet another electronic audit drawing provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a structure of yet another electronic audit 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 diagram of a graphics server according to an embodiment of the present application;
Fig. 10 is a flowchart of another drawing review method according to an embodiment of the present application.
Detailed Description
In order to make the present application better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, software, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments. 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 local end of the electronic device, or may be executed interactively 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 specifically describe a case executed by a local terminal of an electronic device.
The electronic device according to the embodiment of the present application may be various handheld devices, in-vehicle devices, wearable devices, user Equipment (UE), terminal devices (TERMINAL DEVICE), personal Digital Assistants (PDA), personal computers (personal computer, PC), terminal devices in 5G communication systems, terminal devices in future evolution public land mobile network (public land mobile network, PLMN), and the like for providing electronic drawing processing functions.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the application. The electronic device 100 may include a processor 110, an artificial intelligence (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, the communication interface 140. Wherein the processor 100 may be a central processor (central processing unit, CPU) or an application processor (application processor, AP); the specific form of the AI module 120 may be hardware and/or software, and when the AI module 120 is in a hardware structure, the processor 110 and the AI module 120 may be integrated, or may be separately provided, which is not limited herein specifically.
When the processor 110 and the AI module 120 are integrally configured, if the processor 110 is a single-core processor, the AI module 120 may be an intelligent microprocessor 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 intelligent microprocessor circuitry in some intelligent microprocessor core.
When the processor 110 is configured separately from the AI module 120, the AI module 120 may be a coprocessor other than the processor 110 in an application processor platform architecture, such as, for example, a neural-Network Processor (NPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (field programmable GATE ARRAY, FPGA), a graphics processor (graphics processingunit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), or a digital signal processor (DIGITAL SIGNAL processor, DSP), etc.; AI module 120 may be an intelligent microprocessor circuit in some 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 communicatively connected to the processor 110, and may also be in direct communication with a memory, an external device, or the like. In one possible example, the AI module 120 may be comprised of at least one NPU.
Memory 130 may be used to store software programs and/or modules and may include a program storage area and a data storage area. Wherein the storage program area may be used to store an operating system or a software program required for at least one function, etc., and the software program required for the at least one function may be used to perform 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 processes 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 electronic drawings, data in electronic drawings, a first operation command for electronic drawings, a second operation command for a list of censoring rules, and so on.
AI module 120 in electronic device 100 may read one or more programs 131 stored in memory 130 to perform the following operations: 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 region; generating a checking rule list according to the primitive type of the at least one first primitive, wherein the checking rule list comprises at least one preset checking rule which comprises standard requirements in building design specifications for primitives in the electronic drawing; acquiring a second operation instruction aiming at the examination rule list through the communication interface 140, and selecting a target preset examination rule from the examination rule list according to the second operation instruction; and determining the examination result of at least one first primitive according to the target preset examination rule.
It can be seen that in the embodiment of the present application, first, an electronic device forms a target local area on an electronic drawing through an AI module according to a first operation instruction, and determines at least one first primitive of the target local area; then, the electronic equipment generates a checking rule list according to the primitive type of at least one first primitive through the AI module, and determines a target preset checking rule from the checking rule list according to a second operation instruction; finally, the electronic device determines the examination result of at least one first primitive according to the target preset examination rule through the AI module. Because the target local area which does not meet the standard requirement in the building design specification in the electronic drawing is marked according to the first operation instruction, the method is beneficial to realizing the examination of 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 specification in the electronic drawing are obtained, and the purpose of performing examination on the primitives which do not meet the standard requirements in the building design specification according to the target preset examination rules is achieved.
In accordance with the above-described embodiment, the execution steps of the drawing review method will be described below from the viewpoint of a method example, referring to fig. 2. Fig. 2 is a 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 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 specification.
Note that, the electronic device 100 forms the target local area on the electronic drawing by the AI module 120 in the internal structure according to the first operation instruction. Because the electronic equipment marks 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, the examination is performed on the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency.
In particular, the electronic drawings may include computer aided design (computer aideddesign, CAD) drawings modeled for a building project, building information model (Building Information Modeling, BIM) drawings, and the like. It should be noted that the electronic drawing is a file that may be generated by BIM software, and the BIM software may have AutoCAD, revitStructure, archiCAD, bentley System, tekla Structures, digital Project, and the like.
Specifically, the data in the electronic drawing includes all the primitives in the electronic drawing, the coordinate information of each primitive in all the primitives, the drawing frame in the electronic drawing, the axis line network in the electronic drawing and other data.
For example, referring to fig. 3, all primitives in electronic drawing 310 include walls around bedroom areas, living room areas, restaurant areas, study room areas, bathroom areas, garage areas, windows, doors, etc.; areas in the electronic drawing 310 include bedroom areas, living room areas, restaurant areas, study room areas, bathroom areas, garage areas, kitchen areas, and the like; the axis network in the electronic drawing 310 includes horizontal axes labeled in order of numbers 1-6 from left to right, vertical axes labeled in order of numbers a-E from bottom to top, and so on.
The following describes in detail how the electronic device forms the target partial area on the electronic drawing according to the first operation instruction.
In one possible example, forming 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 according to the first operation instruction in time sequence; 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 touch point with earliest time formed in the at least four mark points, and the second touch point is one touch point with latest time formed in the at least four mark points; and determining the target local area according to the connection mode of at least four touch points and the preset line segment.
It should be noted that, the electronic device 100 forms at least four touch points on the electronic drawing according to the first operation instruction by the AI module 120 in the internal structure, and determines the target local area according to a 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 the 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 each touch point can be connected in sequence according to the formed time sequence to form a target local area with a closed area. The electronic equipment defines the local area which does not meet the standard requirement in the building design specification in the electronic drawing through the at least four touch points formed on the electronic drawing by the first operation instruction, and the formation of the at least four touch points is simpler, more convenient and more diverse, so that the flexibility, the diversity and the convenience of the formation process aiming at the target local area are realized, and the processing efficiency of the examination process aiming at the electronic drawing is 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 the connection mode of at least four touch points and the preset line segment may include the following operations: sequentially connecting each of the at least four touch points according to a preset line segment connection mode in a formed time sequence; and taking a closed area formed after the connection of 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 ("one-layer plan view. Dwg") according to the first operation instruction, wherein the touch point 4301 and the touch point 4305; finally, the touch points 4301, 4302, 4303, 4304 and 4305 are sequentially connected in a 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 (such as walls, windows, etc. around the living room area) in the electronic drawing, the axis line network in the electronic drawing, the marking data in the electronic drawing, etc.
S220, the electronic equipment determines at least one first primitive of the target local area.
Specifically, the first primitive is one primitive of all primitives in the electronic drawing.
Further, the first primitive is one primitive which does not meet the standard requirement in the building design specification in all primitives in the electronic drawing.
It should be noted that, the electronic device 100 determines at least one first primitive of the target local region by the AI module 120 in the internal structure. In addition, since the target local area can be used for representing the local area which does not meet the standard requirements in the building design specification in the electronic drawing, at least one first primitive of the target local area is determined, so that the primitive which does not meet the standard requirements in the building design specification in the electronic drawing is obtained, and the purpose of performing examination on the primitive which does not meet the standard requirements in the building design specification is achieved.
For example, in fig. 4, at least one first primitive of the target local area 440 includes a window 450 in a bedroom area, a door 460 in a bedroom area, a door 470 in a garage area, a window 480 in a living room area, and a door 490 in a living room area in an electronic drawing.
Since the target local area may not be in the same layer as all the primitives in the electronic drawing, it cannot be directly determined which primitives are selected by the target local area in the electronic drawing to obtain at least one first primitive of the target local area, and therefore, the following description will be specific to how to determine at least one first primitive of the target local area.
In one possible example, determining at least one first primitive for the target local region may include the operations of: calculating coordinate information of all the 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 located in the second coordinate information set from the first coordinate information set; and determining at least one first primitive of the target local area from all primitives in the electronic drawing according to the target information set.
It should be noted that, the electronic device 100 calculates coordinate information of all primitives in the electronic drawing and coordinate information of the target local area by using the AI module 120 in the internal structure, then selects 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, the coordinate information sets of the target local area and all the primitives in the electronic drawing on a preset two-dimensional coordinate system are constructed, the target coordinate information set in the second coordinate information set is selected from the first coordinate information sets, and then the primitive corresponding to the target coordinate information set is taken 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 a axis and a 1 axis in the electronic drawing as an origin, the a axis as an X axis, and the 1 axis as a Y axis; secondly, the electronic device calculates coordinate information of all the primitives in the electronic drawing on the two-dimensional coordinate system to obtain a first coordinate information set, namely {{(x1,1,y1,1),...,(x1,l,y1,l)};{(x2,1,y2,1),...,(x2,m,y2,m)};{(x3,1,y3,1),...,(x3,n,y3,n)};...}, and stores the first coordinate information set, wherein the coordinate information of the window 520 in the bedroom area is { (x 1,1,y1,1),...,(x1,l,y1,l) }, and the coordinate information of the door 530 in the living room area is { (x 3,1,y3,1),...,(x3,n,y3,n) }; again, the electronic device calculates the coordinate information of the target local area 540 formed by the first operation instruction on the electronic drawing on the two-dimensional coordinate system to obtain a second set of coordinate information, i.e. {{(x1,1,y1,1),...,(x1,l,y1,l)};{(x3,1,y3,1),...,(x3,n,y3,n)};{(x5,1,y5,1),...,(x5,p,y5,p)};...};, then selects a target set of coordinate information within the second set of coordinate information from the first set of coordinate information, i.e. {{(x1,1,y1,1),...,(x1,l,y1,l)};{(x3,1,y3,1),...,(x3,n,y3,n)};...};, and finally determines the window 520 in the bedroom area and the door 530 in the living room area, i.e. at least one first primitive of the target local area 540, from all primitives in the electronic drawing according to the target set of coordinate information.
S230, the electronic equipment generates an examination rule list according to the primitive type of at least one first primitive.
The review rule list may include at least one preset review rule, and the preset review rule may include standard requirements of primitives in the electronic drawing in building design specifications.
It should be noted that, the electronic device 100 generates, by the AI module 120 in the internal structure, a review rule list according to the primitive type of the at least one first primitive. In addition, the embodiment of the application considers that the preset inspection rule can only inspect specific primitive types to ensure the accuracy of inspection results, that is, one preset inspection rule can only address the standard requirement of the 'door' in the building design specification, and the other preset inspection rule can only address the standard requirement of the 'window' in the building design specification.
Therefore, in the embodiment of the application, only the primitive types existing in at least one first primitive are selected to generate the examination rule list, and primitive types not existing in at least one first primitive are not selected, so that the accuracy and efficiency of the examination process for the electronic drawing are improved. For example, in fig. 4, 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 preset censoring rules for "door" and "window" are selected to generate the censoring rule list.
Specifically, at least one preset examination rule in the examination rule list may be formed by arranging according to a preset arrangement sequence. The preset arrangement sequence may be an arrangement sequence of priorities of primitive types for which the censoring rule is preset. For example, the primitive type "window" for a certain preset censoring rule is ranked higher priority than the primitive type "door" for another preset censoring 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; the electronic device then determines that at least one first primitive of the target local area 610 has a bedroom area window 620, a bedroom area door 630, a garage area door 640, a living room area window 650, and a living room area door 660; finally, the electronic device generates a censoring rule list 670 according to the primitive type of the at least one first primitive, wherein the censoring rule list 670 comprises a "window" censoring rule 1, a "door" censoring rule 1, a "window" censoring rule 2, a "door" censoring rule 2, a "window" censoring rule 3, and a "door" censoring rule 3. When the arrangement sequence of the primitive type of 'window' aimed by a certain preset checking rule has higher priority than the arrangement sequence of the primitive type of 'door' aimed by another preset checking rule, arranging the 'window' checking rule 1 before the 'door' checking rule 1, and the rest is the same.
In one possible example, before generating the censoring rule list from the primitive types of the at least one first primitive, the electronic device 100 further performs the following operations: acquiring account information of a current user; sending a query request message to the examination rule server, wherein the query request message carries account information of the 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; a response message for the query request message is received from the censoring rule server, the response message containing at least one preset censoring rule.
It should be noted that, the electronic device sends a query request message to the censoring rule server, and the censoring rule server queries the censoring 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.
S240, the electronic equipment acquires a second operation instruction aiming at the examination rule list, and selects a target preset examination rule from the examination rule list according to the second operation instruction.
It should be noted that, the electronic device 100 selects, by the AI module 120 in the internal structure, the target preset inspection rule from the inspection rule list according to the second operation instruction.
In one possible example, selecting the target preset censoring rule from the censoring rule list according to the second operation instruction may include the operations of: determining at least one preset examination rule in the examination rule list according to the arrangement sequence of the primitive types to obtain a first arrangement sequence according to the second operation instruction; and selecting a target preset inspection rule from at least one preset inspection rule according to the second operation instruction and the first arrangement order.
It should be noted that, the electronic device 100 arranges at least one preset inspection rule in the inspection rule list according to the sequence of the primitive types by the AI module 120 in the internal structure 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 sequence of the primitive types, so that the preset examination rule under the same primitive type is conveniently searched in the examination rule list to select a 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 list 720 of inspection rules ordered by "window" inspection rule 1, "window" inspection rule 2, "window" inspection rule 3, "door" inspection rule 1, "door" inspection rule 2, and "door" inspection rule 3 according to the first click command; then, the electronic device acquires a second click command for the 'window' inspection rule 1 and a third click command for the 'door' inspection rule 1; finally, the electronic device selects "window" censoring rule 1 and "door" censoring rule 1 from censoring rule list 720 according to the second click command, the third click command. It should be noted that, in this example, the second operation instruction includes a first click instruction, a second click instruction, and a third click instruction.
S250, the electronic equipment determines the examination result of at least one first primitive according to a target preset examination rule.
It should be noted that, the electronic device 100 determines, by the AI module 120 in the internal structure, the inspection result of at least one first primitive according to the target preset inspection rule.
In one possible example, determining the censoring result of the at least one first primitive according to the target preset censoring rule may include the following operations: and determining the examination result of at least one first primitive according to the primitive type aimed by the target preset examination rule and the primitive type of at least one target primitive.
It should be noted that, the electronic device 100 determines, by the AI module 120 in the internal structure, the examination result of at least one first primitive. In addition, the embodiment of the application examines at least one target primitive by considering the primitive type aimed by the target preset examination rule, thereby ensuring the accuracy of the examination result.
In one possible example, determining the censoring result of the at least one target primitive according to the primitive type for which the target preset censoring rule is intended 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 by the target preset examination rule and the primitive type of the at least one first primitive; the primitive type of the second primitive is satisfied with the primitive type aimed by the target preset examination 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 a checking result of the at least one second primitive.
It should be noted that, the electronic device 100 determines at least one second primitive by the AI module 120 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 architectural design specification according to the target preset examination rule. In addition, the graphic element meeting the graphic element type aimed by the target preset inspection rule is selected from at least one first graphic element, and then inspection is carried out on the graphic element, so that the accuracy of an inspection result is further ensured, and the inspection efficiency aiming at the electronic drawing is improved.
For example, in fig. 6, when the target preset censoring rule determined by the electronic device according to the second operation instruction is "window" censoring rule 1, since the primitive type for which "window" censoring rule 1 is "window", the electronic device determines, as at least one second primitive, window 620 of the bedroom area, window 650 of the living room area, from among window 620 of the bedroom area, door 630 of the garage area, door 640 of the living room area, window 650 of the living room area, and door 660 of the living room area. The electronic device then reviews the size or area of the window 620 in the bedroom region and the size or area of the window 650 in the living room region according to "window" review rule 1.
It can be seen that in the embodiment of the present application, first, an electronic device forms a target local area on an 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 a checking rule list according to the primitive type of at least one first primitive, and determines a target preset checking rule from the checking rule list according to a second operation instruction; finally, the electronic equipment determines the examination result of at least one first primitive according to the target preset examination rule. Because the electronic equipment marks 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, the electronic equipment is beneficial to realizing the examination of 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 device obtains the primitive which does not meet the standard requirement in the building design specification in the electronic drawing through determining at least one first primitive of the target local area, so as to execute examination on the primitive which does not meet the standard requirement in the building design specification according to the target preset examination rule.
The embodiment of the application further specifically introduces the situation of interactive execution between the electronic equipment and the graphic server in the B/S architecture or the C/S architecture.
Referring to fig. 8, fig. 8 is a schematic diagram of an architecture of a drawing review system according to an embodiment of the application. The drawing censoring system 800 may include a graphics server 810, an electronic device 820. The electronic device 820 may upload the electronic drawing modeled for the building project to the graphic server 810, may send a first operation instruction for the electronic drawing and a second operation instruction for the inspection rule list to the graphic server 820, and may also receive a message sent by the graphic server 820 or an electronic drawing after inspection; 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 a reviewed electronic drawing to the electronic device 820. Note that, the graphics server 810 and the electronic device 820 may communicate with each other in a wired or wireless manner, which is not particularly limited herein.
Specifically, the graphics server 810 of the embodiment of the present application may be various cloud servers for providing drawing censoring functions, an internet of things server, a data center network device, a personal computer (personal computer, PC), a computing device, a network device in a 5G system, a network device in a public land mobile network (public land mobile network, PLMN) for future evolution, and the like, and the embodiment of the present application is not limited in particular.
Specifically, the electronic device 820 of 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 (personal DIGITAL ASSISTANT, PDA), personal computers (personal computer, PC), terminal devices in 5G communication systems, terminal devices in future evolved PLMNs, and the like for supporting the electronic drawing uploading or displaying functions.
An example of a possible configuration of the 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 processor 910, communication module 920, power management module 930, and 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 a control center of graphics service 810 and connects the various portions 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 in memory 940 to perform various functions and drawing reviews of graphics server 810 and to monitor the overall operation of graphics server 810. Optionally, the processor 910 may include a central processing unit (central processing unit, CPU), a digital signal processor (DIGITAL SIGNAL processor, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (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, a fifth generation 5G mobile communication technology network, etc. to perform uploading and receiving of an electronic drawing or transmitting and receiving of an instruction, etc., and may provide channel spectrum resources of 2.4GHz and 5GHz to perform uploading and receiving of an electronic drawing or transmitting and receiving of an instruction, etc. The power management module 930 may include a power management chip and may provide power conversion, distribution, detection, etc. management functions for the graphics server 810. Memory 940 may be used to store software programs and/or modules and may include a program storage area and a data storage area. Wherein the storage program area may be used to store an operating system or a software program required for at least one function, etc., and the software program required for the at least one function may be used to perform 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 above the hardware layer, and an application layer running above the operating system layer. The hardware layer includes hardware such as a CPU, a memory management unit (memory management unit, MMU), and a memory (also referred to as a storage). The memory may be used to store software programs and/or modules, and may include a program storage area and a data storage area. Wherein the storage program area may be used to store an operating system or a software program required for at least one function, etc., and the software program required for the at least one function may be used to perform 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 processes 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 application layer has a graphics engine or the like running thereon. Thus, the graphics processor 810 may review electronic drawings or parse data in the electronic drawings through a graphics engine running on the application layer. In addition, the embodiment of the present application is not particularly limited as to the specific structure of the execution body providing the drawing review method, as long as communication can be performed by the method provided according to 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, and for example, the execution body of the method provided by the embodiment of the present application may be the graphic server 810, and may be a functional module in the graphic server 810 capable of calling the program and executing the program.
The following describes the execution steps of the drawing review method from the viewpoint of a method example, referring to fig. 10. Fig. 10 is a flowchart of yet another drawing review method provided in an embodiment of the present application, applied to a graphic server 810, where the method includes:
S1010, the electronic equipment uploads a first operation instruction aiming at the electronic drawing to the graphic server.
In particular, the electronic drawings may include computer aided design (computer aideddesign, CAD) drawings modeled for a building project, building information model (Building Information Modeling, BIM) drawings, and the like. It should be noted that the electronic drawing is a file that may be generated by AutoCAD software or BIM software, and the BIM software may have RevitStructure, archiCAD, bentley System, tekla Structures, digital Project, and the like.
Specifically, the data in the electronic drawing includes all the primitives in the electronic drawing, the coordinate information of each primitive in all the primitives, the drawing frame in the electronic drawing, the axis line network in the electronic drawing and other data.
S1020, the graphic server acquires a 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 specification.
It should be noted that, the graphics server 810 forms, by the processor 910 in the internal structure, a target local area on the electronic drawing according to the first operation instruction. Because the graphic server 810 circles out the target local area in the electronic drawing which does not meet the standard requirement in the building design specification according to the first operation instruction, the examination is performed on the target local area in the electronic drawing without whole drawing examination, thereby saving drawing examination time and improving drawing examination efficiency.
The following describes in detail how the graphic server 810 forms a target partial area on an electronic drawing according to a first operation instruction.
In one possible example, forming 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 according to the first operation instruction in time sequence; 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 touch point with earliest time formed in the at least four mark points, and the second touch point is one touch point with latest time formed in the at least four mark points; and determining the target local area according to the connection mode of at least four touch points and the preset line segment.
It should be noted that, the graphics server 810 forms at least four touch points on the electronic drawing according to the first operation instruction by the processor 910 in the internal structure, and determines the target local area according to the connection mode of the at least four touch points and the preset line segment. In addition, the graphic server recognizes that the first touch point and the second touch point are overlapped, so that the graphic server can know that the forming process of the touch points is finished, and the target local area is formed according to each touch point immediately. Meanwhile, the first touch point and the second touch point are overlapped, so that each touch point can be connected in sequence according to the formed time sequence to form a target local area with a closed area. The image server defines the local area which does not meet the standard requirement in the building design specification in the electronic drawing through at least four touch points formed on the electronic drawing by the first operation instruction, and the formation of the at least four touch points is simpler, more convenient and more diverse, so that the flexibility, the diversity and the convenience of the formation process aiming at the target local area are realized, and the processing efficiency of the examination process aiming at the electronic drawing is 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 the connection mode of at least four touch points and the preset line segment may include the following operations: sequentially connecting each of the at least four touch points according to a preset line segment connection mode in a formed time sequence; and taking a closed area formed after the connection of at least four touch points as a target local area.
S1030, the graphic server determines at least one first graphic element of the target local area.
Specifically, the first primitive is one primitive of all primitives in the electronic drawing.
Further, the first primitive is one primitive which does not meet the standard requirement in the building design specification in all primitives in the electronic drawing.
It should be noted that, the graphics server 810 determines, by the processor 910 in the internal structure, at least one first primitive of the target local area. In addition, since the target local area can be used for representing the local area which does not meet the standard requirements in the building design specification in the electronic drawing, 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 specification in the electronic drawing are acquired, and the purpose of performing examination on the primitives which do not meet the standard requirements in the building design specification is achieved.
Since the target local area may not be in the same layer as all the primitives in the electronic drawing, it cannot be directly determined which primitives are selected by the target local area in the electronic drawing to obtain at least one first primitive of the target local area, and therefore, the following description will be specific to how to determine at least one first primitive of the target local area.
In one possible example, determining at least one first primitive for the target local region may include the operations of: calculating coordinate information of all the 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 located in the second coordinate information set from the first coordinate information set; and determining at least one first primitive of the target local area from all primitives in the electronic drawing according to the target information set.
It should be noted that, the graphics server 810 calculates coordinate information of all primitives in the electronic drawing and coordinate information of the target local area by the processor 910 in the internal structure, then selects 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, the coordinate information sets of the target local area and all the primitives in the electronic drawing on a preset two-dimensional coordinate system are constructed, the target coordinate information set in the second coordinate information set is selected from the first coordinate information sets, and then the primitive corresponding to the target coordinate information set is taken as at least one first primitive of the target local area.
S1040, the graphic server generates an examination rule list according to the primitive type of at least one first primitive.
The review rule list may include at least one preset review rule, and the preset review rule may include standard requirements of primitives in the electronic drawing in building design specifications.
It should be noted that, the graphics server 810 generates, by the processor 910 in the internal structure, a list of censoring rules according to the primitive type of at least one first primitive. In addition, the embodiment of the application considers that the preset inspection rule can only inspect specific primitive types to ensure the accuracy of inspection results, that is, one preset inspection rule can only address the standard requirement of the 'door' in the building design specification, and the other preset inspection rule can only address the standard requirement of the 'window' in the building design specification.
Therefore, in the embodiment of the application, only the primitive types existing in at least one first primitive are selected to generate the examination rule list, and primitive types not existing in at least one first primitive are not selected, so that the accuracy and efficiency of the examination process for the electronic drawing are improved.
Specifically, at least one preset examination rule in the examination rule list may be formed by arranging according to a preset arrangement sequence. The preset arrangement sequence may be an arrangement sequence of priorities of primitive types for which the censoring rule is preset. For example, the primitive type "window" for a certain preset censoring rule is ranked higher priority than the primitive type "door" for another preset censoring rule.
In one possible example, before generating the censoring rule list from the primitive types of the at least one first primitive, the graphics server 810 also performs the following operations: acquiring account information of a current user; sending a query request message to the examination rule server, wherein the query request message carries account information of the 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; a response message for the query request message is received from the censoring rule server, the response message containing at least one preset censoring rule.
It should be noted that, the graphic server 810 sends a query request message to the censoring rule server, and the censoring rule server queries the censoring rule enjoyed by the current user according to the account information of the current user. Since at least one preset censoring rule acquired by the graphic server 810 is specific to the current user, censoring rules matched with the current user are acquired according to account information of the current user.
S1050, the electronic equipment uploads a second operation instruction for the examination rule list to the graphic server.
S1060, the graphic server obtains a 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 graphics server 810 selects, by the processor 910 in the internal structure, the target preset inspection rule from the inspection rule list according to the second operation instruction.
In one possible example, selecting the target preset censoring rule from the censoring rule list according to the second operation instruction may include the operations of: determining at least one preset examination rule in the examination rule list according to the arrangement sequence of the primitive types to obtain a first arrangement sequence according to the second operation instruction; and selecting a target preset inspection rule from at least one preset inspection rule according to the second operation instruction and the first arrangement order.
It should be noted that, the graphics server 810 arranges at least one preset inspection rule in the inspection rule list according to the sequence of the primitive types by the processor 910 in the internal structure 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 sequence of the primitive types, so that the preset examination rule under the same primitive type is conveniently searched in the examination rule list to select a target preset examination rule.
S1070, the graphic server determines the examination result of at least one first graphic primitive according to the target preset examination rule.
It should be noted that, the graphics server 810 determines, by the processor 910 in the internal structure, the inspection result of at least one first primitive according to the target preset inspection rule.
In one possible example, determining the censoring result of the at least one first primitive according to the target preset censoring rule may include the following operations: and determining the examination result of at least one first primitive according to the primitive type aimed by the target preset examination rule and the primitive type of at least one target primitive.
It should be noted that, the graphics server 810 determines, by the processor 910 in the internal structure, a result of examination of at least one first primitive. In addition, the embodiment of the application examines at least one target primitive by considering the primitive type aimed by the target preset examination rule, thereby ensuring the accuracy of the examination result.
In one possible example, determining the censoring result of the at least one target primitive according to the primitive type for which the target preset censoring rule is intended 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 by the target preset examination rule and the primitive type of the at least one first primitive; the primitive type of the second primitive is satisfied with the primitive type aimed by the target preset examination 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 a checking result of the at least one second primitive.
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 graphic element meeting the graphic element type aimed by the target preset inspection rule is selected from at least one first graphic element, and then inspection is carried out on the graphic element, so that the accuracy of an inspection result is further ensured, and the inspection efficiency aiming at the electronic drawing is improved.
It can be seen that in the embodiment of the present application, first, a graphics server forms a target local area on an 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 a checking rule list according to the primitive type of at least one first primitive, and determines a target preset checking rule from the checking rule list according to a second operation instruction; finally, the graphic server determines the examination result of at least one first graphic primitive according to the target preset examination rule. Because the graphic server circles out 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, the method is beneficial to realizing the execution of examination on 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 graphic server obtains the graphic elements which do not meet the standard requirements in the building design specifications in the electronic drawing through determining at least one first graphic element of the target local area, so as to realize the execution of examination on the graphic elements which do not meet the standard requirements in the building design specifications according to the target preset examination rules.
The present application also provides a computer-readable storage medium storing 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 one of the methods described in the method embodiments above.
Embodiments of the present application also provide a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package.
For the purposes of simplicity of explanation, the various method embodiments described above are depicted as a series of acts in combination. It will be appreciated by persons skilled in the art that the application is not limited by the order of acts described, as some steps in embodiments of the application may be performed in other orders or concurrently. Moreover, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts and modules referred to are not necessarily required in the present embodiments.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
Those skilled in the art will appreciate that all or part of the steps of embodiments of the application may be performed by a program to instruct related hardware, and the program may be stored in a memory, where the memory may include a flash disk, a ROM, a RAM, a magnetic disk, an optical disk, or the like.
The foregoing describes in detail embodiments of the present application only for aiding in the understanding of the method of the present application and its core ideas. Those skilled in the art will appreciate that the embodiments of the application vary from one embodiment to another and from one application to another, and so forth, the present disclosure should not be construed as limiting the application.

Claims (9)

1. A method for inspecting a drawing, 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 the standard requirement in the building design specification in the electronic drawing, and all the graphic elements in the electronic drawing and the target local area are not in the same layer;
Calculating coordinate information of all the 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 the preset two-dimensional coordinate system to obtain a second coordinate information set;
Selecting a target coordinate information set within the second coordinate information set from within the first coordinate information set;
determining at least one first primitive of the target local area from all primitives in the electronic drawing according to the target information set;
Generating a checking rule list according to the primitive types of the at least one first primitive, wherein the checking rule list comprises at least one preset checking rule, and the preset checking rule comprises standard requirements in building design specifications for primitives in the electronic drawing;
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 primitive according to the target preset examination rule.
2. The drawing review method of claim 1 wherein the forming a target partial area on the electronic drawing according to the first operation instruction includes:
Forming at least four touch points on the electronic drawing according to the first operation instruction in time sequence; 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 touch point with earliest time formed in the at least four mark points, and the second touch point is one touch point with latest time formed in the at least four mark points;
and determining the target local area according to the time sequence formed by each touch point in the at least four touch points and a preset line segment connection mode.
3. 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 arrangement sequence of the at least one preset examination rule in the examination rule list according to the primitive types according to the second operation instruction so as to obtain a first arrangement sequence;
And selecting the target preset inspection rule from the at least one preset inspection rule according to the second operation instruction and the first arrangement order.
4. The method of claim 1, wherein the determining the censoring result of the at least one first primitive according to the target preset censoring 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.
5. The method of claim 4, wherein the determining the censoring result of the at least one target primitive according to the primitive type for which the target preset censoring rule is intended 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 by the target preset examination rule and the primitive type of the at least one first primitive; the primitive type of the second primitive is satisfied with the primitive type aimed by the target preset examination 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 a checking result of the at least one second primitive.
6. The method of any of claims 1-5, wherein prior to the generating the list of censoring rules based on the primitive type of the at least one first primitive, the method further comprises:
Acquiring account information of a current user;
Sending a query request message to a checking rule server, wherein the query request message carries account information of the current user, and the query request message is used for requesting the checking rule server to query the checking rule enjoyed by the current user according to the account information of the current user;
A response message is received from the censoring rule server for the query request message, the response message including the at least one preset censoring rule.
7. 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 executed by the processor and the AI module, the one or more programs including instructions for performing the steps of the method of any of claims 1-6.
8. 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 comprising instructions for performing the steps in the method of any of claims 1-6.
9. A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program is operable to cause a computer to perform the method of any one of claims 1-6.
CN202010659795.2A 2020-07-09 2020-07-09 Drawing examination method, electronic equipment and graphic server Active CN111859503B (en)

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 CN111859503A (en) 2020-10-30
CN111859503B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
CN112883799B (en) * 2021-01-20 2024-04-09 上海品览智造科技有限公司 Method for accurately identifying ramp in CAD ramp large-scale sample graph
CN113763497B (en) * 2021-08-11 2024-02-27 中广核工程有限公司 Link relation management method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN111859503A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111859503B (en) Drawing examination method, electronic equipment and graphic server
KR102160990B1 (en) Server and method for 3d city modeling based on object, and system using the same
CN112950773A (en) Data processing method and device based on building information model and processing server
WO2022063247A1 (en) Neural architecture search method and apparatus
CN110059351A (en) Mapping method, device, terminal and the computer readable storage medium in house
CN112836064A (en) Knowledge graph complementing method and device, storage medium and electronic equipment
KR102382419B1 (en) Method and apparatus for generating 3d joint point regression model
US20190197759A1 (en) Method and apparatus for establishing coordinate system and data structure product
CN114638658B (en) Engineering cost method and system based on BIM technical data sharing
CN112053440A (en) Method for determining individualized model and communication device
CN111930694B (en) Electronic file processing method, electronic device and processing server
CN106658538B (en) Mobile phone base station signal coverage area simulation method based on Thiessen polygon
CN110209748A (en) The method and apparatus for indexing geography fence
CN110069997A (en) Scene classification method, device and electronic equipment
CN109905880B (en) Network partitioning method, system, electronic device and storage medium
CN116518979A (en) Unmanned plane path planning method, unmanned plane path planning system, electronic equipment and medium
CN111832093B (en) Electronic drawing processing method, electronic equipment and graphic server
CN115511701A (en) Method and device for converting geographic information
CN111831791B (en) Drawing display method, electronic equipment and graphic server
CN114091133A (en) City information model modeling method and device, terminal equipment and storage medium
CN114463499A (en) Building three-dimensional modeling method and device
CN113916244A (en) Method and device for setting inspection position, electronic equipment and readable storage medium
CN105282751B (en) A kind of method and apparatus showing wireless network planning result
CN111930816A (en) Data processing method and related device
WO2023202245A1 (en) Three-dimensional map data loading and sending method and apparatus, electronic device, and medium

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