Unlock instant, AI-driven research and patent intelligence for your innovation.

Wasm-based map vector rendering method and device

A map and vector technology, applied in the computer field, can solve the problems of low rendering efficiency, inefficient javascript language performance, and bloated application, so as to save the rendering process and improve the rendering speed of big data and image loading speed.

Active Publication Date: 2019-07-19
CHENGDU SEFON SOFTWARE CO LTD
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the current map rendering basically depends on the processing power of javascript, the performance of the javascript language is inefficient, and the rendering efficiency of large data volumes is still a relatively big problem. Many functions have to be weakened. Not ideal, limited by the processing power of the browser, the slice needs to be rendered on the server side, and then the image data is obtained and rendered through http (Hyper Text Transfer Protocol, hypertext transfer protocol) request, but this method makes the entire application very bloated, requiring Develop and deploy independent slice services, etc., considering network bandwidth and server load, etc., the rendering efficiency may not be very high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Wasm-based map vector rendering method and device
  • Wasm-based map vector rendering method and device
  • Wasm-based map vector rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 The flow chart of the wasm-based map vector rendering method provided by the embodiment of the present invention.

[0053] refer to figure 1 , the method includes the following steps:

[0054] Step S101, creating a map image layer, the map image layer is created using canvas technology;

[0055]Step S102, rendering the map image layer based on the wasm rendering method to obtain rendered pixel data;

[0056] Step S103, copying the rendered pixel data to a specified storage area corresponding to the canvas;

[0057] Step S104, loading the map image layer in the designated storage area to obtain rendered map vector data.

[0058] The wasm-based map vector rendering method provided by the embodiment of the present invention creates a map image layer, which is created using canvas technology; uses the wasm rendering method to render the map image layer, and obtains the rendered map image layer Pixel data; copy the rendered pixel data to the designated storage ...

Embodiment 2

[0068] Figure 5 It is a schematic diagram of a wasm-based map vector rendering device provided by an embodiment of the present invention.

[0069] refer to Figure 5 , the device includes a creating module 10 , a rendering module 20 , a copying module 30 and a loading module 40 .

[0070] Create module 10, be used for creating map image layer, this map image layer is to utilize canvas technology to create;

[0071] The rendering module 20 is configured to render the map image layer based on the wasm rendering method to obtain rendered pixel data;

[0072] The copying module 30 is used for copying the rendered pixel data to a designated storage area corresponding to the canvas;

[0073] The loading module 40 is configured to load the map image layer in the designated storage area to obtain rendered map vector data.

[0074] Further, the device also includes:

[0075] The initialization module (not shown) is configured to initialize the created map image layer, and transfe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a wasm-based map vector rendering method and device, and the method comprises the steps: building a map image layer which is built through employing a canvas technology; rendering the map image layer based on a wasm rendering method to obtain rendered pixel data; copying the rendered pixel data to an appointed storage area corresponding to the cannas; loading amap image layer in the designated storage area, obtaiing the rendered map vector data, so that the big data rendering speed and the image loading speed of the client side are increased.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a wasm-based map vector rendering method and device. Background technique [0002] Due to the cross-platform and installation-free advantages of web (World Wide Web, global wide area network) applications, the development of map applications on the web side is becoming more and more mature. New technologies are also welcomed by programmers, such as webgl (Web Graphics Library, web graphics library), webworker, webassembly (wasm), etc. These technologies have broadened the road of web applications and derived many optimization solutions for large data vector rendering . [0003] Since the current map rendering basically depends on the processing power of javascript, the performance of the javascript language is inefficient, and the rendering efficiency of large data volumes is still a relatively big problem. Many functions have to be weakened. Not ideal, limited by the process...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/29
CPCG06F16/29
Inventor 徐祥黄永吴星国王国玉
Owner CHENGDU SEFON SOFTWARE CO LTD