Drawing processing apparatus and drawing processing method
The drawing processing device addresses the challenge of visually comparing drawing data by superimposing and aligning areas using machine-learned models, improving the identification of differences in drawing elements.
Patent Information
- Application Number
- JP2024059907
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2025-10-16
- Estimated Expiration
- 2044-04-03
AI Technical Summary
Existing drawing management systems require users to visually compare two pieces of drawing data to identify differences, which can be difficult and prone to overlooking subtle variations.
A drawing processing device that superimposes reference and comparison drawing areas to facilitate easy visual identification of differences by using machine-learned models to infer and align drawing areas and features.
Enhances the ability to intuitively and accurately identify differences between drawing data by superimposing and aligning relevant areas, making it easier to compare and analyze drawing elements.
Smart Images

Figure 2025157720000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a drawing processing device and a drawing processing method. [Background technology]
[0002] Drawings handled in various fields such as machinery, architecture, civil engineering, electricity, and apparel are generally registered and managed in a database as drawing data. For example, Patent Document 1 discloses a parts drawing management system that allows a user to search for desired drawing data by assigning names and attributes to each piece of drawing data and registering it in a database. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2008-059474 Summary of the Invention [Problem to be solved by the invention]
[0004] In the component drawing management system disclosed in Patent Document 1, a user searches for desired drawing data by specifying a name or attribute, and the drawing data is displayed as the search result. For example, if two pieces of drawing data are found as search results, the user has no choice but to compare the drawings visually to determine the differences in the shape and dimensions of the components between the two pieces of drawing data. However, when comparing two pieces of drawing data, it is difficult for the user to intuitively identify the differences, and the differences may be overlooked.
[0005] The present invention has been made in response to the above-mentioned problems, and aims to provide a drawing processing device and a drawing processing method that make it possible to easily visually identify differences when comparing two pieces of drawing data. [Means for solving the problem]
[0006] In order to achieve the above object, a drawing processing apparatus according to one aspect of the present invention comprises: A drawing processing device that processes drawing data including one or more drawing elements that specify the shape and dimensions of an object, a request receiving unit that receives a comparison request between reference drawing data, which is the drawing data serving as a reference, and comparison drawing data, which is the drawing data to be compared with the reference drawing data; The system is provided with a display information generation unit that identifies a reference drawing area that surrounds the drawing element included in the reference drawing data related to the comparison request received by the request receiving unit, and a comparison drawing area that surrounds the drawing element included in the comparison drawing data related to the comparison request received by the request receiving unit, and generates drawing display information that displays the identified reference drawing area and the comparison drawing area by superimposing them on each other. [Effects of the Invention]
[0007] According to one embodiment of the drawing processing device of the present invention, a reference drawing area surrounding a drawing element included in the reference drawing data and a comparison drawing area surrounding a drawing element included in the comparison drawing data are identified, and drawing display information is generated that displays the reference drawing area and the comparison drawing area superimposed, making it easy to see the differences when comparing the two drawing data.
[0008] Problems, configurations, and effects other than those described above will become apparent from the detailed description of the invention that follows. [Brief explanation of the drawings]
[0009] [Figure 1] 1 is an overall configuration diagram showing an example of a drawing management system 1. FIG. [Figure 2A] FIG. 10 is a diagram showing a first example of drawing data D10. [Figure 2B] FIG. 10 is a diagram showing a second example of drawing data D10. [Figure 3] FIG. 2 is a diagram showing an example of a drawing database 210. [Figure 4] FIG. 2 is a block diagram showing an example of a drawing processing device 2. [Figure 5] 2 is a functional explanatory diagram showing an example of a request receiving unit 204 and a display information generating unit 205. FIG. [Figure 6] FIG. 9 is a hardware configuration diagram showing an example of a computer 900. [Figure 7] 10 is a flowchart showing a first operation example of a drawing processing method by the drawing processing device 2. [Figure 8A] FIG. 10 is a diagram showing a first display example of a drawing comparison screen 13A. [Figure 8B] FIG. 10 is a diagram showing a second display example of the drawing comparison screen 13B. [Figure 9] 10 is a flowchart showing a second operation example of the drawing processing method by the drawing processing device 2. DETAILED DESCRIPTION OF THE INVENTION
[0010] Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. The scope necessary for the explanation to achieve the object of the present invention will be schematically shown, and the scope necessary for explaining the relevant part of the present invention will be mainly explained, and the parts that are omitted from the explanation will be based on publicly known techniques.
[0011] 1 is a diagram showing an overall configuration of an example of a drawing management system 1. The drawing management system 1 functions as a system for managing drawing data D10.
[0012] The drawing data D10 handled by the drawing management system 1 is, for example, any drawing recorded as digital data, such as mechanical drawings such as assembly drawings and parts drawings, architectural drawings, electrical circuit drawings, pneumatic circuit drawings, hydraulic circuit drawings, apparel drawings, etc. In this case, the drawing data D10 may be vector format data or raster format data. For example, the drawing data D10 may be CAD data (an example of vector format) output by various CAD software, or image data (an example of raster format) output by scanning a drawing printed on paper media with a scanner or the like. The drawing data D10 may be drawn using any projection method, or may be a three-dimensional drawing.
[0013] As shown in Fig. 1, the drawing management system 1 includes a drawing processing device 2 and a user terminal device 3. The drawing processing device 2 and the user terminal device 3 are connected to a wired or wireless network 4 and are configured to be able to send and receive various data to and from each other. Note that the number of drawing processing devices 2 and user terminal devices 3 and the connection configuration of the network 4 are not limited to the example in Fig. 1 and may be changed as appropriate.
[0014] The drawing processing device 2 is a server-type computer or a cloud-type computer, and is configured as a general-purpose or dedicated computer (see FIG. 6 described later), etc. The drawing processing device 2 includes a drawing database 210 that can register drawing data D10 and additional information (described in detail later) included in the drawing data D10 in association with each other.
[0015] The drawing processing device 2 receives new drawing data D10 from the user terminal device 3, acquires additional information included in the drawing data D10, and registers it in the drawing database 210. The drawing processing device 2 also provides the user terminal device 3 with display information for referencing and editing the drawing data D10 and additional information that have already been registered (existing) in the drawing database 210.
[0016] The user terminal device 3 is a client-type computer, and is configured by a general-purpose or dedicated computer (see FIG. 6 described later), etc. The user terminal device 3 accepts various input operations via a display screen such as an application or a browser, and outputs various information via the display screen or voice, in order to register new drawing data D10, refer to and edit existing drawing data D10, etc.
[0017] Fig. 2A is a diagram showing a first example of drawing data D10. Fig. 2B is a diagram showing a second example of drawing data D10. The drawing data D10 shown in Figs. 2A and 2B is a parts drawing showing parts with some different shapes and dimensions. In this embodiment, the drawing data D10 will be mainly described as a parts drawing as shown in Figs. 2A and 2B.
[0018] The drawing data D10 includes one or more drawing elements 11 that specify the shape and dimensions of an object. In the entire area 10 of the drawing data D10 shown in Figures 2A and 2B, two drawing elements 11 (11-1, 11-2) that represent a top view and a front view, respectively, and a title block 12 are arranged. The entire area 10 corresponds to the area of the entire paper surface when the drawing data D10 is printed on a paper medium.
[0019] The drawing elements 11 are composed of various lines and characters for specifying the shape and dimensions of assemblies and parts. The lines that make up the drawing elements 11 include, for example, outline lines, dimension lines, hidden lines, center lines, imaginary lines, etc. The characters that make up the drawing elements 11 include, for example, dimensions, tolerances, processing instructions, etc.
[0020] The types of drawing elements 11 included in the drawing data D10 are not limited to the top view and front view shown in Figures 2A and 2B, but may represent other types of drawings, such as a side view, a back view, a bottom view, or a cross-sectional view.
[0021] The title block 12 is a type of table included in the drawing data D10. The title block 12 has a combination of vertical and horizontal lines and boxes separated by the lines. Characters are written in the boxes, and attributes of the characters written in the box are defined for each box. Boxes are also classified by properties that indicate the type of box. Properties include attribute header properties, serial number header properties, attributeless field properties, attributed field properties, etc.
[0022] As shown in FIGS. 2A and 2B, the attributes of the title block 12 include, for example, product name, drawing number, scale, date, designer, approver, etc. The boxes in the title block 12 are classified into attributed field properties, attribute header properties, and attributeless field properties. The boxes classified as attributed field properties contain field characters (in the example of FIG. 2A, "1:2," "2024 / 1 / 11," "GUIDE A," and "F1-222-33-A") as the contents of the title block 12, and attribute characters (in the examples of FIGS. 2A and 2B, "scale," "date," "product name," and "drawing number") that define the attributes of the field characters. The boxes classified as attribute header properties contain attribute characters (in the examples of FIGS. 2A and 2B, "designer" and "approver") that define the attributes of the field characters. The boxes classified as attributeless field properties contain field characters (in the example of FIG. 2A, "AAA" and "BBB") as the contents of the title block 12.
[0023] The type of table included in the drawing data D10 is not limited to the title block 12, but may be other types of tables, such as a parts list. The arrangement and number of boxes constituting the table may be changed as appropriate depending on the type of table, and the attributes defined for each box are not limited to the above example. .
[0024] 3 is a diagram showing an example of the drawing database 210. In the drawing database 210, drawing data D10 and accompanying information D11 related to the drawing data D10 are registered in association with each piece of drawing data D10.
[0025] The incidental information D11 is registered in the drawing database 210 by acquiring characters (mainly field characters) written in the entire area 10 as text data by attribute. The incidental information D11 is also registered in the drawing database 210 by acquiring input data by attribute input by the user via the user terminal device 3. Fig. 3 illustrates a case where the text data by attribute acquired from the title block 12 included in the drawing data D10 shown in Figs. 2A and 2B and the input data entered by the user are registered in the drawing database 210 as incidental information D11.
[0026] In the drawing database 210, the additional information D11 associated with the drawing data D10 and registered is not limited to the contents of the title block 12, but can be associated with any information as needed. For example, the drawing database 210 may be configured to be able to register information based on the drawing elements 11 (dimensions, tolerances, processing instructions, etc.) and information regarding estimate requests (user name, estimate date and time, estimated price, etc.), but is not limited to these.
[0027] (Configuration of drawing processing device 2) Fig. 4 is a block diagram showing an example of the drawing processing device 2. Fig. 5 is a functional explanatory diagram showing an example of the request receiving unit 204 and the display information generating unit 205. The drawing processing device 2 includes a control unit 20, a data storage unit 21, a trained model storage unit 22, a communication unit 23, an input unit 24, and an output unit 25.
[0028] The communication unit 23 is connected to an external device (e.g., the user terminal device 3, etc.) via the network 4, and functions as a communication interface for transmitting and receiving various types of data. The input unit 24 accepts various input operations, and the output unit 25 functions as a user interface by outputting various types of information via a display screen or voice. Note that the input unit 24 and the output unit 25 may be omitted.
[0029] The data storage unit 21 stores a drawing database 210 and a drawing processing program 211. As shown in Fig. 3, the drawing database 210 stores a plurality of pieces of drawing data D10 and accompanying information D11 in association with each other. The specific configuration of the drawing database 210 is not limited to the example shown in Fig. 3 and may be designed as appropriate.
[0030] The learned model storage unit 22 stores a drawing feature inference model 220, a drawing area inference model 221, and an area feature inference model 222 as inference models that have been machine-learned.
[0031] The drawing feature inference model 220 infers drawing features for the drawing data D10 when the drawing data D10 is input. The drawing features resulting from the inference are output, for example, as vector-format data based on a fixed-length numerical array, but are not limited to vector format and may be output in other data formats. The drawing feature inference model 220 performs machine learning so that, for example, the more similar the drawing data D10 are, the higher the similarity when comparing the drawing features. The similarity is defined, for example, by the distance when comparing the drawing features, and distance indices such as Euclidean distance, Manhattan distance, Chebyshev distance, and Mahalanobis distance, or similarity indices such as cosine similarity are used. Note that the drawing feature inference model 220 is configured such that predetermined preprocessing (size adjustment, etc.) is performed on the drawing data D10. The data after the processing may be input, or the accompanying information D11 may be input together with the drawing data D10. In addition, a predetermined post-processing (such as dimension reduction) may be performed on the vector of the drawing feature output from the drawing feature inference model 220.
[0032] When drawing data D10 is input, the drawing area inference model 221 infers a drawing area surrounding a drawing element 11 included in the drawing data D10. If the drawing data D10 (D10A and D10B shown in FIG. 5) includes multiple drawing elements 11 (11-1A to 11-3A and 11-1B to 11-3B shown in FIG. 5), the drawing area inference model 221 infers multiple drawing areas (10-1A to 10-3A and 10-1B to 10-3B shown in FIG. 5) surrounding each of the multiple drawing elements 11. The drawing area is represented by a polygon such as a rectangle. Therefore, if a predetermined coordinate system is set for the entire area 10, the drawing area as an inference result is output as data including, for example, coordinates of vertices of the drawing area in the coordinate system. The drawing area inference model 221 may receive data after predetermined preprocessing has been performed on the drawing data D10.
[0033] The region feature inference model 222 receives data of a drawing region extracted from the drawing data D10 and infers region features for the data of the drawing region. The region feature as the inference result is output, for example, as vector data based on a fixed-length numeric array, similar to the drawing feature. However, the output format is not limited to vector format and may be other data formats. The region feature inference model 222 performs machine learning, for example, so that the more similar the data of the drawing regions are, the higher the similarity when comparing the region features. The similarity is determined, for example, by the distance when comparing the region features. As with the drawing feature, a distance index or a similarity index is used. Note that, similar to the drawing feature inference model 220, the region feature inference model 222 may receive data after predetermined preprocessing (e.g., size adjustment) has been performed on the data of the drawing region, or additional information D11 may be input together with the data of the drawing region. Furthermore, the vector of the drawing feature output from the region feature inference model 222 may be subjected to predetermined postprocessing (e.g., dimension reduction).
[0034] Each of the inference models 220 to 222 may be, for example, a neural network, but any machine learning model may be used. The number of each of the inference models 220 to 222 stored in the trained model storage unit 22 is not limited to one, and multiple inference models 220 to 222 with different conditions, such as differences in machine learning methods or data, may be stored and used selectively or in parallel.
[0035] 4, the data storage unit 21 and the trained model storage unit 22 are shown as two storage units, but they may be configured as a single storage unit or three or more storage units. At least one of the data storage unit 21 and the trained model storage unit 22 may be configured as a storage unit of an external computer (for example, a server-type computer or a cloud-type computer).
[0036] The control unit 20 executes the drawing processing program 211 recorded in the data storage unit 21, thereby functioning as a transmission / reception control unit 200, a database management unit 201, a character recognition unit 202, a drawing selection unit 203, a request receiving unit 204, and a display information generation unit 205.
[0037] (Transmission and reception control unit 200) The transmission / reception control unit 200 transmits and receives various types of data to and from an external device (such as the user terminal device 3). For example, the transmission / reception control unit 200 transmits display information to the user terminal device 3 for outputting various display screens on the user terminal device 3, and receives operation information from the user terminal device 3 for accepting input operations performed on the display screen of the user terminal device 3. In this case, the transmission / reception control unit 200 cooperates with the respective units 201 to 204 to transmit various types of data to and from the user terminal device 3. 3 and receives operation information from the user terminal device 3.
[0038] (Database Management Department 201) For example, the database management unit 201 receives new drawing data D10 from the user terminal device 3 via the transmission / reception control unit 200, and registers the data in the drawing database 210. At this time, the database management unit 201 registers the character recognition results (text data and position data) recognized from the new drawing data D10 by the character recognition unit 202 and the input data entered by the user as additional information D11 in the drawing database 210 in association with the drawing data D10.
[0039] Furthermore, the database management unit 201 reads out the drawing data D10 registered in the drawing database 210, and transmits display information for displaying the registered drawing data D10 to the user terminal device 3 via the transmission / reception control unit 200. Then, when the database management unit 201 receives operation information for editing the drawing data D10 from the user terminal device 3 via the transmission / reception control unit 200, it modifies the drawing data D10 registered in the drawing database 210.
[0040] (Character recognition unit 202) The character recognition unit 202 performs character recognition processing to recognize characters included in the new drawing data D10. The character recognition unit 202 recognizes characters included in the drawing data D10, for example, by performing optical character recognition (OCR) processing and reading the characters as text data. As a result of the character recognition, text data indicating the character and position data indicating the position where the character is written are acquired. At this time, the character recognition result may be displayed on the display screen of the user terminal device 3, and the user may perform an editing operation. Note that if text data is embedded in the drawing data D10, the character recognition unit 202 may recognize characters included in the drawing data D10 by reading the text data. Furthermore, the character recognition unit 202 may perform character recognition processing on drawing data D10 that has already been registered in the drawing database 210.
[0041] (Drawing selection unit 203) The drawing selection unit 203 receives, for example, from the user terminal device 3 via the transmission / reception control unit 200, a designation of reference drawing data D10A, which is drawing data that serves as a reference.
[0042] For example, the drawing selection unit 203 displays a display screen on the user terminal device 3 for displaying a list of drawing data D10 registered in the drawing database 210, and when a specific drawing data D10 is selected by the user on the display screen, the drawing selection unit 203 accepts the drawing data D10 as a designation of the reference drawing data D10A. Also, the drawing selection unit 203 displays a display screen on the user terminal device 3 for uploading new drawing data D10, and when the new drawing data D10 is uploaded on the display screen, the drawing selection unit 203 accepts the drawing data D10 as a designation of the reference drawing data D10A.
[0043] In addition, the drawing selection unit 203 refers to the drawing database 210 and selects comparison drawing data D10B from a plurality of candidate drawing data D10 (drawing data D10 already registered in the drawing database 210) that are candidates for comparison drawing data D10B, which is drawing data D10 to be compared with the reference drawing data D10A.
[0044] For example, the drawing selection unit 203 calculates the drawing features of the reference drawing data D10A and the drawing features of the candidate drawing data D10, and selects the comparison drawing data D10B based on the similarity when comparing the calculated drawing features of the reference drawing data D10A and the drawing features of the candidate drawing data D10.
[0045] (Request receiving unit 204) The request receiving unit 204 receives a comparison request based on the reference drawing data D10A related to the designation received by the drawing selecting unit 203 and the comparison drawing data D10B selected by the drawing selecting unit 203.
[0046] The request receiving unit 204 may receive a comparison request between the reference drawing data D10A and the comparison drawing data D10B from the user terminal device 3 via the transmission / reception control unit 200. For example, the request receiving unit 204 may display a display screen on the user terminal device 3 for displaying a list of the drawing data D10 registered in the drawing database 210, and when two specific pieces of drawing data D10 are selected by the user on the display screen, the request receiving unit 204 may receive a comparison request for the two pieces of drawing data D10 as the reference drawing data D10A and the comparison drawing data D10B.
[0047] (Display information generation unit 205) The display information generation unit 205 identifies reference drawing areas 10-1A to 10-3A that surround drawing elements 11-1A to 11-3A included in reference drawing data D10A related to the comparison request received by the request receiving unit 204, and comparison drawing areas 10-1B to 10-3B that surround drawing elements 11-1B to 11-3B included in comparison drawing data D10B related to the comparison request received by the request receiving unit 204, and generates drawing display information D12 that displays the identified reference drawing areas 10-1A to 10-3A and comparison drawing areas 10-1B to 10-3B in an overlaid manner.
[0048] Then, the display information generating unit 205 transmits the drawing display information D12 generated as described above to the user terminal device 3 via the transmission / reception control unit 200, and displays a display screen for comparing the reference drawing data D10A and the comparison drawing data D10B based on the drawing display information D12 on the user terminal device 3. Note that a specific method for generating the drawing display information D12 and details of the display screen will be described later.
[0049] (Hardware configuration of each device) 6 is a hardware configuration diagram showing an example of a computer 900. The drawing processing device 2 and the user terminal device 3 in the drawing management system 1 are configured by a general-purpose or dedicated computer 900.
[0050] 6, the computer 900 includes, as its main components, a bus 910, a processor 912, a memory 914, an input device 916, an output device 917, a display device 918, a storage device 920, a communication I / F (interface) unit 922, an external device I / F unit 924, an I / O (input / output) device I / F unit 926, and a media input / output unit 928. Note that the above components may be omitted as appropriate depending on the application of the computer 900.
[0051] The processor 912 is composed of one or more arithmetic processing devices (such as a central processing unit (CPU), a micro-processing unit (MPU), a digital signal processor (DSP), or a graphics processing unit (GPU)), and operates as a control unit that controls the entire computer 900. The memory 914 stores various data and programs 930, and is composed of, for example, a volatile memory (such as a DRAM or SRAM) that functions as a main memory, a non-volatile memory (ROM), a flash memory, etc.
[0052] The input device 916 is made up of, for example, a keyboard, a mouse, a numeric keypad, an electronic pen, a microphone, etc., and functions as an input unit. The output device 917 is made up of, for example, a sound (audio) output device, a vibration device, etc., and functions as an output unit. The display device 918 is The input device 916 and the display device 918 may be configured as an integrated unit, such as a touch panel display. The storage device 920 may be configured as a memory unit, such as a HDD or SSD. The storage device 920 stores various data required for the execution of the operating system and the program 930.
[0053] The communication I / F unit 922 is connected to a network 940 (which may be the same as network 4 in FIG. 1 ) such as the Internet or an intranet via a wired or wireless connection, and functions as a communication unit that transmits and receives data to and from other computers in accordance with a predetermined communication protocol. The external device I / F unit 924 is connected to an external device 950 (such as a camera, printer, scanner, or reader / writer) via a wired or wireless connection, and functions as a communication unit that transmits and receives data to and from the external device 950 in accordance with a predetermined communication protocol. The I / O device I / F unit 926 is connected to I / O devices 960 (such as various sensors and actuators), and functions as a communication unit that transmits and receives various signals and data, such as detection signals from sensors and control signals to actuators, to and from the I / O devices 960. The media input / output unit 928 is formed by a drive device such as a DVD drive or a CD drive, and reads and writes data from and to media (non-transitory storage media) 970 (such as DVDs and CDs).
[0054] In the computer 900 having the above configuration, the processor 912 loads a program 930 stored in the storage device 920 into the memory 914, executes the program, and controls each unit of the computer 900 via the bus 910. The program 930 may be stored in the memory 914 instead of the storage device 920. The program 930 may be recorded on the medium 970 in an installable file format or an executable file format and provided to the computer 900 via the media input / output unit 928. The program 930 may be provided to the computer 900 by being downloaded via the network 940 via the communication I / F unit 922. Furthermore, the computer 900 may implement various functions realized by the processor 912 executing the program 930 using hardware such as an FPGA or an ASIC.
[0055] The computer 900 is an electronic device of any type, such as a desktop computer or a portable computer. The computer 900 may be a client computer, a server computer, a cloud computer, or an embedded computer such as a control panel or a controller (including a microcomputer, a programmable logic controller, or a sequencer).
[0056] (Operation of drawing processing device 2) 7 is a flowchart showing a first operation example of the drawing processing method by the drawing processing device 2. In the following, it is assumed that a large number of pieces of drawing data D10 have already been registered in the drawing database 210.
[0057] First, in step S100 (drawing selection process), the drawing selection unit 203 accepts the specification of reference drawing data D10A when a specific drawing data D10 is selected by the user as reference drawing data D10A on a display screen that displays a list of registered drawing data D10.
[0058] Then, in step S101, the drawing selection unit 203 refers to the drawing database 210 and selects the comparison drawing data D10B for the reference drawing data D10A related to the designation accepted in step S100.
[0059] Specifically, the drawing selection unit 203 inputs the reference drawing data D10A to the drawing feature amount inference model 220, thereby acquiring the drawing feature amount of the reference drawing data D10A as the inference result. Furthermore, the drawing selection unit 203 inputs each piece of drawing data D10 (hereinafter referred to as candidate drawing data D10) registered in the drawing database 210 to the drawing feature amount inference model 220, thereby acquiring the drawing feature amount of each piece of candidate drawing data D10 as the inference result. Then, the drawing selection unit 203 calculates the similarity of the drawing feature amount of each piece of candidate drawing data D10 to the drawing feature amount of the reference drawing data D10A, and selects the candidate drawing data D10 with the highest similarity from the plurality of candidate drawing data D10 as comparison drawing data D10B.
[0060] Next, in step S110 (request receiving step), the request receiving unit 204 receives a comparison request based on the reference drawing data D10A related to the specification received in step S110 and the comparison drawing data D10B selected in step S111.
[0061] Next, in step S120 (display information generation process), the display information generation unit 205 identifies, as shown in FIG. 5, reference drawing areas 10-1A to 10-3A surrounding drawing elements 11-1A to 11-3A included in the reference drawing data D10A relating to the comparison request received in step S110, and comparison drawing areas 10-1B to 10-3B surrounding drawing elements 11-1A to 11-3A included in the comparison drawing data D10B relating to the comparison request received in step S110.
[0062] Specifically, the display information generation unit 205 inputs the reference drawing data D10A to the drawing area inference model 221, thereby identifying the reference drawing areas 10-1A to 10-3A as the inference result. Also, the display information generation unit 205 inputs the comparison drawing data D10B to the drawing area inference model 221, thereby identifying the comparison drawing areas 10-1B to 10-3B as the inference result.
[0063] Next, in step S130, the display information generation unit 205 calculates the area features of the reference drawing areas 10-1A to 10-3A identified for the reference drawing data D10A in step S120, and the area features of the comparison drawing areas 10-1B to 10-3B identified for the comparison drawing data D10B in step S120, as shown in FIG. 5.
[0064] Specifically, the display information generation unit 205 inputs the data of the reference drawing areas 10-1A to 10-3A into the area feature inference model 222, and calculates the area feature of the reference drawing areas 10-1A to 10-3A as the inference result. Also, the display information generation unit 205 inputs the data of the comparison drawing areas 10-1B to 10-3B into the area feature inference model 222, and calculates the area feature of the comparison drawing areas 10-1B to 10-3B as the inference result.
[0065] Next, in step S131, the display information generation unit 205 selects a combination of the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B based on the similarity when comparing the area features of the reference drawing areas 10-1A to 10-3A calculated in step S130 with the area features of the comparison drawing areas 10-1B to 10-3B, as shown in Figure 5.
[0066] Specifically, the display information generating unit 205 calculates the similarity when the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B are arbitrarily combined by a round-robin search of the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B. Then, the display information generating unit 205 selects a combination of the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B so as to increase the similarity. As shown in FIG. 5, the number of the reference drawing areas 10-1A to 10-3A is "3", and the comparison When the number of comparison drawing areas 10-1B to 10-3B is the same, such as "3," a combination of three is selected so as to maximize the similarity. In Fig. 5, the three combinations selected based on similarity are shown by solid lines. Also, when the number of reference drawing areas 10-1A to 10-3A is "1" and the number of comparison drawing areas 10-1B to 10-3B is "3," a combination that matches the side with the fewer number of drawing areas is selected so as to maximize the similarity.
[0067] Next, in step S132, the display information generating unit 205 generates the drawing display information D12 based on the combination of the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B selected in step S131, as shown in FIG.
[0068] Specifically, the display information generating unit 205 generates drawing display information D12 for displaying a drawing comparison screen 13 (drawing comparison screen 13A shown in FIG. 8A and drawing comparison screen 13B shown in FIG. 8B) described later. For example, the display information generating unit 205 generates drawing display information D12 by aligning the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B so that there is a large amount of overlap when the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B are superimposed.
[0069] The alignment of the reference drawing regions 10-1A to 10-3A and the comparison drawing regions 10-1B to 10-3B may be performed using, for example, a phase-only correlation method, but any other method may be used, which emphasizes and extracts the differences between the lines and characters constituting the drawing elements 11-1A to 11-3A and the lines and characters constituting the drawing elements 11-1A to 11-3A, excluding the overlapping parts.
[0070] At this time, if there are multiple combinations selected in step S131, the display information generating unit 205 generates drawing display information D12 by aligning the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B for each combination, as shown in Fig. 5. As a result, even if the positions of the drawing elements 11 selected as a combination are misaligned in the reference drawing data D10A and the comparison drawing data D10B, the alignment is performed for each combination, so that the differences can be easily visually recognized when comparing the drawing elements 11 included in each drawing area.
[0071] When aligning the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B, the display information generating unit 205 may perform transformation processing such as enlarging, reducing, rotating, etc. on at least one of the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B. The transformation processing is performed based on, for example, the dimensions written in the reference drawing areas 10-1A to 10-3A and the comparison drawing areas 10-1B to 10-3B and the scale stored as the supplementary information D11.
[0072] Then, in step S140, the display information generation unit 205 transmits the drawing display information D12 generated in step S132 to the user terminal device 3 via the transmission / reception control unit 200. As a result, based on the drawing display information D12, a drawing comparison screen 13 for comparing the reference drawing data D10A and the comparison drawing data D10B is displayed on the user terminal device 3.
[0073] Fig. 8A is a diagram showing a first display example of the drawing comparison screen 13A. Fig. 8A shows a case where the drawing data D10 shown in Fig. 2A and Fig. 2B are designated as the reference drawing data D10A and the comparison drawing data D10B.
[0074] The drawing comparison screen 13A displays two reference drawing areas in the reference drawing data D10A (drawing data D10 shown in FIG. 2A) and two comparison drawing areas in the comparison drawing data D10B (drawing data D10 shown in FIG. 2B). ) and two comparison drawing areas in the reference drawing data D10A and the comparison drawing data D10B. In this case, the two drawing elements 11-1 and 11-2 included in the reference drawing data D10A and the two drawing elements 11-1 and 11-2 included in the comparison drawing data D10B are displayed in different display forms. Examples of the display form include changing the color, type, thickness, etc. of lines and characters, but the display form may also be user-specifiable. In addition, either the two drawing elements 11-1 included in the reference drawing data D10A or the two drawing elements 11-1 and 11-2 included in the comparison drawing data D10B may be set to the foreground or the background.
[0075] The first to third display modes may be different from each other, with the overlapping portions of the two drawing elements 11-1 and 11-2 included in the reference drawing data D10A and the two drawing elements 11-1 and 11-2 included in the comparison drawing data D10B being displayed in a first display mode, the two drawing elements 11-1 and 11-2 included in the reference drawing data D10A being displayed in a second display mode, and the two drawing elements 11-1 and 11-2 included in the comparison drawing data D10B being displayed in a third display mode. The positional relationship between the reference drawing area and the comparison drawing area when they are superimposed may be changeable by the user operating a button (not shown) that can be specified up, down, left, or right, or by dragging the drawing comparison screen 13A.
[0076] Fig. 8B is a diagram showing a second display example of the drawing comparison screen 13B. Similar to Fig. 8A, Fig. 8B shows a case where the drawing data D10 shown in Fig. 2A and Fig. 2B are designated as the reference drawing data D10A and the comparison drawing data D10B.
[0077] The drawing comparison screen 13B includes a reference drawing data display area 130A that displays reference drawing data D10A (drawing data D10 shown in Figure 2A), a comparison drawing data display area 130B that displays comparison drawing data D10B (drawing data D10 shown in Figure 2B), a comparison drawing display setting button 131A that sets whether or not the comparison drawing data D10B is displayed superimposed on the reference drawing data display area 130A by turning it on or off, and a reference drawing display setting button 131B that sets whether or not the reference drawing data D10A is displayed superimposed on the comparison drawing data display area 130B by turning it on or off.
[0078] When the comparison drawing display setting button 131A is set to "On", the two drawing elements 11-1 and 11-2 contained in the comparison drawing area are displayed superimposed on the two drawing elements 11-1 and 11-2 contained in the reference drawing area displayed in the reference drawing data display area 130A.
[0079] When the reference drawing display setting button 131B is set to "On", the two drawing elements 11-1 and 11-2 contained in the reference drawing area are displayed superimposed on the two drawing elements 11-1 and 11-2 contained in the comparison drawing area displayed in the comparison drawing data display area 130B.
[0080] The reference drawing data display area 130A and the comparison drawing data display area 130B are displayed in different display formats, similar to the drawing comparison screen 13A shown in FIG. 8A. Note that in FIG. 8B, the reference drawing data display area 130A and the comparison drawing data display area 130B are arranged side by side in the horizontal direction, but they may also be arranged side by side in the vertical direction. Furthermore, the sizes of the reference drawing data display area 130A and the comparison drawing data display area 130B may be different. Furthermore, one of the comparison drawing display setting button 131A and the reference drawing display setting button 131B may be omitted.
[0081] FIG. 9 is a flowchart showing a second operation example of the drawing processing method by the drawing processing device 2. The following explanation will focus on the differences from the flowchart shown in FIG.
[0082] First, in step S111 (request receiving process), the request receiving unit 204 receives a comparison request for the reference drawing data D10A and the comparison drawing data D10B when two specific drawing data D10 are selected by the user as the reference drawing data D10A and the comparison drawing data D10B on a display screen that displays a list of registered drawing data D10.
[0083] Next, in step S120 (display information generation process), the display information generation unit 205 identifies reference drawing areas 10-1A to 10-3A surrounding the drawing elements 11 included in the reference drawing data D10A related to the comparison request accepted in step S111, and comparison drawing areas 10-1B to 10-3B surrounding the drawing elements 11 included in the comparison drawing data D10B related to the comparison request accepted in step S110, as shown in FIG. 5.
[0084] Next, in step S121, the display information generation unit 205 identifies the number of reference drawing areas 10-1A to 10-3A identified for the reference drawing data D10A in step S120 ("3" in the example of Figure 5) and the number of comparison drawing areas 10-1B to 10-3B identified for the comparison drawing data D10B in step S120 ("3" in the example of Figure 5).
[0085] Next, in step S122, the display information generating unit 205 determines whether the number of the reference drawing areas 10-1A to 10-3A and the number of the comparison drawing areas 10-1B to 10-3B identified in step S121 are both "1".
[0086] As a result, if the display information generation unit 205 determines that both the number of reference drawing areas 10-1A to 10-3A and the number of comparison drawing areas 10-1B to 10-3B are 1 ("Yes" in step S122), the process proceeds to step S133. Then, in step S133, the display information generation unit 205 generates drawing display information D12 for one reference drawing area identified in step S120 and one comparison drawing area identified in step S120.
[0087] On the other hand, if the display information generating unit 205 determines that at least one of the number of reference drawing areas 10-1A to 10-3A and the number of comparison drawing areas 10-1B to 10-3B is plural ("No" in step S122), the process proceeds to steps S130 to S132, and generates drawing display information D12 in the same manner as in the flowchart shown in Fig. 7. In the example of Fig. 5, the determination in step S122 is "No."
[0088] Then, in step S140, the display information generation unit 205 transmits the drawing display information D12 generated in step S132 or step S133 to the user terminal device 3 via the transmission / reception control unit 200. As a result, based on the drawing display information D12, a drawing comparison screen 13 for comparing the reference drawing data D10A and the comparison drawing data D10B is displayed on the user terminal device 3.
[0089] As described above, according to the drawing processing device 2 and drawing processing method of this embodiment, a reference drawing area surrounding the drawing element 11 included in the reference drawing data D10A and a comparison drawing area surrounding the drawing element 11 included in the comparison drawing data D10B are identified, and drawing display information D12 is generated that displays the reference drawing area and the comparison drawing area superimposed, so that differences can be easily seen when comparing two pieces of drawing data D10.
[0090] (Other embodiments) The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and scope of the present invention, all of which are included in the technical concept of the present invention.
[0091] In the above embodiment, the drawing processing apparatus 2 is described as being configured as a single device, but it may be configured as a plurality of devices. For example, the units 200 to 205 of the drawing processing apparatus 2 may be distributed among a plurality of devices. In this case, each unit (each process) of each device may be realized by a program executable by the computer 900.
[0092] In the above embodiment, the drawing processing apparatus 2 operates according to the flowchart shown in Fig. 7 or 9, but the order of execution of the steps may be changed as appropriate, or some steps may be omitted. For example, in the flowchart shown in Fig. 9, a comparison request for the reference drawing data D10A and the comparison drawing data D10B may be received by executing steps S100 to S110 instead of step S111.
[0093] In the above embodiment, the drawing processing device 2 generates the drawing display information D12 in response to a comparison request between the reference drawing data D10A and the comparison drawing data D10B. However, the user terminal device 3 may be provided with the respective units 200 to 205 of the drawing processing device 2 so as to function in the same manner as the drawing processing device 2. [Explanation of symbols]
[0094] 1...Drawing management system, 2...Drawing processing device, 3...User terminal device 20...control unit, 21...data storage unit, 22...trained model storage unit, 23...communication unit, 24...input unit, 25...output unit, 200...transmission / reception control unit, 201...database management unit, 202...character recognition unit, 203...drawing selection unit, 204...request reception unit, 205...display information generation unit, 210...Drawing database, 211...Drawing processing program
Claims
1. A drawing processing device that processes drawing data including one or more drawing elements that specify the shape and dimensions of an object, a request receiving unit that receives a comparison request between reference drawing data, which is the drawing data serving as a reference, and comparison drawing data, which is the drawing data to be compared with the reference drawing data; a display information generating unit that identifies a reference drawing area surrounding the drawing element included in the reference drawing data related to the comparison request received by the request receiving unit and a comparison drawing area surrounding the drawing element included in the comparison drawing data related to the comparison request received by the request receiving unit, and generates drawing display information that displays the identified reference drawing area and the identified comparison drawing area in an overlapping manner. Drawing processing equipment.
2. The display information generation unit Calculating an area feature amount of the reference drawing area specified for the reference drawing data and an area feature amount of the comparison drawing area specified for the comparison drawing data, respectively; selecting a combination of the reference drawing area and the comparison drawing area based on the degree of similarity when comparing the calculated area feature amount of the reference drawing area and the area feature amount of the comparison drawing area; generating the drawing display information based on the selected combination of the reference drawing area and the comparison drawing area; The drawing processing device according to claim 1 .
3. The display information generation unit Identifying the number of the reference drawing regions identified for the reference drawing data and the number of the comparison drawing regions identified for the comparison drawing data, respectively; If the number of the identified reference drawing regions and the number of the identified comparison drawing regions are both 1, generating the drawing display information for the reference drawing area specified for the reference drawing data and the comparison drawing area specified for the comparison drawing data; When at least one of the number of the identified reference drawing regions and the number of the identified comparison drawing regions is plural, Calculating an area feature amount of the reference drawing area specified for the reference drawing data and an area feature amount of the comparison drawing area specified for the comparison drawing data, respectively; selecting a combination of the reference drawing area and the comparison drawing area based on the degree of similarity when comparing the calculated area feature amount of the reference drawing area and the area feature amount of the comparison drawing area; generating the drawing display information based on the selected combination of the reference drawing area and the comparison drawing area; The drawing processing device according to claim 1 .
4. The display information generation unit generating the drawing display information by aligning the reference drawing area and the comparison drawing area for each combination so that an overlapping portion increases when the reference drawing area and the comparison drawing area are superimposed; 4. The drawing processing apparatus according to claim 2 or 3.
5. The display information generation unit a reference drawing data display area for displaying the reference drawing data and a comparison drawing data display area for displaying the comparison drawing data, the reference drawing data display area being arranged side by side; Generate display information; The drawing comparison screen is The drawing elements included in the reference drawing area are displayed in such a manner that they are superimposed on the drawing elements included in the comparison drawing area displayed in the comparison drawing data display area, or the drawing elements included in the comparison drawing area are displayed superimposed on the drawing elements included in the reference drawing area displayed in the reference drawing data display area; The drawing processing apparatus according to any one of claims 1 to 3.
6. a drawing selection unit that accepts designation of the reference drawing data and selects the comparison drawing data from a plurality of candidate drawing data that are candidates for the comparison drawing data; The drawing selection unit calculating a drawing feature amount of the reference drawing data and a drawing feature amount of the candidate drawing data; selecting the comparison drawing data based on the degree of similarity when comparing the calculated drawing feature amount of the reference drawing data and the drawing feature amount of the candidate drawing data; The request receiving unit receiving the comparison request based on the reference drawing data related to the designation received by the drawing selection unit and the comparison drawing data selected by the drawing selection unit; The drawing processing device according to claim 1 .
7. A drawing processing method that is executed by a computer and processes drawing data that includes one or more drawing elements that specify the shape and dimensions of an object, comprising: a request receiving step of receiving a comparison request between reference drawing data, which is the drawing data serving as a reference, and comparison drawing data, which is the drawing data to be compared with the reference drawing data; a display information generating step of specifying a reference drawing area surrounding the drawing element included in the reference drawing data related to the comparison request received by the request receiving step and a comparison drawing area surrounding the drawing element included in the comparison drawing data related to the comparison request received by the request receiving step, and generating drawing display information that displays the specified reference drawing area and the specified comparison drawing area in an overlapping manner. Drawing processing methods.
Citation Information
Patent Citations
Drawing viewing method and device, electronic equipment and storage medium
CN116225585A
Logic drawing processor and processing method thereof
JP2013200729A
Drawing check support device
JP2020013377A
Difference extraction device, difference extraction method and difference extraction program
JP2022032741A
Information processing device, information processing method and program
JP2023055219A