CN113221044A - Three-dimensional electronic map processing method and device and electronic equipment - Google Patents

Three-dimensional electronic map processing method and device and electronic equipment Download PDF

Info

Publication number
CN113221044A
CN113221044A CN202110608139.4A CN202110608139A CN113221044A CN 113221044 A CN113221044 A CN 113221044A CN 202110608139 A CN202110608139 A CN 202110608139A CN 113221044 A CN113221044 A CN 113221044A
Authority
CN
China
Prior art keywords
angle value
preset
angle
map data
adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110608139.4A
Other languages
Chinese (zh)
Inventor
贾双成
朱磊
王斌
贾郭峰
王艳君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhidao Network Technology Beijing Co Ltd
Original Assignee
Zhidao Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhidao Network Technology Beijing Co Ltd filed Critical Zhidao Network Technology Beijing Co Ltd
Priority to CN202110608139.4A priority Critical patent/CN113221044A/en
Publication of CN113221044A publication Critical patent/CN113221044A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to a three-dimensional electronic map processing method and device and electronic equipment. The method comprises the following steps: acquiring an adjustment angle value after the angle of view is adjusted; comparing the adjustment angle value with a preset angle value; and if the adjustment angle value is smaller than or equal to the preset angle value, receiving the corresponding map data within the preset angle range sent by the server. According to the scheme provided by the application, the adjustment angle value of the three-dimensional electronic map after the visual angle is adjusted is obtained, the adjustment angle value is compared with the preset angle value, if the adjustment angle value is smaller than or equal to the preset angle value, the server only sends the map data within the range of the preset visual angle, so that the range of the map data processed by the server is limited, the resource of the server is prevented from being consumed unlimitedly, meanwhile, the client can be prevented from receiving and loading the map data unlimitedly, and the resources of the server and the client can be effectively utilized.

Description

Three-dimensional electronic map processing method and device and electronic equipment
Technical Field
The present application relates to the field of navigation technologies, and in particular, to a method and an apparatus for processing a three-dimensional electronic map, and an electronic device.
Background
In the electronic map, compared with a two-dimensional electronic map, a three-dimensional electronic map has characteristics such as stereoscopic and intuitive. The three-dimensional electronic map can display three-dimensional scenes such as roads and buildings, and brings more real visual experience to users.
In order to facilitate a user to view a three-dimensional electronic map better, the user may generally manually adjust the viewing angle, i.e., adjust the angle between the line of sight and the ground in the map, so as to view the map at different viewing angles. However, in the process of randomly adjusting the viewing angle by the user, the map data is correspondingly loaded along with the change of the viewing angle, and the loaded map data is displayed on the screen. The user may even adjust the viewing angle to be very small, e.g. to be parallel to the horizontal plane on which the ground is located, i.e. infinitely close to 0 °. Under the visual angle approaching 0 degree, the visual field corresponding to the visual angle is very wide, and the map data needing to be loaded is equivalent to infinity, so that the map data can be loaded unlimitedly, and the resources of a server side are greatly occupied.
Disclosure of Invention
In order to solve or partially solve the problems in the related art, the application provides a processing method and device of a three-dimensional electronic map and electronic equipment, and the processing method, device and electronic equipment of the three-dimensional electronic map can control the display range of map data of the three-dimensional electronic map after the visual angle is adjusted, so that unlimited consumption of server resources is avoided.
The application provides a processing method of a three-dimensional electronic map in a first aspect, which includes:
acquiring an adjustment angle value after the angle of view is adjusted;
comparing the adjustment angle value with a preset angle value;
and if the adjustment angle value is smaller than or equal to the preset angle value, receiving the corresponding map data within the preset angle range sent by the server.
In one embodiment, the obtaining the adjustment angle value after the angle of view is adjusted further includes:
and acquiring the zoom ratio after the visual angle is adjusted so as to determine the preset visual angle range corresponding to the zoom ratio.
In one embodiment, the method further comprises:
and if the adjustment angle value is larger than the preset angle value, receiving map data which is sent by the server and corresponds to the adjustment angle value.
In one embodiment, after receiving the map data corresponding to the preset view angle range sent by the server if the adjustment angle value is smaller than or equal to the preset angle value, the method further includes:
and replacing the map data outside the preset visual angle range with a scene shading picture, and rendering and displaying the scene shading picture.
In one embodiment, the method further comprises:
acquiring current position information;
and when the part of the map area after the visual angle is adjusted exceeds the preset distance of the current position information, adopting a scene shielding picture in the position area exceeding the preset distance. In one embodiment, the preset angle value is within a range of 10 ° -20 °.
The second aspect of the present application provides a processing apparatus for a three-dimensional electronic map, which includes:
the visual angle acquisition module is used for acquiring an adjustment angle value after the visual angle is adjusted;
the angle judging module is used for comparing the adjustment angle value acquired by the visual angle acquiring module with a preset angle value;
and the data receiving module is used for receiving the corresponding map data within the preset visual angle range sent by the server side if the adjustment angle value is smaller than or equal to the preset angle value.
In one embodiment, the processing apparatus further comprises:
and the rendering module is used for replacing the map data outside the preset visual angle range with a scene shading picture, and rendering and displaying the scene shading picture.
A third aspect of the present application provides an electronic device comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform a method as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
according to the processing method of the three-dimensional electronic map, the adjustment angle value of the three-dimensional electronic map after the visual angle is adjusted is obtained, the adjustment angle value is compared with the preset angle value, and if the adjustment angle value is smaller than or equal to the preset angle value, the server only sends the map data within the range of the preset visual angle, so that the range of the map data processed by the server is limited, resources of the server are not consumed unlimitedly, meanwhile, the client can be prevented from receiving and loading the map data unlimitedly, and the resources of the server and the client can be effectively utilized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application, as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
Fig. 1 is a schematic flowchart of a processing method of a three-dimensional electronic map according to an embodiment of the present application;
fig. 2 is another schematic flow chart of a processing method of a three-dimensional electronic map according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a processing apparatus of a three-dimensional electronic map shown in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are illustrated in the accompanying drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the related art, when the three-dimensional electronic map directly displays map data according to any visual angle, if the angle value of the visual angle is very small, even approaches to 0 °, the visual field corresponding to the visual angle is very wide, and the map data to be displayed is very much, so that a large amount of server resources are occupied for data processing.
In view of the above problems, embodiments of the present application provide a method for processing a three-dimensional electronic map, which can control a display range of map data of the three-dimensional electronic map after adjusting a viewing angle, avoid unlimited consumption of server resources, and improve effective utilization of the server resources.
The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example one
Fig. 1 is a schematic flowchart of a processing method of a three-dimensional electronic map according to an embodiment of the present application.
Referring to fig. 1, in an embodiment of the present application, a method for processing a three-dimensional electronic map is provided, which includes:
step S110, an adjustment angle value after the angle of view is adjusted is obtained.
In one embodiment, a user manually or the client automatically adjusts the displayed view angle of the three-dimensional electronic map according to the currently displayed three-dimensional electronic map on the screen of the client, so that the angle value of the three-dimensional electronic map is adjusted at the adjusted view angle. It will be appreciated that the perspective of the currently displayed three-dimensional electronic map has a corresponding current angle value before the perspective is not adjusted. And respectively generating corresponding adjustment angle values after continuous or discontinuous adjustment, wherein the adjustment angle values are the angle values of the adjusted visual angles of the three-dimensional electronic map.
Step S120, comparing the adjustment angle value with a preset angle value.
In one embodiment, a preset angle value is preset, each adjustment angle value is compared with the preset angle value to obtain a comparison result, and therefore the server side in the subsequent step can send corresponding map data according to the comparison result. The preset angle value is a preset angle value capable of displaying a visual angle. That is, within the limit condition of the preset angle value, the viewing angle corresponding to the adjustment angle value can be displayed, otherwise, the viewing angle cannot be displayed. In one embodiment, the preset angle value may be the minimum value of the viewing angles allowed to be displayed.
In one embodiment, the value of the preset angle value may be adjusted and set according to the resource of the server. For example, when the resources of the server are large enough, a smaller preset angle value may 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 resource consumed by the server side for processing the map data can be adjusted.
Step S130, if the adjustment angle value is less than or equal to the preset angle value, receiving the corresponding map data within the preset visual angle range sent by the server.
When the adjustment angle value is smaller than or equal to the preset angle value, that is, it is stated that the adjusted view angle is very small, the view field corresponding to the view angle is very large, and accordingly, the map data required to be displayed by the view angle is very much, which means that more server resources are required to be occupied for processing. In this case, by setting the preset view angle range, the server only sends the corresponding map resource within the preset view angle range, thereby avoiding the server from directly sending the map data according to the adjustment angle value, controlling the processing amount of the map data, reducing the resource consumption of the server, and correspondingly reducing the data load of the client.
In an embodiment, the range of the map data corresponding to the preset angle range is smaller than or equal to the range of the map data corresponding to the preset angle value. Namely, the angle value corresponding to the preset view angle range is less than or equal to the preset angle value. Namely, the preset angle value is taken as a boundary line, so that the resource consumption caused by excessive map data processed by the server is avoided.
In the foregoing embodiment, the processing method of the three-dimensional electronic map according to the present application compares the adjustment angle value of the three-dimensional electronic map after the angle of view is adjusted with the preset angle value by obtaining the adjustment angle value, and if the adjustment angle value is smaller than or equal to the preset angle value, the server sends the map data within the preset angle range, so as to limit the range of the map data processed by the server, avoid unlimited consumption of resources of the server, and simultaneously avoid unlimited reception and loading of the map data by the client, thereby ensuring that resources of the server and the client can be effectively utilized.
Example two
For further describing the processing method of the three-dimensional electronic map of the present application, referring to fig. 2, the processing method of the three-dimensional electronic map includes:
step S210, obtaining an adjustment angle value and a corresponding scaling after adjusting the angle of view.
It can be understood that when the user manually controls the client, for example, when the angle of view of the electronic map displayed on the screen of the client is adjusted through various manners such as touching, keying, and the like, the electronic map may be synchronously zoomed, so that the electronic map may also change the zoom scale after the angle of view is adjusted.
In one embodiment, the zoom ratio after the angle of view is adjusted is obtained to determine a preset angle of view range corresponding to the zoom ratio. The preset viewing angle range is important in the subsequent step S230. That is to say, when the adjustment angle value of the angle of view after the angle of view is adjusted is obtained, the corresponding scaling of the electronic map to be displayed in the screen of the client after the angle of view is adjusted needs to be synchronously obtained. In one embodiment, the preset viewing angle range is determined according to a scaling ratio. That is, different scales correspond to different preset viewing angle ranges. In one embodiment, the preset viewing angle range is an angle value range of the viewing angle to be displayed after the viewing angle is adjusted. And the server side in the subsequent step processes the map data in the corresponding angle value range according to the preset view angle range. Of course, after the electronic map is adjusted in view angle, even if no zooming operation is performed during the adjustment, the zooming ratio after the view angle is adjusted still needs to be obtained; in this case, the scaling after the angle of view is adjusted is the same as the scaling before the angle of view is adjusted.
It can be understood that, in the related art, because the map contains a lot of information such as roads, buildings, names, etc., the amount of map data will be very large. For better management and tracking of data, map data may be hierarchically processed and stored before being used. Specifically, the map data can be divided into a plurality of data levels from top to bottom, one upper layer data can correspond to a plurality of lower layer data, and each layer expresses the communication characteristics of different roads. Different scales may correspond to different data levels. When the data hierarchy in the data hierarchy is sorted by arabic numbers, layer 1 may represent the top layer data, and layer 2, layer 3, and … … are arranged sequentially downward. When the scaling is a reduction scale, the lower the reduction scale, the higher the corresponding data level, for example, the data level corresponding to the reduction scale of 20% of the normal display size is higher than the data level corresponding to the reduction scale of 50% of the normal display size. When the zoom-in scale is an enlargement scale, the larger the enlargement scale, the lower the corresponding data level, for example, the data level corresponding to the enlargement scale of 2 times the normal display size is lower than the data level corresponding to the enlargement scale of 1 time the normal display size.
That is, different scales correspond to different data hierarchies, and the content and size of the map data included in different data hierarchies are different, and accordingly, the map data that the server needs to process and send are also different. By determining the scaling, the data hierarchy after the angle of view is adjusted can be determined, and then the preset angle of view range corresponding to the data hierarchy is determined. It is understood that the preset viewing angle ranges correspondingly arranged at different data levels may be the same or different. Specifically, the preset viewing angle range may be set according to the amount of map data included in the data hierarchy. For example, the more map data the data hierarchy contains, the narrower preset viewing angle range can be set accordingly, thereby reducing the data processing amount of the server. Conversely, if the data hierarchy contains less map data and the server processes less map data, a wider preset view angle range can be set accordingly, so that more view angles can be obtained, a larger view angle can be obtained, and server resources are not consumed too much.
Step S220, comparing the adjustment angle value with a preset angle value.
In one embodiment, the preset angle value is within a range of 10 ° -20 °. For example, the preset angle value is 10 °, 15 °, or 20 °. A specific angle value can be set as a preset angle value, and the adjustment angle value is compared with the preset angle value. It is understood that the specific adjustment angle value after the angle adjustment is compared with the preset angle value, and the subsequent step S230 or step S240 is executed according to the comparison result, or alternatively executed.
In other embodiments, the preset angle value may also be an angle value within a certain interval range. For example, the preset angle value is (10 ° -20) — 180 °. For example, the predetermined angular value is from 10 to 180, or from 15 to 180, or from 20 to 180. When the adjusted angle value after adjusting the angle of view is within the range of the preset angle value, step S240 is executed, otherwise step S230 is executed.
In step S230, if the adjusted angle value is smaller than or equal to the preset angle value, the map data within the preset view angle range corresponding to the zoom ratio sent by the server is received.
For convenience of understanding, for example, the preset angle value is 15 °, and the obtained adjustment angle value is 10 °, the server performs processing and sending of the map data to the client according to the preset viewing angle range.
Further, according to the scaling determined in step S210 after the angle of view is adjusted, a corresponding data hierarchy is determined. The different data levels set the corresponding preset viewing angle ranges. For example, for the layer 1 data, the corresponding preset visual angle range is A-B degrees; aiming at the layer 2 data, the corresponding preset visual angle range is C-D degrees, and by analogy, the preset visual angle range corresponding to each layer data level can be preset. In one embodiment, A, B, C, D, etc. are all positive numbers. In one embodiment, the predetermined viewing angle ranges are greater than or equal to the predetermined adjustment value, i.e. A, B, C, D are greater than or equal to the predetermined adjustment value. It is understood that the preset viewing angle ranges of different data levels may be the same, different or partially the same, and are not limited thereto.
And the server side processes the map data in the corresponding range according to the preset visual angle range set by the corresponding scaling, and sends the map data to the client side, and the client side receives the corresponding map data.
In step S240, if the adjustment angle value is greater than the preset angle value, the map data corresponding to the adjustment angle value sent by the server is received.
It can be understood that if the adjustment angle value is greater than the preset angle value, it indicates that the map data amount required to be processed and displayed corresponding to the angle value after the angle adjustment is within the bearable range of the server, and the server can directly process the map data according to the adjustment angle value after the angle adjustment and send the map data to the client. And the client receives the map data which is sent by the server and corresponds to the adjustment angle value.
After step S230 or step S240 is executed, step S250 may be continuously executed, or after step S230 or step S240 is executed, the flow is directly ended without executing step S250. That is, step S250 is an optional step, and the user can customize the settings at the client, thereby enriching the configuration of the client.
And step S250, rendering and displaying the scene shading picture.
It can be understood that, in step S230, after the client receives the map data within the preset view angle range sent by the server, since the amount of the map data corresponding to the preset view angle range is less than the amount of the map data corresponding to the adjustment angle value, although resource consumption of the server is reduced, the view field of the electronic map displayed by the client is narrower than the view field of the original adjustment angle value. For example, when the adjusted angle value after the angle of view is adjusted is 10 °, the line of sight is nearly parallel to the ground. Under the angle value adjusting visual angle, the map data corresponding to the original visual field is very wide and far; however, the map data sent by the server is limited by the preset view angle range, and does not include the farthest map data corresponding to the adjustment angle value, that is, does not include the farthest view field, and the displayed view field is reduced. In order to make up for the defect of the visual field and the integrity of the electronic map displayed on the screen, the map data of the non-displayed visual field is replaced by a scene shading picture. In one embodiment, the map data outside the preset visual angle range is replaced by a scene shading picture, and the scene shading picture is rendered and displayed.
In one embodiment, the scene mask picture may be a simulated sky picture. Namely, a picture with a sky pattern is used as a shielding layer and is directly displayed in the electronic map with the adjusted view angle in the form of the picture, and the position where the scene shielding picture is displayed is the position where the map data outside the preset view angle range is supposed to be displayed. In other embodiments, the scene mask picture may include pictures of different patterns, and the user may select the desired scene mask picture by customization. By the design, on one hand, the client can fully display the map data within the preset visual angle range, and the user can not be influenced to view the electronic map; on the other hand, the scene shielding picture is adopted to fill the visual field, so that the defects of the map data which is not displayed are overcome, the whole visual field is harmonious, and the authenticity and the stereoscopic impression of the three-dimensional electronic map are kept.
In one embodiment, when the map data in the electronic map with the adjusted view angle exceeds a preset distance, a scene shading picture is adopted in a position area exceeding the preset distance. Specifically, in one embodiment, the current position information of the client is acquired, and when the map area with the adjusted view angle exceeds the current position information by a preset distance, a scene shading picture is adopted in an area where the position exceeding the preset distance is located. Specifically, the current position information is used as a reference point, and after some areas in the map exceed the current position information by a preset distance, the map data of the areas exceeding the parts do not need to be loaded and displayed, and the scene mask pictures are used for displaying instead, so that the data processing load of the client is further reduced, and the scene mask pictures are directly used for displaying instead. It is understood that, when the preset distance is exceeded, the user does not view the map data of a more distant location. Therefore, the client can directly display only the scene shading picture without displaying the map data at the corresponding position of the electronic map, and by the design, on one hand, the data processing load of the client can be reduced, and on the other hand, the visual experience of a user cannot be influenced.
It can be understood that, no matter what the comparison result of step S220 is, step S250 may be selectively executed, and after receiving the map data sent by the server, the client may further reduce the loading and displaying of the map data, replace with a scene mask picture, and reduce the data processing load of the client.
In summary, in the processing method of the three-dimensional electronic map in the embodiment of the present application, the adjustment angle value after the angle of view is adjusted is compared with the preset angle value, if the adjustment angle value is less than or equal to the preset angle value, the server sends the map data within the preset angle range corresponding to the zoom scale after the angle of view is adjusted to the client, the client can directly display the corresponding map data, and display the scene mask picture at a position outside the preset angle range in the electronic map, so as to make up that the electronic map does not display the default map data of the complete view corresponding to the adjustment angle value, so that the overall visual effect of the three-dimensional electronic map tends to be complete and real; and the client can also display the scene shading picture at the position exceeding the preset distance so as to replace the map data of the farther part in the preset visual angle range. If the adjustment angle value is larger than the preset angle value, the server side directly sends the map data corresponding to the adjustment angle value to the client side, and the client side can directly display the map data corresponding to the adjustment angle value; in addition, the client may also display the scene shading picture at a position exceeding the preset distance. According to the technical scheme, the resource consumption of the server is reduced, the data loading of the client is also reduced, the display efficiency of the electronic map is improved, and the display effect of the three-dimensional electronic map is guaranteed.
Corresponding to the embodiment of the application function implementation method, the application also provides a processing device of the three-dimensional electronic map, electronic equipment and a corresponding embodiment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a processing apparatus of a three-dimensional electronic map according to an embodiment of the present application.
Referring to fig. 3, the apparatus for processing a three-dimensional electronic map according to an embodiment of the present application includes a view angle obtaining module 310, an angle determining module 320, and a data receiving module 330, wherein:
the view angle obtaining module 310 is configured to obtain an adjusted view angle value after the view angle is adjusted.
The angle determining module 320 is configured to compare the adjustment angle value obtained by the angle obtaining module 310 with a preset angle value.
The data receiving module 330 is configured to receive the map data within the preset view angle range sent by the server if the adjustment angle value is smaller than or equal to the preset angle value.
In one embodiment, the view angle obtaining module 310 is further configured to obtain an angle adjustment value and a corresponding scaling ratio after the view angle is adjusted. And determining a preset visual angle range corresponding to the zoom ratio by acquiring the zoom ratio after the visual angle is adjusted. The angle determining module 320 is configured to compare the adjustment angle value obtained by the angle obtaining module 310 with a preset angle value, and if the adjustment angle value is smaller than or equal to the preset angle value, the data receiving module 330 receives the map data corresponding to the preset angle range sent by the server. If the adjustment angle value is greater than the preset angle value, the data receiving module 330 receives the map data corresponding to the adjustment angle value sent by the server. Further, in one embodiment, the processing apparatus further includes a rendering module 340, and the rendering module 340 is configured to replace the map data outside the preset view angle range with a scene shading picture, and render and display the scene shading picture. And/or when the map data in the electronic map with the adjusted view angle exceeds a preset distance, the rendering module 340 renders and displays the scene shading picture in a position area exceeding the preset distance.
In summary, the processing apparatus for a three-dimensional electronic map of the present application obtains the adjustment angle value and the zoom ratio after adjusting the viewing angle through the viewing angle obtaining module, the angle determining module compares the adjustment angle value obtained by the viewing angle obtaining module with the preset angle value, and if the adjustment angle value is smaller 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. Due to the design, the server side can reduce resource consumption, and the client side can also reduce data loading, so that the resource utilization rate of the server side and the client side is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Referring to fig. 4, an electronic device 400 includes a memory 410 and a processor 420.
The Processor 420 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 410 may include various types of storage units, such as system memory, Read Only Memory (ROM), and permanent storage. Wherein the ROM may store static data or instructions that are required by the processor 420 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. Further, 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), magnetic and/or optical disks, may also be employed. In some embodiments, memory 410 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disc, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 410 has stored thereon executable code that, when processed by the processor 420, may cause the processor 420 to perform some or all of the methods described above.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or electronic device, server, etc.), causes the processor to perform part or all of the steps of the above-described method according to the present application.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A processing method of a three-dimensional electronic map is characterized by comprising the following steps:
acquiring an adjustment angle value after the angle of view is adjusted;
comparing the adjustment angle value with a preset angle value;
and if the adjustment angle value is smaller than or equal to the preset angle value, receiving the corresponding map data within the preset angle range sent by the server.
2. The method of claim 1, wherein obtaining the adjusted angle value after adjusting the angle of view further comprises:
and acquiring the zoom ratio after the visual angle is adjusted so as to determine the preset visual angle range corresponding to the zoom ratio.
3. The method of claim 1, further comprising:
and if the adjustment angle value is larger than the preset angle value, receiving map data which is sent by the server and corresponds to the adjustment angle value.
4. The method according to claim 1, wherein after receiving the corresponding map data within the preset angle range sent by the server if the adjustment angle value is smaller than or equal to the preset angle value, the method further comprises:
and replacing the map data outside the preset visual angle range with a scene shading picture, and rendering and displaying the scene shading picture.
5. The method according to claim 1 or 3, characterized in that the method further comprises:
acquiring current position information;
and when the part of the map area after the visual angle is adjusted exceeds the preset distance of the current position information, adopting a scene shielding picture in the position area exceeding the preset distance.
6. The method according to claim 1, characterized in that said preset angular value is comprised between 10 ° and 20 °.
7. A processing device of a three-dimensional electronic map is characterized in that:
the visual angle acquisition module is used for acquiring an adjustment angle value after the visual angle is adjusted;
the angle judging module is used for comparing the adjustment angle value acquired by the visual angle acquiring module with a preset angle value;
and the data receiving module is used for receiving the corresponding map data within the preset visual angle range sent by the server side if the adjustment angle value is smaller than or equal to the preset angle value.
8. The processing apparatus as in claim 7, further comprising:
and the rendering module is used for replacing the map data outside the preset visual angle range with a scene shading picture, and rendering and displaying the scene shading picture.
9. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any one of claims 1-6.
10. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any one of claims 1-6.
CN202110608139.4A 2021-06-01 2021-06-01 Three-dimensional electronic map processing method and device and electronic equipment Pending CN113221044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110608139.4A CN113221044A (en) 2021-06-01 2021-06-01 Three-dimensional electronic map processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110608139.4A CN113221044A (en) 2021-06-01 2021-06-01 Three-dimensional electronic map processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113221044A true CN113221044A (en) 2021-08-06

Family

ID=77082132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110608139.4A Pending CN113221044A (en) 2021-06-01 2021-06-01 Three-dimensional electronic map processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113221044A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243102B1 (en) * 2011-10-12 2012-08-14 Google Inc. Derivative-based selection of zones for banded map display
US20140354628A1 (en) * 2013-05-31 2014-12-04 Apple Inc. Adjusting heights for road path indicators
US20170309056A1 (en) * 2015-01-20 2017-10-26 Geo Technical Laboratory Co., Ltd. Three-dimensional map display system
CN110019630A (en) * 2017-12-28 2019-07-16 上海擎感智能科技有限公司 The display methods and device of electronic map

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243102B1 (en) * 2011-10-12 2012-08-14 Google Inc. Derivative-based selection of zones for banded map display
US20140354628A1 (en) * 2013-05-31 2014-12-04 Apple Inc. Adjusting heights for road path indicators
US20170309056A1 (en) * 2015-01-20 2017-10-26 Geo Technical Laboratory Co., Ltd. Three-dimensional map display system
CN110019630A (en) * 2017-12-28 2019-07-16 上海擎感智能科技有限公司 The display methods and device of electronic map

Similar Documents

Publication Publication Date Title
TWI619088B (en) Image data processing system and associated methods for processing panorama images and image blending using the same
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
CN108550101A (en) Image processing method, device and storage medium
CN106502613B (en) A kind of method and device to Load Image
CN102693527A (en) Method and apparatus for performing a blur rendering process on an image
CN110276024B (en) Information display method and device
WO2018228396A1 (en) Page displaying method and apparatus, electronic device, and storage medium
KR102257948B1 (en) Displaying applications on a fixed orientation display
US20190035049A1 (en) Dithered variable rate shading
US10432846B2 (en) Electronic device, image capturing method and storage medium
US8854392B2 (en) Circular scratch shader
CN111179862A (en) Refreshing method of display page, reader and computer storage medium
WO2018120519A1 (en) Image processing method and device
CN110634168B (en) Method and device for generating cluster head portraits
CN111638929A (en) Startup image processing method, device, equipment and storage medium
CN113110731B (en) Method and device for generating media content
US8824778B2 (en) Systems and methods for depth map generation
WO2015166318A1 (en) System and method for dynamically optimizing map tile quality and detail
TW202326622A (en) Anchoring virtual content to physical surfaces
CN108428211A (en) Processing method, device and the machine readable media of image
CN109104628B (en) Focus foreground generation method, storage medium, device and system of android television
CN113221044A (en) Three-dimensional electronic map processing method and device and electronic equipment
CN116156089B (en) Method, apparatus, computing device and computer readable storage medium for processing image
CN115083354A (en) Backlight adjusting method, device, medium and interactive panel
CN109104627B (en) Focus background generation method, storage medium, device and system of android television

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination