Editing and updating method and system of three-dimensional city model

文档序号:192807 发布日期:2021-11-02 浏览:28次 中文

阅读说明:本技术 三维城市模型的编辑更新方法及系统 (Editing and updating method and system of three-dimensional city model ) 是由 刘俊伟 于 2021-07-20 设计创作,主要内容包括:本发明公开了一种三维城市模型的编辑更新方法及系统。其中,该方法包括:接收云终端发送的创建或修改模型单元的编辑指令,其中,云终端为多个,模型单元为三维城市模型的构成部分的模型;调用编辑标准,根据编辑指令对三维城市模型的模型单元进行编辑,生成编辑模型单元,以及编辑模型单元的外观图像;将编辑模型单元与三维城市模型的其他的模型单元进行合并,更新三维城市模型;将外观图像与更新后的三维城市模型的外观图像进行合并,生成更新后的三位城市模型的更新图像,其中,更新图像包括编辑模型单元的外观图像。本发明解决了现有技术中由一方采集城市数据,生成城市模型的方式,不仅效率低,准确性差的技术问题。(The invention discloses a method and a system for editing and updating a three-dimensional city model. Wherein, the method comprises the following steps: receiving editing instructions for creating or modifying model units sent by a plurality of cloud terminals, wherein the model units are models of components of a three-dimensional city model; calling an editing standard, editing the model unit of the three-dimensional city model according to an editing instruction, generating an editing model unit and an appearance image of the editing model unit; merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model; and combining the appearance image with the appearance image of the updated three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit. The invention solves the technical problems of low efficiency and poor accuracy of a mode of collecting city data and generating a city model by one party in the prior art.)

1. An editing and updating method for a three-dimensional city model is characterized by comprising the following steps:

receiving editing instructions for creating or modifying model units sent by a plurality of cloud terminals, wherein the model units are models of components of a three-dimensional city model;

calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating an editing model unit and an appearance image of the editing model unit;

merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model;

and combining the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit.

2. The method according to claim 1, wherein receiving an edit instruction sent by the cloud terminal to create or modify the model unit comprises:

carrying out security verification on the cloud terminals, and establishing association relations with the plurality of cloud terminals under the condition that the security verification is passed;

carrying out authority verification on the cloud terminal, and determining the editing authority of the cloud terminal;

receiving an editing instruction sent by the cloud terminal;

verifying the editing instruction according to the editing authority;

receiving the editing instruction when the editing operation corresponding to the editing instruction is within the editing authority;

and under the condition that the partial editing operation of the editing instruction exceeds the editing authority, receiving the editing operation which meets the editing authority in the editing instruction, and sending prompt information that the partial editing operation of the editing instruction exceeds the editing authority, wherein the editing authority comprises one or more editing operations.

3. The method of claim 2, wherein before invoking an editing criterion, editing a model element of the three-dimensional city model according to the editing instruction, and generating the model element and an appearance image of the model element, further comprising:

generating an edit criterion of a model unit of the three-dimensional city model according to parameter requirements of the three-dimensional city model, wherein the parameter requirements include at least one of: the method comprises the following steps of (1) requiring size precision, position precision, image precision, standard component and proportion of a model and a real object; the editing standard is editing operation according to the parameter requirement;

establishing a standard list according to the editing standard and the type of editing operation;

and storing the standard list in the cloud.

4. The method of claim 3, wherein invoking an editing criterion, editing a model element of the three-dimensional city model according to the editing instruction, generating the model element, and wherein the appearance image of the model element comprises:

reading parameter information of a model unit of the three-dimensional city model, wherein the parameter information comprises a position range, self attribute information and an associated model unit;

calling a corresponding editing standard according to the editing operation of the editing instruction, and editing the parameter information;

generating the edited parameter information into the editing model unit;

and generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model.

5. The method of claim 4, wherein generating the edited parameter information into the editing model unit comprises:

generating a structure model corresponding to the editing model unit according to self attribute information of the edited parameter information, wherein the self attribute information comprises shape, structure, size and proportion;

adding a position range for the structural model according to the position range of the edited parameter information, and determining the position coordinates of the feature points of the structural model;

and determining the association structure between the structure model and the associated model unit according to the edited associated model unit, and generating the edited model unit.

6. The method of claim 5, wherein merging the edited model element with other model elements of the three-dimensional city model, updating the three-dimensional city model comprises:

determining the position of the editing model unit in the three-dimensional city model according to the position coordinates of the characteristic points of the editing model unit;

merging the editing model unit into the three-dimensional city model according to the association structure of the editing model unit, and determining and displaying the merged three-dimensional city model;

receiving an adjusting instruction of the combined three-dimensional city model, and adjusting the combined three-dimensional city model;

and receiving an updating instruction for updating the adjusted and combined three-dimensional city model, and updating the three-dimensional city model.

7. The method of claim 5, wherein generating an appearance image of the editing model unit according to the appearance settings of the three-dimensional city model comprises:

generating an appearance image of the editing model unit according to appearance setting of the three-dimensional city model and position coordinates of characteristic points of units of the editing model, wherein the appearance setting comprises an image visual angle, an image proportion and an image attribute;

merging the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the step of merging the appearance image with the updated appearance image of the three-dimensional city model comprises the following steps:

merging the appearance image with the appearance image of the three-dimensional city model before updating to generate a merged image of the updated three-dimensional city model;

correcting the merged image according to the updated three-dimensional city model to generate an updated image;

further comprising:

displaying the updated image;

receiving a modification instruction of the appearance setting, and modifying the appearance setting;

and regenerating and displaying the updated image according to the modified appearance setting.

8. An editing and updating system for a three-dimensional city model, comprising:

the system comprises a receiving module, a model creating module and a model modifying module, wherein the receiving module is used for receiving editing instructions of creating or modifying model units sent by a plurality of cloud terminals, and the model units are models of components of a three-dimensional city model;

the editing module is used for calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating an editing model unit and an appearance image of the editing model unit;

the merging module is used for merging the editing model unit with other model units of the three-dimensional city model and updating the three-dimensional city model;

and the generating unit is used for combining the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit.

9. A computer storage medium having stored thereon program instructions, wherein the program instructions, when executed, control an apparatus in which the computer storage medium is located to perform the method of any one of claims 1 to 7.

10. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 7.

Technical Field

The invention relates to the field of urban modeling, in particular to an editing and updating method and system of a three-dimensional urban model.

Background

The three-dimensional city model is a three-dimensional city model of data constituted by combining three-dimensional models or two-dimensional models having three-dimensional coordinate values representing buildings, terrains, and the like, and is a model for simulating a virtual city or an actual city, and therefore can be used in the simulation fields such as a driving simulator, a flood simulator, and the like.

In the related art, when a three-dimensional model of a city is established, a manufacturer can acquire three-dimensional point cloud data of a certain area through an acquisition device, establish a three-dimensional model of the city of the area according to the three-dimensional point cloud data, and finally generate the three-dimensional model of the city by traversing a plurality of areas of the city. In the method, one party collects the urban data and generates the urban model, so that the efficiency is low, the accuracy is poor, and the difficulty is high during updating.

In view of the above problems, no effective solution has been proposed.

Disclosure of Invention

The embodiment of the invention provides a method and a system for editing and updating a three-dimensional city model, which are used for at least solving the technical problems of low efficiency and poor accuracy in a mode of acquiring city data and generating the city model by one party in the prior art.

According to an aspect of the embodiments of the present invention, there is provided an editing and updating method for a three-dimensional city model, including: receiving editing instructions for creating or modifying model units sent by a plurality of cloud terminals, wherein the model units are models of components of a three-dimensional city model; calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating an editing model unit and an appearance image of the editing model unit; merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model; and combining the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit.

Optionally, the receiving of the editing instruction for creating or modifying the model unit sent by the cloud terminal includes: carrying out security verification on the cloud terminals, and establishing association relations with the plurality of cloud terminals under the condition that the security verification is passed; carrying out authority verification on the cloud terminal, and determining the editing authority of the cloud terminal; receiving an editing instruction sent by the cloud terminal; verifying the editing instruction according to the editing authority; receiving the editing instruction when the editing operation corresponding to the editing instruction is within the editing authority; and under the condition that the partial editing operation of the editing instruction exceeds the editing authority, receiving the editing operation which meets the editing authority in the editing instruction, and sending prompt information that the partial editing operation of the editing instruction exceeds the editing authority, wherein the editing authority comprises one or more editing operations.

Optionally, the invoking an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and before generating the model unit and the appearance image of the model unit, further includes: generating an edit criterion of a model unit of the three-dimensional city model according to parameter requirements of the three-dimensional city model, wherein the parameter requirements include at least one of: the method comprises the following steps of (1) requiring size precision, position precision, image precision, standard component and proportion of a model and a real object; the editing standard is editing operation according to the parameter requirement; establishing a standard list according to the editing standard and the type of editing operation; and storing the standard list in the cloud.

Optionally, the step of calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating the model unit, wherein the appearance image of the model unit includes: reading parameter information of a model unit of the three-dimensional city model, wherein the parameter information comprises a position range, self attribute information and an associated model unit; calling a corresponding editing standard according to the editing operation of the editing instruction, and editing the parameter information; generating the edited parameter information into the editing model unit; and generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model.

Optionally, the generating the edited parameter information into the editing model unit includes: generating a structure model corresponding to the editing model unit according to self attribute information of the edited parameter information, wherein the self attribute information comprises shape, structure, size and proportion; adding a position range for the structural model according to the position range of the edited parameter information, and determining the position coordinates of the feature points of the structural model; and determining the association structure between the structure model and the associated model unit according to the edited associated model unit, and generating the edited model unit.

Optionally, merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model includes: determining the position of the editing model unit in the three-dimensional city model according to the position coordinates of the characteristic points of the editing model unit; merging the editing model unit into the three-dimensional city model according to the association structure of the editing model unit, and determining and displaying the merged three-dimensional city model; receiving an adjusting instruction of the combined three-dimensional city model, and adjusting the combined three-dimensional city model; and receiving an updating instruction for updating the adjusted and combined three-dimensional city model, and updating the three-dimensional city model.

Optionally, generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model includes: generating an appearance image of the editing model unit according to appearance setting of the three-dimensional city model and position coordinates of characteristic points of units of the editing model, wherein the appearance setting comprises an image visual angle, an image proportion and an image attribute; merging the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the step of merging the appearance image with the updated appearance image of the three-dimensional city model comprises the following steps: merging the appearance image with the appearance image of the three-dimensional city model before updating to generate a merged image of the updated three-dimensional city model; correcting the merged image according to the updated three-dimensional city model to generate an updated image; further comprising: displaying the updated image; receiving a modification instruction of the appearance setting, and modifying the appearance setting; and regenerating and displaying the updated image according to the modified appearance setting.

According to another aspect of the embodiments of the present invention, there is provided an editing and updating system for a three-dimensional city model, including: the system comprises a receiving module, a model creating module and a model modifying module, wherein the receiving module is used for receiving editing instructions of creating or modifying model units sent by a plurality of cloud terminals, and the model units are models of components of a three-dimensional city model; the editing module is used for calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating an editing model unit and an appearance image of the editing model unit; the merging module is used for merging the editing model unit with other model units of the three-dimensional city model and updating the three-dimensional city model; and the generating unit is used for combining the appearance image with the updated appearance image of the three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit.

According to another aspect of the embodiments of the present invention, there is provided a computer storage medium storing program instructions, wherein when the program instructions are executed, the apparatus on which the computer storage medium is located is controlled to execute any one of the methods described above.

According to another aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.

In the embodiment of the invention, an editing instruction for creating or modifying a model unit sent by a plurality of cloud terminals is received, wherein the model unit is a model of a component of a three-dimensional city model; calling an editing standard, editing the model unit of the three-dimensional city model according to an editing instruction, generating an editing model unit and an appearance image of the editing model unit; merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model; the appearance image and the appearance image of the updated three-dimensional city model are combined to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises a mode of editing the appearance image of the model unit, the city model is jointly edited by a plurality of cloud terminals, and the city model is edited by using the corresponding editing standard during editing.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

FIG. 1 is a flow chart of a method for editing and updating a three-dimensional city model according to an embodiment of the invention;

fig. 2 is a schematic diagram of an editing and updating system of a three-dimensional city model according to an embodiment of the invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

In accordance with an embodiment of the present invention, there is provided an embodiment of a method for editing and updating a three-dimensional city model, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.

Fig. 1 is a flowchart of an editing and updating method for a three-dimensional city model according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:

step S101, receiving editing instructions for creating or modifying model units sent by a plurality of cloud terminals, wherein the model units are models of components of a three-dimensional city model;

step S102, calling an editing standard, editing the model unit of the three-dimensional city model according to an editing instruction, generating an editing model unit and an appearance image of the editing model unit;

step S103, combining the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model;

and step S104, merging the appearance image with the appearance image of the updated three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises the appearance image of the editing model unit.

Through the steps, receiving editing instructions for creating or modifying model units sent by a plurality of cloud terminals, wherein the model units are models of the components of the three-dimensional city model; calling an editing standard, editing the model unit of the three-dimensional city model according to an editing instruction, generating an editing model unit and an appearance image of the editing model unit; merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model; the appearance image and the appearance image of the updated three-dimensional city model are combined to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises a mode of editing the appearance image of the model unit, the city model is jointly edited by a plurality of cloud terminals, and the city model is edited by using the corresponding editing standard during editing.

The executing body of the steps can be a cloud server and can be a cloud server. The cloud server can establish data communication with the cloud terminals through the network, the cloud terminals are not limited by space, and the communication with the cloud server can be realized as long as the cloud server can be connected with the network. When the cloud server side communicates with the cloud terminal, authority verification can be performed on the identity of the cloud terminal firstly to guarantee validity of an editing instruction sent by the cloud terminal, or safety verification can be performed on the cloud terminal to guarantee safety of data sent by the cloud terminal.

The three-dimensional city model is composed of a plurality of components, such as city areas, buildings, types of ground objects, and the like. The types of the above-mentioned ground objects may include buildings, roads, greenery, water surfaces, sculptures, and the like. Each component can be a model unit, or a plurality of components can form a model unit. The road, the water surface and the like can be two-dimensional models, and the two-dimensional models are simple in modification and editing modes, so that the model unit at least comprises a three-dimensional model of a ground object.

The editing instruction may be an instruction for modifying, adjusting, or creating, deleting the model unit, and the like, and may modify and adjust the three-dimensional structure and information of the model unit, create a new model unit for a specific position in the three-dimensional city model, or delete an existing model unit in the three-dimensional city model. The editing instructions can be multiple and are originated from multiple different cloud terminals, so that multiple users can establish and modify the three-dimensional city model by using the multiple cloud terminals in parallel, and the three-dimensional city model can be updated in time when being updated, thereby realizing the technical effects of improving the generation efficiency and the editing efficiency of the city three-dimensional model and improving the accuracy of the city three-dimensional model.

The three-dimensional city model can be a three-dimensional model created by three-dimensional modeling software, and editing instructions sent by different cloud terminals of the three-dimensional city model are difficult to be compatible, for example, the cloud terminal is usually an intelligent mobile terminal, a common operating system of the cloud terminal can be various systems such as android, IOS, Hongmon and the like, and Henan of the river realizes the compatibility of all cloud terminals. Thus, an editing standard is proposed that may include a specific data format, as well as a data structure. The data format is that any cloud terminal can identify, send and receive the application program of a cloud server through a specific cloud terminal. Therefore, compatibility of the editing instructions sent by various cloud terminals is achieved, and the use flexibility is greatly improved. The user experience is further improved, and good and convenient use conditions are provided for the creation and the updating of the three-dimensional city model.

When the edited model single unit is combined with other model units of the three-dimensional city model, the process can be parallel, specifically, only the model unit directly related to the edited model unit in the three-dimensional city model can be obtained when the edited model unit is combined, and then the model unit directly related to the edited model unit is combined with the edited model unit and then introduced into the three-dimensional city model. The process of combining the editing model units of the plurality of cloud terminals can be parallel, and containers can be specifically adopted to carry out the combining process of the editing model units of different cloud terminals in different containers. Therefore, the three-dimensional city model can be edited by a plurality of cloud terminals simultaneously, and the editing efficiency of the three-dimensional city model is greatly improved.

The three-dimensional city model stored in the cloud server only displays a projection of a plane, namely a specific appearance image, in the cloud terminal. The appearance image may be obtained by rendering different colors or appearances of different types of objects in a two-dimensional projection of the three-dimensional city model. The appearance image of the three-dimensional city on the cloud terminal also needs to be updated simultaneously when the three-dimensional city model is updated. Thereby feeding back to the user, and facilitating the user to update and modify.

Optionally, the receiving of the editing instruction for creating or modifying the model unit sent by the cloud terminal includes: carrying out security verification on the cloud terminals, and establishing association relations with the plurality of cloud terminals under the condition that the security verification is passed; the authority verification is carried out on the cloud terminal, and the editing authority of the cloud terminal is determined; receiving an editing instruction sent by a cloud terminal; verifying the editing instruction according to the editing authority; receiving an editing instruction when the editing operation corresponding to the editing instruction is within the editing authority; and under the condition that the part of editing operation of the editing instruction exceeds the editing authority, receiving the editing operation which meets the editing authority in the editing instruction, and sending prompt information that the part of editing operation of the editing instruction exceeds the editing authority, wherein the editing authority comprises one or more editing operations.

The cloud terminal is subjected to security verification, association relations are established with the plurality of cloud terminals under the condition that the security verification is passed, the security of the cloud terminal can be guaranteed, and the security of the cloud terminal can be determined through security verification modes such as short message verification, password verification, account verification, fingerprint verification and face verification.

After the security verification of the cloud terminal passes, an association relationship is established between the cloud terminal and the cloud server, and the cloud server can verify the authority of the cloud terminal. Different cloud terminals can have different authorities, for example, the service life is longer, the cloud terminal with good user behavior can naturally have higher authority, and a new user can set a most basic consulting authority, so that the cloud terminal is distinguished, and the cloud terminal is guaranteed to be favorable for modifying the three-dimensional city model as far as possible.

The editing authority may have multiple levels, and the editing authority of the multiple levels does not include all users, that is, not all cloud terminals have editing authority, and some cloud terminals may not have editing authority, such as the new user may only have reference authority.

The editing rights may be determined based on the extent of involvement of the three-dimensional city model, e.g., a higher editing right may modify a piece of a building area, and a lower editing right may modify only a three-dimensional model of a building unit. The editing authority can be regulated more reasonably, so that the malicious operation of the cloud terminal is prevented from generating great influence on the three-dimensional city model.

Optionally, the method further includes, before invoking an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating the model unit and the appearance image of the model unit: generating an editing standard of a model unit of the three-dimensional city model according to parameter requirements of the three-dimensional city model, wherein the parameter requirements comprise at least one of the following: the method comprises the following steps of (1) requiring size precision, position precision, image precision, standard component and proportion of a model and a real object; the editing standard is editing operation according to parameter requirements; establishing a standard list according to the editing standard and the type of editing operation; the criteria list is stored in the cloud.

The three-dimensional city model itself has certain requirements, for example, the size of the building model can be accurate to what size, if the accurate size is 1m, that is to say, the error of the three-dimensional city model relative to the real city does not exceed 1 m. The method can further comprise a position precision requirement, and if the position precision is 5m, the position of one point on the three-dimensional city model and the position of the corresponding point of the real city can at least simultaneously fall within a circular area with the radius of 5. The image precision requirement is also the precision requirement of the appearance image of the three-dimensional city model, and the image precision requirement can be in multiple levels and can be set by a user. The standard component requires that the same standardized object in the three-dimensional city model is identical, for example, the first-level road in the three-dimensional city model is formed by combining a plurality of first-level road units, and the shape, the size and the color of each road unit are identical. The appearance of different types of roads is naturally different and has no comparability. The requirement of the model and the actual proportion can be simply understood as that the same three-dimensional city model adopts a uniform scale, so that the proportion of the three-dimensional model in the three-dimensional city model is the same as the building proportion of a real city. It should be noted that the three-dimensional city model is a model after all, and some model units can be adjusted under some special use requirements. Specifically, for example, day 1, 7 months, the scale of the three-dimensional model of Tiananmen may be enlarged to highlight its importance and specificity. And the proportion of tourist attractions can be adjusted.

Optionally, the step of calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction, and generating the model unit, wherein the appearance image of the model unit includes: reading parameter information of a model unit of the three-dimensional city model, wherein the parameter information comprises a position range, self attribute information and an associated model unit; calling a corresponding editing standard according to the editing operation of the editing instruction, and editing the parameter information; generating an editing model unit from the edited parameter information; and generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model.

The position range is also the position range of the model unit in the three-dimensional city model, and the self attribute information is also the attribute information of the model unit itself, which may include a volume ratio, a building area, a building shape, a height, and the like. The associated model unit is also the model unit associated with the model unit.

And generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model. The appearance may be rendered and generated by the functionality of the three-dimensional modeling software.

Optionally, the generating and editing model unit of the edited parameter information includes: generating a structure model corresponding to the editing model unit according to the self attribute information of the edited parameter information, wherein the self attribute information comprises shape, structure, size and proportion; adding a position range for the structural model according to the position range of the edited parameter information, and determining the position coordinates of the feature points of the structural model; and determining the association structure between the structure model and the associated model unit according to the edited associated model unit to generate an edited model unit.

And generating a structural model corresponding to the edited model unit according to the self attribute information of the edited parameter information, adding a position range for the structural model according to the position range of the edited parameter information, and determining the position coordinates of the characteristic points of the structural model, wherein the characteristic points can be a plurality of vertexes of the bottom surface of the model unit, and the model unit can be arranged in the three-dimensional urban model according to the plurality of vertexes of the bottom surface. And then determining a correlation structure between the structure model and the correlated model unit according to the edited correlated model unit, and generating an edited model unit, wherein the u correlation structure is a structure needing to be matched with the correlation model, such as an overpass, a channel and the like.

Specifically, the step of combining the editing model unit with other model units of the three-dimensional city model, and the updating the three-dimensional city model includes: determining the position of the editing model unit in the three-dimensional city model according to the position coordinates of the characteristic points of the editing model unit; merging the editing model units into the three-dimensional city model according to the association structure of the editing model units, and determining and displaying the merged three-dimensional city model; receiving an adjusting instruction of the combined three-dimensional city model, and adjusting the combined three-dimensional city model; and receiving an updating instruction for updating the adjusted and combined three-dimensional city model, and updating the three-dimensional city model. Therefore, the editing model unit is combined into the three-dimensional city model, and the three-dimensional city model is updated and edited.

Optionally, generating an appearance image of the editing model unit according to the appearance setting of the three-dimensional city model includes: generating an appearance image of an editing model unit according to appearance setting of the three-dimensional city model and position coordinates of characteristic points of the unit of the editing model, wherein the appearance setting comprises an image visual angle, an image proportion and an image attribute; merging the appearance image with the appearance image of the updated three-dimensional city model to generate an updated image of the updated three-dimensional city model, wherein the step of merging the appearance image with the appearance image of the updated three-dimensional city model comprises the following steps: merging the appearance image with the appearance image of the three-dimensional city model before updating to generate a merged image of the updated three-dimensional city model; correcting the merged image according to the updated three-dimensional city model to generate an updated image; further comprising: displaying the updated image; receiving a modification instruction of the appearance setting, and modifying the appearance setting; and regenerating and displaying the updated image according to the modified appearance setting. Therefore, the edited appearance image of the three-dimensional city model is generated according to the appearance image of the editing model unit, and convenience is provided for a user of the cloud terminal.

Fig. 2 is a schematic diagram of an editing and updating system of a three-dimensional city model according to an embodiment of the present invention, and as shown in fig. 2, according to another aspect of the embodiment of the present invention, there is provided an editing and updating system of a three-dimensional city model, including: a receiving module 21, an editing module 22, a combining module 23 and a generating unit 24, and the system will be described in detail below.

The system comprises a receiving module 21, a model creating module and a model modifying module, wherein the receiving module is used for receiving editing instructions of creating or modifying model units sent by a plurality of cloud terminals, and the model units are models of components of a three-dimensional city model; the editing module 22 is connected with the receiving module 21 and is used for calling an editing standard, editing the model unit of the three-dimensional city model according to the editing instruction and generating an editing model unit and an appearance image of the editing model unit; a merging module 23, connected to the editing module 22, for merging the edited model unit with other model units of the three-dimensional city model to update the three-dimensional city model; and a generating unit 24, connected to the merging module 23, configured to merge the appearance image with the updated appearance image of the three-dimensional city model, and generate an updated image of the updated three-dimensional city model, where the updated image includes the appearance image of the editing model unit.

Through the system, the editing instructions for creating or modifying the model units sent by the cloud terminals are received, wherein the number of the cloud terminals is multiple, and the model units are models of the components of the three-dimensional city model; calling an editing standard, editing the model unit of the three-dimensional city model according to an editing instruction, generating an editing model unit and an appearance image of the editing model unit; merging the editing model unit with other model units of the three-dimensional city model, and updating the three-dimensional city model; the appearance image and the appearance image of the updated three-dimensional city model are combined to generate an updated image of the updated three-dimensional city model, wherein the updated image comprises a mode of editing the appearance image of the model unit, the city model is jointly edited by a plurality of cloud terminals, and the city model is edited by using the corresponding editing standard during editing.

According to another aspect of the embodiments of the present invention, there is provided a computer storage medium storing program instructions, wherein when the program instructions are executed, the apparatus in which the computer storage medium is located is controlled to perform the method of any one of the above.

According to another aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described system embodiments are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:地质体模型更新方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!