Building material cutting method, device and equipment based on knowledge graph
Through the cutting method based on the knowledge graph, combined with the optimization algorithm and fitness function, the cutting plan is dynamically adjusted, which solves the problems of resource waste and low efficiency in traditional technology, and achieves efficient and stable cutting of building materials.
Patent Information
- Application Number
- CN202410673348.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-20
AI Technical Summary
The existing building materials processing industry has problems of resource waste and low production efficiency. Traditional cutting technology cannot effectively comprehensively consider material properties and functional requirements, resulting in material loss and unstable product quality.
Using a cutting method based on knowledge graphs, an initial cutting plan is constructed by collecting material index data, and the optimization algorithm and fitness function are used for iterative optimization, and the cutting plan is dynamically adjusted to adapt to changes in material properties.
It achieves more efficient resource utilization, reduces material loss, improves production efficiency and product quality stability, and meets the requirements of green and sustainable development.
Smart Images

Figure CN118674094A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent material processing, and in particular to a method, device and equipment for cutting building materials based on a knowledge graph. Background Art
[0002] The current building materials processing industry is facing widespread inefficiency and technical bottlenecks. In the process of building materials processing, traditional cutting technology generally has the disadvantages of serious waste of resources and low production efficiency. When dealing with building materials of different materials, the existing evaluation systems and cutting methods usually adopt a universal cutting method, which often cannot effectively consider all the characteristics of different materials, and do not consider the differences between the internal and surface of the materials, such as the physical properties of the materials (such as the texture and hardness of wood, the color, texture, hardness and flatness of stone, etc.), functional requirements and the intrinsic relationship between the best cutting solutions. This makes it difficult to formulate the optimal cutting strategy that can both meet engineering requirements and maximize the use of resources in actual production.
[0003] The current evaluation and cutting system has limited intelligence and cannot accurately and precisely evaluate the complex and changeable characteristics of building materials in real time, nor can it dynamically adjust the cutting strategy to meet the cutting requirements of different materials. In addition, the existing technology lacks effective structured knowledge management and intelligent decision support when generating and implementing cutting plans, which not only increases material loss, but also reduces production efficiency and product quality stability. Summary of the invention
[0004] In view of this, the purpose of the present invention is to propose a method, device and equipment for cutting building materials based on knowledge graphs, aiming to solve the problems that existing cutting schemes cannot take into account material properties to maximize the utilization of the materials themselves, resulting in low production efficiency and poor quality stability.
[0005] To achieve the above object, the present invention provides a method for cutting building materials based on a knowledge graph, the method comprising:
[0006] Collecting index data of the building materials to be cut, and processing the index data to obtain index evaluation results and weights;
[0007] Constructing an initial cutting scheme based on a pre-constructed knowledge graph combined with the indicator evaluation results and the weights;
[0008] Iteratively optimize the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes;
[0009] A predefined fitness function is used to calculate each of the candidate cutting schemes, a target cutting scheme is determined based on the calculation results, and a cutting operation is performed on the building material to be cut according to the target cutting scheme.
[0010] Preferably, the method further comprises:
[0011] Real-time monitoring of the cutting process of the building material to be cut is performed, and the index data of the building material to be cut is collected in real time, and the cutting process parameters in the target cutting scheme are dynamically adjusted according to the changes of the index data;
[0012] The knowledge graph is updated with the adjusted target cutting scheme and the corresponding building materials to be cut.
[0013] Preferably, the collecting of index data of the building materials to be cut, processing of the index data, and obtaining index evaluation results and weights include:
[0014] The image data of the first indicator in the building material to be cut is collected by a camera, and the features in the image data are analyzed and quantified by using image processing technology to obtain a quantified value corresponding to the first indicator;
[0015] Collecting measurement data of a second indicator in the building material to be cut by a sensor, and extracting a measurement value corresponding to the second indicator in the measurement data;
[0016] Evaluate the quality of the building material to be cut according to the quantitative value and the measured value to obtain the index evaluation result;
[0017] The weights of corresponding indicators are preliminarily set according to the knowledge graph or user segmentation requirements, and the indicators include the first indicator and the second indicator.
[0018] Preferably, the construction process of the knowledge graph includes constructing it using domain expert knowledge and historical cutting plans; the knowledge graph includes types of building materials, indicators of building materials, cutting process parameters and historical cutting plans.
[0019] Preferably, the types of building materials include natural stone, wood, metal components and gypsum board; the indicators of the natural stone include color, texture, hardness, dimensional accuracy and surface flatness; the indicators of the wood include density, texture, water content, bending strength, color and dimensional accuracy; the cutting process parameters include cutting path, cutting depth and cutting speed.
[0020] Preferably, the initial cutting scheme is iteratively optimized according to a preset optimization algorithm to obtain a set of candidate cutting schemes, including:
[0021] The optimization algorithm is used to select, crossover and mutate the initial cutting scheme until the preset condition for stopping iteration is met, and all the new cutting schemes generated are used as the candidate cutting schemes; wherein the optimization algorithm adopts one of a genetic algorithm, a simulated annealing algorithm, and a particle swarm optimization algorithm; and the preset condition includes reaching a maximum number of iterations or reaching a fitness threshold.
[0022] Preferably, the method of calculating each candidate cutting scheme using a predefined fitness function, determining a target cutting scheme based on the calculation result, and performing a cutting operation on the building material to be cut according to the target cutting scheme includes:
[0023] use Calculate each candidate cutting scheme to obtain the fitness value corresponding to each candidate cutting scheme, where w i represents the weight of the i-th fitness parameter, E i (x) represents the score of the i-th fitness parameter in the candidate cutting scheme x, and n represents the total number of fitness parameters, where the fitness parameters include indicators and cutting process parameters;
[0024] The candidate cutting scheme with the lowest fitness value is used as the target cutting scheme.
[0025] To achieve the above object, the present invention also provides a building material cutting device based on a knowledge graph, the device comprising:
[0026] A collection unit, used for collecting index data of the building materials to be cut, and processing the index data to obtain index evaluation results and weights;
[0027] A construction unit, configured to construct an initial cutting scheme based on a pre-constructed knowledge graph in combination with the indicator evaluation result and the weight;
[0028] An optimization unit, used for iteratively optimizing the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes;
[0029] The determination unit is used to calculate each of the candidate cutting schemes using a predefined fitness function, determine a target cutting scheme based on the calculation result, and perform a cutting operation on the building material to be cut according to the target cutting scheme.
[0030] In order to achieve the above-mentioned objectives, the present invention also proposes a knowledge graph-based building material cutting device, including a processor, a memory, and a computer program stored in the memory, wherein the computer program is executed by the processor to implement the steps of a knowledge graph-based building material cutting method as described in the above embodiment.
[0031] In order to achieve the above objectives, the present invention also proposes a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of a method for cutting building materials based on a knowledge graph as described in the above embodiment.
[0032] Beneficial effects:
[0033] The above scheme determines the index evaluation results and weights by collecting the index data of the building materials to be cut, and constructs an initial cutting plan in combination with the pre-constructed knowledge graph. The initial cutting plan is iteratively optimized according to the preset optimization algorithm to obtain candidate cutting plans. The fitness function is used to calculate each candidate cutting plan to determine the target cutting plan. It can comprehensively consider the index characteristics of the building materials to be cut, and intelligently and efficiently generate cutting plans, so that the generated cutting plans can be more in line with the actual situation of the building materials to be cut, thereby reducing material loss, improving production efficiency and the stability of finished product quality, and meeting the high standards of the modern construction industry for green and sustainable development.
[0034] The above scheme collects the index data of the building materials to be cut in real time by real-time monitoring of the cutting process of the building materials to be cut, and dynamically adjusts the cutting scheme according to the changes in the index data. When the internal characteristics of the building materials change, the cutting scheme can be adjusted in time to adapt to the changes in the characteristics of the building materials, thereby improving the adaptability and flexibility of cutting, and improving the reliability and quality of cutting.
[0035] The above scheme, by utilizing the knowledge graph constructed by domain experts and historical cutting schemes to guide the generation of cutting schemes, helps the system to understand and apply knowledge in the field more intelligently, greatly improves the accuracy and speed of the algorithm, and improves the efficiency of the optimization algorithm, thereby improving the adaptability of actual building material processing scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic flow chart of a method for cutting building materials based on a knowledge graph provided in accordance with an embodiment of the present invention.
[0038] Figure 2A schematic flow chart of a method for cutting building materials based on a knowledge graph provided in accordance with another embodiment of the present invention.
[0039] Figure 3 A schematic diagram of the structure of a knowledge graph-based building material cutting device provided in one embodiment of the present invention.
[0040] Figure 4 A schematic diagram of the structure of a knowledge graph-based building material cutting device provided in another embodiment of the present invention.
[0041] The realization of the purpose, functional features and advantages of the invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0043] The content of the present invention is described in detail below with reference to embodiments.
[0044] Reference Figure 1 The figure is a schematic flow chart of a method for cutting building materials based on a knowledge graph provided in one embodiment of the present invention.
[0045] In this embodiment, the method includes:
[0046] S11, collecting index data of the building materials to be cut, and processing the index data to obtain index evaluation results and weights.
[0047] Furthermore, the index data of the building materials to be cut are collected, and the index data are processed to obtain the index evaluation results and weights, including:
[0048] S11-1, collecting image data of a first indicator in the building material to be cut by a camera, and analyzing and quantifying features in the image data by using image processing technology to obtain a quantified value corresponding to the first indicator;
[0049] S11-2, collecting measurement data of a second indicator in the building material to be cut through a sensor, and extracting a measurement value corresponding to the second indicator in the measurement data;
[0050] S11-3, evaluating the quality of the building material to be cut according to the quantified value and the measured value to obtain the index evaluation result;
[0051] S11-4, preliminarily setting the weights of corresponding indicators according to the knowledge graph or user segmentation requirements, the indicators including the first indicator and the second indicator.
[0052] In this embodiment, by using cameras, sensors or measuring tools and other equipment to monitor building materials (such as natural stone, wood, metal components, gypsum board, etc.) and collect and analyze index data, a digital model of the corresponding building materials is established, and each index and corresponding value (including quantitative value and measurement value) in the digital model is extracted, and compared based on the preset index value to evaluate the quality and size of the building materials to be cut, and determine the index evaluation result. However, the weight corresponding to each index can be set and allocated according to the knowledge graph or the user's cutting requirements. The knowledge graph embeds a large amount of domain expert knowledge, historical cutting experience, and real-time cutting data. By analyzing this information through algorithms, the weight of each index can be intelligently adjusted to adapt to the changes in different materials and user needs.
[0053] Taking wood processing as an example, its indicators include:
[0054] (1) Density: The density of wood is measured by special measuring tools. Density reflects the quality and hardness of wood and is an important parameter that determines its use and processing performance. High-density wood is usually suitable for structural parts that bear heavy loads.
[0055] (2) Texture: Use high-resolution cameras to capture cross-sectional and longitudinal images of wood, and use image processing technology to identify and analyze the direction, clarity, and uniformity of wood texture;
[0056] (3) Moisture content: A humidity sensor is used to collect the moisture content inside the wood. The moisture content has a direct impact on the stability and shrinkage and expansion characteristics of the wood. Too high or too low a moisture content may cause deformation, cracking, and other problems in the processed wood.
[0057] (4) Bending strength: The bending strength of wood is measured by mechanical testing tools. This is an important indicator for measuring the load-bearing capacity and resistance to bending damage of wood, which is crucial in fields such as structural wood and furniture manufacturing.
[0058] (5) Color: Use high-resolution cameras to capture images of building materials to obtain surface color information. Although the color of wood is not as prominent as that of stone, for some high-end wooden crafts or furniture, the color depth, tone harmony, and texture uniformity of wood are also key factors affecting the quality and market value of the final product;
[0059] (6) Dimensional accuracy: Precision measuring tools are used to measure the length, width, and thickness of the wood to ensure that it is customized according to customer needs. At the same time, the shape stability of the wood (including dimensional changes caused by shrinkage and swelling) will also be included in the evaluation scope to ensure that the cutting plan takes into account the original size of the wood as well as possible dimensional changes that may occur later.
[0060] Taking natural stone processing as an example, its indicators include:
[0061] (1) Color: Use high-resolution cameras to capture images of building materials to obtain surface color information, and evaluate the color quality of building materials based on factors such as color contrast and uniformity;
[0062] (2) Texture: The camera collects images of building materials and uses image processing technology to identify and analyze the surface texture features of building materials. The clarity, layering, and uniformity of the texture are used as key factors for evaluation to ensure that the building materials can maintain natural and beautiful texture features after cutting.
[0063] (3) Hardness: The hardness of the building material surface is measured by sensors and used as an evaluation indicator;
[0064] (4) Dimensional accuracy: Use precise measuring tools to measure the length, width, thickness and other dimensions of building materials to ensure that the final product meets customer requirements;
[0065] (5) Surface flatness: The surface flatness of building materials is collected through cameras and sensors. This indicator directly affects the cutting quality and is particularly important for building materials that need to be inlaid.
[0066] S12, constructing an initial cutting plan based on the pre-constructed knowledge graph combined with the indicator evaluation results and the weights.
[0067] Furthermore, the construction process of the knowledge graph includes constructing it using domain expert knowledge and historical cutting plans; the knowledge graph includes types of building materials, indicators of building materials, cutting process parameters and historical cutting plans.
[0068] The types of building materials include natural stone, wood, metal components and gypsum board; the indicators of the natural stone include color, texture, hardness, dimensional accuracy and surface flatness; the indicators of the wood include density, texture, water content, bending strength, color and dimensional accuracy; the cutting process parameters include cutting path, cutting depth and cutting speed.
[0069] In this embodiment, the constructed knowledge graph includes entities such as building materials (types), indicators of building materials, cutting processes, and cutting schemes. Through the connection of relationships and attributes, the association between various entities in the cutting optimization system and the guiding role of the knowledge graph are demonstrated, helping the system to understand and apply knowledge in the field more intelligently. Improve the accuracy and speed of the algorithm while reducing the waste of computing resources. The following is an example of a simple knowledge graph represented in YAML format. In practical applications, professional knowledge graph technologies and tools, such as RDF triples, can be used to store and query this information. In this example: building materials, cutting process parameters, and historical cutting schemes are entities, which are connected through relationships, and each entity has a related attribute description to provide more detailed information. In addition, the three entities of fitness function, initial cutting scheme, and intelligent decision-making represent the guiding role of knowledge graphs at different stages. Through relationships and attributes, the embodiment of knowledge graphs in the calculation of fitness functions, initial cutting schemes, and intelligent decision-making during iterations is described in detail. As a result, the guiding role of knowledge graphs is more specifically reflected in the entire cutting optimization system.
[0070] #Knowledge Graph Example
[0071] #Building Material Entities
[0072] Building Materials:
[0073] Description: Natural building material used in construction and decoration.
[0074] index:
[0075] - Color
[0076] -Texture
[0077] -hardness
[0078] -size
[0079] - Flatness
[0080] #Cutting process entity
[0081] Cutting process:
[0082] Description: Process used to cut and process building materials.
[0083] parameter:
[0084] - Cutting Path
[0085] - Cutting depth
[0086] - Cutting speed
[0087] # Cutting scheme entity
[0088] Cutting solution:
[0089] Description: Specific scheme for cutting building materials.
[0090] Include:
[0091] -Building materials
[0092] -Cutting process
[0093] #Knowledge Graph Relationship
[0094] relation:
[0095] -Building material characteristics related cutting scheme
[0096] - Cutting process parameters associated with cutting solutions
[0097] #Knowledge Graph Attributes
[0098] property:
[0099] -Building material color value: white
[0100] -Building material hardness value: medium
[0101] - Cutting process cutting path value: horizontal cutting
[0102] The designed knowledge graph has the following characteristics and advantages in the building material cutting optimization system:
[0103] Structured representation: The knowledge graph represents entities such as building materials, cutting processes, and cutting plans in a structured manner, so that complex relationships and attributes can be clearly presented, which helps to understand and manage the associations between the various components in the system;
[0104] Multi-level modeling: The knowledge graph contains multiple levels of entities, covering all key elements in the system, from the basic indicators of building materials to the specific parameters of the cutting plan. Such multi-level modeling helps to fully control all aspects of the building material cutting process;
[0105] Clear associations: Through the definition of relationships, the associations between different entities are clarified, such as how the characteristics of building materials are related to the fitness of cutting solutions, which provides a clear understanding of the mutual influence between key elements in the system;
[0106] Knowledge graph-guided optimization: fitness functions, initial cutting schemes, and intelligent decision-making are introduced. These entities are guided by the knowledge graph, allowing the system to better utilize previous experience and knowledge in the cutting optimization process, thereby improving the efficiency of intelligent decision-making;
[0107] Scalability: The structure of the knowledge graph allows for the flexible addition of new entities and relationships to adapt to the continuous evolution and upgrading of the system, which improves the scalability of the system and facilitates future improvements and expansions of the system.
[0108] Intelligent decision-making mechanism: The introduction of intelligent decision-making entities enables the system to make more intelligent decisions during the iteration process by dynamically adjusting algorithm parameters and flexibly selecting population update strategies, thereby improving the optimization effect of the system;
[0109] Practical experience guides initialization: The initial cutting solution entity contains practical experience to avoid the construction method of unrealistic solutions. Through the knowledge graph, the system can generate more practical and feasible initial solutions in the initialization stage, avoiding inefficient or unrealistic solutions.
[0110] Comprehensive consideration of building material indicators: Through indicator entities, comprehensive consideration is given to indicators such as color, texture, hardness, size and flatness of building materials, so that the cutting plan can be more in line with the actual conditions of different building materials and improve the adaptability of the system.
[0111] The initial cutting solution guided by the knowledge graph includes the basic cutting solution and the personalized cutting solution for special building materials. By considering the personalized cutting solution for special building materials, the system can better adapt to the processing requirements of different types of building materials in the initial stage. This personalized processing improves the system's processing capabilities for diverse building materials and increases the feasibility of the initial solution. The following is a data example of the initial cutting solution guided by the knowledge graph:
[0112] #Knowledge graph guides the generation of initial cutting plan:
[0113] Basic cutting plan:
[0114] Cutting path: vertical cutting
[0115] Cutting Depth: Medium
[0116] Cutting speed: Standard
[0117] Building material indicators to consider:
[0118] Special building materials:
[0119] Cutting path: horizontal cutting
[0120] Cutting Depth: Deep Cutting
[0121] Cutting speed: Faster
[0122] S13, iteratively optimizing the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes.
[0123] Furthermore, the initial cutting scheme is iteratively optimized according to a preset optimization algorithm to obtain a set of candidate cutting schemes, including:
[0124] The optimization algorithm is used to select, crossover and mutate the initial cutting scheme until the preset condition for stopping iteration is met, and all the new cutting schemes generated are used as the candidate cutting schemes; wherein the optimization algorithm adopts one of a genetic algorithm, a simulated annealing algorithm, and a particle swarm optimization algorithm; and the preset condition includes reaching a maximum number of iterations or reaching a fitness threshold.
[0125] In this embodiment, by using heuristic search algorithms such as genetic algorithms, simulated annealing algorithms, particle swarm optimization algorithms, etc., the solution space is explored to generate a set of candidate cutting schemes. In each generation of iteration, the algorithm selects the "winner" according to the fitness score and crosses and mutates to generate a new cutting scheme, and continuously iterates and optimizes through several rounds until the termination condition is reached. Each cutting scheme includes a series of cutting process parameters (such as cutting path, cutting depth, cutting speed) to achieve the goal of the most efficient use of building materials and the best cutting effect. These parameters are determined based on the current building material indicators, user preferences and best practices recorded in the knowledge graph. By intelligently adjusting the iteration parameters, such as the maximum number of iterations or the fitness threshold for reaching convergence, this enables the system to more flexibly respond to changes in different building material indicators and processing history, thereby improving the efficiency of the optimization algorithm.
[0126] S14, using a predefined fitness function to calculate each of the candidate cutting schemes, determining a target cutting scheme based on the calculation results, and performing a cutting operation on the building material to be cut according to the target cutting scheme.
[0127] Furthermore, the method of calculating each candidate cutting scheme using a predefined fitness function, determining a target cutting scheme based on the calculation result, and performing a cutting operation on the building material to be cut according to the target cutting scheme includes:
[0128] S14-1, using Calculate each of the candidate cutting schemes to obtain a fitness value corresponding to each of the candidate cutting schemes, where wi represents the weight of the i-th fitness parameter, Ei(x) represents the score of the i-th fitness parameter in the candidate cutting scheme x, and n represents the total number of fitness parameters, wherein the fitness parameters include indicators and cutting process parameters;
[0129] S14-2, taking the candidate cutting scheme with the lowest fitness value as the target cutting scheme.
[0130] In this embodiment, the fitness function defined Calculate the fitness value of each candidate cutting scheme. The goal of the fitness function is to minimize the total evaluation value. By finding the scheme x with the minimum F(x), the purpose is to minimize resource waste and improve cutting efficiency. That is, the lower the score finally output by the fitness function, the more suitable the cutting scheme is for the current building material and the higher its fitness. The optimal cutting scheme output is used as the target cutting scheme, including parameters such as cutting path, cutting depth, and cutting speed. In addition, if the knowledge graph contains a special treatment method for a certain type of building material, the fitness function can be evaluated based on whether the current scheme conforms to this treatment method, so that the fitness function can more intelligently perform personalized evaluations on different types of building materials when considering various indicators. After generating the target cutting scheme, it is updated to the knowledge graph so that the knowledge graph can continuously accumulate new experience and information. In the above formula, F(x) represents the fitness score for the current candidate cutting scheme x, reflecting its comprehensive suitability; w i represents the weight of the i-th fitness parameter (including indicators and cutting process parameters). This weight reflects the relative importance of the corresponding fitness parameter in the overall decision-making and can be dynamically adjusted according to the domain knowledge in the knowledge graph to ensure that the corresponding weight is close to the actual cutting requirements; E i (x) represents the score of the i-th fitness parameter in the candidate cutting scheme x, including aspects such as color, texture, hardness, dimensional accuracy, surface flatness, rationality of the cutting path, appropriateness of the cutting depth, and adaptability of the cutting speed; n represents the comprehensive factors of the fitness parameters, including all considered indicators and cutting process parameters.
[0131] Therefore, various possible cutting schemes can be calculated through the fitness function, which can quickly eliminate those unsuitable or inefficient schemes and focus on more promising candidate solutions; during the iteration process, the algorithm will adjust and improve the current cutting scheme according to the fitness function value to improve the overall evaluation score, so as to find a cutting scheme that is closer to the optimal solution; the fitness function can dynamically adjust the weights of various indicators according to the domain knowledge stored in the knowledge graph and the processing requirements of special building material types, so as to achieve personalized evaluation and optimization of different types of building materials.
[0132] like Figure 2 As shown, in another embodiment, the method further includes:
[0133] S15, monitoring the cutting process of the building material to be cut in real time, collecting the index data of the building material to be cut in real time, and dynamically adjusting the cutting process parameters in the target cutting scheme according to changes in the index data;
[0134] S16, updating the knowledge graph with the adjusted target cutting scheme and the corresponding building materials to be cut.
[0135] During the actual cutting process, the system continuously monitors the changes in the building material index data and the cutting effect, dynamically adjusts the cutting process parameters in the cutting plan according to the changes, and returns the newly generated effective data and experience to the knowledge graph to update and enrich the knowledge graph. This enables efficient, accurate and resource-saving cutting of building materials and improves the quality of the finished product.
[0136] Reference Figure 3 Shown is a schematic structural diagram of a knowledge graph-based building material cutting device provided by an embodiment of the present invention.
[0137] In this embodiment, the device 20 includes:
[0138] The collecting unit 21 is used to collect the index data of the building materials to be cut, and process the index data to obtain the index evaluation results and weights;
[0139] A construction unit 22, configured to construct an initial cutting scheme based on a pre-constructed knowledge graph in combination with the indicator evaluation result and the weight;
[0140] An optimization unit 23, configured to iteratively optimize the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes;
[0141] The determination unit 24 is configured to calculate each of the candidate cutting schemes using a predefined fitness function, determine a target cutting scheme based on the calculation result, and perform a cutting operation on the building material to be cut according to the target cutting scheme.
[0142] like Figure 4 As shown, in another embodiment, the device 20 further includes:
[0143] A monitoring unit 25 is used to monitor the cutting process of the building material to be cut in real time, collect the index data of the building material to be cut in real time, and dynamically adjust the cutting process parameters in the target cutting scheme according to the changes of the index data;
[0144] The updating unit 26 is used to update the knowledge graph with the adjusted target cutting scheme and the corresponding building material to be cut.
[0145] Each unit module of the device 20 can respectively execute the corresponding steps in the above method embodiment, so each unit module will not be described in detail here. Please refer to the description of the above corresponding steps for details.
[0146] The embodiment of the present invention further provides a knowledge graph-based building material cutting device, the device comprising the knowledge graph-based building material cutting device as described above, wherein the knowledge graph-based building material cutting device can be used Figure 2 The structure of the embodiment can be executed accordingly. Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects. For details, please refer to the relevant records in the above embodiments, which will not be repeated here.
[0147] The device includes: a mobile phone, a digital camera, a tablet computer, or other devices with a camera function, or a device with an image processing function, or a device with an image display function. The device may include components such as a memory, a processor, an input unit, a display unit, and a power supply.
[0148] Among them, the memory can be used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.), etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory may also include a memory controller to provide the processor and the input unit with access to the memory.
[0149] The input unit can be used to receive input digital or character or image information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit of this embodiment includes not only a camera, but also a touch-sensitive surface (such as a touch display) and other input devices.
[0150] The display unit can be used to display information input by the user or information provided to the user and various graphical user interfaces of the device, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit may include a display panel, and optionally, the display panel may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event.
[0151] The embodiment of the present invention further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the memory in the above embodiment; or a computer-readable storage medium that exists independently and is not installed in a device. The computer-readable storage medium stores at least one instruction, which is loaded and executed by a processor to implement Figure 1 The cutting method of building materials based on the knowledge graph is shown. The computer readable storage medium may be a read-only memory, a disk or an optical disk, etc.
[0152] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, equipment embodiment and storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] Furthermore, in this document, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
[0154] The above description shows and describes the preferred embodiments of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention, through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not depart from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for cutting building materials based on knowledge graph, It is characterized in that The method comprises: Collecting index data of the building materials to be cut, and processing the index data to obtain index evaluation results and weights; Constructing an initial cutting scheme based on a pre-constructed knowledge graph combined with the indicator evaluation results and the weights; Iteratively optimize the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes; A predefined fitness function is used to calculate each of the candidate cutting schemes, a target cutting scheme is determined based on the calculation results, and a cutting operation is performed on the building material to be cut according to the target cutting scheme.
2. According to claim 1, a method for cutting building materials based on knowledge graph, It is characterized in that The method further comprises: Real-time monitoring of the cutting process of the building material to be cut is performed, and the index data of the building material to be cut is collected in real time, and the cutting process parameters in the target cutting scheme are dynamically adjusted according to the changes of the index data; The knowledge graph is updated with the adjusted target cutting scheme and the corresponding building materials to be cut.
3. According to claim 1, a method for cutting building materials based on knowledge graph, It is characterized in that The step of collecting index data of the building materials to be cut and processing the index data to obtain index evaluation results and weights includes: The image data of the first indicator in the building material to be cut is collected by a camera, and the features in the image data are analyzed and quantified by using image processing technology to obtain a quantified value corresponding to the first indicator; Collecting measurement data of a second indicator in the building material to be cut by a sensor, and extracting a measurement value corresponding to the second indicator in the measurement data; Evaluate the quality of the building material to be cut according to the quantitative value and the measured value to obtain the index evaluation result; The weights of corresponding indicators are preliminarily set according to the knowledge graph or user segmentation requirements, and the indicators include the first indicator and the second indicator.
4. According to claim 1, a method for cutting building materials based on knowledge graph, It is characterized in that The construction process of the knowledge graph includes using domain expert knowledge and historical cutting plans to construct it; the knowledge graph includes the types of building materials, indicators of building materials, cutting process parameters and historical cutting plans.
5. According to claim 4, a method for cutting building materials based on knowledge graph, It is characterized in that The types of building materials include natural stone, wood, metal components and gypsum board; the indicators of the natural stone include color, texture, hardness, dimensional accuracy and surface flatness; the indicators of the wood include density, texture, water content, bending strength, color and dimensional accuracy; the cutting process parameters include cutting path, cutting depth and cutting speed.
6. A method for cutting building materials based on knowledge graph according to claim 1, It is characterized in that The initial cutting scheme is iteratively optimized according to a preset optimization algorithm to obtain a set of candidate cutting schemes, including: The optimization algorithm is used to select, crossover and mutate the initial cutting scheme until the preset condition for stopping iteration is met, and all the new cutting schemes generated are used as the candidate cutting schemes; wherein the optimization algorithm adopts one of a genetic algorithm, a simulated annealing algorithm, and a particle swarm optimization algorithm; and the preset condition includes reaching a maximum number of iterations or reaching a fitness threshold.
7. According to claim 1, a method for cutting building materials based on knowledge graph, It is characterized in that The method of calculating each candidate cutting scheme by using a predefined fitness function, determining a target cutting scheme based on the calculation result, and performing a cutting operation on the building material to be cut according to the target cutting scheme includes: use Calculate each candidate cutting scheme to obtain the fitness value corresponding to each candidate cutting scheme, where w i represents the weight of the i-th fitness parameter, E i (x) represents the score of the i-th fitness parameter in the candidate cutting scheme x, and n represents the total number of fitness parameters, where the fitness parameters include indicators and cutting process parameters; The candidate cutting scheme with the lowest fitness value is used as the target cutting scheme.
8. A cutting device for building materials based on knowledge graph, It is characterized in that The device comprises: A collection unit, used for collecting index data of the building materials to be cut, and processing the index data to obtain index evaluation results and weights; A construction unit, configured to construct an initial cutting scheme based on a pre-constructed knowledge graph in combination with the indicator evaluation result and the weight; An optimization unit, used for iteratively optimizing the initial cutting scheme according to a preset optimization algorithm to obtain a set of candidate cutting schemes; The determination unit is used to calculate each of the candidate cutting schemes using a predefined fitness function, determine a target cutting scheme based on the calculation result, and perform a cutting operation on the building material to be cut according to the target cutting scheme.
9. A cutting device for building materials based on knowledge graph, It is characterized in that It includes a processor, a memory and a computer program stored in the memory, wherein the computer program is executed by the processor to implement the steps of a method for cutting building materials based on a knowledge graph as described in any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of a method for cutting building materials based on a knowledge graph as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
General servo driving method and system based on artificial intelligence
CN119810341A
