Three-dimensional electronic map processing method, device and electronic equipment

By comparing the adjusted angle value of the 3D electronic map with the preset angle value, only the map data within the preset viewing angle range is sent, and scene masking images are used when the viewing angle is too small, which solves the problem of resource problems caused by the adjustment of the 3D electronic map's perspective. It eliminates the waste problem and achieves effective utilization of resources and improvement of display efficiency.

CN113221044BActive Publication Date: 2024-10-01ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110608139.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-01
Publication Date
2024-10-01
Estimated Expiration
2041-06-01

AI Technical Summary

Technical Problem

When the perspective of the three-dimensional electronic map is adjusted, the map data is loaded without restrictions, which greatly occupies server resources, and the client needs to load a large amount of data, resulting in a waste of resources.

Method used

By obtaining the angle value after adjusting the viewing angle and comparing it with the preset angle value, only the map data within the preset viewing angle range is sent, and when the viewing angle is too small, a scene mask image is used to replace the undisplayed area to control the display range of the map data.

Benefits of technology

It effectively avoids unlimited consumption of server-side resources, reduces client-side data loading, ensures effective utilization of resources, and improves the display efficiency of electronic maps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113221044B_ABST
    Figure CN113221044B_ABST
Patent Text Reader

Abstract

The present application is about a method, device and electronic device for processing three-dimensional electronic maps. The method includes: obtaining an adjustment angle value after adjusting the viewing angle; comparing the adjustment angle value with a preset angle value; if the adjustment angle value is less than or equal to the preset angle value, receiving the corresponding map data within the preset viewing angle range sent by the server. The solution provided by the present application obtains the adjustment angle value of the three-dimensional electronic map after adjusting the viewing angle, and compares the adjustment angle value with the preset angle value. If it is less than or equal to the preset angle value, the server only sends map data within the preset viewing angle range, thereby limiting the scope of map data processed by the server, avoiding unlimited consumption of server resources, and avoiding unlimited reception and loading of map data by the client, ensuring that the resources of both the server and the client can be effectively utilized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of navigation technology, and in particular to a method, device and electronic equipment for processing a three-dimensional electronic map. Background Art

[0002] Among electronic maps, compared with two-dimensional electronic maps, three-dimensional electronic maps have the characteristics of three-dimensionality and intuitiveness. Among them, three-dimensional electronic maps can display three-dimensional scenes such as roads and buildings, giving users a more realistic visual experience.

[0003] In order to facilitate users to better view the three-dimensional electronic map, users can generally manually adjust the viewing angle, that is, adjust the angle between the line of sight and the ground in the map, so as to view the map from different viewing angles. However, in the process of users randomly adjusting the viewing angle, the map data will be loaded accordingly as the viewing angle changes, and the loaded map data will be displayed on the screen. Users can even adjust the viewing angle to a very small value, such as adjusting the viewing angle to be parallel to the horizontal plane where the ground is located, that is, infinitely approaching 0°. At a viewing angle close to 0°, the field of view corresponding to this viewing angle is very wide, and the map data that needs to be loaded is equivalent to infinity, which will cause the map data to be loaded without limit, thereby greatly occupying the resources of the server. Summary of the invention

[0004] In order to solve or partially solve the problems existing in the related art, the present application provides a three-dimensional electronic map processing method, device and electronic device. The three-dimensional electronic map processing method, device and electronic device can control the display range of map data of the three-dimensional electronic map after adjusting the viewing angle, thereby avoiding unlimited consumption of server resources.

[0005] The first aspect of the present application provides a method for processing a three-dimensional electronic map, which includes:

[0006] Get the adjusted angle value after adjusting the viewing angle;

[0007] Comparing the adjusted angle value with a preset angle value;

[0008] If the adjustment angle value is less than or equal to the preset angle value, the corresponding map data within the preset viewing angle range sent by the server is received.

[0009] In one embodiment, obtaining the adjusted angle value after adjusting the viewing angle further includes:

[0010] The zoom ratio after adjusting the viewing angle is obtained to determine the preset viewing angle range corresponding to the zoom ratio.

[0011] In one embodiment, the method further comprises:

[0012] If the adjustment angle value is greater than the preset angle value, map data corresponding to the adjustment angle value sent by the server is received.

[0013] In one of the embodiments, if the adjustment angle value is less than or equal to the preset angle value, after receiving the map data corresponding to the preset viewing angle range sent by the server, the method further includes:

[0014] The map data outside the preset viewing angle range is replaced by a scene shielding picture, and the scene shielding picture is rendered and displayed.

[0015] In one embodiment, the method further comprises:

[0016] Get current location information;

[0017] When the partial map area after adjusting the viewing angle exceeds the preset distance of the current position information, a scene masking image is used in the position area exceeding the preset distance. In one embodiment, the preset angle value is within 10° to 20°.

[0018] A second aspect of the present application provides a three-dimensional electronic map processing device, comprising:

[0019] A viewing angle acquisition module, used to obtain an adjusted angle value after adjusting the viewing angle;

[0020] An angle determination module, used for comparing the adjustment angle value obtained by the viewing angle acquisition module with a preset angle value;

[0021] The data receiving module is used to receive the map data corresponding to the preset viewing angle range sent by the server if the adjustment angle value is less than or equal to the preset angle value.

[0022] In one embodiment, the processing device further comprises:

[0023] The rendering module is used to replace the map data outside the preset viewing angle range with a scene shielding picture, and render and display the scene shielding picture.

[0024] A third aspect of the present application provides an electronic device, including:

[0025] Processor; and

[0026] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0027] A fourth aspect of the present application provides a non-transitory machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0028] The technical solution provided by this application may have the following beneficial effects:

[0029] The three-dimensional electronic map processing method of the present application obtains the adjusted angle value of the three-dimensional electronic map after adjusting the viewing angle, and compares the adjusted angle value with the preset angle value. If the adjusted angle value is less than or equal to the preset angle value, the server only sends map data within the preset viewing angle range, thereby limiting the range of map data processed by the server, avoiding unlimited consumption of server resources, and avoiding unlimited reception and loading of map data by the client, ensuring that the resources of both the server and the client can be effectively utilized.

[0030] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and other objects, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0032] Figure 1 It is a flowchart of a method for processing a three-dimensional electronic map shown in an embodiment of the present application;

[0033] Figure 2 is another flowchart of a method for processing a three-dimensional electronic map according to an embodiment of the present application;

[0034] Figure 3 is a schematic diagram of the structure of a three-dimensional electronic map processing device shown in an embodiment of the present application;

[0035] Figure 4 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0037] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0038] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0039] In the related art, when a three-dimensional electronic map directly displays map data according to an arbitrary viewing angle, if the angle value of the viewing angle is very small, or even close to 0°, the field of view corresponding to the viewing angle will be very wide, and a lot of map data needs to be displayed, resulting in a large amount of server resources being occupied for data processing.

[0040] In view of the above problems, an embodiment of the present application provides a method for processing a three-dimensional electronic map, which can control the display range of map data of the three-dimensional electronic map after adjusting the viewing angle, avoid unlimited consumption of server resources, and improve the effective utilization of server resources.

[0041] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0042] Embodiment 1

[0043] Figure 1 It is a flowchart of a method for processing a three-dimensional electronic map shown in an embodiment of the present application.

[0044] See also Figure 1 In one embodiment of the present application, a method for processing a three-dimensional electronic map is provided, which includes:

[0045] Step S110, obtaining an adjusted angle value after adjusting the viewing angle.

[0046] For the three-dimensional electronic map currently displayed on the client screen, in one embodiment, the user manually or the client automatically adjusts the viewing angle of the three-dimensional electronic map, so that the three-dimensional electronic map has an adjusted angle value at the adjusted viewing angle. It can be understood that before the viewing angle is adjusted, the viewing angle of the currently displayed three-dimensional electronic map has a corresponding current angle value. After continuous or discontinuous adjustment, corresponding adjustment angle values ​​are generated respectively, and the adjustment angle value is the angle value of the viewing angle of the three-dimensional electronic map after adjustment.

[0047] Step S120, comparing the adjusted angle value with the preset angle value.

[0048] In one of the embodiments, a preset angle value is set in advance, and each adjusted angle value is compared with the preset angle value to obtain a comparison result, so that the server in the subsequent step can send corresponding map data according to the comparison result. The preset angle value is a preset angle value of a displayable viewing angle. That is, within the limited conditions of the preset angle value, the viewing angle corresponding to the adjusted angle value can be displayed, otherwise it cannot be displayed. In one of the embodiments, the preset angle value can be the minimum value of the viewing angle allowed to be displayed.

[0049] In one embodiment, the value of the preset angle value can be adjusted according to the resources of the server. For example, when the resources of the server are large enough, a smaller preset angle value can be set; when the resources of the server are limited, a larger preset angle value can be set. By adjusting the preset angle value, the resources consumed by the server to process the map data can be adjusted.

[0050] Step S130: If the adjusted angle value is less than or equal to the preset angle value, the corresponding map data within the preset viewing angle range sent by the server is received.

[0051] When the adjusted angle value is less than or equal to the preset angle value, it means that the adjusted viewing angle is very small, and the field of view corresponding to the viewing angle is very large. Accordingly, the map data required to be displayed by the viewing angle is very large, which means that more server resources are required for processing. In this case, by setting the preset viewing angle range, the server only sends the corresponding map resources within the preset viewing angle range, thereby avoiding the server from directly sending map data according to the adjusted angle value, controlling the processing amount of map data, reducing the resource consumption of the server, and correspondingly reducing the data loading amount of the client.

[0052] In one embodiment, the range of map data corresponding to the preset viewing angle range is less than or equal to the range of map data corresponding to the preset angle value. That is, the angle value corresponding to the preset viewing angle range is less than or equal to the preset angle value. That is, the preset angle value is used as a boundary to avoid the server processing too much map data and causing resource consumption.

[0053] In the above-mentioned embodiment, the three-dimensional electronic map processing method of the present application obtains the adjusted angle value of the three-dimensional electronic map after adjusting the viewing angle, and compares the adjusted angle value with the preset angle value. If it is less than or equal to the preset angle value, the server sends the map data within the preset viewing angle range, thereby limiting the range of map data processed by the server, avoiding unlimited consumption of server resources, and avoiding unlimited reception and loading of map data by the client, thereby ensuring that the resources of both the server and the client can be effectively utilized.

[0054] Embodiment 2

[0055] To further introduce the processing method of the three-dimensional electronic map of the present application, see Figure 2 The method for processing the three-dimensional electronic map comprises:

[0056] Step S210, obtaining the adjusted angle value and the corresponding zoom ratio after adjusting the viewing angle.

[0057] It is understandable that when the user manually controls the client, for example, by adjusting the viewing angle of the electronic map displayed on the client screen through various methods such as touch and key control, the electronic map may be zoomed in and out simultaneously, so that the zoom ratio of the electronic map will also change accordingly after the viewing angle is adjusted.

[0058] In one of the embodiments, the zoom ratio after adjusting the viewing angle is obtained to determine the preset viewing angle range corresponding to the zoom ratio. Among them, the preset viewing angle range is crucial in the subsequent step S230. That is, when obtaining the adjusted angle value of the viewing angle after adjusting the viewing angle, it is also necessary to synchronously obtain the corresponding zoom ratio of the electronic map to be displayed on the screen of the client after adjusting the viewing angle. In one of the embodiments, the preset viewing angle range is determined according to the zoom ratio. That is, different zoom ratios correspond to different preset viewing angle ranges. In one of the embodiments, the preset viewing angle range is the angle value range of the viewing angle to be displayed after the viewing angle is adjusted. The server in the subsequent steps processes the map data within the corresponding angle value range according to the preset viewing angle range. Of course, after adjusting the viewing angle of the electronic map, even if no zoom operation is performed during the adjustment, it is still necessary to obtain the zoom ratio after adjusting the viewing angle; in this case, the zoom ratio after adjusting the viewing angle is the same as the zoom ratio before adjusting the viewing angle.

[0059] It can be understood that in the related art, due to the large amount of information such as roads, buildings, names, etc. contained in the map, the amount of map data will be very large. In order to better manage and track data, the map data can be layered and stored before it is used. Specifically, the map data can be divided into several data levels from top to bottom, and one upper layer of data can correspond to multiple lower layers of data, and each layer expresses the connectivity characteristics of different roads. Different zoom ratios can correspond to different data levels. When the data levels in the data hierarchy are sequenced with Arabic numerals, the first layer can represent the top layer of data, and the second layer of data, the third layer of data, ..., can be arranged in sequence downward. When the zoom ratio is a reduction ratio, the smaller the reduction ratio, the higher the corresponding data level. For example, the data level corresponding to the reduction ratio of 20% of the normal display size is higher than the data level corresponding to the reduction ratio of 50% of the normal display size. When the zoom ratio is a magnification ratio, the larger the magnification ratio, the lower the corresponding data layer. For example, the data layer corresponding to the magnification ratio of 2 times the normal display size is lower than the data layer corresponding to the magnification ratio of 1 times the normal display size.

[0060] That is to say, different zoom ratios correspond to different data levels, and the content and size of the map data contained in different data levels are different. Accordingly, the map data that the server needs to process and send is also different. By determining the zoom ratio, the data level after adjusting the viewing angle can be determined, and then the preset viewing angle range corresponding to the data level can be determined. It can be understood that the preset viewing angle ranges set corresponding to different data levels may be the same or different. Specifically, the preset viewing angle range can be set according to the amount of map data contained in the data level. For example, the more map data contained in the data level, the narrower preset viewing angle range can be set accordingly, thereby reducing the data processing amount of the server. On the contrary, if the data level contains less map data, the map data required to be processed by the server is also less, then a wider preset viewing angle range can be set accordingly, so that more viewing angles can be obtained, a larger field of view can be obtained, and the server resources will not be excessively occupied and consumed.

[0061] Step S220, comparing the adjusted angle value with the preset angle value.

[0062] In one embodiment, the preset angle value is within 10° to 20°. For example, the preset angle value is 10°, 15° or 20°. A specific angle value can be set as the preset angle value, and the adjusted angle value is compared with the preset angle value. It can be understood that the specific adjusted angle value after adjusting the viewing angle is compared with the preset angle value, and the subsequent step S230 or step S240 is executed according to the comparison result, and one of them is executed.

[0063] In other embodiments, the preset angle value may also be an angle value within a certain interval. For example, the preset angle value is (10° to 20) to 180°. For example, the preset angle value is 10° to 180°, or 15° to 180°, or 20° to 180°. When the adjusted angle value after adjusting the viewing angle is within the interval range of the preset angle value, step S240 is executed, otherwise step S230 is executed.

[0064] Step S230: If the adjusted angle value is less than or equal to the preset angle value, map data within a preset viewing angle range corresponding to the zoom ratio sent by the server is received.

[0065] For ease of understanding, for example, the preset angle value is 15°, and the obtained adjustment angle value is 10°, then the server processes the map data according to the preset viewing angle range and sends it to the client.

[0066] Further, according to the scaling ratio after adjusting the viewing angle determined in step S210, the corresponding data level is determined. Corresponding preset viewing angle ranges are set for different data levels. For example, for the first layer of data, the corresponding preset viewing angle range is A°~B°; for the second layer of data, the corresponding preset viewing angle range is C°~D°, and so on. The preset viewing angle range corresponding to each layer of data level can be preset. In one embodiment, A, B, C, D, etc. are all positive numbers. In one embodiment, the preset viewing angle range is greater than or equal to the preset adjustment value, that is, A, B, C, and D are all greater than or equal to the preset adjustment value. It can be understood that the preset viewing angle ranges of different data levels may be the same, different, or partially the same, and there is no limitation here.

[0067] The server processes the map data within the corresponding range according to the preset viewing angle range set by the corresponding zoom ratio, and sends the map data to the client, and the client receives the corresponding map data.

[0068] Step S240: If the adjustment angle value is greater than the preset angle value, map data corresponding to the adjustment angle value sent by the server is received.

[0069] It can be understood that if the adjustment angle value is greater than the preset angle value, it means that the amount of map data that needs to be processed and displayed corresponding to the angle value after the viewing angle adjustment is within the acceptable range of the server, and the server can directly process the map data according to the adjustment angle value after the viewing angle adjustment and send it to the client. The client receives the map data corresponding to the adjustment angle value sent by the server.

[0070] After executing step S230 or step S240, step S250 may be continued, or after executing step S230 or step S240, the process may be terminated directly without executing step S250. That is, step S250 is an optional step, and the user may customize the settings on the client to enrich the configuration of the client.

[0071] Step S250, rendering and displaying the scene occlusion picture.

[0072] It can be understood that, for step S230, after the client receives the map data within the preset viewing angle range sent by the server, since the map data corresponding to the preset viewing angle range is less than the map data corresponding to the adjustment angle value, although the resource consumption of the server is reduced, the field of view of the electronic map displayed by the client is narrower than the field of view of the original adjustment angle value. For example, when the adjustment angle value after the viewing angle is adjusted to 10°, the line of sight is almost parallel to the ground. Under such a viewing angle value, the map data corresponding to the original field of view will be very wide and far; but due to the limitation of the preset viewing angle range, the map data sent by the server does not include the farthest map data corresponding to the adjustment angle value, that is, it does not include the farthest field of view, and the displayed field of view is reduced. In order to make up for the loss of field of view and the integrity of the electronic map displayed on the screen, the map data of the field of view that is not displayed is replaced by a scene shielding picture. In one embodiment, the map data outside the preset viewing angle range is replaced by a scene shielding picture, and the scene shielding picture is rendered and displayed.

[0073] In one embodiment, the scene shielding picture can be a simulated sky picture. That is, a picture with a sky pattern is used as a shielding layer, and is directly displayed in the form of a picture in the electronic map after adjusting the viewing angle. The location displayed by the scene shielding picture is the location where the map data outside the preset viewing angle range should be displayed. In other embodiments, the scene shielding picture can include pictures with different patterns, and the user can customize the scene shielding picture required. Such a design, on the one hand, enables the client to fully display the map data within the preset viewing angle range without affecting the user's viewing of the electronic map; on the other hand, the scene shielding picture is used to fill the field of view, making up for the lack of undisplayed map data while making the entire field of view harmonious, maintaining the authenticity and three-dimensional sense of the three-dimensional electronic map.

[0074] In one embodiment, when the map data in the electronic map after adjusting the viewing angle exceeds the preset distance, a scene shielding picture is used in the location area exceeding the preset distance. Specifically, in one embodiment, the current location information of the client is obtained, and when the map area after adjusting the viewing angle exceeds the preset distance of the current location information, the scene shielding picture is used in the area where the location exceeding the preset distance is located. Specifically, taking the current location information as the reference point, when some areas in the map exceed the preset distance of the current location information, the map data of the exceeding part of the area does not need to be loaded and displayed, but is displayed instead with the scene shielding picture, thereby further reducing the data processing load of the client, and directly using the scene shielding picture for display instead. It can be understood that when the preset distance is exceeded, for the user, the user will not view the map data of a farther location. Therefore, the client can directly not display the map data at the corresponding position of the electronic map, and only display the scene shielding picture. Such a design can reduce the data processing load of the client on the one hand, and will not affect the user's visual experience on the other hand.

[0075] It can be understood that no matter what the comparison result of step S220 is, step S250 can be selectively executed. After receiving the map data sent by the server, the client can further reduce the loading and display of map data by replacing it with a scene mask image, thereby reducing the data processing load of the client.

[0076] In summary, the processing method of the three-dimensional electronic map in the embodiment of the present application is that the present application compares the adjusted angle value after adjusting the viewing angle with the preset angle value. If the adjusted angle value is less than or equal to the preset angle value, the server sends the map data within the preset viewing angle range corresponding to the zoom ratio after adjusting the viewing angle to the client, and the client can directly display the corresponding map data, and display the scene shielding picture at the position outside the preset viewing angle range in the electronic map to make up for the default map data of the complete viewing angle corresponding to the adjusted angle value that the electronic map does not display, so that the overall visual effect of the three-dimensional electronic map tends to be complete and real; and the client can also use the scene shielding picture for display at a position exceeding the preset distance, thereby replacing the map data of the farther part within the preset viewing angle range. If the adjusted angle value is greater than the preset angle value, the server directly sends the map data corresponding to the adjusted angle value to the client, and the client can directly display the map data corresponding to the adjusted angle value; in addition, the client can also use the scene shielding picture for display at a position exceeding the preset distance on this basis. The technical solution of the present application reduces the resource consumption of the server, reduces the data loading amount of the client, improves the display efficiency of the electronic map, and ensures the display effect of the three-dimensional electronic map.

[0077] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a three-dimensional electronic map processing device, electronic device and corresponding embodiments.

[0078] Embodiment 3

[0079] Figure 3 It is a structural schematic diagram of a three-dimensional electronic map processing device shown in an embodiment of the present application.

[0080] See also Figure 3 , a three-dimensional electronic map processing device according to an embodiment of the present application includes a viewing angle acquisition module 310, an angle determination module 320 and a data receiving module 330, wherein:

[0081] The viewing angle acquisition module 310 is used to acquire an adjusted angle value after the viewing angle is adjusted.

[0082] The angle determination module 320 is used to compare the adjustment angle value obtained by the viewing angle acquisition module 310 with a preset angle value.

[0083] The data receiving module 330 is used to receive the map data corresponding to the preset viewing angle range sent by the server if the adjustment angle value is less than or equal to the preset angle value.

[0084] In one of the embodiments, the viewing angle acquisition module 310 is further used to obtain the adjusted angle value and the corresponding zoom ratio after the viewing angle is adjusted. By obtaining the zoom ratio after the viewing angle is adjusted, the preset viewing angle range corresponding to the zoom ratio is determined. The angle judgment module 320 is used to compare the adjusted angle value obtained by the viewing angle acquisition module 310 with the preset angle value. If the adjusted angle value is less than or equal to the preset angle value, the data receiving module 330 receives the corresponding map data within the preset viewing angle range sent by the server. If the adjusted angle value is greater than the preset angle value, the data receiving module 330 receives the map data corresponding to the adjusted angle value sent by the server. Further, in one of the embodiments, the processing device also includes a rendering module 340, which is used to replace the map data outside the preset viewing angle range with a scene shielding picture, and render and display the scene shielding picture. And / or, when the map data in the electronic map after the viewing angle is adjusted exceeds the preset distance, the rendering module 340 renders and displays the scene shielding picture in the location area exceeding the preset distance.

[0085] In summary, the three-dimensional electronic map processing device of the present application obtains the adjusted angle value and zoom ratio after adjusting the viewing angle through the viewing angle acquisition module, and the angle judgment module compares the adjusted angle value obtained by the viewing angle acquisition module with the preset angle value. If the adjusted angle value is less than or equal to the preset angle value, the server sends the map data within the preset viewing angle range corresponding to the zoom ratio after adjusting the viewing angle to the data receiving module of the client. With such a design, the server can reduce resource consumption, and the client can also reduce data loading, thereby improving resource utilization of the server and the client.

[0086] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.

[0087] See also Figure 4 , the electronic device 400 includes a memory 410 and a processor 420.

[0088] The processor 420 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0089] The memory 410 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 420 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 410 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 410 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0090] The memory 410 stores executable codes, and when the executable codes are processed by the processor 420 , the processor 420 can execute part or all of the methods described above.

[0091] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0092] Alternatively, the present application can also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or electronic device, server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0093] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for processing a three-dimensional electronic map, characterized in that: Acquiring an adjusted angle value after adjusting the viewing angle, and acquiring a zoom ratio after adjusting the viewing angle, so as to determine a preset viewing angle range corresponding to the zoom ratio, including: determining a data level of the map data according to the zoom ratio, and determining the preset viewing angle range according to a data volume of the map data at the data level; Comparing the adjusted angle value with a preset angle value; If the adjustment angle value is less than or equal to the preset angle value, the corresponding map data within the preset viewing angle range sent by the server is received, and the map data outside the preset viewing angle range is replaced by a scene masking image, and the scene masking image is rendered and displayed, wherein the preset angle value is set according to the resources of the server, and the preset angle value is 10° to 20°.

2. The method according to claim 1, characterized in that Also includes: If the adjustment angle value is greater than the preset angle value, map data corresponding to the adjustment angle value sent by the server is received.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Get current location information; When the partial map area after the viewing angle is adjusted exceeds the preset distance of the current position information, a scene masking picture is used in the position area exceeding the preset distance.

4. A three-dimensional electronic map processing device, characterized in that: A viewing angle acquisition module, used to acquire an adjusted angle value after the viewing angle is adjusted, and to acquire a zoom ratio after the viewing angle is adjusted, so as to determine a preset viewing angle range corresponding to the zoom ratio, including: determining a data level of the map data according to the zoom ratio, and determining the preset viewing angle range according to a data volume of the map data at the data level; An angle determination module, used for comparing the adjustment angle value obtained by the viewing angle acquisition module with a preset angle value; A data receiving module, configured to receive map data corresponding to the preset viewing angle range sent by the server if the adjustment angle value is less than or equal to the preset angle value, wherein the preset angle value is set according to resources of the server, and the preset angle value is 10° to 20°; The rendering module is used to replace the map data outside the preset viewing angle range with a scene shielding picture, and render and display the scene shielding picture.

5. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 3.

6. A non-transitory machine-readable storage medium, characterized in that: An executable code is stored thereon, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as claimed in any one of claims 1 to 3.