Floor design prediction method, device and electronic equipment based on graph structure model

Through the floor design prediction method based on the graph structure model, the problems of inaccuracy and low efficiency of traditional design methods are solved, and more accurate and efficient floor design is achieved, which can adapt to different building needs and meet personalized design.

CN118296704BActive Publication Date: 2024-10-01BEIJING INST OF ARCHITECTURAL DESIGN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410446220.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-01
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

The traditional floor design method is not accurate enough and inefficient, cannot adapt to changes in the design needs of different types of buildings, and lacks flexibility and applicability.

Method used

The floor design prediction method based on the graph structure model is used to obtain the building structure data and input it into the trained graph structure model to obtain the probability distribution of predicting the floor design. Based on this distribution, the target floor design is obtained, taking into account the building function and boundary characteristics. Realize automatic learning and optimization.

Benefits of technology

It improves the accuracy and efficiency of floor slab design, can more accurately capture the complex relationships between building elements, adapt to different building needs, meet personalized design needs, and save labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296704B_ABST
    Figure CN118296704B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of architectural design, and discloses a floor design prediction method, device and electronic equipment based on a graph structure model. The method comprises: obtaining target building structure data; inputting the target building structure data into a trained graph structure model to obtain a probability distribution of predicted floor design; obtaining a target floor design based on the probability distribution of predicted floor design, thereby improving the accuracy and efficiency of floor design prediction and saving labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of architectural design, and in particular to a floor slab design prediction method, device and electronic equipment based on a graph structure model. Background Art

[0002] In the field of architectural design, the floor slab is an important part of the building structure that bears the floor load. Its design needs to consider many factors, such as building function, structural requirements, spatial layout, etc. The traditional floor slab design method is usually based on rules and experience. Designers manually adjust the design parameters, such as floor slab thickness, steel bar layout, etc., according to the building function and structural requirements. This method has the following problems. First, the design is not accurate enough. The traditional method lacks comprehensive consideration of the building function and boundary characteristics, and it is easy to have design errors, resulting in inaccurate design results. Secondly, it is inefficient. Designers need to spend a lot of time and energy on manual adjustment and optimization, which is inefficient and has poor adaptability. In addition, the traditional method cannot adapt to the changes in the design requirements of different types of buildings, and lacks flexibility and applicability. Therefore, the traditional floor slab design method can no longer meet the needs of modern architectural design, and a new floor slab design method needs to be proposed to solve these problems. Summary of the invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a floor design prediction method, device and electronic equipment based on a graph structure model, which improves the accuracy and efficiency of floor design prediction and saves labor costs.

[0004] In a first aspect, an embodiment of the present disclosure provides a floor design prediction method based on a graph structure model, the method comprising:

[0005] Acquire target building structure data;

[0006] Inputting the target building structure data into the trained graph structure model to obtain a probability distribution of predicted floor slab design;

[0007] Based on the probability distribution of the predicted floor design, a target floor design is obtained, wherein the target building structure data includes building functions and boundary characteristics.

[0008] In a second aspect, the present disclosure also provides a floor design prediction device based on a graph structure model, the device comprising:

[0009] A data acquisition module is used to acquire the target building structure data;

[0010] A probability distribution acquisition module, used to input the target building structure data into the trained graph structure model to obtain the probability distribution of the predicted floor design;

[0011] The floor design acquisition module is used to obtain a target floor design based on the probability distribution of the predicted floor design, wherein the target building structure data includes building functions and boundary features.

[0012] In the third aspect, an embodiment of the present disclosure also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the floor design prediction method based on the graph structure model as described above.

[0013] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the floor design prediction method based on the graph structure model as described above.

[0014] The disclosed embodiment provides a floor design prediction based on a graph structure model. By modeling and predicting the building functions and boundary features through the graph structure model, the complex relationship between building elements can be captured more accurately, thereby improving the reliability of the floor design. Compared with the traditional floor design, which usually requires designers to manually design according to experience and specifications, it is time-consuming and prone to errors. The floor design prediction method based on the graph structure model can automatically learn the relationship between building functions and boundary features, thereby improving the design efficiency, and the graph structure model can be customized according to different building needs and characteristics to meet the personalized needs of different users. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0016] Figure 1 is a flow chart of a floor slab design prediction method based on a graph structure model in an embodiment of the present disclosure;

[0017] Figure 2 It is a structural schematic diagram of a floor design prediction device based on a graph structure model in an embodiment of the present disclosure;

[0018] Figure 3 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] Graph structure network is an algorithm model based on graph structure data, which is suitable for modeling and predicting complex relationships. In the field of architectural design, graph structure network technology has been widely used in building structure design, spatial layout optimization and other aspects. The advantage of graph structure network is that it can process unstructured data. The building functions and boundary features involved in architectural design are usually unstructured data. Graph structure network can effectively process such data and realize modeling and prediction of complex relationships. Graph structure network can automatically learn and predict through data, reduce manual intervention, and improve design efficiency and accuracy. At the same time, it can adapt to different types of data input and has strong flexibility and applicability. In the field of building floor design, the method based on graph structure network can realize automatic prediction and optimization of floor design parameters by learning building functions and boundary features, and improve the accuracy and efficiency of design. This application proposes a new floor design prediction method based on building functions and boundary features using graph structure network to solve the problems of inaccurate design and low efficiency existing in traditional methods.

[0023] In response to the above problems, the embodiments of the present disclosure provide a floor design prediction method based on a graph structure model. By utilizing the graph structure model to learn and predict building functions and boundary characteristics, it is possible to fully consider building functions and boundary characteristics and improve the accuracy and efficiency of floor design.

[0024] Figure 1 : is a flow chart of a floor design prediction method based on a graph structure model in an embodiment of the present disclosure. The method can be executed by a floor design prediction device based on a graph structure model, which can be implemented in software and / or hardware, and can be configured in an electronic device. Figure 1 As shown, the method may specifically include the following steps:

[0025] S110: Acquire target building structure data.

[0026] Specifically, the target building structure data is analyzed and modeled to extract building functions and boundary features. The building functions may include usage, spatial layout, etc., and the boundary features may include the shape, size, and position of the floor. The usage of the building may include, for example, residential, commercial, office, etc., and the spatial layout of the building may include, for example, room distribution, functional area division, etc. Boundary features: describe the shape, size, position, and other attributes of the building boundary. In floor design, boundary features may include the shape (such as rectangle, polygon, etc.), size (such as length, width, height, etc.), and position (position relationship relative to the building, etc.) of the floor. These features help determine the design and layout of the floor.

[0027] S120: Input the target building structure data into the trained graph structure model to obtain a probability distribution of predicted floor design.

[0028] Specifically, a large amount of historical building structure data, including building functions and boundary features, is collected to construct a floor design dataset. Building functions can include the purpose of the building, such as residential, commercial, and office, and the scale of the building, such as area, floor height, and building structure type. Boundary features can include support conditions and load conditions of the building structure. Before inputting the building structure data into the trained graph structure model, it is necessary to use a large amount of historical building structure data to build and train the graph structure model.

[0029] In one embodiment, before inputting the building structure data into the trained graph structure model, the method further includes:

[0030] Construct nodes based on historical building structure data;

[0031] Constructing a graph structure network based on the nodes;

[0032] A graph structure model is constructed based on the graph structure network and the attention mechanism.

[0033] It is understandable that the historical building structure data and the target building structure data are obtained in the same way and have the same data content, which will not be described in detail here.

[0034] Specifically, because the graph structure network has strong adaptability, it can handle different types of building structure data and has good generalization and versatility. The graph structure network can be represented as G=(V, E), where V is a set of nodes, each node represents a building structure, and E is an edge set, where the edge represents the connection relationship between nodes. The graph structure network can effectively process unstructured graph data, such as the complex relationship between nodes and edges in the building structure.

[0035] In one embodiment, the step of constructing a node based on historical building structure data includes:

[0036] Each building structure in the historical building structure data is taken as a node, and the node is characterized by features, wherein the features of the node include building functions and boundary features.

[0037] Specifically, each building structure in the historical building structure data is taken as a node. (a collection of nodes), where a node can be represented by a feature vector Characterization, the feature vector includes building functions and boundary features, assuming is a feature vector with dimension 5 and can be expressed as: , Indicates the purpose of the building, for example, 1 means residential, 2 means commercial, and 3 means office. Indicates the building area (unit: square meters), Indicates the building floor height (unit: meter), Indicates the building structure type, for example, 1 indicates steel structure, 2 indicates concrete structure, Represents a combination of support and loading conditions.

[0038] Further, after the nodes are constructed, constructing a graph structure network based on the nodes includes:

[0039] constructing a hidden layer based on the nodes;

[0040] A graph structure network is constructed based on the hidden layer.

[0041] Exemplarily, it is known that a graph structure network is composed of nodes and edges. After defining the representation of the feature vector of the node, a hidden layer is constructed using all nodes and the relationships (edges) between nodes, and then all hidden layers are connected to form a graph structure network.

[0042] Furthermore, in one embodiment, a graph structure model is constructed based on the graph structure network and the attention mechanism, including:

[0043] Introducing the attention mechanism into each hidden layer in the graph structure network to obtain an enhanced graph structure network;

[0044] A graph structure model is constructed based on the enhanced graph structure network and the output layer, wherein the expression for feature extraction of the nodes in the hidden layer is:

[0045]

[0046] in, Is a node In the The feature extraction results of hidden layers are is the activation function, Is a node In the The characteristics of the layer, is a collection of nodes, Is a node and nodes The attention weight coefficient between It is The weight matrix of the layer;

[0047] The expression for feature extraction between the hidden layers is:

[0048]

[0049] in, Is a node In the The characteristics of the layer, that is, the characteristics of the node after one update, is an exponential function, is a collection of nodes. It is Node in the hth attention head of layer and nodes The attention weights between It is Layer Nodes in the attention head and nodes The attention weight between .

[0050] Specifically, the feature extraction capability of the graph structure network is further enhanced by introducing the attention mechanism, and the features of the nodes of the enhanced graph structure network enhanced by the attention mechanism and the features between the hidden layers are then mapped to the output layer through the fully connected layer, and the predicted floor design is output through the output layer.

[0051] It should be noted that the nodes in the hidden layer of the graph structure network extract features of the building structure data in the following manner:

[0052]

[0053] in, Is a node In the The feature extraction results of hidden layers are is the activation function, Is a node In the The characteristics of the layer, is a collection of nodes, Is a node and nodes The attention weight coefficient between It is The weight matrix of the layer.

[0054] The embodiment provided by the present disclosure considers the weights of the current node and the neighboring nodes of the current node through a graph structure network, thereby improving the accuracy of floor slab design prediction.

[0055] After using the attention mechanism to enhance the features of the nodes in each hidden layer, the attention mechanism can also be used to extract the features between hidden layers. The expression is:

[0056]

[0057] in, Is a node In the The characteristics of the layer, that is, the characteristics of the node after one update, is an exponential function, is a collection of nodes. It is Node in the hth attention head of layer and nodes The attention weights between It is Layer Nodes in the attention head and nodes The attention weight between .

[0058] The embodiments provided in the present disclosure further enhance the feature extraction capability between hidden layers in the graph structure network by introducing the attention mechanism, so that the graph structure model pays more attention to important nodes and edges, thereby improving the representation capability and prediction accuracy of the graph structure model.

[0059] In one implementation, the target building structure data is input into a trained graph structure model to obtain a probability distribution of a predicted floor design, including:

[0060] Inputting the target building structure data into the enhanced graph structure network in the graph structure model to obtain an output result;

[0061] The output result is input into the output layer to obtain the probability distribution of the predicted floor design; wherein the expression of the probability distribution of the predicted floor design is:

[0062]

[0063] in, is the probability distribution for predicting the floor slab design, is the weight matrix of the output layer, is to convert the output into a probability distribution function, are the features of the nodes in the last hidden layer.

[0064] Exemplarily, the output result of the enhanced graph structure network (i.e., the enhanced features of the building structure output after the enhanced graph structure network) is input into the output layer, the enhanced features of the building structure are processed by the output layer, and the probability distribution of the predicted floor design is output, which is expressed as:

[0065]

[0066] in, is the probability distribution for predicting the floor slab design, is the weight matrix of the output layer, is to convert the output into a probability distribution function, It is the feature of the nodes in the last hidden layer of the graph structure network.

[0067] It should be noted that the probability distribution of predicted floor slab design refers to the probability distribution set composed of the probabilities corresponding to each floor slab design.

[0068] Based on the above embodiments, the graph structure model construction is completed. At this time, the graph structure model is an initial model, and the accuracy of predicting floor design is not high. It is necessary to update the graph structure model and evaluate the updated graph structure model to obtain a trained graph structure model.

[0069] In one embodiment, the trained graph structure model is obtained through the following process:

[0070] The graph structure model is updated by a loss function, and the updated graph structure model is evaluated to obtain a trained graph structure model, wherein the expression of the loss function is:

[0071]

[0072] in, represents the loss function, Represents the total number of nodes, Indicates the type of floor design. represents the probability distribution for predicting floor slab designs, Representation Node The floor design of the setting is in The probability value of each category, Representation Node The predicted floor design is The probability value of each category, represents the weight matrix of the output layer, Represents the penalty factor.

[0073] It should be noted that Indicates the category of floor design, that is, the number of floor design. For example, there are 10 floor designs from 1 to 10, and the category means the number of the 10 floor designs. For example, the 5th category means the 5th floor design. It can be understood that there are multiple sets of floor slab designs through different combinations, and each set of floor slab designs has a probability, where represents the category of floor design. The probability of the cth set of floor design obtained a priori from a large amount of data is , the loss function is stabilized by optimizing the difference between the prior probability of floor design and the predicted probability of floor design.

[0074] Specifically, the graph structure model is updated using the loss function to obtain the updated graph structure model, and the mean square error of the loss function is used to evaluate the accuracy and generalization ability of the updated graph structure model. When the mean square error tends to be stable and minimized, the loss function reaches the optimal value, and it can be determined that the trained graph structure model is obtained. The expression of the loss function is:

[0075]

[0076] in, represents the loss function, Represents the total number of nodes, Indicates the type of floor design. represents the probability distribution for predicting floor slab designs, Representation Node The floor design of the setting is in The probability value of each category, Representation Node The predicted floor design is in The probability value of each category, is the weight matrix of the output layer, Represents the penalty factor.

[0077] After obtaining the trained graph structure model, the trained graph structure model can be directly used to directly predict the probability distribution of the predicted floor design. Specifically, the obtained target building structure data is input into the trained graph structure model, and the probability distribution of the predicted floor design is output.

[0078] S130. Obtain a target floor design based on the predicted probability distribution of the floor design, wherein the target building structure data includes building functions and boundary features.

[0079] For example, for each node After obtaining the probability distribution of the predicted floor design, the category with the maximum probability (i.e., the number of the floor design) can be selected from the probability distribution of the predicted floor design, and the predicted floor design corresponding to the category with the maximum probability is selected as the target floor design, i.e., the floor design of the building structure. Its expression is:

[0080]

[0081] in, express The maximum probability in the probability distribution for predicting the floor slab design.

[0082] The floor design prediction method provided in this embodiment models and predicts building functions and boundary features through a graph structure model, which can more accurately capture the complex relationship between building elements, thereby improving the reliability of floor design. Compared with traditional floor design, which usually requires designers to manually design based on experience and specifications, it is time-consuming and prone to errors. The floor design prediction method based on the graph structure model can automatically learn the relationship between building functions and boundary features, thereby improving design efficiency, and the graph structure model can be customized according to different building needs and characteristics to meet the personalized needs of different users.

[0083] Figure 2 FIG. 1 is a schematic diagram of a floor design prediction device based on a graph structure model in an embodiment of the present disclosure. Figure 2 As shown, the device includes: a data acquisition module 210, a probability distribution acquisition module 220, and a floor design acquisition module 230.

[0084] The data acquisition module 210 is used to acquire the target building structure data;

[0085] A probability distribution acquisition module 220 is used to input the target building structure data into the trained graph structure model to obtain the probability distribution of the predicted floor design;

[0086] The floor design acquisition module 230 is used to obtain a target floor design based on the probability distribution of the predicted floor design, wherein the building structure data includes building functions and boundary characteristics.

[0087] Optionally, the device further includes a graph structure model acquisition module, which is used to input the building structure data into the trained graph structure model before the module further includes:

[0088] Construct nodes based on historical building structure data;

[0089] Constructing a graph structure network based on the nodes;

[0090] A graph structure model is constructed based on the graph structure network and the attention mechanism.

[0091] Optionally, the graph structure model acquisition module is also used for constructing nodes based on historical building structure data, including:

[0092] Each building structure in the historical building structure data is taken as a node, and the node is characterized by features, wherein the features of the node include building functions and boundary features.

[0093] Optionally, the graph structure model acquisition module is also used to construct a graph structure network based on the nodes, including:

[0094] constructing a hidden layer based on the nodes;

[0095] A graph structure network is constructed based on the hidden layer.

[0096] Optionally, the graph structure model acquisition module is further used to construct a graph structure model based on the graph structure network and the attention mechanism, including:

[0097] Introducing the attention mechanism into each hidden layer in the graph structure network to obtain an enhanced graph structure network;

[0098] A graph structure model is constructed based on the enhanced graph structure network and the output layer, wherein the expression for feature extraction of the nodes in the hidden layer is:

[0099]

[0100] in, Is a node In the The feature extraction results of hidden layers are is the activation function, Is a node In the The characteristics of the layer, is a collection of nodes, Is a node and nodes The attention weight coefficient between It is The weight matrix of the layer;

[0101] The expression for feature extraction between the hidden layers is:

[0102]

[0103] in, Is a node In the The characteristics of the layer, that is, the characteristics of the node after one update, is an exponential function, is a collection of nodes. It is Node in the hth attention head of layer and nodes The attention weights between It is Layer Nodes in the attention head and nodes The attention weight between .

[0104] Optionally, the graph structure model acquisition module is used to acquire the trained graph structure model, including:

[0105] The graph structure model is updated by using a loss function, and the updated graph structure model is evaluated to obtain a trained graph structure model;

[0106] Among them, the expression of the loss function is:

[0107]

[0108] in, represents the loss function, Represents the total number of nodes, Indicates the type of floor design. represents the probability distribution for predicting floor slab designs, Representation Node The floor design of the setting is in The probability value of each category, Representation Node The predicted floor design is The probability value of each category, represents the weight matrix of the output layer, Represents the penalty factor.

[0109] Optionally, the probability distribution acquisition module is further used to input the target building structure data into a trained graph structure model to obtain a probability distribution of a predicted floor design, including:

[0110] Inputting the target building structure data into the enhanced graph structure network in the graph structure model to obtain an output result;

[0111] The output result is input into the output layer to obtain the probability distribution of the predicted floor design; wherein the expression of the probability distribution of the predicted floor design is:

[0112]

[0113] in, is the probability distribution for predicting the floor slab design, is the weight matrix of the output layer, is to convert the output into a probability distribution function, are the features of the nodes in the last hidden layer.

[0114] The floor design prediction device based on the graph structure model provided in the embodiment of the present disclosure can execute the steps of the floor design prediction method based on the graph structure model provided in the method embodiment of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.

[0115] Figure 3 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 3 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0116] like Figure 3 As shown, the electronic device 500 may include a processing device 501, a read-only memory (ROM) 502, a random access memory (RAM) 503, a bus 504, an input / output (I / O) interface 505, an input device 506, an output device 507, a storage device 508, and a communication device 509. The processing device (e.g., a central processing unit, a graphics processor, etc.) 501 can perform various appropriate actions and processes according to the program in the ROM 502 or the program loaded from the storage device 508 to the RAM 503 to implement the method of the embodiment described in the present disclosure. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

[0117] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart, thereby realizing the floor design prediction method based on the graph structure model as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed.

[0118] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0119] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains target building structure data; inputs the target building structure data into the trained graph structure model to obtain the probability distribution of the predicted floor design; obtains the target floor design based on the probability distribution of the predicted floor design, wherein the target building structure data includes building functions and boundary features.

[0120] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0121] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A floor slab design prediction method based on a graph structure model, characterized in that: The method includes: Acquire target building structure data; Inputting the target building structure data into the trained graph structure model to obtain a probability distribution of predicted floor slab design; Based on the probability distribution of the predicted floor design, a target floor design is obtained, wherein the target building structure data includes building functions and boundary characteristics, Before inputting the building structure data into the trained graph structure model, the method further includes: Construct nodes based on historical building structure data; Constructing a graph structure network based on the nodes; Construct a graph structure model based on the graph structure network and attention mechanism. Wherein, the step of constructing a node based on historical building structure data includes: Each building structure in the historical building structure data is taken as a node, and the node is characterized by features, wherein the features of the node include building functions and boundary features, Wherein, constructing a graph structure network based on the nodes includes: constructing a hidden layer based on the nodes; Constructing a graph structure network based on the hidden layer, Wherein, constructing a graph structure model based on the graph structure network and the attention mechanism includes: Introducing the attention mechanism into each hidden layer in the graph structure network to obtain an enhanced graph structure network; A graph structure model is constructed based on the enhanced graph structure network and the output layer, wherein the expression for feature extraction of the nodes in the hidden layer is: ; in, Is a node In the The feature extraction results of hidden layers are is the activation function, Is a node In the The characteristics of the layer, is a collection of nodes, Is a node and nodes The attention weight coefficient between ; It is The weight matrix of the layer; The expression for feature extraction between the hidden layers is: ; in, Is a node In the The characteristics of the layer, that is, the characteristics of the node after one update, is an exponential function, is a collection of nodes. It is Node in the hth attention head of layer and nodes The attention weights between It is Layer Nodes in the attention head and nodes The attention weights between Among them, the trained graph structure model is obtained through the following process: The graph structure model is updated by using a loss function, and the updated graph structure model is evaluated to obtain a trained graph structure model; Among them, the expression of the loss function is: ; in, represents the loss function, Represents the total number of nodes, Indicates the type of floor design. represents the probability distribution for predicting floor slab designs, Representation Node The floor design of the setting is in The probability value of each category, Representation Node The predicted floor design is The probability value of each category, represents the weight matrix of the output layer, Represents the penalty factor.

2. The method according to claim 1, characterized in that: Input the target building structure data into the trained graph structure model to obtain the probability distribution of the predicted floor design, including: Inputting the target building structure data into the enhanced graph structure network in the graph structure model to obtain an output result; The output result is input into the output layer to obtain the probability distribution of the predicted floor design; wherein the expression of the probability distribution of the predicted floor design is: ; in, is the probability distribution for predicting the floor slab design, is the weight matrix of the output layer, is to convert the output into a probability distribution function, are the features of the nodes in the last hidden layer.

3. A floor design prediction device based on a graph structure model, using the method according to any one of claims 1-2, characterized in that: include: A data acquisition module is used to acquire the target building structure data; A probability distribution acquisition module, used to input the target building structure data into the trained graph structure model to obtain the probability distribution of the predicted floor design; The floor design acquisition module is used to obtain a target floor design based on the probability distribution of the predicted floor design, wherein the building structure data includes building functions and boundary characteristics.

4. An electronic device, characterized in that The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 2.