Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic step loading apparatus and method based on Baidu map, storage medium

A Baidu map, step-by-step addition technology, applied in geographic information databases, data processing input/output processes, special data processing applications, etc., can solve poor user experience, several seconds or even longer, and web pages are stuck and unresponsive and other issues to achieve short page response time, avoid freezes, and show good results

Active Publication Date: 2018-02-09
TIANJIN TONGYANG TECH DEV
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] For example: there are 5,000 points in the system that need to be located on the map. All 5,000 points are taken out from the background through the traditional web method, and then marked on the map at one time. The process of getting the data from the backend may take more than ten seconds. Even longer, leading to poor user experience, and even causing the web page to freeze and not respond due to the large amount of data
[0010] like figure 1 It can be seen that as the amount of dynamically loaded data increases, the consumption of loading time and response time is quite large

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
  • Dynamic step loading apparatus and method based on Baidu map, storage medium
  • Dynamic step loading apparatus and method based on Baidu map, storage medium
  • Dynamic step loading apparatus and method based on Baidu map, storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Such as image 3 As shown in the process, only dynamic points are loaded on the Baidu map page:

[0073] Enter N=1365 point data in the database. When initializing the map page, the method of obtaining points is automatically called to describe the points. Each time n=50 points are obtained, the number of times the data needs to be obtained from the foreground to the background is con. Press image 3 The flow process shown is operated, can get by following formula, con=28 times:

[0074] con=N%n>0? N / n+1:N / n;

[0075] load 28 (ie image 3 The maximum value of i in the process is 28) times, the total time is about 12s, and the data is returned more than twice per second on average. During the point drawing process, the user can intuitively see the change process of the point increase on the map, and will not feel that the waiting time is too long, and the visual effect is better. At the same time, when the following data is loaded, when the mouse slides over the map...

Embodiment 2

[0077] Such as Figure 4 As shown in the process, the dynamic points are loaded on the Baidu map page, and at the same time, the list of points is loaded on the same page:

[0078] With embodiment 1, enter N=1365 point data in the database, when initializing the map page, automatically invoke the method of obtaining the point to describe the point, obtain n=50 points each time, the number of times that needs the foreground to the background to obtain data is con, press image 3 The flow shown in the operation can be obtained by the following formula, con=29 times.

[0079] con=(N%n>0?N / n+1:N / n)+1; at the same time, the point list needs to be displayed in pages on the same page, and the first 50 data of the first page are displayed by default through the background page , in the process of data loading and drawing, the user can operate the point list. Map point process loading 29 (ie Figure 4 The maximum value of i in the process is 29, and the last returned result is 0) T...

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

A dynamic step loading device and method based on Baidu map, and a readable storage medium are provided. The loading method comprises that: Step 1, the page client requests to the backstage server toacquire data; Step 2, n pieces of point data is returned from the backstage database through the AJAX asynchronous method; Step 3, the n pieces of data returned to the page by the background server istraversed and the Baidu map API is called for tracing; and Step 4, Steps 2 and 3 are repeated until all point data is retrieved from the background database. When using Baidu map to load a large number of anchor points, the system response speed and user experience are improved.

Description

technical field [0001] The present invention relates to the technical field of network map display, in particular to a device and method for dynamic step-by-step loading of Baidu maps, and a readable storage medium. Background technique [0002] Baidu Maps has a strong basic positioning capability, relying on Baidu's location big data and sophisticated positioning technology to provide the best positioning service products in the industry. It has the characteristics of high positioning accuracy, wide coverage, small traffic, fast speed (200ms for the first positioning), and low memory / CPU usage. The specific performance parameters are as follows: [0003] High precision: the comprehensive positioning accuracy is 40m; [0004] Wide coverage: perfect support for global positioning; [0005] Small flow: less than 0.3K; [0006] Fast speed: 200ms for the first positioning. [0007] Baidu provides the data layer function of Baidu lbs cloud, which can display massive user dat...

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): G06F17/30G06F3/0483
CPCG06F3/0483G06F16/29G06F16/9574
Inventor 陈文亮李亚楠张鑫袁星星许金韬张金永张涛樊海春
Owner TIANJIN TONGYANG TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products