CN113808240A - 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
CN113808240A
CN113808240A CN202010530608.0A CN202010530608A CN113808240A CN 113808240 A CN113808240 A CN 113808240A CN 202010530608 A CN202010530608 A CN 202010530608A CN 113808240 A CN113808240 A CN 113808240A
Authority
CN
China
Prior art keywords
rendering
vector map
level
dynamic
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.)
Pending
Application number
CN202010530608.0A
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.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information 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 Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202010530608.0A priority Critical patent/CN113808240A/en
Publication of CN113808240A publication Critical patent/CN113808240A/en
Pending legal-status Critical Current

Links

Images

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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention provides a dynamic screenshot method, a dynamic screenshot device, electronic equipment and a storage medium, wherein the method comprises the following steps: intercepting rendering pictures of each level visual angle of the vector map; and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph. The embodiment of the invention intercepts the rendering pictures of each level visual angle of the vector map and synthesizes the rendering pictures intercepted from each level visual angle into the dynamic map, so that the embodiment of the invention automatically acquires the intercepted rendering pictures of each level visual angle of the vector map by the processing mode, achieves the aim of knowing the theme styles of different level visual angles from one rendering picture and well solves the problem that the theme styles of the vector map can not be completely known by a single screenshot in the prior art.

Description

Dynamic screenshot method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a dynamic screenshot method, a dynamic screenshot device, electronic equipment and a storage medium.
Background
The topics displayed by the traditional grid tile map at different levels are consistent, so that only one screenshot is needed to know the map topic during display, and the vector tile map supports independent rendering of map elements such as buildings, roads, POIs and boundaries, so that for the vector tile map, the topic style of the vector tile map cannot be clearly displayed by a single screenshot.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a dynamic screenshot method, apparatus, electronic device, and 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 visual angle of the vector map;
and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph.
Further, the intercepting of the rendered picture of each level view angle from the vector map specifically includes:
determining rendering completion time points of the vector map at each level visual angle;
and intercepting rendering pictures of each hierarchy view angle of the vector map according to the rendering completion time point of each hierarchy.
Further, the determining rendering completion time points of the vector map at each hierarchy view angle specifically includes:
after receiving an operation instruction entering any level visual angle, generating a marking value corresponding to any level visual angle according to the operation instruction;
generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and sending the marking value to a rendering processor so that the rendering processor performs rendering processing on the vector data of any level of visual angle;
receiving a trigger message which is sent by the rendering processor and used for informing that the vector data corresponding to the any level visual angle is rendered;
and judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level visual angle, if so, determining that the current time point is the rendering completion time point of the vector map at any level visual angle.
Further, the intercepting of the rendered picture of each level view angle from the vector map according to the rendering completion time point of each level specifically includes:
and at the rendering completion time point of each level, respectively carrying out rendering picture interception of the corresponding level view angle on the vector map.
Further, before performing rendering picture interception of each hierarchy view angle on the vector map, the method further comprises:
determining a rendering picture intercepting sequence of each hierarchy visual angle of the vector map;
correspondingly, the intercepting of the rendered picture of each level view angle from the vector map specifically includes:
and intercepting the rendering pictures of each hierarchy view angle of the vector map according to the intercepting sequence of the rendering pictures.
Further, the respective hierarchical perspectives comprise: national level views, urban level views, and building level views.
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 rendering pictures of all hierarchy visual angles of the vector map;
and the synthesis module is used for synthesizing the rendering pictures intercepted at all the hierarchy view angles into a dynamic graph.
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 dynamic screenshot method based on vector map rendering according to the first aspect when executing the program.
In a fourth aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the dynamic screenshot method based on vector map rendering according to the first aspect.
In a fifth aspect, the embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and when being executed by a processor, the computer program implements the steps of the dynamic screenshot method based on vector map rendering according to 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 hierarchy view angle of the vector map and synthesizing the intercepted rendering pictures of each hierarchy view angle into the dynamic map, so that the intercepted rendering pictures of each hierarchy view angle of the vector map are automatically acquired through the processing mode, the purpose of knowing the theme styles of different hierarchy view angles from one rendering picture is achieved, and the problem that the theme style of the vector map cannot be completely known through 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 in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
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 of 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
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The traditional grid tile map has the same theme displayed at different levels, so that the map theme can be known only by one screenshot 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 style designs displayed at different map levels are different, and the style of the corresponding theme cannot be clearly displayed by a single screenshot. Specifically, the embodiment of the invention dynamically intercepts rendering pictures at all levels of visual angles from the vector map, and synthesizes the rendering pictures intercepted at all levels of visual angles into a dynamic picture, thereby realizing a dynamic screenshot method which is convenient to implement and high in running efficiency based on vector map rendering. By adopting the method, a dynamic graph (such as a GIF graph) can be finally generated, and the problem that the design of the theme style cannot be completely understood by a single screenshot is solved. The dynamic screenshot method based on vector map rendering provided by the invention will be explained and explained in detail through specific embodiments.
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 provided by the embodiment of the present invention includes the following steps:
step 101: intercepting rendering pictures of each level visual angle of the vector map;
in this embodiment, in order to solve the problem that a single screenshot in the prior art cannot completely know the theme pattern of the vector map, the embodiment adopts a processing mode of intercepting rendering pictures of the vector map at each hierarchy view angle, so that the intercepted rendering pictures at each hierarchy view angle of the vector map can be automatically obtained, and further, the purpose of knowing the theme patterns at different hierarchy view angles from one rendering picture can be achieved by combining with a processing mode of synthesizing the rendering pictures intercepted at each hierarchy view angle into a dynamic picture.
In this embodiment, each hierarchical perspective may be a hierarchical perspective depending on each map element, which is obtained from each map element. The map elements here refer to: the map data includes element information such as country, city, county, region, road surface, sea, building, green space, and the like. Accordingly, the respective hierarchical viewing angles may be a national level viewing angle, a city level viewing angle, a county level viewing angle, a district level viewing angle, a road surface level viewing angle, an ocean level viewing angle, a building level viewing angle, a greenbelt level viewing angle, and the like.
Step 102: and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph.
In this embodiment, rendering pictures cut at each level view are synthesized into a dynamic graph, so that the purpose of understanding theme styles of different levels of views of a vector map from one rendering picture is achieved.
In this embodiment, the dynamic graph in the GIF format may be used, and the GIF format is characterized by high compression ratio and small disk space occupation, so that the image format is widely used. The GIF format animation can store a plurality of still images at the same time to form continuous animation, so that the animation becomes one of a few formats supporting 2D animation.
For example, rendered pictures at the national level view angle, the urban level view angle and the building level view angle can be sequentially captured, and then the rendered pictures at the level view angles are synthesized into a dynamic picture, so that the purpose of simultaneously knowing theme rendering styles of the national level view angle, the urban level view angle and the building level view angle from one rendered picture is achieved.
According to the technical scheme, the dynamic screenshot method provided by the embodiment of the invention intercepts the rendering pictures of the vector map at all levels of visual angles and synthesizes the rendering pictures intercepted at all levels of visual angles into the dynamic map, so that the embodiment of the invention automatically acquires the intercepted rendering pictures of all levels of visual angles of the vector map in such a processing mode, achieves the purpose of knowing the theme styles of different levels of visual angles from one rendering picture, and well solves the problem that the theme styles of the vector map cannot be completely known by a single screenshot in the prior art.
Based on the content of the foregoing embodiment, in this embodiment, the intercepting of the rendered picture at each level view angle from the vector map specifically includes:
determining rendering completion time points of the vector map at each level visual angle;
and intercepting rendering pictures of each hierarchy view angle of the vector map according to the rendering completion time point of each hierarchy.
In this embodiment, when a vector map is subjected to image capture rendering at each hierarchy view angle, a key problem is to determine when to perform image capture operation at each hierarchy view angle, that is, to know rendering completion time of each hierarchy view angle. Therefore, in this embodiment, the process of capturing the rendered picture of the vector map at each level view includes two parts, the first part is to determine the rendering completion time point of the vector map at each level view, and the second part is to capture the rendered picture of the vector map at each level view according to the rendering completion time point of each level.
In the present embodiment, there are various implementations regarding the content of the first part determining the rendering completion time point of the vector map at each hierarchical view angle. For example, the first implementation: and setting a fixed rendering time delay for each level visual angle, and then carrying out screenshot processing on the corresponding level visual angle for each level visual angle after the fixed rendering time delay is finished. However, a problem may exist in this manner, that is, a fixed time delay is set for screenshot, and a problem may occur in that the screenshot is started when the map tiles of the corresponding hierarchy are not completely rendered, so that accuracy is reduced.
In addition, it should be noted that, in addition to the above processing manner of setting the fixed rendering delay for each hierarchical view angle, a second implementation manner may also be adopted: and setting different adaptive rendering time delays according to the data volume of each hierarchy visual angle. For example, for a national level viewing angle, the content of the displayed data is relatively large, and the adaptive rendering delay is set to be a little longer. For the building level view, the data content displayed is relatively small, and the adaptive rendering delay can be set to be shorter. It should be noted that, compared with the processing mode with fixed rendering delay, the processing mode can solve the problem of inaccurate screenshot opportunity existing in the fixed rendering delay to a certain extent.
In addition, in a more preferred processing manner, a third implementation manner may be further adopted: and determining rendering completion time points of the vector map at all the hierarchy view angles by acquiring a signal of map rendering completion under each hierarchy view angle and marking the signal. Compared with the method adopting fixed rendering time delay or adaptive rendering time delay mentioned in the first step and the second step. And thirdly, due to the processing mode, the rendering completion time point under each level visual angle can be accurately obtained, so that the accuracy of screenshot under each level visual angle can be greatly improved.
Based on the content of the foregoing embodiment, in this embodiment, the determining rendering completion time points of the vector map at each hierarchy view angle specifically includes:
after receiving an operation instruction entering any level visual angle, generating a marking value corresponding to any level visual angle according to the operation instruction;
generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and sending the marking value to a rendering processor so that the rendering processor performs rendering processing on the vector data of any level of visual angle;
receiving a trigger message which is sent by the rendering processor and used for informing that the vector data corresponding to the any level visual angle is rendered;
and judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level visual angle, if so, determining that the current time point is the rendering completion time point of the vector map at any level visual angle.
In the present embodiment, a specific implementation manner of determining rendering completion time points of a vector map at each hierarchical view angle is given. Specifically, in this embodiment, after receiving an operation instruction entering each level of view, a marking value corresponding to the level of view is generated according to the operation instruction (for example, a variable is created to mark the current change of the level of view), then 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 the vector data of the hierarchy view angle, and after receiving a corresponding rendering instruction, the rendering processor reads and stores the tag value therein, and then, rendering processing operation is carried out on the corresponding level according to the rendering instruction, when the rendering processing is finished, a trigger message for informing that the vector data of the corresponding level view angle is rendered is sent, and the rendering processor reads the obtained mark value before the trigger message is placed. Therefore, after receiving a trigger message sent by the rendering processor for informing that rendering of the vector data corresponding to the view angle of any hierarchy is completed, it is determined whether a flag value carried in the trigger message is consistent with a generated flag value corresponding to the view angle of any hierarchy, and if so, it indicates that rendering of the corresponding hierarchy is completed, and at this time, it may be determined that the current time point is a rendering completion time point of the vector map at the view angle of the corresponding hierarchy.
The dynamic screenshot method provided in this embodiment is explained and explained in detail below with reference to fig. 2. As shown in fig. 2, when the view angle of the map changes (from one hierarchical view angle to another), a variable identified is created to mark the current change of the current hierarchical view angle, the tile data required by the current change is calculated by the vector tile layer, and then the map is loaded with the tile data. And after the data loading is finished, triggering a loadedData event, judging whether an animated mark is consistent with a mark transmitted before or not after the vector tile layer receives the event, if so, considering that the map rendering of the change is finished, and performing screenshot operation, otherwise, waiting for the triggering of the next event, and prompting abnormity if overtime, and needing screenshot again. In this way, the corresponding pictures are intercepted at the corresponding levels, and finally the GIF pictures are synthesized.
Based on the content of the foregoing embodiment, in this embodiment, the intercepting a rendered picture of each hierarchy view angle from a vector map according to a rendering completion time point of each hierarchy specifically includes:
and at the rendering completion time point of each level, respectively carrying out rendering picture interception of the corresponding level view angle on the vector map.
In this embodiment, it is to be noted that, after the rendering completion time point of each level is determined by the above embodiment, rendering pictures of corresponding level view angles are respectively captured from the vector map at the rendering completion time point of each level, so that a picture rendered at a corresponding level is accurately obtained, and the picture can accurately represent the style theme of the corresponding level.
Based on the content of the foregoing embodiment, in this embodiment, before performing rendered picture interception of each hierarchical view angle on a vector map, the method further includes:
determining a rendering picture intercepting sequence of each hierarchy visual angle of the vector map;
correspondingly, the intercepting of the rendered picture of each level view angle from the vector map specifically includes:
and intercepting the rendering pictures of each hierarchy view angle of the vector map according to the intercepting sequence of the rendering pictures.
In this embodiment, when the rendered pictures of each hierarchical view are captured, the capture processing may be performed according to a preset sequence. For example, the screen capture process may be performed in the order of a national level view, an urban level view, and a building level view. When screenshot processing is performed according to a set hierarchy sequence, it is required to judge which hierarchy view angle is entered one by one, and then render picture capture of each hierarchy view angle is performed on the vector map.
Fig. 3 is a complete dynamic screenshot flow based on vector map rendering. Fig. 3 illustrates a process of making screenshots in the order of a national level perspective, an urban level perspective, and a building level perspective. After a user sends a screenshot instruction, the map firstly animates to a national view angle and creates an animated mark, and then the required tile data of the current change is calculated by the vector tile layer, wherein the following processing procedures can be adopted when the required tile data is calculated by the vector tile layer: A. determining the trapezoidal bounding box range (also called a visible area) of the viewing window through the intersection point of the camera viewing cone and the XOZ plane; B. calculating the coordinates of the trapezoidal bounding box range; C. calculating pyramid tiles at four corners according to the coordinates of the trapezoidal 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.
After the vector tile layer receives the event, whether an animated mark is consistent with a mark transmitted previously is judged, if so, the changed map rendering is considered to be finished, screenshot operation can be carried out, otherwise, triggering of the next event is waited, and abnormal screenshot is prompted if overtime occurs, and the screenshot needs to be carried out again. And after the screenshot operation is finished, judging whether the current view angle is a building level, if not, judging whether the current view angle is an urban view angle, if not, performing the screenshot operation of the urban 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 finished, and the intercepted pictures are combined into the final GIF picture according to the level data, so that the purpose of knowing the theme design of different view angles from one picture is achieved. When the cut pictures are combined into the final GIF picture according to the hierarchical data, the cut pictures may be tiled and combined in the order of the national-level view angle, the urban-level view angle, and the building-level view angle.
According to the above description, the present embodiment provides a dynamic screenshot method, which first obtains rendering screenshots of each hierarchy view angle, and then synthesizes the captured pictures into a final GIF picture according to hierarchy data, thereby achieving the purpose of understanding theme styles of different view angles from one picture. In addition, the embodiment also provides a dynamic screenshot method driven by the event based on the rendering end of the vector map, compared with a method for screenshot by setting a larger time delay, the dynamic screenshot method based on the rendering of the vector map greatly improves the screenshot accuracy by acquiring a signal of the rendering end of the map and driving the event (screenshot is performed by setting the time delay, and the screenshot is started when the map tile is not completely rendered, so that the accuracy is reduced), removes redundant waiting time, and runs efficiently and conveniently. Therefore, in the embodiment, the idea of the screenshot in each layer of view is matched with the mode of driving the dynamic screenshot in each layer of view according to the rendering end event, so that the problem that the theme style design cannot be completely known by a single screenshot is well solved.
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 by this embodiment includes: an intercept module 21 and a synthesis module 22, wherein:
the intercepting module 21 is configured to intercept rendering pictures of each hierarchy view angle of the vector map;
and the synthesis module 22 is used for synthesizing the rendering pictures intercepted at the various hierarchical view angles into a dynamic graph.
Based on the content of the foregoing embodiment, in this embodiment, the intercepting module 21 is specifically configured to:
determining rendering completion time points of the vector map at each level visual angle;
and intercepting rendering pictures of each hierarchy view angle of the vector map according to the rendering completion time point of each hierarchy.
Based on the content of the foregoing embodiment, in this embodiment, when determining rendering completion time points of the vector map at each hierarchy view angle, the truncating module 21 is specifically configured to:
after receiving an operation instruction entering any level visual angle, generating a marking value corresponding to any level visual angle according to the operation instruction;
generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and sending the marking value to a rendering processor so that the rendering processor performs rendering processing on the vector data of any level of visual angle;
receiving a trigger message which is sent by the rendering processor and used for informing that the vector data corresponding to the any level visual angle is rendered;
and judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level visual angle, if so, determining that the current time point is the rendering completion time point of the vector map at any level visual angle.
Based on the content of the foregoing embodiment, in this embodiment, when the capture module 21 captures the rendered picture of each level view angle from the vector map according to the rendering completion time point of each level, the capture module is specifically configured to:
and at the rendering completion time point of each level, respectively carrying out rendering picture interception of the corresponding level view angle on the vector map.
Based on the content of the foregoing embodiment, in this embodiment, before the capture module 21 captures the rendered pictures of the vector map at each hierarchical view angle, the capture module is further configured to:
determining a rendering picture intercepting sequence of each hierarchy visual angle of the vector map;
correspondingly, when the capture module 21 captures the rendered pictures of each hierarchy view angle from the vector map, it is specifically configured to:
and intercepting the rendering pictures of each hierarchy view angle of the vector map according to the intercepting sequence of the rendering pictures.
Based on the content of the above embodiment, in the present embodiment, the respective hierarchy views include: national level views, urban level views, and building level views.
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 embodiment, and the working principle and the beneficial effect are similar, so detailed description is omitted here, and specific contents can be referred to the introduction of the embodiment.
In this embodiment, it should be noted that each module in the apparatus according to the embodiment of the present invention may be integrated into a whole or may be separately disposed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device, which specifically includes the following components, with reference to fig. 5: a processor 301, a memory 302, a communication interface 303, and a communication bus 304;
the processor 301, the memory 302 and the communication interface 303 complete mutual communication through the communication bus 304;
the processor 301 is configured to call a computer program in the memory 302, and the processor implements all the steps of the above dynamic screenshot method based on vector map rendering when executing the computer program, for example, the processor implements the following processes when executing the computer program: intercepting rendering pictures of each level visual angle of the vector map; and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph.
It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements all the steps of the above dynamic screenshot method based on vector map rendering, for example, when the processor executes the computer program, the processor implements the following processes: intercepting rendering pictures of each level visual angle of the vector map; and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph. It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
Based on the same inventive concept, another embodiment of the present invention provides a computer program product, which includes a computer program, when being executed by a processor, the computer program implements all the steps of the above-mentioned associated application starting control method, for example, when the processor executes the computer program, the processor implements the following processes: intercepting rendering pictures of each level visual angle of the vector map; and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph. It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
It will be appreciated that the detailed functions and extended functions that the computer program may perform may be as described with reference to the above embodiments.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions may be essentially or partially implemented in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the dynamic screenshot method based on vector map rendering according to 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Furthermore, in the present disclosure, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means 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, the schematic representations of the terms used above are not necessarily intended to refer 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, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A dynamic screenshot method based on vector map rendering is characterized by comprising the following steps:
intercepting rendering pictures of each level visual angle of the vector map;
and synthesizing the rendering pictures intercepted at the various hierarchical visual angles into a dynamic graph.
2. The vector map rendering-based dynamic screenshot method according to claim 1, wherein the step of performing rendered picture interception of each level view angle on the vector map specifically comprises:
determining rendering completion time points of the vector map at each level visual angle;
and intercepting rendering pictures of each hierarchy view angle of the vector map according to the rendering completion time point of each hierarchy.
3. The dynamic screenshot method based on vector map rendering according to claim 2, wherein the determining rendering completion time points of the vector map at each hierarchical view specifically comprises:
after receiving an operation instruction entering any level visual angle, generating a marking value corresponding to any level visual angle according to the operation instruction;
generating a rendering instruction according to the operation instruction, packaging the marking value in the rendering instruction, and sending the marking value to a rendering processor so that the rendering processor performs rendering processing on the vector data of any level of visual angle;
receiving a trigger message which is sent by the rendering processor and used for informing that the vector data corresponding to the any level visual angle is rendered;
and judging whether the mark value carried in the trigger message is consistent with the generated mark value corresponding to any level visual angle, if so, determining that the current time point is the rendering completion time point of the vector map at any level visual angle.
4. The dynamic screenshot method based on vector map rendering according to claim 2, wherein the step of performing rendered picture interception of each hierarchy view angle on the vector map according to rendering completion time points of each hierarchy specifically comprises:
and at the rendering completion time point of each level, respectively carrying out rendering picture interception of the corresponding level view angle on the vector map.
5. The dynamic screenshot method based on vector map rendering according to any one of claims 1-4, wherein before the rendered picture interception of each hierarchy view angle is performed on the vector map, the method further comprises:
determining a rendering picture intercepting sequence of each hierarchy visual angle of the vector map;
correspondingly, the intercepting of the rendered picture of each level view angle from the vector map specifically includes:
and intercepting the rendering pictures of each hierarchy view angle of the vector map according to the intercepting sequence of the rendering pictures.
6. The dynamic screenshot method based on vector map rendering according to any one of claims 1-4, wherein each hierarchical view comprises: national level views, urban level views, and building level views.
7. A dynamic screenshot device based on vector map rendering, comprising:
the intercepting module is used for intercepting rendering pictures of all hierarchy visual angles of the vector map;
and the synthesis module is used for synthesizing the rendering pictures intercepted at all the hierarchy view angles into a dynamic graph.
8. 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 dynamic screenshot method based on vector map rendering according to any one of claims 1 to 6 when executing the program.
9. A non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the dynamic screenshot method based on vector map rendering according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program, when being executed by a processor, implements the steps of the vector map rendering based dynamic screenshot method as claimed in any one of claims 1 to 6.
CN202010530608.0A 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium Pending CN113808240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010530608.0A CN113808240A (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 CN113808240A (en) 2020-06-11 2020-06-11 Dynamic screenshot method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113808240A true CN113808240A (en) 2021-12-17

Family

ID=78891942

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113808240A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120056899A1 (en) * 2010-09-08 2012-03-08 Matei Stroila Generating a multi-layered geographic image and the use thereof
CN102414697A (en) * 2009-02-24 2012-04-11 谷歌公司 System and method of indicating transition between street level images
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system
WO2016078298A1 (en) * 2014-11-21 2016-05-26 中兴通讯股份有限公司 Screenshot image output method and device, and storage medium
CN108924645A (en) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 Theme generation method and device and electronic equipment
CN110599891A (en) * 2019-09-23 2019-12-20 东方电子股份有限公司 Map rendering method for power grid equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102414697A (en) * 2009-02-24 2012-04-11 谷歌公司 System and method of indicating transition between street level images
US20120056899A1 (en) * 2010-09-08 2012-03-08 Matei Stroila Generating a multi-layered geographic image and the use thereof
CN102402797A (en) * 2010-09-08 2012-04-04 纳夫特克北美有限责任公司 Generating a multi-layered geographic image and the use thereof
WO2016078298A1 (en) * 2014-11-21 2016-05-26 中兴通讯股份有限公司 Screenshot image output method and device, and storage medium
CN105516311A (en) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 Electronic map panorama acquisition method and system
CN108924645A (en) * 2018-06-25 2018-11-30 北京金山安全软件有限公司 Theme generation method and device and electronic equipment
CN110599891A (en) * 2019-09-23 2019-12-20 东方电子股份有限公司 Map rendering method for power grid equipment

Similar Documents

Publication Publication Date Title
EP3657327B1 (en) Method for rendering game, and method, apparatus and device for generating game resource file
US11585675B2 (en) Map data processing method, computer device and storage medium
CN106155454B (en) Interface display method and device and electronic equipment
CN106548516B (en) Three-dimensional roaming method and device
CN109829981B (en) Three-dimensional scene presentation method, device, equipment and storage medium
US20080198158A1 (en) 3D map display system, 3D map display method and display program
CN108939556B (en) Screenshot method and device based on game platform
US20130187905A1 (en) Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects
CN108182212B (en) Photo map scheduling method and display system based on aerial photography
CN109002452B (en) Map tile updating method and device and computer readable storage medium
EP2595118A2 (en) Methods for providing 3d building information
JP6096634B2 (en) 3D map display system using virtual reality
JP2020014159A (en) File generation device and video generation device on the basis of file
WO2023207963A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN111538799A (en) Thermodynamic diagram construction method, thermodynamic diagram construction equipment, thermodynamic diagram construction storage medium and thermodynamic diagram construction device
CN114895796A (en) Space interaction method and device based on panoramic image and application
JP2006284704A (en) Three-dimensional map simplification device and three-dimensional map simplification method
US10460503B2 (en) Texturing of a three-dimensional (3D) model by UV map in-painting
CN107291820B (en) Boundary pile information management method based on panoramic image
US11288774B2 (en) Image processing method and apparatus, storage medium, and electronic apparatus
CN111414104B (en) Electronic map local display method and device
CN113808240A (en) Dynamic screenshot method and device, electronic equipment and storage medium
WO2020056446A1 (en) System and method of selecting a complementary image from a plurality of images for 3d geometry extraction
JP2003233836A (en) Image processor for conducting rendering shading processing by using distance component in modeling and its method
CN114367113A (en) Method, apparatus, medium, and computer program product for editing virtual scene

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