Real-time monitoring model updating method and device, electronic equipment and storage medium
By monitoring and updating vector data changes in real-time monitoring models, the problem of low efficiency in real-time monitoring models in the prior art is solved, and more efficient model updates and data synchronization are achieved.
Patent Information
- Application Number
- CN202510069795.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-13
AI Technical Summary
In the existing real-time monitoring model update solution, after the engineering file data changes, data needs to be re-collected and generated models, resulting in high work repetition and low update efficiency.
By monitoring the changes in vector data in the project files to be surveyed and mapped, the change type identification and vector data change information are generated, and the real-time monitoring model is updated based on this information to ensure that the model is consistent with the project file data.
Reduces the work repetition of real-time monitoring of model updates, improves update efficiency, and enables the model to synchronize changes in time to maintain consistency with project file data.
Smart Images

Figure CN119988394A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of three-dimensional modeling, and in particular to a method, device, electronic device and storage medium for updating a real-time monitoring model. Background Art
[0002] The real-time monitoring model is a dynamic model generated based on technologies such as 3D reconstruction. It is usually consistent with the actual progress of the construction project. It is a three-dimensional, dynamically developing model. Through this real-time monitoring model, the staff can understand the current status of the target more intuitively.
[0003] The above-mentioned real-time monitoring model is usually generated after the corresponding project file is completed by collecting the data in the project file through relevant software, and based on the collected data. However, in the current real-time monitoring model update scheme, if the relevant data in the project file changes, the generated real-time monitoring model cannot be used any more, and it is necessary to re-collect the data in the above-mentioned project file and regenerate the above-mentioned real-time monitoring model.
[0004] It can be seen that the use of the above real-time monitoring model update solution to update the real-time monitoring model has high work duplication and low update efficiency. Summary of the invention
[0005] The main purpose of this application is to propose a real-time monitoring model update method, device, electronic device and storage medium, aiming to reduce the work duplication when updating the real-time monitoring model and improve the update efficiency.
[0006] In a first aspect, the present invention provides a method for updating a real-time monitoring model, comprising:
[0007] Obtain a real-time monitoring model generated according to the engineering file to be surveyed and mapped;
[0008] Monitoring changes in vector data in the engineering file to be surveyed and mapped;
[0009] When the vector data changes, the real-time monitoring model is updated according to the change of the vector data, and the change of the vector data includes: a change type identifier and vector data change information.
[0010] In an optional implementation manner, before monitoring the change of vector data in the engineering file to be surveyed and mapped, the method further includes:
[0011] According to the vector data of the engineering file to be surveyed and the real-time monitoring model, vector index information corresponding to the real-time monitoring model is generated, and the vector index information is used to indicate the position of each vector in the real-time monitoring model.
[0012] In an optional implementation manner, when the change type identifier includes: a vector deletion identifier and a vector modification identifier, updating the real-time monitoring model according to the change of the vector data includes:
[0013] Acquire a changed vector position according to the vector data change information and the vector index information;
[0014] The real-time monitoring model is updated according to the vector data change information and the changed vector position.
[0015] In an optional implementation, the change type identifier includes: when a vector is newly added, the updating of the real-time monitoring model according to the change of the vector data includes:
[0016] The real-time monitoring model is updated according to the change of the vector data and the vector addition identifier.
[0017] In an optional implementation manner, after updating the real-time monitoring model according to the change in the number of vectors, the method further includes:
[0018] The vector index information is updated according to the updated real-time monitoring model.
[0019] In an optional implementation manner, before acquiring the real-time monitoring model generated according to the engineering file to be surveyed and mapped, the method further includes:
[0020] Acquire vector data of the object to be constructed and point cloud data of the object to be constructed by using a preset acquisition algorithm and the engineering file to be surveyed and mapped;
[0021] The real-time monitoring model is generated according to the vector data of the object to be built and the point cloud data of the object to be built.
[0022] In an optional implementation manner, before generating the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built, the method further includes:
[0023] Preprocessing the vector data of the object to be constructed and the point cloud data of the object to be constructed, wherein the preprocessing of the vector data of the object to be constructed includes at least one of the following: screening vector data, interrupting vector data, and classifying vector data, and the preprocessing of the point cloud data of the object to be constructed includes at least one of the following: classifying point cloud data and screening point cloud data;
[0024] The generating the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built comprises:
[0025] The real-time monitoring model is generated according to the preprocessed vector data of the object to be built and the preprocessed point cloud data of the object to be built.
[0026] In a second aspect, the present invention provides a real-time monitoring model updating device, comprising:
[0027] An acquisition module is used to acquire a real-time monitoring model generated according to the engineering file to be surveyed and mapped;
[0028] A monitoring module, used to monitor changes in vector data in the engineering file to be surveyed and mapped;
[0029] The updating module is used to update the real-time monitoring model according to the change of the vector data when the vector data changes. The change of the vector data includes: change type identification and vector data change information.
[0030] In a third aspect, the present invention provides an electronic device comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform a method as described in any of the foregoing embodiments.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, executes the method as described in any of the aforementioned embodiments.
[0032] The beneficial effects of this application are:
[0033] The real-time monitoring model updating method provided in the embodiment of the present application includes: obtaining a real-time monitoring model generated according to the engineering file to be surveyed and mapped; monitoring the change of vector data in the engineering file to be surveyed and mapped; when the vector data changes, updating the real-time monitoring model according to the change of the vector data, wherein the change of the vector data includes: change type identification and vector data change information. The method monitors the engineering file to be surveyed and mapped corresponding to the real-time monitoring model after generating the real-time monitoring model, so that when the vector data in the engineering file to be surveyed and mapped changes, the corresponding change type identification and vector data change information can be generated according to the change of the vector data, and the vector at the corresponding position in the real-time monitoring model can be updated according to the change type identification and vector data change information, so as to ensure that when the vector data in the engineering file to be surveyed and mapped changes, the real-time monitoring model corresponding to the engineering file to be surveyed and mapped can change synchronously to keep consistent with the vector data in the engineering file to be surveyed and mapped, thereby reducing the work duplication when updating the real-time monitoring model and improving the updating efficiency of the real-time monitoring model. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0035] Figure 1 A flowchart of a method for updating a real-time monitoring model provided in an embodiment of the present application;
[0036] Figure 2 A flowchart of a method for updating a real-time monitoring model provided by another embodiment of the present application;
[0037] Figure 3 A flowchart of a method for updating a real-time monitoring model provided by another embodiment of the present application;
[0038] Figure 4 A schematic diagram of the structure of a real-time monitoring model updating device provided in an embodiment of the present application;
[0039] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0041] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0042] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures. The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the statement "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
[0043] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0044] In the current real-time monitoring model application, the update work of the real-time monitoring model is highly repetitive and the update efficiency is low. Based on this, the main purpose of this application is to propose a real-time monitoring model update method, which aims to reduce the work repetition when updating the real-time monitoring model and improve the update efficiency of the real-time monitoring model.
[0045] Figure 1 The following is a flow chart of a method for updating a real-time monitoring model provided in an embodiment of the present application. The execution subject of the method may be, for example, a computer or other device with computing and processing functions, but is not limited thereto. Figure 1 As shown, the method may include:
[0046] S101, obtaining a real-time monitoring model generated according to the engineering file to be surveyed and mapped.
[0047] Exemplarily, the above-mentioned engineering file to be surveyed may include vector data, point cloud data and other data of the object to be built (such as a building, etc.), and the above-mentioned real-time monitoring model may be generated based on the vector data, point cloud data and other data from the above-mentioned engineering file to be surveyed.
[0048] The above-mentioned vector data, point cloud data and other data can be collected and acquired from the above-mentioned engineering files to be surveyed and mapped by, for example, a preset acquisition algorithm, acquisition program or acquisition software, and the collected vector data and point cloud data can be stored in, for example, a preset three-dimensional rectangular coordinate system, wherein each of the above-mentioned vector data can be represented by the coordinates of the two endpoints of the line segment corresponding to the vector data. For example, a certain vector data can be represented as (1,1,1)-(2,3,4), that is, the coordinates of the two endpoints of the line segment corresponding to the vector data in the above-mentioned preset three-dimensional rectangular coordinate system are (1,1,1) and (2,3,4), respectively. The line segment formed by connecting the two points in the three-dimensional rectangular coordinate system is the vector represented by the vector data. Each of the above-mentioned point cloud data can be directly represented by coordinates in a three-dimensional rectangular coordinate system, for example, a certain point cloud data can be represented as (2,3,7). After collecting and acquiring the above-mentioned vector data, point cloud data and other data, the above-mentioned real-time monitoring model can be generated according to the above-mentioned vector data, point cloud data and other data through a preset modeling algorithm, modeling program or modeling software, and the real-time monitoring model can also be stored in the above-mentioned preset three-dimensional rectangular coordinate system. It can be understood that the above-mentioned storage and representation methods of vector data, point cloud data and other data and the generated real-time monitoring model are only examples. The specific storage and representation methods of vector data, point cloud data and other data and the generated real-time monitoring model can be selected and determined according to actual conditions, and are not limited to the above-mentioned contents.
[0049] The above-mentioned preset acquisition algorithm, acquisition program or acquisition software etc. acquires the above-mentioned vector data, point cloud data and other data from the above-mentioned engineering file to be surveyed and mapped, for example, it may refer to acquiring all the vector data, point cloud data and other data from the above-mentioned engineering file to be surveyed and mapped. The above-mentioned preset acquisition algorithm, acquisition program or acquisition software etc. acquires the above-mentioned vector data, point cloud data and other data from the above-mentioned engineering file to be surveyed and mapped, and it may also refer to acquiring the vector data, point cloud data and other data of the specified area, specified part or specified object to be built in the above-mentioned engineering file to be surveyed and mapped, and the above-mentioned specified area, specified part or specified object to be built may be selected by the user, for example.
[0050] After the above-mentioned preset acquisition algorithm, acquisition program or acquisition software acquires the above-mentioned vector data, point cloud data and other data from the above-mentioned engineering files to be surveyed and mapped, the vector data, point cloud data and other data can also be pre-processed including but not limited to classification, noise reduction and the like.
[0051] Of course, the above contents are only possible examples. What data and information are specifically included in the above-mentioned engineering files to be surveyed and mapped, what data are specifically used to generate the above-mentioned real-time monitoring model, how the above-mentioned vector data, point cloud data and other data are specifically collected and acquired, what data pre-processing functions the above-mentioned preset collection algorithm, collection program or collection software specifically has, etc., can all be selected and determined based on actual conditions and are not limited to the above-mentioned contents.
[0052] S102, monitoring the changes of vector data in the above-mentioned engineering file to be surveyed and mapped.
[0053] Exemplarily, the above-mentioned monitoring of changes in vector data in the above-mentioned engineering file to be surveyed and mapped can be achieved, for example, by means of a monitoring algorithm, a monitoring program or a monitoring software, etc. The above-mentioned monitoring algorithm, the monitoring program or the monitoring software, etc. can, for example, monitor the data and information content in the above-mentioned engineering file to be surveyed and mapped. When the data and information content in the above-mentioned engineering file to be surveyed and mapped changes, the above-mentioned monitoring algorithm, the monitoring program or the monitoring software can detect whether the changed data and information content include the above-mentioned vector data.
[0054] The above-mentioned monitoring algorithms, monitoring programs or monitoring software, for example, can also only monitor the vector data in the above-mentioned engineering files to be surveyed. Of course, the above-mentioned contents are only possible examples. The specific contents monitored by the above-mentioned monitoring algorithms, monitoring programs or monitoring software can be selected and determined according to actual conditions and are not limited to the above-mentioned contents.
[0055] The above-mentioned monitoring algorithms, monitoring programs or monitoring software can monitor the changes in vector data in the above-mentioned engineering files to be surveyed periodically, for example, once every 10 minutes, once every 30 minutes, etc., or can be real-time. Under normal circumstances, real-time monitoring can monitor the changes in vector data in the above-mentioned engineering files to be surveyed more timely than periodic monitoring. Of course, the above content is only a possible example. The frequency of monitoring the changes in vector data in the above-mentioned engineering files to be surveyed by the above-mentioned monitoring algorithms, monitoring programs or monitoring software can be adjusted and determined according to actual conditions, and is not limited here.
[0056] S103: When the vector data changes, the real-time monitoring model is updated according to the change of the vector data. The change of the vector data includes: a change type identifier and vector data change information.
[0057] Exemplarily, when the above-mentioned vector data changes, updating the above-mentioned real-time monitoring model according to the change of the above-mentioned vector data may, for example, refer to when the above-mentioned monitoring algorithm, monitoring program or monitoring software monitors the change of vector data in the above-mentioned engineering file to be surveyed and mapped, generating signals such as the above-mentioned change type identification, vector data change information, etc. The above-mentioned change type identification may, for example, be used to indicate the type of vector data change in the engineering file to be surveyed and mapped monitored this time, and may, for example, include vector data addition, vector data deletion, vector data modification, etc. The above-mentioned vector data change information may, for example, be used to indicate the vector object to be modified and the corresponding modification data, etc., or to indicate the vector object to be added and the corresponding vector data, etc., or to indicate the vector object to be deleted. It can be understood that the above-mentioned change type identification and the vector data change information may correspond one to one.
[0058] The above-mentioned change type identification, vector data change information and other signals can be sent to the above-mentioned preset modeling algorithm, modeling program or modeling software, etc. After receiving the above-mentioned change type identification, vector data change information and other signals, the above-mentioned preset modeling algorithm, modeling program or modeling software, etc. can perform, for example, the above-mentioned vector data addition, vector data deletion, vector data modification, etc. according to the above-mentioned change type identification, vector data change information and other signals.
[0059] Of course, the above contents are only possible examples. When the above vector data changes, how to update the above real-time monitoring model according to the changes in the above vector data can be determined based on actual conditions and is not limited to the above contents.
[0060] The updating method of the real-time monitoring model provided in the embodiment of the present application includes: obtaining a real-time monitoring model generated according to the engineering file to be surveyed and mapped. Monitoring the changes of the vector data in the engineering file to be surveyed and mapped. When the vector data changes, the real-time monitoring model is updated according to the changes of the vector data, and the changes of the vector data include: change type identification and vector data change information. The method monitors the engineering file to be surveyed and mapped corresponding to the real-time monitoring model after generating the real-time monitoring model, so that when the vector data in the engineering file to be surveyed and mapped changes, the corresponding change type identification and vector data change information can be generated according to the change of the vector data, and the vector at the corresponding position in the real-time monitoring model can be updated according to the change type identification and vector data change information, so as to ensure that when the vector data in the engineering file to be surveyed and mapped changes, the real-time monitoring model corresponding to the engineering file to be surveyed and mapped can change synchronously to keep consistent with the vector data in the engineering file to be surveyed and mapped, thereby reducing the work duplication when updating the real-time monitoring model and improving the updating efficiency of the real-time monitoring model.
[0061] In addition, in the above Figure 1 Based on the embodiment, before monitoring the change of the vector data in the engineering file to be surveyed, the method may further include:
[0062] According to the vector data of the engineering file to be surveyed and the real-time monitoring model, vector index information corresponding to the real-time monitoring model is generated, and the vector index information is used to indicate the position of each vector in the real-time monitoring model.
[0063] Exemplarily, the above-mentioned vector index information can be stored in a table form such as in Table 1. Please refer to Table 1. The table can include at least three columns. The first column can store vector names or vector numbers, such as the first vector, the second vector, the third vector, or 1, 2, 3, etc., which are not limited here. The second column and the third column can store the coordinates of the two endpoints of the vector in the above-mentioned preset three-dimensional rectangular coordinate system, respectively. Figure 1 In the example of the embodiment, for example, for the first vector (1,1,1)-(2,3,4), the corresponding second column and third column, for example, can store the above two coordinates (1,1,1) and (2,3,4) respectively.
[0064] Table 1
[0065] Vector Name or Vector Number One end point coordinate The other end point coordinates First Vector (1,1,1) (2,3,4) Second vector (1,2,7) (3,5,4) …… …… ……
[0066] According to Table 1 above, each vector of the above real-time monitoring model can be stored corresponding to a row in Table 1 above, and the specific number of rows in Table 1 above, that is, the number of stored vectors, is the same as the number of vectors of the corresponding real-time monitoring model.
[0067] Optionally, the above table may also include a fourth column and a fifth column. The fourth column may, for example, store the midpoint coordinates of the corresponding vector, and the fifth column may, for example, store the length of the corresponding vector, etc. In this way, through the above-mentioned vector index information, not only can each vector be quickly located in the above-mentioned preset three-dimensional rectangular coordinate system, but also relevant information such as the midpoint and length of the corresponding vector can be quickly obtained.
[0068] Of course, the above contents are only possible examples. The specific form in which the above vector index information is stored, the specific number of columns that the above table may contain, and the specific information stored in each column, etc., can all be adjusted and determined according to actual conditions and are not limited to the above contents.
[0069] Figure 2 A flowchart of a method for updating a real-time monitoring model provided by another embodiment of the present application is shown in FIG. Figure 2 Optionally, based on the above embodiment, the above change type identifier may include, for example: a vector deletion identifier and a vector modification identifier. At this time, updating the above real-time monitoring model according to the change of the above vector data may include:
[0070] S201. Obtain a changed vector position according to the vector data change information and the vector index information.
[0071] Continuing with the examples in the above embodiment, the above vector data change information can be used to indicate the vector object to be modified and the corresponding modification data, etc., or to indicate the vector object to be deleted. When the above vector data change information is used to indicate the vector object to be modified and the corresponding modification data, etc., the vector data change information can indicate that the type of this vector data change is the above vector data modification, and correspondingly, the above change type identifier can be, for example, the above vector modification identifier. When the above vector data change information is used to indicate the vector object to be deleted, the vector data change information can indicate that the type of this vector data change is the above vector data deletion, and correspondingly, the above change type identifier can be, for example, the above vector deletion identifier.
[0072] The above-mentioned indication of the vector object to be modified or the indication of the vector object to be deleted can be achieved, for example, by indicating the vector name or vector number in the above-mentioned vector index information. For example, the above-mentioned vector data change information can, for example, indicate that the vector object to be modified is the first vector in Table 1, or indicate that the vector object to be deleted is the second vector in Table 1, etc., but is not limited to this.
[0073] The above-mentioned obtaining of the changed vector position according to the above-mentioned vector data change information and the above-mentioned vector index information may, for example, refer to traversing and searching the vector object to be modified or the vector object to be deleted indicated by the above-mentioned vector data change information in, for example, Table 1 corresponding to the above-mentioned vector index information until the corresponding vector name or vector number is retrieved, and then obtaining the coordinates of the two endpoints corresponding to the vector name or vector number. The coordinates of the two endpoints corresponding to the vector name or vector number may indicate the changed vector position in the above-mentioned real-time monitoring model.
[0074] Of course, the above contents are only possible examples. How the above vector data change information specifically indicates the vector object to be modified and how the above changed vector position is specifically obtained can all be selected and determined according to actual conditions and are not limited to the above contents.
[0075] S202: Update the real-time monitoring model according to the vector data change information and the changed vector position.
[0076] Continuing with Table 1 as an example, the modification data corresponding to the above-mentioned vector object to be modified can, for example, be represented by the coordinates of the two endpoints of the vector object after modification in the above-mentioned preset three-dimensional rectangular coordinate system. For example, for example, the vector object to be modified indicated by the above-mentioned vector data change information is the first vector in Table 1, and the modification data corresponding to the vector object to be modified indicated by the above-mentioned vector data change information is (1,1,2)-(2,3,4), then the first vector in the corresponding real-time monitoring model can be modified to a vector represented by (1,1,2)-(2,3,4).
[0077] The vector object to be deleted may have no corresponding data. For example, if the vector object to be deleted indicated by the vector data change information is the second vector in Table 1, the corresponding second vector in the real-time monitoring model may be directly deleted.
[0078] Of course, the above contents are only possible examples. How to update the above real-time monitoring model according to the above vector data change information and the above changed vector positions can be selected and determined according to actual conditions and is not limited to the above contents.
[0079] The real-time monitoring model updating method provided in the embodiment of the present application includes: obtaining the changed vector position according to the above-mentioned vector data change information and the above-mentioned vector index information. According to the above-mentioned vector data change information and the above-mentioned changed vector position, updating the above-mentioned real-time monitoring model. The method uses the vector name or vector number of the vector object indicated by the vector data change information to traverse and retrieve the coordinates of the two end points corresponding to the vector name or vector number in the above-mentioned vector index information, thereby achieving the acquisition of the changed vector position, and then modifying or deleting the vector of the above-mentioned changed vector position in the real-time monitoring model according to the vector data change information and the acquired above-mentioned changed vector position, thereby improving the positioning speed of the vector object to be modified or the vector object to be deleted and supporting the individual modification of each vector in the real-time monitoring model, thereby reducing the workload of updating the real-time monitoring model and improving the updating efficiency of the real-time monitoring model.
[0080] In addition, based on the above embodiment, the change type identifier may include, for example: a vector addition identifier. In this case, updating the real-time monitoring model according to the change of the vector data may include:
[0081] The real-time monitoring model is updated according to the changes in the vector data and the vector addition mark.
[0082] Continuing with the examples in the above embodiment, the above vector data change information can be used to indicate the vector object to be added and the corresponding new data, etc. The vector data change information can indicate that the type of this vector data change is the above vector data addition, and correspondingly, the above change type identifier can be, for example, the above vector addition identifier.
[0083] Since the vector object to be added indicated by the vector data change information is not stored in the above-mentioned vector index information, when the above-mentioned change type is identified as a vector addition identifier, it is not necessary to traverse and search in the above-mentioned vector index information, but directly add a vector in the corresponding real-time monitoring model according to the new data corresponding to the vector object to be added indicated by the above-mentioned vector data change information. The new data corresponding to the above-mentioned vector object to be added can, for example, be represented by the coordinates of the two endpoints of the vector object after addition in the above-mentioned preset three-dimensional rectangular coordinate system, such as (2,2,1)-(4,5,6). Then, a vector with two endpoints (2,2,1) and (4,5,6) can be added to the corresponding real-time monitoring model.
[0084] Further, based on the above embodiment, after updating the above real-time monitoring model according to the change of the above vector quantity, the above method may further include:
[0085] The vector index information is updated according to the updated real-time monitoring model.
[0086] For example, taking the above-mentioned vector index information stored in the form of a table such as in Table 1 as an example, if a vector object to be modified indicated by a vector data change information is the first vector in Table 1, and the modified data corresponding to the vector object to be modified indicated by the above-mentioned vector data change information is (1,1,2)-(2,3,4), then the first vector in the corresponding real-time monitoring model can be modified to a vector represented by (1,1,2)-(2,3,4), and then the vector index information in Table 1 is further updated. The updated vector index information can be shown in Table 2:
[0087] Table 2
[0088] Vector Name or Vector Number One end point coordinate The other end point coordinates First Vector (1,1,2) (2,3,4) Second vector (1,2,7) (3,5,4) …… …… ……
[0089] It can be seen from Table 2 that the coordinates of an endpoint corresponding to the first vector are updated from (1,1,1) to (1,1,2).
[0090] On the basis of the above, if the vector object to be deleted indicated by another vector data change information is the second vector in Table 1, the second vector in the corresponding real-time monitoring model can be directly deleted, and the vector index information in Table 2 can be further updated. The updated vector index information can be shown in Table 3:
[0091] Table 3
[0092] Vector Name or Vector Number One end point coordinate The other end point coordinates First Vector (1,1,2) (2,3,4) The third vector (5,1,1) (6,4,7) …… …… ……
[0093] It can be seen from Table 3 that the second vector in Table 2 is deleted.
[0094] On the basis of the above, if the new data corresponding to the vector object to be added indicated by another vector data change information is (2,2,1)-(4,5,6), then two vectors with endpoints (2,2,1) and (4,5,6) can be added to the corresponding real-time monitoring model, and the vector index information in Table 3 can be further updated. The vector name or vector number of the vector object to be added can be added on the basis of the existing vector name or vector number in Table 3. Assuming that there are 17 vectors in Table 3 above, the vector name of the newly added vector object can be, for example, the eighteenth vector, and the updated vector index information can be as shown in Table 4:
[0095] Table 4
[0096] Vector Name or Vector Number One end point coordinate The other end point coordinates First Vector (1,1,2) (2,3,4) The third vector (5,1,1) (6,4,7) …… …… …… Eighteenth Vector (2,2,1) (4,5,6)
[0097] It can be seen from Table 4 that, based on the 17 vectors in Table 3, Table 4 adds an eighteenth vector.
[0098] Of course, the above contents are only possible examples. How to update the above vector index information according to the updated real-time monitoring model can be determined according to actual conditions and is not limited to the above contents.
[0099] Figure 3 A flowchart of a method for updating a real-time monitoring model provided by another embodiment of the present application is shown in FIG. Figure 3 As shown in the above Figure 1 Based on the embodiment, before obtaining the real-time monitoring model generated according to the engineering file to be surveyed, the method may further include:
[0100] S301, acquiring vector data and point cloud data of the object to be constructed by using a preset acquisition algorithm and the above-mentioned engineering file to be surveyed.
[0101] Exemplarily, the above-mentioned acquisition of the vector data of the object to be built and the point cloud data of the object to be built by the preset acquisition algorithm and the above-mentioned engineering file to be surveyed and mapped may, for example, refer to the acquisition of the vector data of the object to be built and the point cloud data of the object to be built in the above-mentioned engineering file to be surveyed and mapped by the preset acquisition algorithm. The acquisition of the vector data of the object to be built and the point cloud data of the object to be built in the above-mentioned engineering file to be surveyed and mapped by the preset acquisition algorithm may be specifically implemented by, for example, data reading, computer vision scanning, etc., but is not limited thereto, and Figure 1The examples in the embodiments are similar. After acquiring the vector data and point cloud data of the object to be constructed through the preset acquisition algorithm and the above-mentioned engineering file to be surveyed, they can be stored in, for example, the above-mentioned preset three-dimensional rectangular coordinate system, wherein each of the above-mentioned vector data can be represented by the coordinates of the two end points of the line segment corresponding to the vector data, for example, a certain vector data can be represented as (1,1,1)-(2,3,4), that is, the coordinates of the two end points of the line segment corresponding to the vector data in the above-mentioned preset three-dimensional rectangular coordinate system are (1,1,1) and (2,3,4), respectively, and the line segment formed by connecting the two points in the three-dimensional rectangular coordinate system is the vector represented by the vector data. Each of the above-mentioned point cloud data can be directly represented by the coordinates in the three-dimensional rectangular coordinate system, for example, a certain point cloud data can be represented as (2,3,7).
[0102] Of course, the specific way in which the vector data of the object to be constructed and the point cloud data of the object to be constructed are acquired through the preset acquisition algorithm and the above-mentioned engineering file to be surveyed and mapped, and how the acquired vector data of the object to be constructed and the point cloud data of the object to be constructed are stored, etc., can be selected and determined according to the actual situation, and are not limited to the above content.
[0103] S302: Generate the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built.
[0104] Exemplarily, the real-time monitoring model is generated according to the vector data of the object to be constructed and the point cloud data of the object to be constructed, and this can be realized, for example, by a preset modeling algorithm, a modeling program or a modeling software, and the real-time monitoring model generated by the preset modeling algorithm, a modeling program or a modeling software, for example, can also be stored in the preset three-dimensional rectangular coordinate system, and the real-time monitoring model generated by the preset modeling algorithm, a modeling program or a modeling software, for example, can include adjusting the vector data of the object to be constructed according to the point cloud data of the object to be constructed, combining the vectors corresponding to the vector data of the object to be constructed, and filling and rendering the structure such as a frame formed by combining the vectors corresponding to the vector data of the object to be constructed, and no specific limitation is made here.
[0105] The method for updating the real-time monitoring model provided in the embodiment of the present application includes: acquiring the vector data of the object to be built and the point cloud data of the object to be built through a preset acquisition algorithm and the above-mentioned engineering file to be surveyed. The above-mentioned real-time monitoring model is generated according to the above-mentioned vector data of the object to be built and the above-mentioned point cloud data of the object to be built. This method generates a real-time monitoring model mainly based on the vector data of the object to be built and supplemented by the point cloud data of the object to be built by acquiring the vector data of the object to be built and the point cloud data of the object to be built, thereby improving the generation accuracy of the real-time monitoring model.
[0106] Further, based on the above embodiment, before generating the above real-time monitoring model according to the above vector data of the object to be built and the above point cloud data of the object to be built, the above method may further include:
[0107] The vector data of the object to be constructed and the point cloud data of the object to be constructed are preprocessed, wherein the preprocessing of the vector data of the object to be constructed includes at least one of the following: filtering vector data, interrupting vector data, and classifying vector data, and the preprocessing of the point cloud data of the object to be constructed includes at least one of the following: classifying point cloud data and filtering point cloud data.
[0108] Exemplarily, the above-mentioned screening of vector data may refer to screening out vector data with certain conditions according to preset rules, and the vector data may include two-dimensional line and surface information, for example.
[0109] Since the structure of the objects to be built, such as buildings, is usually complex, the above-mentioned vector data can be interrupted, that is, the above-mentioned interrupted vector data. The interruption processing can, for example, refer to restoring the two-dimensional line and surface information contained in the vector data into basic line segments, and interrupting the positions where the line segments intersect, to ensure that all line segments are non-intersecting and connected.
[0110] Furthermore, after breaking up the vector data, a data structure such as a quadtree can be constructed to classify the line segments belonging to the same object to be built, so as to determine that the line segments belonging to the same object to be built can all constitute a plane, and finally form a complete structure of the object to be built such as a building.
[0111] Of course, the above contents are only possible examples. The specific method of preprocessing the vector data of the above objects to be constructed can be selected and determined according to the actual situation and is not limited to the above contents.
[0112] The above-mentioned classified point cloud data, for example, may refer to the use of a filtering algorithm based on an irregular triangulated network (TIN, Triangulated Irregular Network) to distinguish ground points and non-ground points in the point cloud data of the above-mentioned object to be constructed. Exemplarily, the filtering algorithm based on the irregular triangulated network can distinguish ground points and non-ground points in the point cloud data of the above-mentioned object to be constructed. For example, a coarse-scale TIN network surface can be established according to preliminary ground points determined according to preset rules, and the vertical distance and position relationship between the remaining points and the above-mentioned TIN network surface can be determined one by one. When the vertical distance between the remaining points and the above-mentioned TIN network surface is less than a preset value, the point is included in the above-mentioned preliminary ground point and the above-mentioned TIN network surface is re-established until all points are judged. At this time, the points contained in the TIN network surface finally established can be ground points, and the remaining points can be non-ground points. Then, using the vertical distribution characteristics of the point cloud data, the above-mentioned non-ground points and the ground surface (that is, the TIN network surface established by the above-mentioned ground points) are subjected to vertical height difference analysis, and then the non-ground points are divided into, for example, building points and other types of laser echo points using methods such as the elevation threshold method.
[0113] The above-mentioned screening of point cloud data may, for example, refer to the use of constructing a data structure such as a kd tree structure to eliminate noise points such as vegetation points in the above-mentioned building points, so as to obtain real building points.
[0114] Of course, the above contents are only possible examples. The specific method of preprocessing the point cloud data of the above-mentioned object to be constructed can be selected and determined according to the actual situation and is not limited to the above contents.
[0115] On this basis, generating the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built may include:
[0116] The real-time monitoring model is generated according to the pre-processed vector data of the object to be built and the pre-processed point cloud data of the object to be built.
[0117] Figure 4 The present invention provides a schematic diagram of a real-time monitoring model updating device according to an embodiment of the present invention. The real-time monitoring model updating device can execute the real-time monitoring model updating method described above. The device can be integrated into a device having computing processing capabilities such as the computer described above. Figure 4 As shown, the device comprises:
[0118] The acquisition module 410 is used to acquire the real-time monitoring model generated according to the engineering file to be surveyed and mapped.
[0119] The monitoring module 420 is used to monitor the changes of the vector data in the above-mentioned engineering file to be surveyed and mapped.
[0120] The updating module 430 is used to update the real-time monitoring model according to the change of the vector data when the vector data changes. The change of the vector data includes: change type identification and vector data change information.
[0121] The updating method of the real-time monitoring model provided in the embodiment of the present application includes: obtaining a real-time monitoring model generated according to the engineering file to be surveyed and mapped. Monitoring the changes of the vector data in the engineering file to be surveyed and mapped. When the vector data changes, the real-time monitoring model is updated according to the changes of the vector data, and the changes of the vector data include: change type identification and vector data change information. The method monitors the engineering file to be surveyed and mapped corresponding to the real-time monitoring model after generating the real-time monitoring model, so that when the vector data in the engineering file to be surveyed and mapped changes, the corresponding change type identification and vector data change information can be generated according to the change of the vector data, and the vector at the corresponding position in the real-time monitoring model can be updated according to the change type identification and vector data change information, so as to ensure that when the vector data in the engineering file to be surveyed and mapped changes, the real-time monitoring model corresponding to the engineering file to be surveyed and mapped can change synchronously to keep consistent with the vector data in the engineering file to be surveyed and mapped, thereby reducing the work duplication when updating the real-time monitoring model and improving the updating efficiency of the real-time monitoring model.
[0122] Optionally, the above-mentioned device may also include: a generating module, used to generate vector index information corresponding to the above-mentioned real-time monitoring model according to the vector data of the above-mentioned engineering file to be surveyed and the above-mentioned real-time monitoring model, and the above-mentioned vector index information is used to indicate the position of each vector in the real-time monitoring model.
[0123] Optionally, when the change type identifier includes: a vector deletion identifier and a vector modification identifier, the update module 430 can be specifically used to obtain the changed vector position according to the vector data change information and the vector index information, and update the real-time monitoring model according to the vector data change information and the changed vector position.
[0124] Optionally, when the change type identifier includes: a vector deletion identifier and a vector modification identifier, the update module 430 may be specifically configured to update the real-time monitoring model according to the change of the vector data and the vector addition identifier.
[0125] Optionally, the updating module 430 may also be configured to update the vector index information according to the updated real-time monitoring model.
[0126] Optionally, the device may further include: a processing module for preprocessing the vector data of the object to be constructed and the point cloud data of the object to be constructed, wherein the preprocessing of the vector data of the object to be constructed includes at least one of the following: screening vector data, interrupting vector data, and classifying vector data, and the preprocessing of the point cloud data of the object to be constructed includes at least one of the following: classifying point cloud data and screening point cloud data. The generation module is specifically used to generate the real-time monitoring model according to the preprocessed vector data of the object to be constructed and the preprocessed point cloud data of the object to be constructed.
[0127] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0128] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device may be a device having computing and processing capabilities as described above. Figure 5 As shown, the device 500 includes:
[0129] Processor 510 , storage medium 520 and bus 530 . Processor 510 and storage medium 520 are communicatively connected via bus 530 .
[0130] The storage medium 520 stores machine-readable instructions executable by the processor 510. When the electronic device is running, the processor 510 executes the machine-readable instructions to perform the real-time monitoring model update method.
[0131] It should be understood that Figure 5 The structure shown is only a schematic diagram of the structure of the electronic device. The electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0132] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program can be executed by a processor, the real-time monitoring model updating method described in the above method embodiment is implemented.
[0133] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes that execute any of the method steps in the above method. These program codes may be read from or written to one or more computer program products. The program code may be compressed, for example, in an appropriate form.
[0134] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0135] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0136] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0137] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A real-time monitoring model updating method, characterized in that: include: Obtain a real-time monitoring model generated according to the engineering file to be surveyed and mapped; Monitoring changes in vector data in the engineering file to be surveyed and mapped; When the vector data changes, the real-time monitoring model is updated according to the change of the vector data, and the change of the vector data includes: a change type identifier and vector data change information.
2. The method according to claim 1, characterized in that: Before monitoring the change of vector data in the engineering file to be surveyed and mapped, the method further includes: According to the vector data of the engineering file to be surveyed and the real-time monitoring model, vector index information corresponding to the real-time monitoring model is generated, and the vector index information is used to indicate the position of each vector in the real-time monitoring model.
3. The method according to claim 2, characterized in that When the change type identifier includes: a vector deletion identifier and a vector modification identifier, updating the real-time monitoring model according to the change of the vector data includes: Acquire a changed vector position according to the vector data change information and the vector index information; The real-time monitoring model is updated according to the vector data change information and the changed vector position.
4. The method according to claim 2, characterized in that: The change type identifier includes: when a vector is newly added with an identifier, updating the real-time monitoring model according to the change of the vector data includes: The real-time monitoring model is updated according to the change of the vector data and the vector addition identifier.
5. The method according to claim 3 or 4, characterized in that: After updating the real-time monitoring model according to the change in the number of vectors, the method further includes: The vector index information is updated according to the updated real-time monitoring model.
6. The method according to claim 1, characterized in that Before obtaining the real-time monitoring model generated according to the engineering file to be surveyed and mapped, the method further includes: Acquire vector data of the object to be constructed and point cloud data of the object to be constructed by using a preset acquisition algorithm and the engineering file to be surveyed and mapped; The real-time monitoring model is generated according to the vector data of the object to be built and the point cloud data of the object to be built.
7. The method according to claim 6, characterized in that Before generating the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built, the method further includes: Preprocessing the vector data of the object to be constructed and the point cloud data of the object to be constructed, wherein the preprocessing of the vector data of the object to be constructed includes at least one of the following: screening vector data, interrupting vector data, and classifying vector data, and the preprocessing of the point cloud data of the object to be constructed includes at least one of the following: classifying point cloud data and screening point cloud data; The generating the real-time monitoring model according to the vector data of the object to be built and the point cloud data of the object to be built comprises: The real-time monitoring model is generated according to the preprocessed vector data of the object to be built and the preprocessed point cloud data of the object to be built.
8. A real-time monitoring model updating device, characterized in that: include: An acquisition module is used to acquire a real-time monitoring model generated according to the engineering file to be surveyed and mapped; A monitoring module, used to monitor changes in vector data in the engineering file to be surveyed and mapped; The updating module is used to update the real-time monitoring model according to the change of the vector data when the vector data changes. The change of the vector data includes: change type identification and vector data change information.
9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is executed.