Drawing space information extraction method, system and device

By identifying the drawing sign information in the drawing and comparing it with the database, the spatial information of the drawing is automatically extracted, and the problem of manual input of information in the drawing management is solved, and the intelligent management capability is improved.

CN119917712AActive Publication Date: 2025-05-02TECHNOLOGY (CHENGDU) CO LTD

Patent Information

Application Number
CN202411978286.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-02
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In the field of engineering construction, the spatial information in the drawings needs to be manually entered, resulting in low intelligence, difficulty in processing a large amount of data, and inability to meet the drawing management needs.

Method used

By obtaining the drawing frame of the drawing, identifying the drawing sign information, determining the initial spatial information, and comparing it with the preset spatial information database, splitting and obtaining the spatial description information, and finally obtaining the target spatial information of the target drawing.

Benefits of technology

It realizes the automatic extraction of drawing space information, improves the intelligence of drawing management, and can efficiently process large amounts of data to meet drawing management needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917712A_ABST
    Figure CN119917712A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a drawing space information extraction method, system and device, and the method comprises the steps: obtaining a drawing frame of a target drawing; performing picture label identification based on the picture frame, and determining initial space information; verifying the initial spatial information based on a preset spatial information database to obtain a verification result; according to the verification result, splitting the initial spatial information to obtain spatial description information; and obtaining target space information of the target drawing based on the space description information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of drawing recognition, and in particular to a method, system and device for extracting drawing space information. Background Art

[0002] In the field of engineering construction, the sub-item names, drawing names, and descriptions of various materials of drawings often contain spatial information, which needs to be read by users to obtain. In order to optimize the management of digital platforms in the field of engineering construction, this information needs to be extracted through certain technologies. Usually, users are required to manually enter spatial information. For example, fields related to spatial information are provided and filled in manually by users. However, the manual entry method still relies on users to read relevant materials by themselves, has a low degree of intelligence, is difficult to process large amounts of data, and cannot meet the needs of drawing management.

[0003] Therefore, it is necessary to provide a drawing space information extraction method, system and device to achieve efficient drawing space information management and consultation. Summary of the invention

[0004] One or more embodiments of the present specification provide a method for extracting spatial information of a drawing, the method comprising: obtaining a frame of a target drawing; the frame comprising label information; identifying the label based on the frame to determine initial spatial information; comparing the initial spatial information based on a preset spatial information database to obtain a comparison result; splitting the initial spatial information according to the comparison result to obtain spatial description information; and obtaining target spatial information of the target drawing based on the spatial description information.

[0005] One or more embodiments of the present specification also provide a drawing space information extraction system, the system comprising: a first acquisition module, configured to acquire a frame of a target drawing; the frame comprising label information; an identification module, configured to identify the label based on the frame and determine initial spatial information; a comparison module, configured to compare the initial spatial information based on a preset spatial information database to obtain a comparison result; a second acquisition module, configured to split the initial spatial information according to the comparison result to obtain spatial description information; and a third acquisition module, configured to acquire target spatial information of the target drawing based on the spatial description information.

[0006] One or more embodiments of the present specification also provide a drawing space information extraction device, which includes at least one storage medium and at least one processor; the at least one storage medium is used to store computer instructions; the at least one processor is used to execute the computer instructions to implement the drawing space information extraction method described in the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein: Figure 1 is a schematic diagram of an application scenario of a drawing space information extraction system according to some embodiments of this specification; Figure 2 is an exemplary flow chart of a drawing space information extraction method according to some embodiments of this specification; Figure 3 is an exemplary flow chart for determining target space information according to other embodiments of this specification; Figure 4 is an exemplary flow chart of verifying target space information based on target drawings according to some embodiments of this specification; Figure 5 is a partial schematic diagram of a frame area of ​​a target drawing according to some embodiments of this specification; Figure 6 It is an exemplary module diagram of a drawing space information extraction system according to some embodiments of the present specification. DETAILED DESCRIPTION

[0008] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0009] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0010] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0011] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0012] Figure 1 It is a schematic diagram of an application scenario of a drawing space information extraction system according to some embodiments of this specification.

[0013] In some embodiments, Figure 1 As shown, the application scenario 100 of the drawing space information extraction system includes a target drawing 110, a network 120, a terminal 130, a processor 140, and a storage device 150, etc.

[0014] The target drawing 110 refers to a schematic diagram that needs to be subjected to spatial information extraction. For example, the target drawing 110 may be a building schematic diagram, a decoration schematic diagram, a mechanical manufacturing schematic diagram, a clothing design schematic diagram, etc. that needs to be subjected to spatial information extraction. The types of target drawings 110 listed above are only examples and do not constitute a limitation. The target drawing 110 may also be any drawing that needs to be subjected to spatial information extraction.

[0015] In some embodiments, the target drawing 110 may be a physical drawing (such as a paper drawing). In other embodiments, the target drawing 110 may also be an electronic drawing. For more information about the target drawing, see Figure 2 and its related parts.

[0016] The network 120 may connect various components in the application scenario 100 of the drawing space information extraction system and / or connect other components outside the application scenario 100. In some embodiments, one or more components of the application scenario 100 of the drawing space information extraction system (e.g., the terminal 130, the processor 140, and the storage device 150, etc.) may be connected and / or communicate with each other through the network 120. For example, the terminal 130 may send the drawing label of the target drawing 110 to the processor 140, etc. through the network 120.

[0017] The terminal 130 can provide functional components related to user interaction and can implement user interaction functions (such as providing or displaying information and data to users). The user can refer to the manager of the target drawing 110, or can refer to the person who searches for or uses the target drawing 110. As an example only, the terminal 130 can be a mobile device, a tablet computer, a laptop computer, a desktop computer, or other devices with input and / or output functions, or any combination thereof.

[0018] The processor 140 is capable of processing information and / or data related to the drawing space information extraction system to perform one or more functions described in this specification. In some embodiments, the processor 140 can obtain a frame of a target drawing; the frame includes label information; the label is identified based on the frame to determine initial spatial information; the initial spatial information is compared based on a preset spatial information database to obtain a comparison result; based on the comparison result, the initial spatial information is split to obtain spatial description information; based on the spatial description information, the target spatial information of the target drawing is obtained. Detailed descriptions of related contents can be found later (such as Figure 2 , Figure 3 etc.) related description.

[0019] In some embodiments, the processor 140 may include a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), a computer, a user console, etc., or any combination thereof. In some embodiments, the processor 140 may include a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 140 may be local or remote. In some embodiments, the processor 140 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc., or any combination thereof.

[0020] The storage device 150 is capable of storing data, instructions, and / or any other information. In some embodiments, the storage device 150 may store data obtained from the terminal 130, the processor 140, etc., such as the target drawing 110, drawing space information, etc. In some embodiments, the storage device 150 may include a mass storage device, a removable memory, a volatile read-write memory, a read-only memory (ROM), etc., or any combination thereof. In some embodiments, the storage device 150 may be executed on a cloud platform. In some embodiments, the storage device 150 may be connected to the network 120 to communicate with one or more other components (e.g., the terminal 130, the processor 140, etc.) of the application scenario 100 of the drawing space information extraction system. In some embodiments, the storage device 150 may be part of the processor 140.

[0021] It is worth noting that the application scenario 100 of the drawing space information extraction system is provided for illustrative purposes only and is not intended to limit the scope of this specification. For those of ordinary skill in the art, various changes and modifications can be made according to the description of this specification. For example, the application scenario 100 of the drawing space information extraction system may also include a database, an information source, and the like. For another example, the application scenario 100 of the drawing space information extraction system may be implemented on other devices to achieve similar or different functions. However, these changes and modifications will not deviate from the scope of this specification.

[0022] Figure 2 is an exemplary flow chart of a method for extracting drawing space information according to some embodiments of this specification. In some embodiments, process 200 may be executed by a processing device (eg, processor 140). Figure 2 As shown, process 200 includes the following steps.

[0023] Step 210, obtaining a frame of the target drawing. In some embodiments, the frame includes label information.

[0024] The drawing frame is a boundary line that identifies the boundary of the drawing. In some embodiments, the target drawing includes a drawing area and a drawing label area. The drawing area is used to draw a specific design drawing, and the drawing label area is used to identify the drawing label information.

[0025] Drawing label information is a label used to identify drawing information in a drawing.

[0026] The drawing label information may include a variety of information related to the drawing. For example only, the drawing label information may include the drawing title, project name, drawing number, version, drawing unit, etc.

[0027] Generally speaking, the specific drawing content (i.e. the drawing area) is placed in the middle of the drawing frame, and the drawing label information is placed in the inner corners of the drawing frame.

[0028] In some embodiments, the processor 140 may identify a frame in a target drawing. For example, the processor 140 may annotate the frame on the target drawing using an annotation tool to obtain the frame of the target drawing. Exemplary annotation tools may include various CAD annotation software, etc.

[0029] In some embodiments, when the target drawing is a physical drawing, the physical drawing can be converted into an electronic drawing by photographing, scanning, etc., and then the frame of the target drawing can be obtained.

[0030] Step 220: Perform image label recognition based on the image frame to determine initial spatial information.

[0031] Initial spatial information refers to unverified spatial information extracted from the target drawing. In some embodiments, the processor 140 may further process the initial spatial information to obtain more accurate and complete target spatial information. The spatial information refers to information / data describing the spatial ownership of the building recorded in the drawing. For example, the spatial information may indicate the specific floor and / or building of the building recorded in the drawing.

[0032] Figure 5 It is a partial schematic diagram of a frame area of ​​a target drawing shown in some embodiments of this specification.

[0033] In some embodiments, the spatial information may include information related to a building keyword, a floor keyword, a building number, a number of floors, etc. Among them, the building keyword and the building number may be referred to as building information related to the building of the drawing; the floor keyword and the floor number may be referred to as floor information related to the floor of the drawing. For example, the name of the target drawing may include information related to the building keyword, the floor keyword, the building number, the number of floors, etc.

[0034] The building keyword refers to the identification information related to the indicated building in the target drawing. For example, see Figure 5 , the building keyword 540 may include "building", etc. In some embodiments, the building keyword may also include other identification information that may indicate the building, such as "building", "building number" (e.g., "building 1", "building 2"), etc. In some embodiments, the processor 140 may determine whether the image tag information is related to the building based on the building keyword. For example, when a certain image tag information includes building keywords such as "building", "building", "building number", etc., the processor 140 may determine that the image tag information is related to the building.

[0035] Floor keywords refer to the identification information related to the indicated floor in the target drawing. For example, see Figure 5 , the floor keyword 550 may include "floor", etc. In some embodiments, the floor keyword may also include other identification information that may indicate the floor, such as "floor", "F", etc. In some embodiments, the processor 140 may determine whether the image tag information is related to the floor based on the floor keyword. For example, when a certain image tag information includes floor keywords such as "floor", "floor", "F", etc., the processor 140 may determine that the image tag information is related to the floor.

[0036] The building number is data / information for distinguishing different buildings. In some embodiments, the building number includes numbers, connecting symbols, custom buildings, etc.

[0037] The floor number is data / information for distinguishing different floors. In some embodiments, the floor number includes numbers, connecting symbols, custom floors, prefixes, supplementary words, etc.

[0038] Numbers are used to indicate specific buildings and / or floors, including Arabic numerals (such as 1, 2, 3, etc.), Chinese numerals (such as one, two, three, etc.), Roman numerals, etc. Figure 5 As shown, the numbers include a first number 510 indicating a specific floor and a second number 520 indicating a specific building, etc. For more descriptions of the first number and the second number, please refer to step 250.

[0039] Connectors are used to connect multiple different pieces of information. Figure 5 As shown, the connection symbol 530 can connect different building numbers and / or floor numbers, different numbers, etc. The connection symbols include separators (such as ",",","and,"and,"and,"and,"etc.) and continuous words (such as "-,","~,"to,"to,"to,"etc.). Among them, continuous words refer to words or symbols that connect multiple consecutive buildings (or floors).

[0040] Custom buildings are words that indicate non-standard descriptions of buildings. For example, custom buildings may include "basement, garage, gatehouse" and the like.

[0041] Custom floors are words that indicate non-standardized descriptions of floors. Figure 5 As shown, the custom floor 560 may be a “device floor.” In some embodiments, the custom floors may also include types such as “roof, machine room floor, roof, top floor”, etc.

[0042] Prefixes and supplementary words are used to explain and supplement some special floors. For example, prefixes such as "negative, -, B" can indicate underground floors; supplementary words such as "mezzanine, half floor, M" can indicate mezzanine floors, etc.

[0043] In some embodiments, the processor 140 may determine the initial spatial information in a variety of ways. For example, the processor 140 may identify the frame through image recognition (e.g., optical character recognition, OCR) and other technologies, obtain the image label information such as the image name of the frame, and extract the building keyword, floor keyword, building number, number of floors, etc. in the image label information as the initial spatial information. For another example, the processor 140 may identify the image label of the frame through machine vision technology, image recognition technology and other methods, and extract the initial spatial information.

[0044] Step 230 , comparing the initial spatial information based on a preset spatial information database to obtain a comparison result.

[0045] Spatial information database refers to a database system used to store, manage and retrieve spatial information of drawings.

[0046] In some embodiments, the spatial information in the spatial information database can be obtained by collecting spatial information of a large amount of existing drawings and performing standardized processing.

[0047] Standardization processing refers to processing the spatial information related to the building, floor, etc. of the drawing based on preset rules. An exemplary preset rule may include: arranging different buildings and the floors corresponding to the buildings alternately. For example, the spatial information related to the building, floor, etc. of the extracted drawing is arranged in the manner shown in formula (1): (α×n1+β×n2)×n3(1) Among them, α represents the standardized expression form of building information, β represents the standardized expression form of floor information, and n1, n2, and n3 represent the number of buildings, the number of floors, and the number of occurrences of building information and / or floor information, respectively. For example, "the floor plan of the 1st to 3rd floors of buildings 1 to 3, the equipment floor, and the 2nd to 5th floors of buildings 5 ​​and 7" can represent a standardized spatial information.

[0048] In some embodiments, the standardized expression of building information may include: (number|building keyword+connection symbol)+(number|building keyword+connection symbol)+…+(number|building keyword+connection symbol). For example, the standardized expression of building information may be: Buildings 1 to 3, 5 and 7, 9 to 10. Among them, building keywords include custom buildings such as "basement, garage, gatehouse".

[0049] In some embodiments, the standardized expression of floor information may include: (number|floor keyword+connection symbol)+(number|floor keyword+connection symbol)+…+(number|floor keyword+connection symbol). For example, the standardized expression of floor information may be: 1-3, 5, 7, 9 floors and equipment floor. Among them, floor keywords include custom floors such as "roof, equipment floor, machine room floor, roof, top floor".

[0050] The above description of standardization is only an example, and those skilled in the art may also set other standardization processing methods according to different drawing space information extraction needs. For example, the spatial information database may include a variety of spatial information obtained through different standardization processing methods.

[0051] In some embodiments, the processor 140 may match the initial spatial information of the target drawing with the spatial information in the spatial information database, and use the matching result as the comparison result. The matching method includes text matching, etc. For example, the processor 140 may match the building keyword, floor keyword, building number, and floor number in the frame key information of the target drawing with the spatial information in the spatial information database for comparison.

[0052] In some embodiments, the initial spatial information is compared based on a preset spatial information database, and the obtained comparison results include multiple types. For example, when the floor keywords (including custom floors) and building keywords (including custom buildings) in the initial spatial information are successfully matched with the floor keywords (including custom floors) and building keywords (including custom buildings) in the spatial database, the processor 140 can determine that the initial spatial information contains spatial information related to both floors and buildings, and this result is called the first comparison result; when the floor keywords (including custom floors) in the initial spatial information are successfully matched with the floor keywords (including custom floors) in the spatial database, the processor 140 can determine that the initial spatial information contains spatial information related to floors, and this result is called the second comparison result; when the floor keywords (including custom floors) in the initial spatial information fail to match the floor keywords (including custom floors) in the spatial database, the processor 140 can determine that the initial spatial information does not contain spatial information related to floors, and further determine that the target drawing does not include spatial information, and this result is called the third comparison result.

[0053] In some embodiments, when the comparison result satisfies the first comparison result, the processor 140 may determine the target space information of the target drawing by the method described in steps 240 to 250 .

[0054] In some embodiments, when the comparison result satisfies the second comparison result, the processor 140 may determine that the name of the target drawing only includes floor information but not building information, the target floor information in the target space information may be obtained from the name of the drawing, and the target building information may be obtained from the sub-item information, and the processor 140 may determine the target space information of the target drawing by the method described in process 300. For more information on the related content, see Figure 3 .

[0055] In some embodiments, when the comparison result satisfies the third comparison result, the processor 140 may determine that the target drawing does not include spatial information and terminate the process.

[0056] Step 240: split the initial space information according to the comparison result to obtain space description information.

[0057] The space description information is data / information in the target drawing that describes buildings, floors, etc. In some embodiments, the space description information includes building space description information that describes buildings and floor space description information that describes floors.

[0058] In some embodiments, when the comparison result satisfies the first preset condition, the processor 140 may split the initial spatial information to obtain multiple spatial information combinations; for each spatial information combination, the processor 140 may obtain floor spatial description information and building spatial description information based on a preset method.

[0059] The first preset condition may include that the comparison result is a first comparison result. For more information about the first comparison result, see step 230.

[0060] The spatial information combination refers to the combination of the building spatial description information and the floor spatial description information obtained after the initial spatial information is split. For example, the processor 140 can split the initial spatial information "1st to 3rd floors of buildings 1 to 3, equipment floors and 2nd to 5th floors of buildings 5 ​​and 7" into spatial information combination 1: "1st to 3rd floors of buildings 1 to 3, equipment floors" and spatial information combination 2: "2nd to 5th floors of buildings 5 ​​and 7".

[0061] In some embodiments, if a building keyword or a custom building is preceded by a floor keyword or a custom floor, the processor 140 may use the connection symbol connecting the building keyword or custom building and the floor keyword or custom floor preceding it as a dividing point to split the initial spatial information. Continue to use the aforementioned initial spatial information "1-3 floors, equipment layer, and 2-5 floors of buildings 5 ​​and 7", where the building keyword of "5 buildings" includes the floor keyword "layer" of "1-3 floors" and the custom floor "equipment layer", then the processor 140 may use the connection symbol "and" as a dividing point to split the initial spatial information into spatial information combination 1: "1-3 floors, equipment layer" and spatial information combination 2: "2-5 floors, 5 buildings and 7 buildings".

[0062] In some embodiments, the preset method includes: extracting information related to the floor based on the spatial information combination to obtain the floor spatial description information; extracting information related to the building based on the spatial information combination to obtain the building spatial description information.

[0063] In some embodiments, for each of the multiple spatial information combinations, extracting the information related to the floor includes: deleting the building keyword and the characters preceding it, and extracting the floor keyword and the floor number from the remaining characters. For example, for spatial information combination 1: "1-3 buildings, 1-3 floors, equipment floor", the processor 140 can delete the building keyword "building" and the characters "1-3" preceding it, and extract the information related to the floor "1-3 floors, equipment floor" as the floor space description information.

[0064] In some embodiments, for each of the multiple spatial information combinations, extracting the information related to the building includes: deleting the characters after the rightmost of the building keyword and the custom building, and extracting the building keyword and the building number from the remaining characters. For example, for spatial information combination 1: "1-3 buildings 1-3 floors, equipment layer", the processor 140 can delete the characters "1-3 floors, equipment layer" after the rightmost of the building keyword "building", and extract the information related to the building "1-3 buildings" as the building space description information.

[0065] Step 250: Acquire target space information of the target drawing based on the space description information.

[0066] The target space information refers to the space information corresponding to the building and floor extracted from the target drawing. For example, for the initial space information "1-3 floors, equipment floor of buildings 1-3 and 2-5 floors of buildings 5 ​​and 7", the corresponding target space information includes: "Building 1: 1st floor, 2nd floor, 3rd floor, equipment floor", "Building 2: 1st floor, 2nd floor, 3rd floor, equipment floor", "Building 3: 1st floor, 2nd floor, 3rd floor, equipment floor", "Building 5: 2nd floor, 3rd floor, 4th floor, 5th floor", "Building 7: 2nd floor, 3rd floor, 4th floor, 5th floor", etc.

[0067] In some embodiments, for each of multiple spatial information combinations, the processor 140 can perform keyword extraction based on the floor space description information and the building space description information to obtain target floor information and target building information; combine the target floor information and the target building information to obtain the target space information of the target drawing.

[0068] In some embodiments, the processor 140 can extract the first number and the custom floor in the floor space description information; determine the first floor information based on the adjacent connecting words of the first number; determine the second floor information based on the consecutive words between the first numbers; determine the target floor information based on the first floor information and the second floor information, and use the custom floor as supplementary floor information.

[0069] The first digit refers to a digit describing a specific floor number, wherein the first digit may include digits in various forms, such as Arabic numerals (such as 1, 2, 3, etc.), Chinese numerals (such as one, two, three, etc.), Roman numerals, etc.

[0070] Adjacent connecting words refer to words that are immediately adjacent to a number (including the first number and the second number). In some embodiments, the adjacent connecting words of the first number include prefixes, supplementary words, floor keywords, etc. Taking the floor space description information "negative 2 floors" and "underground 1 floor" as an example, the adjacent connecting words include "negative", "floor", "underground", "floor", etc. For more explanations about prefixes, supplementary words and floor keywords, please refer to step 220.

[0071] The first floor information refers to floor information determined based on a first number and adjacent connecting words to the first number.

[0072] In some embodiments, the processor 140 may process the adjacent connecting words of the first number and replace the first number to obtain the first floor information. The exemplary processing method includes converting the adjacent connecting words into standardized prefixes and / or supplementary words and / or floor keywords, and combining the standardized prefixes and / or supplementary words and / or floor keywords with the first number to obtain the first floor information. For example, taking "negative 1st floor", "-2F", "underground 1st floor", "basement 1st floor", etc. as examples, the processor 140 may convert the adjacent connecting words such as "negative", "-", "underground", "basement", etc. representing the underground into standardized prefixes "-" (or other forms of prefixes as needed), convert the floor keywords such as "floor", "floor", "F", etc. into standardized floor keywords "floor", and then combine the standardized prefix "-" and the standardized floor keyword "floor" with the corresponding first number to obtain the first floor information: "-1st floor", "-2nd floor", "-1st floor", "-1st floor", etc. The standardized prefixes and / or supplementary words and / or floor keywords may be preset in advance.

[0073] In some embodiments, when the first number in the floor space description information does not have an adjacent connecting word, the processor 140 may determine that the first floor information of the floor space description information is empty.

[0074] In some embodiments, the processor 140 may store the first floor information in a temporary floor database.

[0075] The second floor information refers to the floor information determined based on the first number and the consecutive word between the first number. For more information about the consecutive word, please refer to step 220.

[0076] In some embodiments, when there are no consecutive words between the first numbers, the processor 140 may directly determine the first numbers and the floor keyword as the second floor information.

[0077] In some embodiments, when there are consecutive words between the first numbers, the processor 140 can fill in the remaining numbers between the floor numbers on both sides of the consecutive words, and use the filled results and the standardized floor keywords as the second floor information. For example, taking "1 to 4 floors" as an example, there is a consecutive word "to" between the first numbers "1" and "4" indicating the continuity of the floors. The processor 140 can fill in the numbers "2" and "3" between the first numbers "1" and "4", and combine the filled results with the standardized floor keyword "floor" as the second floor information: "1st floor", "2nd floor", "3rd floor", "4th floor".

[0078] In some embodiments, the processor 140 may store the second floor information in a temporary floor database.

[0079] In some embodiments, the processor 140 may combine the first floor information and the second floor information in the temporary floor database as the target floor information.

[0080] The supplementary floor information refers to information that supplements the target floor information. In some embodiments, the processor 140 can directly use the customized floor information as the supplementary floor information and store it in the temporary floor database.

[0081] In some embodiments, the processor 140 may further combine the supplementary floor information with the first floor information and the second floor information as the target floor information.

[0082] In some embodiments, for each of the multiple spatial information combinations, the processor 140 may also perform deduplication processing on the target floor information in the spatial information combination in the temporary floor database (i.e., remove duplicate floor information) to improve the accuracy of the target spatial information subsequently acquired.

[0083] In some embodiments, the processor 140 can extract the second number and the custom building in the building space description information; determine the first building information based on the adjacent connecting words of the second number; determine the second building information based on the continuous words between the second numbers; determine the target building information based on the first building information and the second building information, and use the custom building as supplementary floor information.

[0084] The second digit refers to a digit describing a specific building number, wherein the second digit may include digits in various forms, such as natural numerals (such as 1, 2, 3, etc.), Chinese numerals (such as one, two, three, etc.), Roman numerals, etc.

[0085] In some embodiments, the adjacent connecting words of the second number include building keywords. Taking the building space description information "Building 3", "Buildings 1 to 4" as an example, the adjacent connecting words include "building", "building", etc. For more description of building keywords, please refer to step 220.

[0086] The first building information refers to the building information determined based on the second number and the adjacent connecting words of the second number.

[0087] In some embodiments, the processor 140 may process the adjacent connecting words of the second number, and obtain the first building information after replacing the second number. Among them, the exemplary processing method includes converting the adjacent connecting words into standardized building keywords, and combining the standardized building keywords with the second number to obtain the first building information. For example, taking "Building 3", "Buildings 1 to 4", "Building No. 7", etc. as examples, the processor 140 may convert different building keywords "building", "building", "building number" and other adjacent connecting words into the standardized building keyword "building" (it may also be converted into other forms of building keywords as needed), and then combine the standardized building keyword "building" with the corresponding second number to obtain the first building information: "Building 3", "Buildings 1 to 4", "Building 7", etc. Among them, the standardized building keywords can be preset in advance.

[0088] In some embodiments, the processor 140 may store the first building information in a temporary floor database.

[0089] The second building information refers to the building information determined based on the second number and the consecutive word between the second number. For more information about the consecutive word, please refer to step 220.

[0090] In some embodiments, when there is no consecutive word between the second numbers, the processor 140 may directly determine the second numbers and the building keyword as the second building information.

[0091] In some embodiments, when there are consecutive words between the second digits, the processor 140 can fill in the remaining digits between the building numbers on both sides of the consecutive words, and use the filled results and the standardized building keyword as the second building information. For example, taking "1 to 4 buildings" as an example, there is a consecutive word "to" between the second digits "1" and "4" indicating the continuity of the buildings. The processor 140 can fill in the numbers "2" and "3" between the second digits "1" and "4", and combine the filled results with the standardized building keyword "building" as the second building information: "Building 1", "Building 2", "Building 3", "Building 4".

[0092] In some embodiments, the processor 140 may store the second building information in a temporary building database.

[0093] In some embodiments, the processor 140 may combine the first building information and the second building information in the temporary building database as the target building information.

[0094] The supplementary building information refers to information that supplements the target building information. In some embodiments, the processor 140 can directly use the customized building information as the supplementary building information and store it in the temporary building database.

[0095] In some embodiments, the processor 140 may also combine the supplementary building information with the first building information and the second building information as the target building information.

[0096] In some embodiments, for each of the multiple spatial information combinations, the processor 140 may also perform deduplication processing on the target building information in the spatial information combination in the temporary building database (i.e., remove duplicate building information) to improve the accuracy of the target spatial information subsequently acquired.

[0097] In some embodiments, for each of a plurality of spatial information combinations, the processor 140 may combine the target floor information and the target building information in the spatial information combination to obtain the target spatial information of the spatial information combination. For example, the target floor information of a spatial information combination includes "1st floor", "2nd floor", and "equipment floor", and the target building information includes "Building 1", "Building 2", and "Building 3". The processor 140 may combine each of the target floor information with each of the target building information, and then merge the combination results of the same building to obtain the target spatial information of the spatial information combination: "Building 1: 1st floor, 2nd floor, equipment floor", "Building 2: 1st floor, 2nd floor, equipment floor", "Building 3: 1st floor, 2nd floor, equipment floor".

[0098] In some embodiments, for each of the multiple spatial information combinations of the target drawing, the processor 140 can respectively execute the method described in step 250 (for example, simultaneously or separately) to obtain the target spatial information of each spatial information combination, and then merge the target spatial information of each spatial information combination as the target spatial information of the target drawing.

[0099] The drawing space information extraction method described in some embodiments of the present specification can intelligently and automatically identify the spatial information in the drawing, with high recognition accuracy and good versatility, and can also accurately identify customized floor / building information; at the same time, in the case of non-standard expression of the drawing text (for example, the presence of multiple building / floor keywords, etc.), it can also be accurately identified and converted into a standardized expression to facilitate the query and management of the drawing space information; in addition, for the spatial information that is implicit and not directly expressed in the drawing text (for example, for continuous floor information 1 to 4 floors, where floors 2 and 3 are implicit spatial information), it can also be accurately supplemented and identified, further improving the drawing space information management effect.

[0100] Figure 3It is an exemplary flow chart for determining target space information according to other embodiments of this specification. In some embodiments, when the comparison result satisfies the second preset condition, the processor 140 may execute process 300 to determine the target space information of the target drawing. That is, after executing step 230, the processor 140 may determine whether the comparison result satisfies the second preset condition, and when the comparison result satisfies the second preset condition, execute step 300. Among them, the second preset condition includes that the comparison result satisfies the second comparison result. For more description of the second comparison result, please refer to step 230.

[0101] In some embodiments, process 300 may be performed by a processing device (eg, processor 140). Figure 3 As shown, process 300 includes the following steps.

[0102] Step 310, split the initial space information to obtain floor space description information.

[0103] In some embodiments, the processor 140 may split the initial space information in the same way as in step 240 to obtain the floor space description information. Detailed description of the relevant content may refer to step 240.

[0104] Step 320: extract keywords based on the floor space description information to obtain target floor information.

[0105] In some embodiments, the processor 140 may extract keywords from the floor space description information in the same manner as in step 250 to obtain the target floor information. Detailed description of the relevant contents may refer to step 250.

[0106] Step 330 , obtaining sub-item information of the frame, and based on the sub-item information, obtaining sub-item spatial information.

[0107] Sub-item information refers to the name of the sub-item of the drawing. Sub-item refers to the next level of sub-item or sub-item in the drawing.

[0108] Sub-item space information refers to the building keyword, building number and other related information in the sub-item name.

[0109] In some embodiments, the processor 140 may determine the sub-item spatial information by the same method as extracting the initial spatial information. For example, the processor 140 may identify the frame by image recognition (e.g., OCR technology) and other technologies, obtain the sub-item name of the frame, and extract the building keyword, building number, etc. in the sub-item name as the sub-item spatial information by regular matching and other methods. For another example, the processor 140 may identify the image label of the frame by machine vision technology, image recognition technology and other methods, and extract the sub-item spatial information.

[0110] In some embodiments, the processor 140 may also compare the sub-item spatial information based on a preset spatial information database.

[0111] In some embodiments, when the comparison result is that the sub-item spatial information successfully matches the building keyword (including custom buildings) in the spatial information database, it means that the sub-item spatial information includes building spatial information, and the processor 140 continues to execute steps 340 to 360 to determine the target spatial information of the target drawing.

[0112] In some embodiments, when the comparison result is that the sub-item spatial information fails to match the building keyword (including custom buildings) in the spatial information database, it means that the sub-item spatial information does not include the building spatial information, and the processor 140 ends the process.

[0113] Step 340, split the sub-item space information to obtain the building space description information.

[0114] In some embodiments, the processor 140 can split the sub-item spatial information by customizing the building and / or building keywords and / or separators. For example, for the sub-item spatial information "Buildings 1 to 3, Buildings 7 and 8", the processor can split the sub-item spatial information based on the separator "," and the building keyword "building" to obtain the building spatial information: "Buildings 1 to 3", "Building 7", "Building 8". For more information about the building spatial description information, please refer to step 240.

[0115] Step 350: extract keywords based on the building space description information to obtain target building information.

[0116] In some embodiments, the processor 140 may extract keywords from the building space description information based on the same method as step 250 to obtain the target building information. For detailed description of the relevant content, please refer to step 250.

[0117] Step 360, combining the target floor information and the target building information to obtain the target space information of the target drawing.

[0118] In some embodiments, the processor 140 may combine the target floor information and the target building information based on the same method as step 250 to obtain the target space information of the target drawing. For detailed description of the relevant content, please refer to step 250.

[0119] In some embodiments, in order to further improve the accuracy of the extracted target spatial information, the processor 140 may also verify the extracted target spatial information. For example, the processor 140 may compare the extracted target spatial information with the spatial information in the spatial information database. If the comparison results are consistent, the extracted target spatial information is considered to be accurate and the target spatial information corresponding to the target drawing (i.e., the building and floor information associated with the drawing) is obtained. If they are inconsistent, the target spatial information is considered to be incorrect and needs to be modified or further verified (such as manual verification or modification).

[0120] In some embodiments, the processor 140 may also verify the target space information based on the target drawing.

[0121] Figure 4 4 is an exemplary flow chart of verifying target space information based on target drawings according to some embodiments of this specification. In some embodiments, process 400 may be executed by a processing device (eg, processor 140). Figure 4 As shown, process 400 includes the following steps.

[0122] Step 410, perform image segmentation based on the target drawing to obtain one or more building area drawings.

[0123] The building area drawing refers to the drawing obtained by dividing different buildings in the target drawing into one or more separate buildings.

[0124] In some embodiments, the processor 140 may perform image segmentation on the target drawing based on a variety of image segmentation methods, such as grayscale threshold segmentation, region segmentation, edge segmentation, and the like.

[0125] Step 420, determine auxiliary building information based on one or more building area drawings.

[0126] Auxiliary building information is building information extracted from building area drawings.

[0127] In some embodiments, the processor 140 may determine based on the building information marked in the building area drawing.

[0128] Step 430: For each of the one or more building area drawings, perform floor identification based on the building area drawings to determine auxiliary floor information.

[0129] Auxiliary floor information refers to floor information extracted from each building in one or more building area drawings.

[0130] In some embodiments, the processor 140 can extract the floor information marked in each building area drawing through image recognition technology (such as machine vision, OCR technology, etc.), and use the extracted floor information as auxiliary floor information.

[0131] In some embodiments, the processor 140 may also determine auxiliary floor information through a machine learning model.

[0132] In some embodiments, the processor 140 can input the building area drawing into the convolutional neural network to obtain a convolution feature vector; perform enhancement processing on the convolution feature vector to obtain an enhanced feature vector; and input the enhanced feature vector into the floor recognition model to determine the auxiliary floor information.

[0133] In some embodiments, the convolutional neural network can be obtained by training with a first sample and a first label. The first sample includes a large number of historical building area drawings, and the first label includes floor information of manually annotated historical building area drawings. When the convolutional neural network training is completed, the processor 140 can select the feature vector output by the previous layer of the convolutional neural network output layer as the convolution feature vector.

[0134] In some embodiments, the processor 140 may also extract annotation information based on the building area drawings to obtain drawing annotation information; perform feature extraction on the drawing annotation information to obtain an annotation feature vector; and fuse the annotation feature vector and the convolution feature vector to obtain an enhanced feature vector.

[0135] Drawing marking information refers to the floor information marked in the building area drawings.

[0136] In some embodiments, the processor 140 can extract the floor information marked in the drawings of each building area through image recognition technology (such as machine vision, OCR technology, etc.), and use the extracted floor information as the drawing marking information.

[0137] In some embodiments, the processor 140 may also obtain a preset annotation area of ​​the target drawing and extract the drawing annotation information from the preset annotation area, wherein the preset annotation area is determined according to the annotation habits of the drawing user corresponding to the target drawing.

[0138] The preset marking area refers to the area in the building area drawing that is preset for marking floor information.

[0139] The annotation habit refers to the habit of the user to annotate the spatial information such as buildings and floors when drawing drawings. For example, the annotation habit may include annotating the usual numbers (such as Arabic numerals, Roman numerals, etc.), an habit of annotating a single floor, an habit of uniformly annotating multiple floors, etc. In some embodiments, the annotation habit of the user may be pre-stored in a storage device (such as storage device 150) in the form of vectors, etc., and the processor 140 may obtain the annotation habit from the storage device based on the drawing user name in the drawing label information.

[0140] In some embodiments of the present specification, a preset annotation area of ​​a target drawing is determined according to the annotation habits of the drawing user corresponding to the target drawing, and the drawing annotation information is extracted from the preset annotation area. This can better conform to the drawing habits of different users when extracting the annotation information, thereby improving the accuracy of the auxiliary floor information determined subsequently and, at the same time, improving the intelligence level of the target space information verification process.

[0141] In some embodiments, the processor 140 may also perform feature extraction on the drawing annotation information through methods such as text structure features, grammatical features, word embedding, etc. to obtain an annotation feature vector.

[0142] In some embodiments, the processor 140 may fuse the labeled feature vector and the convolution feature vector in a variety of ways. For example, the processor 140 may concatenate the labeled feature vector and the convolution feature vector to obtain an enhanced feature vector; for another example, the processor 140 may perform a weighted summation of the labeled feature vector and the convolution feature vector to obtain an enhanced feature vector, wherein the weight of the weighted summation may be preset.

[0143] In some embodiments, by fusing the annotation feature vector corresponding to the annotation information of the building area drawing with the convolution feature vector, an enhanced feature vector is obtained, which can be integrated into the annotation information of the drawing to improve the accuracy of the auxiliary floor information subsequently determined by the model.

[0144] The floor recognition model is a machine learning model for determining auxiliary floor information in a building area drawing. In some embodiments, the floor recognition model can be a neural network model, a deep neural network model, etc.

[0145] In some embodiments, the input of the floor recognition model includes an enhanced feature vector, and the output includes auxiliary floor information.

[0146] In some embodiments, the input of the floor recognition model also includes the marking habits and the marking analysis annotations of the user who draws the target drawings. The marking analysis annotations refer to the interpretation of the marking habits of the user who draws the target drawings. For example, for the marking "2nd floor", the marking analysis annotations include explaining whether the marking of the drawing user refers to "2nd floor" or "1st floor and 2nd floor".

[0147] In some embodiments of the present specification, the input of the floor recognition model also includes the marking habits and marking analysis annotations of the user who draws the target drawing, which can improve the accuracy of the output auxiliary floor information and make the output results closer to the marking habits of different drawing users, making it more intelligent.

[0148] In some embodiments, the floor recognition model can be obtained by training with a second sample and a second label. The second sample includes a large number of historical enhanced feature vectors corresponding to historical building area drawings, and the second label includes floor information of manually annotated historical building area drawings. When a large number of historical building area drawings in the second sample are consistent with a large number of historical building area drawings in the first sample, the first label and the second label can be the same.

[0149] In some embodiments, a convolutional neural network may be part of the floor recognition model.

[0150] In some embodiments of the present specification, auxiliary floor information is determined by a machine learning model, which is more accurate and intelligent, and can improve the verification accuracy and efficiency of the target space information.

[0151] Step 440: Combine the auxiliary building information and the auxiliary floor information to obtain auxiliary space information.

[0152] Auxiliary space information refers to the space information determined based on the building area drawings.

[0153] In some embodiments, the processor 140 may determine the auxiliary space information based on a method similar to that for determining the target space information. For example, for each of one or more building area drawings, the processor 140 may combine the auxiliary building information and the auxiliary floor information in the building area drawing to obtain the auxiliary space information of the building area drawing. For example, the auxiliary floor information of a building area drawing includes "1st floor", "2nd floor", and "equipment floor", and the auxiliary building information includes "Building 1" and "Building 2". The processor 140 may combine each of the auxiliary floor information with each of the auxiliary building information, and then merge the combination results of the same building to obtain the auxiliary space information of the building area drawing: "Building 1: 1st floor, 2nd floor, equipment floor", "Building 2: 1st floor, 2nd floor, equipment floor".

[0154] In some embodiments, for each of one or more building area drawings, the processor 140 can respectively execute the methods described in steps 420 to 440 (for example, simultaneously or separately) to obtain the auxiliary space information of each building area drawing, and then merge the auxiliary space information of each building area drawing as the auxiliary space information of the target drawing.

[0155] Step 450: determine whether the auxiliary space information is consistent with the target space information.

[0156] In some embodiments, the processor 140 can determine whether the auxiliary space information and the target space information are consistent in a variety of ways. For example, the processor 140 can directly compare whether the auxiliary space information and the target space information are consistent; for another example, the processor 140 can calculate the vector distance between the auxiliary space information and the target space information. When the vector distance is less than the distance threshold, it means that the auxiliary space information and the target space information are consistent, otherwise they are inconsistent. Among them, exemplary vector distances include one or more of Euclidean distance, cosine distance, Manhattan distance, Chebyshev distance, etc.

[0157] In some embodiments, when the auxiliary space information and the target space information are consistent, it indicates that the target space information is extracted correctly, and the processor 140 ends the process.

[0158] In some embodiments, when the auxiliary space information and the target space information are inconsistent, it indicates that there may be an error in the extraction of the target space information, and the processor 140 executes step 460 .

[0159] Step 460: In response to the inconsistency between the auxiliary space information and the target space information, output prompt information.

[0160] The prompt information is used to prompt the user to verify the target space information. For example, the prompt information may include a pop-up window reminder, a highlight reminder, etc.

[0161] In some embodiments, the prompt information also includes specific verification content, such as the specific building and floor of the target space information that is inconsistent with the auxiliary space information.

[0162] In some embodiments, the user may manually verify the target space information that is inconsistent with the auxiliary space information. In some embodiments, the processor 140 may also repeatedly execute one or more of processes 200, 300, and 400 to automatically verify the target space information. For example, the target space information obtained after the repeated execution is compared to see whether it is consistent with the auxiliary space information or the target space information obtained before the repeated execution.

[0163] In some embodiments of the present specification, the target spatial information is verified based on the target drawing, so that the recognition accuracy of the target spatial information can be improved; at the same time, when the target spatial information extraction is inconsistent with the auxiliary spatial information, a prompt can be promptly issued to the user for further verification, thereby further improving the recognition accuracy of the target spatial information; in addition, compared with the method of directly comparing with the spatial information in the spatial information database, the auxiliary spatial information of the target drawing is for the same drawing, the comparison object is more accurate, and the comparison result can be obtained quickly.

[0164] Figure 6 is an exemplary module diagram of a drawing space information extraction system according to some embodiments of this specification. Figure 6 As shown, the drawing space information extraction system 600 includes a first acquisition module 610 , an identification module 620 , a comparison module 630 , a second acquisition module 640 and a third acquisition module 650 .

[0165] The first acquisition module 610 is configured to acquire a frame of a target drawing. In some embodiments, the frame includes label information.

[0166] The recognition module 620 is configured to perform image label recognition based on the image frame to determine initial spatial information.

[0167] The comparison module 630 is configured to compare the initial spatial information based on a preset spatial information database to obtain a comparison result.

[0168] The second acquisition module 640 is configured to split the initial space information according to the verification result to obtain space description information.

[0169] In some embodiments, the second acquisition module 640 is further configured to split the initial spatial information to obtain multiple spatial information combinations when the verification result meets the first preset condition; for each spatial information combination, obtain floor spatial description information and building spatial description information based on a preset method.

[0170] In some embodiments, the second acquisition module 640 is further configured to extract information related to the floor based on the spatial information combination to obtain the floor spatial description information; and to extract information related to the building based on the spatial information combination to obtain the building spatial description information.

[0171] The third acquisition module 650 is configured to acquire target space information of the target drawing based on the space description information.

[0172] In some embodiments, the third acquisition module 650 is further configured to perform keyword extraction based on the floor space description information and the building space description information to obtain the target floor information and the target building information; combine the target floor information and the target building information to obtain the target space information of the target drawing.

[0173] In some embodiments, the third acquisition module 650 is further configured to extract the first number and the custom floor in the floor space description information; determine the first floor information based on the adjacent connecting words of the first number; determine the second floor information based on the consecutive words between the first number; determine the target floor information based on the first floor information and the second floor information, and use the custom floor as supplementary floor information; extract the second number and the custom building in the building space description information; determine the first building information based on the adjacent connecting words of the second number; determine the second building information based on the consecutive words between the second number; determine the target building information based on the first building information and the second building information, and use the custom building as supplementary building information.

[0174] In some embodiments, when the verification result meets the second preset condition, the third acquisition module 650 is further configured to split the initial space information to obtain floor space description information; perform keyword extraction based on the floor space description information to obtain target floor information; obtain sub-item information of the drawing frame, and based on the sub-item information, obtain sub-item space information; split the sub-item space information to obtain building space description information; perform keyword extraction based on the building space description information to obtain target building information; combine the target floor information and the target building information to obtain the target space information of the target drawing.

[0175] In some embodiments, the paper space information extraction system 600 also includes a verification module 660 .

[0176] In some embodiments, the verification module 660 is further configured to perform image segmentation based on the target drawing to obtain one or more building area drawings; determine auxiliary building information based on the one or more building area drawings; for each of the one or more building area drawings, perform floor identification based on the building area drawings to determine auxiliary floor information; combine the auxiliary building information and the auxiliary floor information to obtain auxiliary space information; determine whether the auxiliary space information and the target space information are consistent; in response to the inconsistency between the auxiliary space information and the target space information, output prompt information; the prompt information is used to prompt the user to verify the target space information.

[0177] In some embodiments, the verification module 660 is further configured to input the building area drawing into the convolutional neural network to obtain a convolution feature vector; perform enhancement processing on the convolution feature vector to obtain an enhanced feature vector; and input the enhanced feature vector into the floor recognition model to determine the auxiliary floor information.

[0178] For a detailed description of the functions involved in each module of the drawing space information extraction system 600 shown above, reference may be made to the relevant parts of the previous text of this specification, for example, Figure 2 to Figure 5 and related instructions.

[0179] It should be noted that the above description of the drawing space information extraction system 600 and its modules is only for the convenience of description and cannot limit the present specification to the scope of the embodiments. Figure 6 The first acquisition module 610, the identification module 620, the comparison module 630, the second acquisition module 640, the third acquisition module 650 and the verification module 660 disclosed in the specification can be different modules in a system, or one module can realize the functions of two or more modules mentioned above. For example, each module can share a storage module, or each module can have its own storage module. Such variations are all within the protection scope of this specification.

[0180] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only an example and does not constitute a limitation of this specification.

[0181] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different places in this specification does not necessarily refer to the same embodiment.

[0182] It should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

Claims

1. A method for extracting drawing space information, characterized in that: The method comprises: Acquire a drawing frame of a target drawing; the drawing frame includes drawing label information; Performing image label recognition based on the image frame to determine initial spatial information; Comparing the initial spatial information based on a preset spatial information database to obtain a comparison result; According to the comparison result, the initial space information is split to obtain space description information; Based on the space description information, target space information of the target drawing is acquired.

2. The method according to claim 1, characterized in that The initial space information is split according to the comparison result to obtain space description information, including: When the comparison result satisfies a first preset condition, splitting the initial spatial information to obtain a plurality of spatial information combinations; For each of the spatial information combinations, the floor spatial description information and the building spatial description information are obtained based on a preset method.

3. The method according to claim 2, characterized in that The acquiring target space information of the target drawing based on the space description information includes: Perform keyword extraction based on the floor space description information and the building space description information to obtain target floor information and target building information; The target floor information and the target building information are combined to obtain the target space information of the target drawing.

4. The method according to claim 2, characterized in that The obtaining of the floor space description information and the building space description information based on the preset method includes: Extracting information related to the floor based on the spatial information combination to obtain the floor space description information; Based on the spatial information combination, information related to the building is extracted to obtain the spatial description information of the building.

5. The method according to claim 3, characterized in that The keyword extraction based on the floor space description information and the building space description information to obtain the target floor information and the target building information includes: Extracting the first number and the custom floor in the floor space description information; Determining first floor information based on adjacent connectives of the first digit; determining second floor information based on the consecutive words between the first digits; Determine the target floor information based on the first floor information and the second floor information, and use the custom floor as supplementary floor information; Extracting the second number and the custom building in the building space description information; Determine the first building information based on the adjacent connecting words of the second digit; Determine second building information based on the consecutive words between the second digits; Based on the first building information and the second building information, the target building information is determined, and the custom building is used as supplementary building information.

6. The method according to claim 1, characterized in that The method further comprises: When the comparison result meets the second preset condition, splitting the initial space information to obtain floor space description information; Extract keywords based on the floor space description information to obtain target floor information; Acquire sub-item information of the picture frame, and acquire sub-item spatial information based on the sub-item information; Splitting the sub-item spatial information to obtain building spatial description information; Extract keywords based on the building space description information to obtain target building information; The target floor information and the target building information are combined to obtain the target space information of the target drawing.

7. The method according to claim 1, characterized in that The method further comprises: Perform image segmentation based on the target drawing to obtain one or more building area drawings; Determining auxiliary building information based on the one or more building area drawings; For each of the one or more building area drawings, performing floor identification based on the building area drawings to determine auxiliary floor information; Combining the auxiliary building information and the auxiliary floor information to obtain auxiliary space information; Determining whether the auxiliary space information is consistent with the target space information; In response to the inconsistency between the auxiliary space information and the target space information, a prompt message is output; the prompt message is used to prompt a user to verify the target space information.

8. The method according to claim 7, characterized in that The step of performing floor identification based on the building area drawing and determining auxiliary floor information includes: Input the building area drawing into a convolutional neural network to obtain a convolutional feature vector; Performing enhancement processing on the convolution feature vector to obtain an enhanced feature vector; The enhanced feature vector is input into a floor recognition model to determine the auxiliary floor information.

9. A drawing space information extraction system, characterized in that: The system comprises: A first acquisition module is configured to acquire a frame of a target drawing; the frame includes drawing label information; A recognition module, configured to perform image label recognition based on the image frame to determine initial spatial information; A comparison module is configured to compare the initial spatial information based on a preset spatial information database to obtain a comparison result; A second acquisition module is configured to split the initial space information according to the comparison result to obtain space description information; The third acquisition module is configured to acquire target space information of the target drawing based on the space description information.

10. A drawing space information extraction device, characterized in that: The device includes at least one storage medium and at least one processor; The at least one storage medium is used to store computer instructions; The at least one processor is configured to execute the computer instructions to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • E-commerce platform heterogeneous data processing method and system

    CN106097058A

  • Building model establishment method and related device

    CN113779681A

  • Fabricated building BIM generation method and related equipment

    CN113901550A

  • Architectural drawing reviewing method, storage medium and electronic equipment

    CN117133011A

  • Method for detecting sub-drawing frame in architectural drawing and electronic equipment

    CN117133012A

Cited By

  • Construction task dispatching method and system based on drawing information recognition

    WO2026144578A1