Nothing Special   »   [go: up one dir, main page]

CN113808240B - Dynamic screenshot method and device, electronic equipment and storage medium - Google Patents

Dynamic screenshot method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113808240B
CN113808240B CN202010530608.0A CN202010530608A CN113808240B CN 113808240 B CN113808240 B CN 113808240B CN 202010530608 A CN202010530608 A CN 202010530608A CN 113808240 B CN113808240 B CN 113808240B
Authority
CN
China
Prior art keywords
rendering
level view
vector map
view angle
pictures
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.)
Active
Application number
CN202010530608.0A
Other languages
Chinese (zh)
Other versions
CN113808240A (en
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.)
Secworld Information Technology Beijing Co Ltd
Qax Technology Group Inc
Original Assignee
Secworld Information Technology Beijing Co Ltd
Qax Technology Group Inc
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 Secworld Information Technology Beijing Co Ltd, Qax Technology Group Inc filed Critical Secworld Information Technology Beijing Co Ltd
Priority to CN202010530608.0A priority Critical patent/CN113808240B/en
Publication of CN113808240A publication Critical patent/CN113808240A/en
Application granted granted Critical
Publication of CN113808240B publication Critical patent/CN113808240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention provides a dynamic screenshot method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: intercepting rendering pictures of each level view angle of the vector map; and synthesizing the rendered pictures intercepted at each level view into a dynamic picture. According to the embodiment of the invention, the rendering pictures of each level view angle are intercepted on the vector map, and the rendering pictures intercepted by each level view angle are synthesized into the dynamic picture, so that the intercepting rendering pictures of each level view angle of the vector map are automatically obtained in such a processing mode, the purpose of knowing the theme patterns of different level view angles from one rendering picture is achieved, and the problem that the theme patterns of the vector map cannot be completely known by a single screenshot in the prior art is well solved.

Description

Dynamic screenshot method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a dynamic screenshot method, a dynamic screenshot device, an electronic device, and a storage medium.
Background
The traditional grid tile map has consistent theme displayed at different levels, so that only one screenshot is needed to know the map theme during display, and the vector tile map supports independent rendering of map elements such as buildings, roads, POIs, boundaries and the like, so that the single screenshot cannot clearly display the theme style of the vector tile map for the vector tile map.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a dynamic screenshot method, a device, electronic equipment and a storage medium.
Specifically, the embodiment of the invention provides the following technical scheme:
in a first aspect, an embodiment of the present invention provides a dynamic screenshot method based on vector map rendering, including:
Intercepting rendering pictures of each level view angle of the vector map;
And synthesizing the rendered pictures intercepted at each level view into a dynamic picture.
Further, the capturing the rendering picture of each level view angle of the vector map specifically includes:
determining rendering completion time points of the vector map at each level view;
and according to the rendering completion time points of each level, intercepting rendering pictures of each level view angle of the vector map.
Further, determining the rendering completion time point of the vector map at each level view angle specifically includes:
after receiving an operation instruction for entering any level view angle, generating a mark value corresponding to the any level view angle according to the operation instruction;
Generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and then sending the marking value to a rendering processor so that the rendering processor performs rendering processing on vector data of any level view angle;
Receiving a trigger message sent by the rendering processor for informing that the vector data corresponding to any level view is rendered;
judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level view angle, if so, determining the current time point as the rendering completion time point of the vector map at any level view angle.
Further, according to the rendering completion time point of each level, performing rendering picture interception of each level view angle on the vector map, specifically including:
and at the rendering completion time points of all the levels, respectively intercepting rendering pictures of the corresponding level view angles of the vector map.
Further, before the capturing of the rendered picture of each level view of the vector map, the method further comprises:
determining a rendering picture intercepting sequence of each level view angle of the vector map;
correspondingly, the capturing of the rendering picture of each level view angle of the vector map specifically comprises the following steps:
and according to the rendering picture intercepting sequence, intercepting the rendering pictures of each level view angle of the vector map.
Further, the respective hierarchical views include: national level view, urban level view, and building level view.
In a second aspect, an embodiment of the present invention further provides a dynamic screenshot device based on vector map rendering, including:
The intercepting module is used for intercepting the rendering pictures of each level view angle of the vector map;
And the synthesis module is used for synthesizing the rendering pictures intercepted at each level view angle into dynamic pictures.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the vector map rendering-based dynamic screenshot method according to the first aspect when the program is executed.
In a fourth aspect, embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the vector map rendering based dynamic screenshot method of the first aspect.
In a fifth aspect, embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of the vector map rendering based dynamic screenshot method of the first aspect.
According to the technical scheme, the dynamic screenshot method, the device, the electronic equipment and the storage medium provided by the embodiment of the invention are used for intercepting the rendering pictures of each level view angle of the vector map and synthesizing the rendering pictures intercepted by each level view angle into the dynamic map, so that the intercepting rendering pictures of each level view angle of the vector map are automatically acquired by the processing mode, the purpose of knowing the theme patterns of different level view angles from one rendering picture is achieved, and the problem that the theme patterns of the vector map cannot be completely known by a single screenshot in the prior art is well solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a dynamic screenshot method based on vector map rendering according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an implementation process of a dynamic screenshot method based on vector map rendering according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating another implementation process of a dynamic screenshot method based on vector map rendering according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a dynamic screenshot device based on vector map rendering according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The traditional grid tile map has consistent theme displayed at different levels, so that the map theme can be known only by one screenshot when the traditional grid tile map is displayed, and the vector tile map supports independent rendering of map elements such as buildings, roads, POIs, boundaries and the like, so that the design of the pattern displayed at different map levels is different, and the pattern corresponding to the theme cannot be clearly displayed by a single screenshot. Specifically, the embodiment of the invention dynamically intercepts the rendering pictures of each level view angle of the vector map, and synthesizes the rendering pictures intercepted at each level view angle into the dynamic picture, thereby realizing a dynamic screenshot method which is convenient to implement and operates efficiently based on the vector map rendering. By adopting the method, a dynamic diagram (such as a GIF diagram) can be finally generated, and the problem that a single screenshot cannot fully know the design of the theme style is solved. The dynamic screenshot method based on vector map rendering provided by the invention is explained and illustrated in detail by a specific embodiment.
Fig. 1 shows a flowchart of a dynamic screenshot method based on vector map rendering according to an embodiment of the present invention. As shown in fig. 1, the dynamic screenshot method based on vector map rendering according to the embodiment of the present invention includes the following steps:
step 101: intercepting rendering pictures of each level view angle of the vector map;
In this embodiment, in order to solve the problem that a single screenshot in the prior art cannot fully understand the theme style of the vector map, the present embodiment adopts a process of intercepting the rendering pictures of the vector map at each level view angle, so that the intercepted rendering pictures of each level view angle of the vector map can be automatically obtained, and then the processing mode of synthesizing the rendering pictures intercepted at each level view angle into a dynamic picture is combined, so that the purpose of knowing the theme style of different level view angles from one rendering picture can be achieved.
In this embodiment, the view angle of each hierarchy may be a view angle of each map element based on the map elements. The map element here means: the map data includes element information such as country, city, county, region, road surface, ocean, building, green space, and the like. Accordingly, each hierarchical view may be a national hierarchical view, a city hierarchical view, a county hierarchical view, a district hierarchical view, a road hierarchical view, a sea hierarchical view, a building hierarchical view, a green hierarchical view, and so on.
Step 102: and synthesizing the rendered pictures intercepted at each level view into a dynamic picture.
In this embodiment, the rendering pictures taken from the view angles of each level are synthesized into the dynamic graph, so that the purpose of knowing the theme style of the view angles of different levels of the vector map from one rendering picture is achieved.
In this embodiment, the dynamic image may be a dynamic image in GIF format, which is characterized by high compression ratio and less disk space occupation, so that the image format is widely used. The dynamic image of GIF format can store several still images at the same time to form continuous animation, which makes it one of the formats supporting 2D animation.
For example, rendering pictures under the national level view, the urban level view and the building level view can be sequentially intercepted, and then the rendering pictures under the level views are synthesized into a dynamic picture, so that the purpose of simultaneously knowing the theme rendering patterns of the national level view, the urban level view and the building level view from one rendering picture is achieved.
According to the technical scheme, the dynamic screenshot method provided by the embodiment of the invention intercepts the rendering pictures of each level view angle of the vector map and synthesizes the rendering pictures intercepted by each level view angle into the dynamic map, so that the embodiment of the invention automatically acquires the intercepted rendering pictures of each level view angle of the vector map by the processing mode, achieves the purpose of knowing the theme patterns of different level view angles from one rendering picture, and well solves the problem that the theme patterns of the vector map cannot be completely known by a single screenshot in the prior art.
Based on the foregoing embodiments, in this embodiment, the capturing a rendering picture of each level view angle on a vector map specifically includes:
determining rendering completion time points of the vector map at each level view;
and according to the rendering completion time points of each level, intercepting rendering pictures of each level view angle of the vector map.
In this embodiment, when capturing the rendering pictures of each level view angle on the vector map, a key issue is to determine when to perform the screenshot operation of each level view angle, that is, to know the rendering completion time of each level view angle. Therefore, in this embodiment, the capturing of the rendering picture of each level view angle for the vector map includes two parts, the first part is to determine the rendering completion time point of the vector map at each level view angle, and the second part is to capture the rendering picture of each level view angle for the vector map according to the rendering completion time point of each level.
In the present embodiment, there are various implementations for determining the content of the rendering completion time point of the vector map at each hierarchical view with respect to the first portion. For example, ① th implementation: setting a fixed rendering delay for each level view, and then for each level view, after the fixed rendering delay is finished, performing screenshot processing of the corresponding level view. However, this method may have a problem that the fixed time delay is set to perform the screenshot, and the problem that the map tiles of the corresponding level are not completely rendered, and the screenshot is started, so that accuracy is reduced may occur.
In addition, it should be noted that, in addition to the above processing manner of setting a fixed rendering delay for each hierarchical view, the ② th implementation manner may also be adopted: and setting different rendering delays which are adaptive according to the data volume of each layer view angle. For example, for a nationwide hierarchical view, the displayed data content is relatively large, and the adaptive rendering delay can be set to be longer. For a building level perspective, the displayed data content is relatively small, and the adaptive rendering delay can be set to be short. It should be noted that, compared with the processing mode of the fixed rendering time delay, the processing mode can solve the problem of inaccurate screenshot time existing in the fixed rendering time delay to a certain extent.
In addition, in a preferred processing manner, the ③ th implementation manner may also be adopted: and determining the rendering completion time point of the vector map at each level view angle by acquiring a signal of the map rendering completion under each level view angle and taking the signal as a mark. The manner in which the fixed rendering delay is employed or the rendering delay is adapted is referred to with respect to ①-②. According to the ③ th processing mode, the rendering completion time point under each layer view angle can be accurately obtained, so that the accuracy of screenshot under each layer view angle can be greatly improved.
Based on the foregoing embodiments, in this embodiment, determining a rendering completion time point of the vector map at each level view specifically includes:
after receiving an operation instruction for entering any level view angle, generating a mark value corresponding to the any level view angle according to the operation instruction;
Generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and then sending the marking value to a rendering processor so that the rendering processor performs rendering processing on vector data of any level view angle;
Receiving a trigger message sent by the rendering processor for informing that the vector data corresponding to any level view is rendered;
judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level view angle, if so, determining the current time point as the rendering completion time point of the vector map at any level view angle.
In the present embodiment, a specific implementation manner of determining the rendering completion time point of the vector map at each hierarchical view angle is given. Specifically, in this embodiment, after receiving an operation instruction for entering each level view, a flag value corresponding to the level view is generated according to the operation instruction (for example, a variable animated is created to flag the current level view change), then a rendering instruction is generated according to the operation instruction, the flag value is packaged in the rendering instruction and then sent to a rendering processor, so that the rendering processor performs rendering processing on vector data of the level view, after receiving the corresponding rendering instruction, the rendering processor reads the flag value therein and stores the flag value, then performs rendering processing operation on the corresponding level according to the rendering instruction, when the rendering processor finishes rendering processing, a trigger message for notifying that the vector data of the corresponding level view is rendered is sent, and the rendering processor reads the flag value obtained before placing in the trigger message. Therefore, after receiving a trigger message sent by a rendering processor and used for informing that the vector data corresponding to any level view is rendered, judging whether a mark value carried in the trigger message is consistent with a generated mark value corresponding to any level view, if so, indicating that the rendering work of the corresponding level is completed, and determining that the current time point is the rendering completion time point of the vector map at the corresponding level view.
The dynamic screenshot method provided in this embodiment is explained and illustrated in detail below in conjunction with fig. 2. As shown in fig. 2, when the map view changes (from one hierarchical view to another), a variable animated is created to mark the current change in the hierarchical view, the vector tile layer calculates the tile data required for this change, and the map is then loaded with tile data. After the data is loaded, an event is triggered loadedData, after the vector tile layer receives the event, whether the animated mark is consistent with the mark transmitted before is judged, if so, the map rendering of the change is considered to be finished, a screenshot operation can be performed, otherwise, the triggering of the next event is waited, and the abnormal is prompted when the timeout is over, and the screenshot is needed to be restarted. In this way, the corresponding pictures are taken at the corresponding levels, and the GIF picture is finally synthesized.
Based on the foregoing embodiments, in this embodiment, according to the rendering completion time point of each level, performing rendering picture interception of each level view angle on the vector map specifically includes:
and at the rendering completion time points of all the levels, respectively intercepting rendering pictures of the corresponding level view angles of the vector map.
In this embodiment, it is to be noted that, after the rendering completion time points of each level are determined in the above embodiments, rendering pictures of corresponding level views are directly taken from the vector map at the rendering completion time points of each level, so that a picture rendered at the corresponding level is accurately obtained, and thus the picture can accurately represent style subjects of the corresponding level.
Based on the foregoing embodiment, in this embodiment, before performing the rendering picture interception of each level view angle on the vector map, the method further includes:
determining a rendering picture intercepting sequence of each level view angle of the vector map;
correspondingly, the capturing of the rendering picture of each level view angle of the vector map specifically comprises the following steps:
and according to the rendering picture intercepting sequence, intercepting the rendering pictures of each level view angle of the vector map.
In this embodiment, when capturing the rendered pictures of each level view, the screenshot process may be performed according to a preset order. For example, the screenshot process may be performed in the order of national level view, city level view, and building level view. When the screenshot is processed according to the set hierarchy sequence, it is necessary to judge when to enter which hierarchy view one by one, and then to intercept the rendering pictures of each hierarchy view for the vector map.
FIG. 3 is a complete flow of dynamic screenshots for vector map-based rendering. Fig. 3 illustrates the process of taking shots in the order of national level view, city level view, and building level view. When a user sends a screenshot instruction, the map is firstly animated to a national viewing angle, a animated mark is created, and then the vector tile layer calculates tile data required by the change, wherein the vector tile layer can adopt the following processing procedure when calculating the required tile data: A. determining a trapezoid bounding box range (also called a visible area) of the window through an intersection point of the camera viewing cone and the XOZ plane; B. calculating coordinates of the range of the trapezoid bounding box; C. calculating pyramid tiles at four corners according to coordinates of the trapezoid bounding box range to obtain a tile pyramid bounding box range; D. and calculating the index of the current window tile according to the tile pyramid bounding box.
Then, after the vector tile layer calculates the required tile data, the tile data is loaded, after the data is loaded, a loadedData event is triggered, after the vector tile layer receives the event, whether the animated mark is consistent with the mark which is input before is judged, if so, the map rendering of the change is considered to be finished, the screenshot operation can be performed, otherwise, the triggering of the next event is waited, the abnormal condition is prompted when the timeout is over, and the screenshot is needed to be restarted. After the screenshot operation is finished, judging whether the current view angle is the building level, if not, judging whether the current level is the city view angle, if not, performing the screenshot operation of the city view angle, and if true, performing the screenshot operation of the building level. If the current view angle is the building level, the screenshot operation is considered to be completed, and the truncated picture is synthesized into a final GIF picture according to the level data, so that the purpose of knowing the theme designs of different view angles from one picture is achieved. When the final GIF picture is synthesized from the truncated picture according to the hierarchical data, the final GIF picture may be sequentially tiled in the order of the national hierarchical view, the urban hierarchical view, and the building hierarchical view.
As can be seen from the above description, the present embodiment provides a dynamic screenshot method, which firstly obtains rendering shots of each level view, and then synthesizes the captured pictures into a final GIF picture according to the level data, so as to achieve the purpose of knowing the theme style of different view from one picture. In addition, the embodiment also provides a dynamic screenshot method driven based on the event of ending the rendering of the vector map, compared with a method for setting larger time delay to screen, the dynamic screenshot method based on the rendering of the vector map greatly improves the accuracy of screen capturing by taking the event as a drive through acquiring the signal of ending the rendering of the map (setting the time delay to screen, the screen capturing is started when map tiles are not completely rendered frequently, the accuracy is reduced), and redundant waiting time is removed, so that the operation is efficient and convenient. Therefore, the method and the device for dynamically driving the screenshot according to the rendering end event in each layer by adopting the thought of the view screenshot in each layer in combination well solve the problem that a single screenshot cannot fully know the design of the theme style.
Fig. 4 shows a schematic structural diagram of a dynamic screenshot device based on vector map rendering according to an embodiment of the present invention. As shown in fig. 4, the dynamic screenshot device based on vector map rendering provided in this embodiment includes: an interception module 21 and a synthesis module 22, wherein:
The intercepting module 21 is used for intercepting the rendering pictures of each level view angle of the vector map;
the synthesizing module 22 is configured to synthesize the rendered pictures taken from the view angles of the respective layers into a dynamic graph.
Based on the content of the foregoing embodiment, in this embodiment, the interception module 21 is specifically configured to:
determining rendering completion time points of the vector map at each level view;
and according to the rendering completion time points of each level, intercepting rendering pictures of each level view angle of the vector map.
Based on the foregoing embodiments, in this embodiment, the intercepting module 21 is specifically configured to, when determining a rendering completion time point of the vector map at each level view:
after receiving an operation instruction for entering any level view angle, generating a mark value corresponding to the any level view angle according to the operation instruction;
Generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and then sending the marking value to a rendering processor so that the rendering processor performs rendering processing on vector data of any level view angle;
Receiving a trigger message sent by the rendering processor for informing that the vector data corresponding to any level view is rendered;
judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level view angle, if so, determining the current time point as the rendering completion time point of the vector map at any level view angle.
Based on the foregoing embodiments, in this embodiment, the capturing module 21 is specifically configured to, when performing, according to a rendering completion time point of each level, capturing a rendering picture of each level view of the vector map:
and at the rendering completion time points of all the levels, respectively intercepting rendering pictures of the corresponding level view angles of the vector map.
Based on the content of the above embodiment, in this embodiment, before the capturing module 21 captures the rendered picture of each level view angle of the vector map, the method is further used for:
determining a rendering picture intercepting sequence of each level view angle of the vector map;
accordingly, the intercepting module 21 is specifically configured to, when intercepting the rendered picture of each level view angle of the vector map:
and according to the rendering picture intercepting sequence, intercepting the rendering pictures of each level view angle of the vector map.
Based on the content of the foregoing embodiments, in this embodiment, the respective hierarchical perspectives include: national level view, urban level view, and building level view.
The dynamic screenshot device based on vector map rendering provided by the embodiment of the invention can be used for executing the dynamic screenshot method based on vector map rendering described in the above embodiment, and the working principle and the beneficial effects are similar, so that the detailed description is omitted herein, and the specific content can be referred to the description of the above embodiment.
In this embodiment, it should be noted that, each module in the apparatus of the embodiment of the present invention may be integrated into one body, or may be separately deployed. The modules can be combined into one module or further split into a plurality of sub-modules.
Based on the same inventive concept, a further embodiment of the present invention provides an electronic device, see fig. 5, comprising in particular: a processor 301, a memory 302, a communication interface 303, and a communication bus 304;
Wherein, the processor 301, the memory 302, and the communication interface 303 complete communication with each other through the communication bus 304;
The processor 301 is configured to invoke a computer program in the memory 302, where the processor executes the computer program to implement all the steps of the dynamic screenshot method based on vector map rendering, for example, the processor executes the computer program to implement the following procedures: intercepting rendering pictures of each level view angle of the vector map; and synthesizing the rendered pictures intercepted at each level view into a dynamic picture.
It will be appreciated that the refinement and expansion functions that the computer program may perform are as described with reference to the above embodiments.
Based on the same inventive concept, a further embodiment of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements all the steps of the above-described vector map rendering based dynamic screenshot method, for example, the processor implements the following procedure when executing the computer program: intercepting rendering pictures of each level view angle of the vector map; and synthesizing the rendered pictures intercepted at each level view into a dynamic picture. It will be appreciated that the refinement and expansion functions that the computer program may perform are as described with reference to the above embodiments.
Based on the same inventive concept, a further embodiment of the present invention provides a computer program product comprising a computer program which, when executed by a processor, implements all the steps of the above-mentioned associated application launch control method, for example, the processor implementing the following procedure when executing the computer program: intercepting rendering pictures of each level view angle of the vector map; and synthesizing the rendered pictures intercepted at each level view into a dynamic picture. It will be appreciated that the refinement and expansion functions that the computer program may perform are as described with reference to the above embodiments.
It will be appreciated that the refinement and expansion functions that the computer program may perform are as described with reference to the above embodiments.
Further, the logic instructions in the memory described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the vector map rendering-based dynamic screenshot method of the various embodiments or some parts of the embodiments.
Moreover, in the present invention, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Furthermore, in the present disclosure, descriptions of the terms "one embodiment," "some embodiments," "examples," "particular examples," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A dynamic screenshot method based on vector map rendering, comprising:
Intercepting rendering pictures of each level view angle of the vector map; each hierarchical view is a hierarchical view obtained from each map element; the capturing of the rendering pictures of each level view angle of the vector map specifically comprises the following steps: after receiving an operation instruction for entering any level view angle, generating a mark value corresponding to the any level view angle according to the operation instruction; generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and then sending the marking value to a rendering processor so that the rendering processor performs rendering processing on vector data of any level view angle; receiving a trigger message sent by the rendering processor for informing that the vector data corresponding to any level view is rendered; judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level view angle, if so, determining the current time point as the rendering completion time point of the vector map at any level view angle; according to the rendering completion time points of each level, capturing rendering pictures of each level view angle of the vector map;
And synthesizing the rendered pictures intercepted at each level view into a dynamic picture.
2. The dynamic screenshot method based on vector map rendering according to claim 1, wherein the capturing of the rendering picture of each level view angle for the vector map according to the rendering completion time point of each level specifically comprises:
and at the rendering completion time points of all the levels, respectively intercepting rendering pictures of the corresponding level view angles of the vector map.
3. The dynamic screenshot method based on vector map rendering according to any one of claims 1-2, wherein before the vector map is subject to the rendering picture truncation for each level view, the method further comprises:
determining a rendering picture intercepting sequence of each level view angle of the vector map;
correspondingly, the capturing of the rendering picture of each level view angle of the vector map specifically comprises the following steps:
and according to the rendering picture intercepting sequence, intercepting the rendering pictures of each level view angle of the vector map.
4. The dynamic screenshot method based on vector map rendering according to any one of claims 1 to 2, wherein the respective hierarchical perspectives comprise: national level view, urban level view, and building level view.
5. A dynamic screenshot device based on vector map rendering, comprising:
The intercepting module is used for intercepting the rendering pictures of each level view angle of the vector map; each hierarchical view is a hierarchical view obtained from each map element; the capturing of the rendering pictures of each level view angle of the vector map specifically comprises the following steps: after receiving an operation instruction for entering any level view angle, generating a mark value corresponding to the any level view angle according to the operation instruction; generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and then sending the marking value to a rendering processor so that the rendering processor performs rendering processing on vector data of any level view angle; receiving a trigger message sent by the rendering processor for informing that the vector data corresponding to any level view is rendered; judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level view angle, if so, determining the current time point as the rendering completion time point of the vector map at any level view angle; according to the rendering completion time points of each level, capturing rendering pictures of each level view angle of the vector map;
And the synthesis module is used for synthesizing the rendering pictures intercepted at each level view angle into dynamic pictures.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the vector map rendering based dynamic screenshot method of any one of claims 1 to 4 when the program is executed.
7. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the vector map rendering based dynamic screenshot method of any one of claims 1 to 4.
8. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the vector map rendering based dynamic screenshot method of any one of claims 1 to 4.
CN202010530608.0A 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium Active CN113808240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010530608.0A CN113808240B (en) 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010530608.0A CN113808240B (en) 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113808240A CN113808240A (en) 2021-12-17
CN113808240B true CN113808240B (en) 2024-11-01

Family

ID=78891942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010530608.0A Active CN113808240B (en) 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113808240B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599891A (en) * 2019-09-23 2019-12-20 东方电子股份有限公司 Map rendering method for power grid equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9454847B2 (en) * 2009-02-24 2016-09-27 Google Inc. System and method of indicating transition between street level images
US8723886B2 (en) * 2010-09-08 2014-05-13 Navteq B.V. Generating a multi-layered geographic image and the use thereof
US9275493B2 (en) * 2013-05-14 2016-03-01 Google Inc. Rendering vector maps in a geographic information system
CN103678631B (en) * 2013-12-19 2016-10-05 华为技术有限公司 page rendering method and device
CN105677131A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Screenshot image output method and device
CN105763885B (en) * 2014-12-19 2020-05-12 艾迪普(北京)文化科技股份有限公司 Method and device for releasing three-dimensional image-text information in real time
CN105516311B (en) * 2015-12-09 2019-03-05 中国农业银行股份有限公司 A kind of electronic map panorama picture capturing method and system
CN107590226A (en) * 2017-09-05 2018-01-16 中国电子科技集团公司第二十八研究所 A kind of map vector rendering intent based on tile
CN108924645A (en) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 Theme generation method and device and electronic equipment
WO2020062062A1 (en) * 2018-09-28 2020-04-02 深圳市大疆软件科技有限公司 Cluster rendering method, device and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599891A (en) * 2019-09-23 2019-12-20 东方电子股份有限公司 Map rendering method for power grid equipment

Also Published As

Publication number Publication date
CN113808240A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US11585675B2 (en) Map data processing method, computer device and storage medium
EP3753614A1 (en) Map rendering method and apparatus, computer device and storage medium
JP5766795B2 (en) Mobile device-based content mapping for augmented reality environments
EP3534336B1 (en) Panoramic image generating method and apparatus
US20150356770A1 (en) Street view map display method and system
US20160063671A1 (en) A method and apparatus for updating a field of view in a user interface
CN112396686A (en) Three-dimensional scene engineering simulation and live-action fusion system and method
CN108267154B (en) Map display method and device
CN103970518B (en) A kind of the 3D rendering method and device of window logic
RU2007113914A (en) NUMERICAL DECISION AND CONSTRUCTION OF THREE-DIMENSIONAL VIRTUAL MODELS ON AERIAL PICTURES
TW201635128A (en) Methods and Devices for Interface Display
US20130127852A1 (en) Methods for providing 3d building information
US11288774B2 (en) Image processing method and apparatus, storage medium, and electronic apparatus
JP2001022936A (en) Device for generating three-dimensional shape
CN111414104B (en) Electronic map local display method and device
US20210201522A1 (en) System and method of selecting a complementary image from a plurality of images for 3d geometry extraction
US10460503B2 (en) Texturing of a three-dimensional (3D) model by UV map in-painting
CN113808240B (en) Dynamic screenshot method and device, electronic equipment and storage medium
CN107291820B (en) Boundary pile information management method based on panoramic image
US9031281B2 (en) Identifying an area of interest in imagery
CN109115238B (en) Map display method, device and equipment
CN117456076A (en) Material map generation method and related equipment
JP2008203991A (en) Image processor
CN114367113A (en) Method, apparatus, medium, and computer program product for editing virtual scene
JP6174939B2 (en) Map note processing device, map note processing method, and map information providing device

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
CB02 Change of applicant information

Country or region after: China

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: QAX Technology Group Inc.

Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant before: QAX Technology Group Inc.

Country or region before: China

Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

CB02 Change of applicant information
GR01 Patent grant