Disclosure of Invention
The invention provides a building method of a city information management platform based on a BIM technology, which mainly aims to solve the problem of low information display accuracy of a city information management system.
In order to achieve the above object, the present invention provides a building method for a city information management platform based on a BIM technology, including:
acquiring preset city introduction information, classifying the city introduction information by using a preset information classification model to obtain an information tag, constructing an introduction information database according to the information tag and the city introduction information, and importing the introduction information database into a preset blank webpage to obtain a city front-end design webpage;
acquiring preset urban geographic information, constructing a three-dimensional BIM model according to the urban geographic information, dividing the three-dimensional BIM model according to geographic areas to obtain a divided three-dimensional BIM model, and acquiring area names of different geographic areas of the divided three-dimensional BIM model;
calculating the matching degree of the area name and the information label, determining the information label with the largest matching degree with the area name as a label to be transmitted, importing city introduction information corresponding to the label to be transmitted into a three-dimensional BIM model corresponding to the area name to obtain a basic BIM database, and connecting the basic BIM database with the city front end design webpage through a preset interface to obtain a primary information management platform;
acquiring information modification suggestions submitted by a user on the primary information management platform, extracting core semantics of the information modification suggestions through a preset semantic extraction model, carrying out information supplementation on the basic BIM database according to the core semantics, and determining the primary information management platform after information supplementation as an urban information management platform.
Optionally, the classifying the city introduction information by using a preset information classification model to obtain an information tag includes:
coding the introduction information to obtain the information code;
carrying out convolution and pooling treatment on the information code to obtain a low-dimensional feature code of the information code;
mapping the low-dimensional feature code to a pre-constructed high-dimensional space to obtain a high-dimensional feature code;
and screening the high-dimensional feature codes by using a preset activation function to obtain the information tag.
Optionally, the importing the introduction information database into a preset blank webpage to obtain a city front-end design webpage includes:
acquiring different database language rules corresponding to the database contents of the introduction information database by using a preset decision tree function;
expressing the database content with a database language according to the database language rule to obtain a database code;
and writing the database code into a preset blank webpage to obtain the urban front-end design webpage.
Optionally, the obtaining, by using a preset decision tree function, different database language rules corresponding to database contents of the introduction information database includes:
and acquiring different database language rules corresponding to the database contents of the introduction information database by using the following decision tree functions:
wherein ,
for the output value of said decision tree function, < >>
For parameters of the decision tree function, +.>
An input value for the decision model; acquiring different database language rules corresponding to the database contents of the introduction information database through the decision tree function;
when the output database language rule is
That is, when the input value is smaller than the parameters of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
;
When the output database language rule is
That is, when the input value is larger than the parameter of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
;
When the output database language rule is
That is, when the input value is equal to the parameter of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
。
Optionally, the constructing a three-dimensional BIM model according to the urban geographic information includes:
acquiring text word segmentation of the urban geographic information to obtain geographic word segmentation;
calculating word frequency of the geographic segmentation by using a preset word frequency calculation formula;
determining geographic segmentation words larger than a preset word frequency as key segmentation words, and searching three-dimensional data associated with the key segmentation words in the urban geographic information;
and constructing a three-dimensional BIM model by using a preset modeling tool according to the three-dimensional data.
Optionally, the calculating the word frequency of the geographic word by using a preset word frequency calculation formula includes:
counting the occurrence times of the geographic segmentation words and the total segmentation word number of the urban geographic information;
calculating word frequency of the geographic segmentation by using the following word frequency calculation formula:
wherein ,
word frequency for the geo-word, +.>
For the occurrence number of the geo-segmentation, +.>
And the total word number of the urban geographic information is obtained. />
Optionally, the calculating the matching degree of the area name and the information tag includes:
calculating the matching degree of the area name and the information label by using the following matching degree calculation formula:
wherein ,
for the degree of matching, +.>
For the area name->
Is the information tag.
Optionally, the basic BIM database is connected with the urban front-end design webpage through a preset interface to obtain a primary information management platform;
connecting the basic BIM database with a preset open database interface;
connecting the open database interface with a webpage interface of the urban front-end design webpage;
and determining the connected urban front-end design webpage as a primary information management platform.
Optionally, the extracting the core semantics of the information modification suggestion through a preset semantics extraction model includes:
converting the information modification suggestion into a vector to obtain a suggestion vector, and encoding the position of the suggestion vector to obtain a position code of the suggestion vector;
analyzing the position codes for a preset number of times by utilizing a self-attention machine module in the semantic extraction model to obtain a primary analysis structure;
and carrying out normalization calculation on the preliminary analysis result to obtain a normalization calculation result, and determining the normalization calculation result as the core semantic of the information modification suggestion.
Optionally, the encoding the position of the suggested vector to obtain a position code of the suggested vector includes:
encoding the position of the suggested vector using a position encoding function:
wherein ,
representing even character positions in the suggestion vector, +.>
Representing odd character positions in the suggestion vector, +.>
Representing the sequence of positions of the characters in the suggestion vector, +.>
Representing the->
Dimension(s) (i.e.)>
Representing the character encoding function.
According to the embodiment of the invention, the three-dimensional BIM model is constructed according to the preset urban geographic information by acquiring the preset urban geographic information, the three-dimensional BIM model is divided according to the geographic area, the divided three-dimensional BIM model is obtained, and the redundant urban geographic information is displayed in a visual mode, so that people are clear at a glance, and meanwhile, the subsequent construction of an urban information management platform with accurate information and simple and convenient operation is facilitated; establishing a basic BIM database, connecting the basic BIM database with the designed webpage at the front end of the city through a preset interface to obtain a primary information management platform, realizing the step of connecting the front end and the rear end, obtaining the primary information management platform, and inquiring the related information of the city in the primary information management platform; acquiring information modification suggestions submitted by a user on the primary information management platform, extracting core semantics of the information modification suggestions through a preset semantic extraction model, carrying out information supplementation on the basic BIM database according to the core semantics, determining the primary information management platform after information supplementation as a city information management platform, and continuously optimizing the primary information management platform of the user so as to pursue a better city information management platform. Therefore, the method and the device for constructing the urban information management platform based on the BIM technology can solve the problem of low information display accuracy of the urban information management platform.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the application provides a city information management platform construction method based on BIM technology. The execution subject of the building method of the city information management platform based on the BIM technology includes, but is not limited to, at least one of a server, a terminal and the like, which can be configured to execute the method provided by the embodiment of the application. In other words, the building method of the city information management platform based on the BIM technology may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
Referring to fig. 1, a flow chart of a building method of a city information management platform based on a BIM technology according to an embodiment of the present invention is shown. In this embodiment, the method for constructing the city information management platform based on the BIM technology includes:
s1, acquiring preset city introduction information, classifying the city introduction information by using a preset information classification model to obtain an information tag, constructing an introduction information database according to the information tag and the city introduction information, and importing the introduction information database into a preset blank webpage to obtain a city front-end design webpage;
in the embodiment of the invention, the city introduction information comprises detailed information such as urban resident population, key industrial structures, historical humane introduction, special tourist attractions and the like. The city introduction information is used for introducing the city through characters, and the city is further known through the city introduction information.
In the embodiment of the present invention, referring to fig. 2, the classifying the city introduction information by using a preset information classification model to obtain an information tag includes:
s21, coding the introduction information to obtain the information code;
s22, carrying out convolution and pooling treatment on the information code to obtain a low-dimensional feature code of the information code;
s23, mapping the low-dimensional feature codes into a pre-constructed high-dimensional space to obtain high-dimensional feature codes;
s24, screening the high-dimensional feature codes by using a preset activation function to obtain an information tag.
Additionally, the information tag is actually a category tag corresponding to an information category, and may include personal information, medical information, public facility information, scenic spot information, and the like.
In detail, the convolution and pooling processing are carried out on the information codes, so that the dimension of the information codes is reduced, the occupation of computer resources when the information codes are analyzed is further reduced, and the efficiency of acquiring the information labels is improved.
Specifically, the pre-constructed high-dimensional space for mapping the low-dimensional feature codes may map the low-dimensional feature codes to a preset high-dimensional space by using a mapping function of the information classification model, where the mapping function includes, but is not limited to, a Gaussian, radial, basis, function function, a gaussian function, etc. in a MATLAB library.
Additionally, the high-dimensional feature codes are filtered by using a preset activation function, wherein the activation function comprises, but is not limited to, a sigmoid activation function, a tanh activation function and a relu activation function.
In the embodiment of the present invention, the constructing an introduction information database according to the information tag and the city introduction information includes:
filling the information tag and the city introduction information into an electronic form to obtain an electronic information form;
and transmitting the electronic information table into preset database software to obtain an introduction information database.
The preset database software includes, but is not limited to, orancle, access, SQL Server, etc.
In detail, referring to fig. 3, the importing the introduction information database into a preset blank webpage to obtain a city front-end design webpage includes:
s31, acquiring different database language rules corresponding to the database contents of the introduction information database by using a preset decision tree function;
s32, expressing the database content with a database language according to the database language rule to obtain a database code;
and S33, writing the database code into a preset blank webpage to obtain the urban front-end design webpage.
In detail, the preset blank webpage can be a front-end template which is made in advance according to the information management webpage, only the appearance component is provided, and no specific content exists, so that a front-end and rear-end separation development mode can be used, the construction efficiency of the platform is improved, and the input time cost is reduced.
Further, the obtaining, by using a preset decision tree function, different database language rules corresponding to database contents of the introduction information database includes:
and acquiring different database language rules corresponding to the database contents of the introduction information database by using the following decision tree functions:
wherein ,
for the output value of said decision tree function, < >>
For parameters of the decision tree function, +.>
An input value for the decision model; acquiring different database language rules corresponding to the database contents of the introduction information database through the decision tree function;
when the output database language rule is
That is, when the input value is smaller than the parameters of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
;
When the output database language rule is
That is, when the input value is larger than the parameter of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
;
When the output database language rule is
That is, when the input value is equal to the parameter of the decision tree function, the database language rule corresponding to the database content of the introduction information database is +.>
。
In detail, different database language rules are screened out by utilizing the decision tree function, so that the time for converting the database language can be saved, the probability of screening errors can be reduced, and the accuracy, usability and high efficiency of the compiled database codes are ensured.
S2, acquiring preset urban geographic information, constructing a three-dimensional BIM model according to the urban geographic information, dividing the three-dimensional BIM model according to geographic areas to obtain a divided three-dimensional BIM model, and acquiring area names of different geographic areas of the divided three-dimensional BIM model;
in the embodiment of the invention, the urban geographic information comprises urban geographic positions, different areas in the city, main roads and subway trends, different areas of the different areas, urban landmark facilities and the like, for example, the landmark facilities in Shanghai include Oriental pearl, jinmao mansion, global financial center, shanghai Dishi paradise, shanghai central mansion and the like.
Further, the three-dimensional BIM model is constructed according to the urban geographic information, the urban map is actually displayed in front of a user in a 3D mode, the information is visualized to the greatest extent, the information displayed by a visualization means is displayed in a three-dimensional mode as much as possible, and the visual effect that the text information cannot be transmitted is achieved.
In an embodiment of the present invention, referring to fig. 4, the constructing a three-dimensional BIM model according to the urban geographic information includes:
s41, acquiring text segmentation of the urban geographic information to obtain geographic segmentation;
s42, calculating word frequency of the geographic segmentation by using a preset word frequency calculation formula;
s43, determining geographic segmentation words larger than a preset word frequency as key segmentation words, and searching three-dimensional data associated with the key segmentation words in the urban geographic information;
s44, building a three-dimensional BIM model by using a preset modeling tool according to the three-dimensional data.
Since geographic information of a city is usually spread around a certain keyword, for example, a specific floor area of a certain area, a road trend condition of a certain area, and the like. Therefore, the keyword of the geographic information is determined through word frequency calculation, and information can be supplemented around the keyword, so that an accurate three-dimensional BIM model is built.
In detail, the calculating the word frequency of the geographic word by using a preset word frequency calculation formula includes:
counting the occurrence times of the geographic segmentation words and the total segmentation word number of the urban geographic information;
calculating word frequency of the geographic segmentation by using the following word frequency calculation formula:
wherein ,
word frequency for the geo-word, +.>
For the occurrence number of the geographic segmentation, theOccurrence number of geographical word, ++>
And the total word number of the urban geographic information is obtained.
In detail, the searching the city geographic information for three-dimensional data associated with the keyword includes, but is not limited to, find a find function searching the city geographic information for three-dimensional data about the keyword.
Specifically, the three-dimensional data volume refers to a data volume with three-dimensional space coordinates (x, y, z) as a function of position. In the embodiment of the invention, the three-dimensional data are three-dimensional space coordinates of the total area of the city, three-dimensional space coordinates of the landmark information of each area of the city, and the like.
In detail, the three-dimensional BIM model can be accurately built only by acquiring the three-dimensional data, redundant urban geographic information is displayed in a visual mode, people can see the information at a glance, and meanwhile, an urban information management platform with accurate information and simple and convenient operation can be conveniently built later.
Additionally, the preset modeling tools include, but are not limited to Revit, archcad, rhinoceros, benlty, sketchup, and the like.
In the embodiment of the invention, the three-dimensional BIM model is divided according to the geographic area to obtain the divided three-dimensional BIM model, and because the three-dimensional BIM model is built according to the three-dimensional coordinates of the whole city, the modeling of the whole city is too large and detailed division is needed, so that the city is required to be divided according to units such as county or district, and the three-dimensional BIM model after division is obtained.
In detail, the obtained area names of different geographical areas of the divided three-dimensional BIM model may be named according to the original county or region of the city, or renamed in the three-dimensional BIM model, so as to distinguish different areas of the three-dimensional BIM model.
Specifically, the cost of building the city information management platform can be saved by building the three-dimensional BIM model, the specific information of the city can be displayed in more detail, and the common text and pictures are displayed in front of the eyes of the user by using the three-dimensional BIM model, so that the user can know the city information more accurately and intuitively, and the maintenance of an administrator is facilitated.
S3, calculating the matching degree of the area name and the information label, determining the information label with the largest matching degree with the area name as a label to be transmitted, importing city introduction information corresponding to the label to be transmitted into a three-dimensional BIM model corresponding to the area name to obtain a basic BIM database, and connecting the basic BIM database with the city front end design webpage through a preset interface to obtain a primary information management platform;
because the marking information is usually located in different areas, the area names and the information labels are inevitably matched with each other, so that the information after the information can be connected with the areas after the area labels by calculating the matching degree between the information labels and the area names, and the introduction information is filled into the three-dimensional BIM model corresponding to the area labels.
In the embodiment of the present invention, the calculating the matching degree between the area name and the information tag includes:
calculating the matching degree of the area name and the information label by using the following matching degree calculation formula:
wherein ,
for the degree of matching, +.>
For the area name->
Is the information tag.
In detail, the city introduction information corresponding to the tag to be transmitted is imported into the three-dimensional BIM model corresponding to the area name, so that the three-dimensional BIM model is more detailed and plump, and the city introduction information is more in line with the basic situation of city information.
In the embodiment of the invention, the basic BIM database is connected with the designed webpage at the front end of the city through a preset interface to obtain a primary information management platform;
connecting the basic BIM database with a preset open database interface;
connecting the open database interface with a webpage interface of the urban front-end design webpage;
and determining the connected urban front-end design webpage as a primary information management platform.
In detail, the preset open database interface is an open database connection, abbreviated as ODBC interface, which is a database access interface standard of a Windows environment for solving the problem of data sharing among heterogeneous databases, and is a unified interface provided by heterogeneous database access.
Specifically, the step of connecting the front end and the back end is realized by connecting the basic BIM database with the designed webpage at the front end of the city through a preset interface, a primary information management platform is obtained, and related information of the city can be queried in the primary information management platform.
S4, acquiring information modification suggestions submitted by a user on the primary information management platform, extracting core semantics of the information modification suggestions through a preset semantic extraction model, carrying out information supplementation on the basic BIM database according to the core semantics, and determining the primary information management platform after information supplementation as an urban information management platform.
Specifically, the self-correction capability of the web page is lacking only by connecting the basic BIM database with the designed web page at the front end of the city, and the advantages of quick missing and missing searching in the BIM technology cannot be exerted, so that the user primary information management platform needs to be continuously optimized to pursue a better city information management platform.
In the embodiment of the present invention, the extracting the core semantics of the information modification suggestion through a preset semantics extraction model includes:
converting the information modification suggestion into a vector to obtain a suggestion vector, and encoding the position of the suggestion vector to obtain a position code of the suggestion vector;
analyzing the position codes for a preset number of times by utilizing a self-attention machine module in the semantic extraction model to obtain a primary analysis structure;
and carrying out normalization calculation on the preliminary analysis result to obtain a normalization calculation result, and determining the normalization calculation result as the core semantic of the information modification suggestion.
In detail, the encoding the position of the suggested vector to obtain the position encoding of the suggested vector includes:
encoding the position of the suggested vector using a position encoding function:
wherein ,
representing even character positions in the suggestion vector, +.>
Representing odd character positions in the suggestion vector, +.>
Representing the sequence of positions of the characters in the suggestion vector, +.>
Representing the->
Dimension(s) (i.e.)>
Representing charactersAnd (5) a coding function.
In particular, the semantic extraction model includes, but is not limited to, a bert model, a Transform model, and the like.
Further, the self-attention machine module is used for processing data received by the input end of the model, and solving the problem that a plurality of related inputs cannot be connected. For example, in the embodiment of the present invention, the input suggested vectors have different sizes, and the calculated position codes have different sizes, so that the self-attention machine module can be used to connect the position codes that are not connected to form a network model that is related to each other.
In detail, the basic BIM database is supplemented with information according to the core semantics, for example, the core semantics are to adjust the size of an information model, and then the three-dimensional BIM model is adjusted in the basic BIM database according to the three-dimensional data of specific information provided by the core semantics.
Specifically, the primary information management platform cannot supplement or correct the content in the platform in real time, and the city information is not invariable, so that the primary information management platform needs to be continuously optimized according to the information modification suggestion to obtain the city information management platform.
Furthermore, the city information management platform built based on the BIM foundation not only saves resources, but also can better display specific information of the city, not only can bring clear visual and sensory experience to the user, but also can continuously optimize information modification suggestions of the mobile phone user, and is an efficient, feasible and detailed information management platform.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.