Building modeling method, map rendering method and device

By determining the building type, obtaining height data and detailed components, modeling the basic building shape based on the building type shape parameters and adding details, the problems of low efficiency and poor authenticity of building modeling in the existing technology are solved, and rapid and efficient building modeling and authenticity improvement are achieved.

CN119720322APending Publication Date: 2025-03-28BEIJING AUTONAVI YUNMAP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411525446.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When modeling buildings in the real world, it is difficult to effectively distinguish and present different types of buildings, and manual modeling is relatively inefficient.

Method used

By determining the building type of the building, obtaining its height data and architectural detail components, modeling the basic building shape based on the building shape parameters associated with the building type, and adding architectural detail components to it to generate a building model.

Benefits of technology

Improves the speed and efficiency of building modeling, enhances the authenticity of building models, and brings them closer to the appearance of the building in the real world.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119720322A_ABST
    Figure CN119720322A_ABST
Patent Text Reader

Abstract

One or more embodiments of the invention provide a building modeling method and a map rendering method and device.The building modeling method comprises the following steps: for each building body included in a target building to be modeled, determining a base plane of the building body on an electronic map, the target building comprises at least one building body; building types, height data and building detail components of the building bodies are obtained, and each building type is used for representing the classification of the same type of buildings with common characteristics in shape structures; on the base plane, based on building body parameters associated with the building type and the height data, modeling a basic building body of the building body; and setting the building detail component on the basic building body to obtain a building body model of a building body included in the target building.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of computer application technology, and in particular, to a building modeling method, a map rendering method and a device. Background Art

[0002] When modeling buildings in the real world, some scenes simply model the buildings as square boxes for presentation. For example, in a map application, buildings can be presented in 3D mode, and in 3D mode, buildings in a map application are generally presented in "square boxes" of different sizes. However, buildings in the real world have various shapes and large differences in characteristics, such as shopping malls, office buildings, residential buildings, etc. Ordinary square box buildings cannot help users distinguish different buildings on the map and obtain more information.

[0003] In addition, in some scenes, when modeling buildings, the features of the buildings are modeled, but they are all constructed through manual modeling methods. For example, a 3D modeling designer uses 3D modeling software tools to construct a 3D model of the building's details, but this modeling method has low modeling efficiency. Summary of the invention

[0004] In view of this, one or more embodiments of the present specification provide a building modeling method, a map rendering method and a device to enhance the authenticity of the building model, reduce the gap with the real-world buildings, and improve the modeling efficiency.

[0005] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:

[0006] According to a first aspect of an embodiment of this specification, a method for modeling a building is provided, the method comprising:

[0007] For each building body included in the target building to be modeled, determining the base plane of the building body on the electronic map, wherein the target building includes at least one building body;

[0008] Acquire the building type, height data and building detail components of the building body, wherein each building type is used to represent the category to which buildings of the same type that have common characteristics in shape and structure belong;

[0009] On the base plane, based on the building form parameters associated with the building type and the height data, modeling the basic building form of the building;

[0010] The building detail components are arranged on the basic building form to obtain a building model of the building body included in the target building.

[0011] According to a second aspect of an embodiment of this specification, a map rendering method is provided, the method comprising:

[0012] Obtain model data of a target building to be modeled and location information of the target building on an electronic map, wherein the target building includes at least one building body, the model data includes building body model data of each building body, and the building body model data is obtained by modeling using the method described in any embodiment of this specification;

[0013] At the building location corresponding to the location information in the electronic map, a building model of the target building is rendered and displayed based on the model data.

[0014] According to a third aspect of an embodiment of this specification, a building modeling device is provided, the device comprising:

[0015] A bottom surface acquisition module, for determining the base plane of each building body included in the target building to be modeled on the electronic map, wherein the target building includes at least one building body;

[0016] A parameter acquisition module, used to acquire the building type, height data and building detail components of the building body, each of the building types is used to represent the category to which the same type of buildings with common characteristics in shape and structure belong;

[0017] A shape construction module, used for modeling the basic building shape of the building body on the base plane based on the building shape parameters associated with the building type and the height data;

[0018] The detail optimization module is used to set the building detail components on the basic building form to obtain the building model of the building body included in the target building.

[0019] According to a fourth aspect of an embodiment of this specification, a map rendering device is provided, the device comprising:

[0020] A data acquisition module, used to acquire model data of a target building to be modeled and location information of the target building on an electronic map, wherein the target building includes at least one building body, the model data includes building body model data of each building body, and the building body model data is obtained by modeling using the method described in any embodiment of this specification;

[0021] A rendering and display module is used to render and display the building model of the target building based on the model data at the building location corresponding to the location information in the electronic map.

[0022] According to a fifth aspect of the embodiments of this specification, an electronic device is provided, including:

[0023] processor;

[0024] a memory for storing processor-executable instructions;

[0025] The processor implements the method described in any embodiment of this specification by running the executable instructions.

[0026] According to a sixth aspect of the embodiments of this specification, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the method described in any embodiment of this specification is implemented.

[0027] The building modeling method, map rendering method and device of the embodiments of the present specification improve the building modeling speed by modeling based on the building form parameters associated with the building type of the building when constructing the basic building form. This method is universal. Buildings of the same type have a common shape structure. By setting the building form parameters corresponding to the common shape structure, as long as the building type is determined, the basic building form can be quickly constructed, thereby improving the modeling speed; and, architectural details are added to the basic building form according to the architectural detail components, thereby enhancing the authenticity of the building module. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure or related technologies, the drawings required for use in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1A It is a schematic diagram of a modeling structure of a LOD4 building provided by an exemplary embodiment.

[0030] Figure 1B It is a schematic diagram of another LOD4 building modeling structure provided by an exemplary embodiment.

[0031] Figure 2 It is a flowchart of a building modeling method provided by an exemplary embodiment.

[0032] Figure 3 is a schematic diagram of a base plane provided by an exemplary embodiment.

[0033] Figure 4 is a schematic diagram of a base plane provided by an exemplary embodiment.

[0034] Figure 5A It is a schematic diagram of an arrangement of windows provided by an exemplary embodiment.

[0035] Figure 5B It is a schematic diagram of an arrangement of windows provided by an exemplary embodiment.

[0036] Figure 5C is a schematic diagram of a window provided by an exemplary embodiment.

[0037] Figure 6 It is a schematic diagram of a concave-convex structure provided by an exemplary embodiment.

[0038] Figure 7 is a schematic diagram of a roof shape provided by an exemplary embodiment.

[0039] Figure 8 is a schematic diagram of a building model provided by an exemplary embodiment.

[0040] Fig. 9 It is a flowchart of a map rendering method provided by an exemplary embodiment.

[0041] Fig. 10A This is a building display effect in a map provided by an exemplary embodiment.

[0042] Fig. 10B It is a schematic structural diagram of a building modeling device provided by an exemplary embodiment.

[0043] Fig.11 is a schematic diagram of an electronic device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0044] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.

[0045] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0046] The embodiments of this specification provide a method for modeling a building, wherein the building to which the method is applicable for modeling may be a modern building, but is of course not limited thereto. The modern building described in the embodiments of this specification may refer to buildings from the early 20th century to the present, which have simple and practical geometric shapes, focus on functionality, practicality and efficiency, and are mostly constructed using modern materials such as reinforced concrete, glass, and steel, and using new structural technologies and construction methods. Specific modern buildings may include, for example, but are not limited to: office buildings, residential buildings, shopping malls, stadiums, medical service facilities, educational institutions, etc.

[0047] The concept of modern architecture can be understood as a concept that is different from classical architecture, and modern architecture can be understood by comparing it with classical architecture. For example, classical architecture usually emphasizes aesthetics and symbolism, uses traditional materials such as stone and bricks, relies on traditional techniques such as stone masonry and arches, and usually has a clear axis and symmetrical layout. For example, the CCTV headquarters building, shopping malls and hospitals in our lives are modern buildings, while the Forbidden City and the Temple of Heaven are classical buildings. In addition, with the development of time, modern architecture may have further changes and adjustments in building materials and architectural design, but it can be considered that buildings with the above characteristics can be called modern buildings.

[0048] In the method of the embodiment of this specification, the modeling of the building can be performed at the LOD4 (Level of Detail) level, that is, the constructed building model will have a refined architectural structure, highly restore the external shape structure of the building in the real world, and enhance the authenticity of the building model.

[0049] The LOD4 level building modeling highly restores the 3D effect of real-world buildings, so that users who view the building models will have a better viewing experience, especially when the buildings are modeled at the LOD4 level in map applications, it can play a greater role.

[0050] In the process of implementing the present application, the inventors discovered that the LOD4 modeling in the prior art is manual modeling. This is because it requires modeling of detailed architectural elements, terrain and other features, and different buildings have different appearance characteristics, so it is necessary to manually model each building separately based on its appearance, which makes it difficult to perform automated modeling in batches.

[0051] The following are some examples of buildings in several maps that use LOD4 building models and their uses:

[0052] 1) Auxiliary map positioning:

[0053] Users sometimes use maps to determine their current location. For example, due to errors in positioning sensors, the location displayed by the map application does not match the user's actual location. In this case, the user needs to use the building models on the map to assist in determining their location. If the building models on the map are all in the form of "square boxes", users cannot match the building models on the map with the real buildings in the real world, making it difficult to determine their current location.

[0054] The LOD4 building model can highly restore the external shape and structure of buildings in the real world, allowing users to match the building models in the map with the buildings in the real world, making it easier for users to determine their own location and improving their map experience.

[0055] 2) Help with pre-trip decision-making, improve map reading experience, and obtain map information more accurately:

[0056] It is precisely because the LOD4 building model highly restores the 3D effect of the real building that when users use the map, they can obtain map information more accurately, and they will have an immersive experience when browsing the map. For example, users can see the shape and structure of the building more intuitively and accurately. The shape and structure of the building model in the map is realistically restored to the shape and structure of the building in the real world, so that users can see the shape of the building on the map, thereby assisting their travel decisions based on the building information. For example, users may need to use the building information on both sides of the road to decide whether to set up a detection site at that location, or users may use the map to determine whether a certain building is the place they want to go. These can all be done through the map, which greatly facilitates users and improves their map usage experience.

[0057] Can be combined Figure 1A and Figure 1B As shown, Figure 1A This is a schematic diagram of a modeling structure of a LOD4 building provided by an exemplary embodiment. Figure 1B It is a schematic diagram of another LOD4 building modeling structure provided by an exemplary embodiment.

[0058] Specifically, Figure 1A As shown, the buildings on the left side of the road in the real world are modeled. Building 11 corresponds to building 13 after modeling, and building 12 corresponds to building 14 after modeling. It can be seen that buildings 13 and 14 better restore the real-world buildings 11 and 12 in terms of architectural form. Similarly, Figure 1BThe buildings on the right side of the road in the real world are modeled. After building 15 is modeled, it corresponds to building 17, and after building 16 is modeled, it corresponds to building 18. Both of them realistically restore the real buildings in terms of architectural shape.

[0059] However, it is understandable that the building modeling method of the embodiment of this specification can not only be applied to LOD4 modeling of buildings in map applications, but can also be applied to building modeling in other scenarios.

[0060] It should also be noted that the building modeling method of the embodiment of this specification not only models the building at the LOD level, but also improves the modeling efficiency to achieve fast and detailed LOD4 building modeling. In order to improve the modeling efficiency, the modeling method provides a set of automated modeling solutions, see Figure 2 , Figure 2 FIG. 1 is a flow chart of a building modeling method provided by an exemplary embodiment. Figure 2 As shown, the method may include the following processing. It should be noted that the step numbers used in the following description do not limit the execution order of the various steps in the modeling method of the embodiment of this specification.

[0061] In step 200, for each building body included in the target building to be modeled, the base plane of the building body on the electronic map is determined, and the target building includes at least one building body.

[0062] In this embodiment, the building to be modeled may be referred to as a target building. For example, if an office building is to be modeled, the office building may be referred to as a target building.

[0063] The target building may include at least one building. For example, a shopping mall may include two buildings, Building A and Building B, but the two buildings as a whole are the target building to be modeled. In this embodiment, when modeling the target building, each building may be modeled separately, and the modeled whole constitutes the building model of the target building.

[0064] In this step, the base plane (Polygon) of each building body of the target building on the electronic map can be determined. Specifically, the position and shape of the base plane of the building body can be obtained based on the collected image data. Exemplarily, the image data can include captured satellite images, or can also include captured images of the building body. Based on the image data, the base plane of the building body can be identified, which can include information such as the shape and position of the base plane, and the position can be the longitude and latitude of the base plane.

[0065] For example, the base plane of the building in this embodiment may have a relatively regular shape, such as Figure 3 The circles, trapezoids, triangles, etc. shown in the figure may also be irregular shapes, for example, Figure 4 The hint, Figure 4 Two alien shapes are illustrated.

[0066] In step 202, the building type, height data and building detail components of the building are obtained, and each building type is used to represent the category to which the same type of buildings with common characteristics in shape and structure belong.

[0067] In this step, the building type, height data, and building detail components of the building to be modeled can be obtained.

[0068] Among them, for the building types described in this embodiment, this embodiment does not limit the way of classifying the buildings, as long as most modern buildings are covered by appropriate classification methods as much as possible.

[0069] Exemplarily, the buildings can be classified according to their attributes. For example, modern buildings can be divided into ten categories, such as, but not limited to: buildings with commercial attributes, buildings with educational attributes, buildings with entertainment attributes, buildings of life services, etc. In other examples, each type of building can also be subdivided, such as buildings of life services, which can be further divided into "residential buildings", "medical buildings", etc., and buildings of commercial attributes can be further divided into "production buildings", "office buildings", etc. Regardless of how they are classified, the same type of buildings with common characteristics in shape and structure can be classified as the same type of building. Among them, the common characteristics of a certain type of building type in this embodiment can be determined in the following way: first classify the buildings, for example, some building classifications can be manually designed, such as the medical buildings and residential buildings mentioned above; then for each type of building, the shape samples of the building body of this type can be collected, such as the shape images of the building body can be collected, and then these shape images can be automatically analyzed by a computer, or they can be supplemented by manual analysis and summary, and the shape and structural characteristics of most buildings can be extracted from them as the common shape characteristics of the building body of this type, for example, most of the building bodies of a certain type will have a porch.

[0070] For example, taking medical buildings as an example, most medical buildings can include the following features in terms of architectural form and structure:

[0071] Feature 1: They all have an outpatient hall, which usually has a large porch, and there are usually multiple columns underneath to support the porch.

[0072] Feature 2: There is usually a protruding area above the outpatient hall, which is used to carry the name of the hospital (for example, emergency department, inpatient department) and other signs.

[0073] It is understandable that the above-mentioned shape and structure characteristics are only for illustration and are not limited thereto in actual implementation and can be determined based on actual statistical results. In short, buildings belonging to the same building type usually have some common characteristics in shape and structure, and these common characteristics can be determined as the common shape and structure of the building body of the building type.

[0074] The above-mentioned classification method of modern buildings and the method of obtaining the common characteristics of the building's shape and structure are not limited in this embodiment. For example, various building types of modern building classification and the common characteristics of the building's shape and structure can be finally obtained through image recognition, model extraction, manual summary and other methods.

[0075] In the method of the embodiment of the present specification, based on the common characteristics of the building form structure of each building type as described above, building form parameters for each building type are provided to prepare for the automatic modeling of the building.

[0076] For example, see Table 1 below:

[0077] Table 1 Building types and corresponding building form parameters

[0078]

[0079] As shown in Table 1 above, an exemplary explanation is as follows: for example, the column parameters, outpatient hall parameters, etc., indicate which elements can be included in the architectural form parameters. These elements can be "columns" and "outpatient halls", that is, the basic architectural form of the modeling includes these outpatient halls and columns and other architectural elements. The column parameters can include the distribution of the columns, for example, a column is set every x distance; they can also include the shape of the columns, for example, a cylindrical column and the diameter of the cylindrical column. In short, some parameters can be used to indicate how to model the basic architectural form of the target building. And, as mentioned above, first determine the common characteristics of each building type in the form structure according to the various building types of classified modern buildings, and then set the architectural form parameters based on the common characteristics of these form structures.

[0080] In this step, the building type of the building to be modeled can be obtained, for example, determining whether the building type of the building is a medical building or a sports stadium.

[0081] There are multiple ways to obtain the building type of the building, including but not limited to:

[0082] For example, in the aforementioned steps, the longitude and latitude information of the base plane of the building has been obtained. Then, the area where the longitude and latitude information is located can be found on the map on which the building model is drawn, and the building attribute information corresponding to the base plane at the location can be obtained from the stored map data. The attribute information may include the building type of the building on the base plane. Of course, the attribute information may also include other data, such as the number of floors of the building, the unique identification Build-ID of the building, the shape of a single building, etc. This embodiment does not limit this. That is, the building type associated with the stored base plane can be obtained from the map data.

[0083] For another example, the building type of a building can also be determined based on information obtained through image recognition of the building. For example, if a signboard such as "such and such hospital" or "such and such library building" is set on the building, the image of the building can be recognized to obtain the information on the signboard, and then the building type of the building can be determined.

[0084] For another example, the above two examples of determining the building type can be automatically executed. For example, the building type associated with the base plane can be automatically obtained from the map data based on the shape and position of the base plane obtained by image recognition, or the building type of the building can be determined by identifying the image of the building. In other examples, the building type can also be determined by manual operation of the modeler. For example, the modeler can directly select the building type of the building in the human-computer interaction interface, or the building type can be determined by computer automatic recognition assisted by manual selection. For example, the building type of the building can be obtained through the attribute information corresponding to the Polygon. The building category of the building is a life service building, and then the modeler can assist in selecting the building subcategory under this category, specifically a medical building.

[0085] Furthermore, in this step, the height data of the building can also be obtained.

[0086] Specifically, for buildings belonging to the same building type, even if the general shape structure is similar, the heights of different buildings may be different. Therefore, when modeling the basic building form of the target building based on the building form parameters corresponding to the building type, it can be constructed according to the height of the target building to model the basic building form corresponding to the height. For example, the height of the real building in the real world can be converted into the height of the building during modeling. For another example, in the real world, building A and building B belong to the same building type, but the height of building A is twice the height of building B. Then, when performing LOD4 modeling on these two buildings, after converting the real height into the modeling height, the basic building form of building A obtained by modeling can be about twice the basic building form of building B, so that it can be consistent with the height difference of buildings in the real world.

[0087] Based on this, this step can also obtain the height data of the building body. The height data may include: the number of floors of the building body, or the height value of the building body.

[0088] Exemplarily, the number of floors of the building can be identified based on the image of the building of the target building, and then the height value of the building can be calculated based on the number of floors. For example, the number of floors of the building can be determined first, combined with the height of each floor of the building, and finally the height of the building can be obtained by multiplying the number of floors by the height of each floor. For the height of each floor of the building, the value can be pre-set or determined based on the attributes of the building. For example, the height of each floor in a public building is generally higher, and the height of each floor of a building built earlier is generally lower. Then the height of each floor of the target building (i.e., the floor height) can be: Determine the height of each floor of the building based on the mapping relationship between the building attributes and the floor height.

[0089] For another example, the pre-stored height value may be directly obtained from the attribute information associated with the base plane. For example, the pre-stored map data may include the building attribute information corresponding to the base plane, and the attribute information may include the height value of the building body, and the height value may be preset based on experience or obtained based on actual collected data.

[0090] Furthermore, in this step, architectural detail components of the building body may also be obtained.

[0091] For example, the architectural detail components may include, but are not limited to, windows, concave-convex structures on the facade of the target building, and door openings of the target building. In this step, the relevant parameters of these architectural detail components may be obtained so that these components can be modeled according to the relevant parameters of the architectural detail components in subsequent steps.

[0092] In step 204, the basic building form of the building is modeled on the base plane of the building based on the building form parameters and height data associated with the building type.

[0093] In this embodiment, the shape of the base plane of the building body can be obtained in advance, and the base plane of the building body is constructed according to the shape of the base plane. Then, on the base plane, the basic building form of the building body can be constructed according to the building form parameters associated with the building type of the building body.

[0094] The architectural form parameters may be obtained according to the building type determined in step 202. Each building type has been pre-set with corresponding architectural form parameters. The common form structure of buildings of this building type may be constructed according to these form parameters. For example, taking the medical building type as an example, the outpatient hall of the medical building may be constructed according to its corresponding architectural form parameters, and a porch supported by multiple pillars may be constructed in the outpatient hall. A hospital logo may also be set in the protruding area above the outpatient hall. Of course, it is understandable that more detailed information may be included in the actual implementation. For example, the architectural form parameters may also include: the distribution form of pillars used to support the porch, whether the shape of the pillars is cylindrical or cubic, etc.

[0095] In addition, it is not only necessary to construct the basic building form according to the building form parameters, as mentioned above, the heights of different buildings can be different. Therefore, when modeling the basic building form of the target building based on the building form parameters corresponding to the building type, it can be constructed according to the height of the building body, and the basic building form corresponding to the height can be modeled. For example, for the two building bodies of the hospital, although the building form parameters are the same, that is, the external shape structure is roughly the same, the heights of the two building bodies can be different, so based on the acquired building height values, two building bodies with different heights can be modeled respectively.

[0096] In this embodiment, the building modeled according to the building form parameters and height data corresponding to the building type is called the basic building form. That is, the basic building form reflects the common characteristics of a type of building of the building type in terms of form and structure.

[0097] In step 206, building detail components are set on the basic building form to obtain a building model of the building.

[0098] In this step, some architectural detail components may be added to the basic architectural form modeled in the previous steps to obtain a building model of the building.

[0099] For example, the building detail components may include, but are not limited to: windows, concave-convex structures on the facade of the target building, and door openings of the target building. The settings of each building detail component may be described as follows:

[0100] (1) Doors and windows

[0101] Usually, each building is provided with doors and windows. In this embodiment, the arrangement of windows on the building and / or the shape of the windows can be identified based on the image of the building; for example, the shape and arrangement of the windows on the building can be obtained by identifying the image of the building. Alternatively, in other examples, the arrangement of windows can be determined based on the building type of the building. For example, if it is a hotel-type building, the windows can be arranged horizontally or randomly.

[0102] The arrangement of windows may include but is not limited to: horizontal arrangement, vertical arrangement, surrounding arrangement, random arrangement, etc. Figure 5A and Figure 5B Several window arrangement modes are illustrated. After the window arrangement mode on the building body is identified through image recognition, windows can be arranged on the facade of the basic building body according to the window arrangement mode on the basic building body of the modeled building body.

[0103] In addition, the shape of windows on the image of the building can also be identified, such as rectangular windows, square windows, etc. When setting windows according to the above window arrangement method, the windows can be set to the windows of the above window shapes. Figure 1A or Figure 1B In the modeled building model, the arrangement and shape of its windows are consistent with the windows of real buildings in the real world, highly restoring the 3D effect of the real building.

[0104] For example, the following method can be adopted when setting windows: a 3D model of a single window can be pre-built, and the 3D model of the single window can be set on the facade according to the arrangement of the windows described above. Figure 5C The hint, Figure 5C A 3D rectangular window is shown. If the recognized window arrangement is vertical arrangement, then the rectangular window can be set in vertical arrangement on the facade of the basic building form.

[0105] In addition, it is understandable that the number of windows in the modeled building is not necessarily the same as that in the real building. For example, the number of windows in a row of horizontally arranged windows in a real building is 20, while the number of windows in a row in the model of the modeled building can be 5. Similarly, there can be 6 rows of windows in the vertical direction in a real building, while there can be 3 rows of windows in the vertical direction in the model of the modeled building. This is mainly to reduce the occupation of processing resources as much as possible and improve the efficiency of rendering or modeling.

[0106] (2) Concavoconvex structure

[0107] The concave-convex structure described in this embodiment refers to the convex and concave parts of the facade of the target building.

[0108] For example, see Figure 6 As shown, Figure 6 This is a schematic diagram of a concave-convex structure provided by an exemplary embodiment. According to the real image of the building, the front view and the side view of the building are identified, and the following facade concave-convex information can be obtained from the front view and the side view: the building has a convex part on the top, and the building also has striped protrusions on the facade.

[0109] According to the above-identified concave-convex structure on the facade of the building, the concave-convex structure corresponding to the facade information is converted into parameters for modeling the concave-convex structure. For example, the parameters may include: position parameters of the concave-convex structure, size parameters of the concave-convex structure, etc., and the concave-convex structure on the facade of the basic building form is modeled according to the parameters. Figure 1B As shown, the modeled building 17 has both a protruding portion above the building and protruding stripes on the facade, which is highly similar to the real building.

[0110] In addition, the concave-convex structure may also include, for example, other convex structures such as a porch ceiling.

[0111] (3) Door opening

[0112] In this embodiment, the door opening position information can be obtained, and according to the door opening position information, the corresponding door opening is set on the basic building form. The POI information may include the location information of the door opening of the building, for example, the door opening is located in the middle of one side of the building, which side is facing a certain road.

[0113] According to the above-mentioned door opening position information, a corresponding door opening can be set on the basic building form of the target building. For example, a door opening can be set on the side of the target building facing a certain road, and the door opening is located in the middle of the side. The above-mentioned POI information can be pre-stored, and this embodiment does not limit the method of obtaining the POI information.

[0114] In this embodiment, after doors, windows, concave-convex structures and other architectural detail components are arranged on the basic architectural form, the whole can be called a building body, that is, the building body includes: the basic architectural form, and doors, windows, door openings, concave-convex structures and other architectural detail components arranged on the basic architectural form.

[0115] Furthermore, a roof can be added to the modeled building. Specifically, if the basic building form with the building detail components added is called the building body, then in this step, a roof can be added to the building body to finally obtain a building model of the building.

[0116] Among them, the roof can have many forms, which can be seen in Figure 7 The hint, Figure 7 Various forms of roofs are illustrated, such as, but not limited to, triangular roofs, parapet roofs, sloping roofs, recessed roofs, convex roofs, etc.

[0117] This embodiment does not limit the method for determining what type of roof to add to the building body. For example, the type of roof to be added can be determined based on the building type, and buildings of different building types can have roofs of different shapes; or, the roof shape can also be determined based on the area where the building is located, and buildings in a certain area can all have roofs of the same shape.

[0118] Finally, the number of windows can be manually adjusted based on satellite images and photos on both sides of the road where the building is located; and the building color information during the day and night can be given to make the modeled building more beautiful.

[0119] As mentioned above, by setting the architectural form parameters corresponding to the same building type, as long as the building type of the building is determined, the basic building form can be constructed based on the architectural form parameters associated with the building type of the building, thereby improving the building modeling speed, and then adding doors, windows, concave and convex structures and other architectural detail components on the basic building form; this modeling method uses the common architectural form parameters of buildings of the same building type for modeling, so it can realize automatic modeling based on the parameters on the basis of determining the building type, thereby improving the modeling efficiency of the building; and, by setting the architectural detail components, it is possible to improve the modeling efficiency while enhancing the authenticity of the building model.

[0120] As mentioned above, the LOD4 building model constructed by the above modeling method can highly restore the real buildings in the real world, and the display effect is very realistic. Figure 8 The two building models for the example.

[0121] In addition, in map application scenarios, when modeling modern buildings in the map, in order to further improve the efficiency of modeling and save the time and labor costs of modelers, the parameters required for modeling the target building to be modeled can be prefabricated and bound to the map data.

[0122] For example, the shape and longitude and latitude positions of the base plane of the building can be identified based on the satellite image of the building, and the base plane can be set at the position corresponding to the longitude and latitude in the map. The model data obtained by modeling the building in the above embodiment can be bound to the position in the map. When the modeler chooses to model the target building in the map, the various building bodies of the target building can be modeled directly at the position in the map according to the model data. The above automated LOD4 modeling method significantly improves the modeling efficiency compared to the manual modeling method.

[0123] Fig. 9 FIG. 1 is a flowchart of a map rendering method provided by an exemplary embodiment, in which a building in a map can be rendered into a building model at level LOD4. Fig. 9 As shown, the method may include:

[0124] In step 900, model data of a target building to be modeled and location information of the target building on an electronic map are obtained.

[0125] The target building includes at least one building body. In this step, model data of the target building to be modeled may be obtained, and the model data may include building body model data of each building body of the target building. The building body model data may be modeled according to the modeling method of any embodiment of this specification.

[0126] When the model of the target building is to be rendered and displayed on the client, the model can be published to the client, specifically, the model data used for modeling and the location information (eg, longitude and latitude) of the building body can be sent to the client.

[0127] In step 902, at the building location corresponding to the location information in the electronic map, a building model of the target building is rendered and displayed based on the model data.

[0128] In this step, the client can directly render and display the building corresponding to the building model data at the location corresponding to the longitude and latitude information obtained in step 900 based on the received model data. When all the buildings included in the target building are rendered and displayed, the building model of the target building can be obtained.

[0129] In this embodiment, the buildings in the map may be building models at the LOD4 level. For example, when a user opens a map application on a terminal, the buildings in the map application may be building models constructed using the modeling method described in any embodiment of this specification. Fig. 10A This example shows a building display effect in a map. Fig. 10A As shown, by displaying the buildings in the map as LOD4 models, the map scene is made more realistic, which helps pre-trip decision-making, improves the map reading experience, and helps users obtain more accurate map information.

[0130] In other examples, in order to speed up map loading efficiency, LOD4 building models can be selectively displayed in some specific map application scenarios, or LOD4 effects can be selectively displayed for some specific buildings. For example, if in the map application scenario, the user is mainly concerned about the route and not the specific building form, you can choose to directly display the "square box" to save user terminal resources. For map usage scenarios where users are concerned about the form of the building itself, the above-mentioned building model can be displayed to the user.

[0131] Fig. 10B is a schematic diagram of a structure of a building modeling device provided by an exemplary embodiment. Fig. 10B As shown, the device may include: a bottom surface acquisition module 1001, a parameter acquisition module 1002, a shape construction module 1003 and a detail optimization module 1004.

[0132] The bottom surface acquisition module 1001 is used to determine the base plane of each building body included in the target building to be modeled on the electronic map, and the target building includes at least one building body.

[0133] The parameter acquisition module 1002 is used to acquire the building type, height data and building detail components of the building body, and each building type is used to represent the category to which the same type of buildings with common characteristics in shape and structure belong.

[0134] The shape construction module 1003 is used to model the basic building shape of the building on the base plane based on the building shape parameters associated with the building type and the height data.

[0135] The detail optimization module 1004 is used to set the building detail components on the basic building form to obtain the building model of the building body included in the target building.

[0136] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0137] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0138] like Fig.11 As shown, Fig.11 A hardware structure diagram of an electronic device in which a navigation broadcast device according to an embodiment of the specification is located is shown, and the device may include: a processor 1110, a memory 1120, an input / output interface 1130, a communication interface 1140, and a bus 1150. The processor 1110, the memory 1120, the input / output interface 1130, and the communication interface 1140 are connected to each other in communication within the device through the bus 1150.

[0139] The processor 1110 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification. The processor implements the above method by running executable instructions.

[0140] The memory 1120 for storing processor executable instructions can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1120 can store operating systems and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1120.

[0141] The input / output interface 1130 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0142] The communication interface 1140 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0143] The bus 1150 comprises a pathway that transmits information between the various components of the device (eg, the processor 1110 , the memory 1120 , the input / output interface 1130 , and the communication interface 1140 ).

[0144] It should be noted that, although the above device only shows the processor 1110, the memory 1120, the input / output interface 1130, the communication interface 1140 and the bus 1150, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0145] The embodiments of the present specification also provide a computer-readable storage medium on which a computer program is stored, and the program implements the above method when executed by a processor.

[0146] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0147] The embodiments of the present specification also provide a computer program, which is used to implement the method described in any embodiment of the present specification when executed.

[0148] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0149] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0150] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0151] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.

Claims

1. A building modeling method, characterized in that: The method comprises: For each building body included in the target building to be modeled, determining the base plane of the building body on the electronic map, wherein the target building includes at least one building body; Acquire the building type, height data and building detail components of the building body, wherein each building type is used to represent the category to which buildings of the same type that have common characteristics in shape and structure belong; On the base plane, based on the building form parameters associated with the building type and the height data, modeling the basic building form of the building; The building detail components are arranged on the basic building form to obtain a building model of the building body included in the target building.

2. The method according to claim 1, characterized in that After obtaining the building model of the building body included in the target building, the method further includes: Add a roof to the building model.

3. The method according to claim 1, characterized in that The step of determining the base plane of the building on the electronic map includes: Based on the collected image data, the position and shape of the base plane of the building body are obtained; the image data includes satellite images.

4. The method according to claim 1, characterized in that: The height data includes: the number of floors of a building, or the height value of the building; The step of obtaining the building type, height data and building detail components of the building includes: The height data is obtained by any of the following methods: According to the image of the building of the target building, identifying the number of floors of the building; and determining the height value of the building according to the number of floors; Alternatively, based on the base plane, a pre-stored height value associated with the base plane is obtained.

5. The method according to claim 1, characterized in that The building detail assembly includes: windows; The step of arranging the architectural detail components on the basic architectural form includes: Based on the arrangement and shape of the windows of the building, windows of the shape are arranged on the facade of the basic building form according to the arrangement; Wherein, the window shape is obtained based on image recognition of the building body; The arrangement of the windows is obtained based on image recognition of the building, or is determined based on the building type of the building.

6. The method according to claim 1, characterized in that The building detail assembly includes: a concave-convex structure of the facade of the building; The method further comprises: identifying, according to the image of the target building, facade concave-convex information corresponding to the concave-convex structure on the facade of the building body; The step of arranging the architectural detail component on the basic architectural form includes: extruding the concave-convex structure on the outer facade of the basic architectural form based on the concave-convex information of the facade.

7. The method according to claim 1, characterized in that The architectural detail assembly includes: a door opening; The building detail components are arranged on the basic building form, including: Obtain door opening location information of the target building; According to the door opening position information, a corresponding door opening is set on the basic building form.

8. The method according to claim 1, characterized in that The obtaining of the building type of the building body includes: Acquire the building type of the building body according to the attribute information stored in association with the base plane; Alternatively, based on the image of the building, the building type of the building is determined by image recognition.

9. A map rendering method, characterized in that the method comprises: Acquire model data of a target building to be modeled, and location information of the target building on an electronic map, wherein the target building includes at least one building body, the model data includes building body model data of each building body, and the building body model data is obtained according to the modeling method according to any one of claims 1 to 8; At the building location corresponding to the location information in the electronic map, a building model of the target building is rendered and displayed based on the model data.

10. A building modeling device, characterized in that: The device comprises: A bottom surface acquisition module, for determining the base plane of each building body included in the target building to be modeled on the electronic map, wherein the target building includes at least one building body; A parameter acquisition module, used to acquire the building type, height data and building detail components of the building body, each of the building types is used to represent the category to which the same type of buildings with common characteristics in shape and structure belong; A shape construction module, used for modeling the basic building shape of the building body on the base plane based on the building shape parameters associated with the building type and the height data; The detail optimization module is used to set the building detail components on the basic building form to obtain the building model of the building body included in the target building.