Map point data loading method, system, device and storage medium

By obtaining the hardware information of the terminal device and dynamically adjusting the map point loading parameters, the problems of lag and long loading time during the loading process of map point in the prior art are solved, and faster loading performance is achieved.

CN113535257BActive Publication Date: 2025-04-22广州极优解网络科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110676421.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-18
Publication Date
2025-04-22
Estimated Expiration
2041-06-18

AI Technical Summary

Technical Problem

The existing map point data loading method has caused problems such as lag, long loading time or no response during the loading process of low-performance phones.

Method used

By obtaining the brand information, memory information and CPU information of the terminal device, personalized map point loading parameters, including the number of single loads and the total loading number, thereby dynamically adjusting the loading process.

Benefits of technology

It effectively solves the disadvantage of fixed loading numbers of all terminals, significantly speeds up the map point loading process, and improves the loading performance of low-performance mobile phones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535257B_ABST
    Figure CN113535257B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, system, device and storage medium for loading map point data, which can be applied to the field of big data technology. The method of the present invention comprises the following steps: responding to an operation instruction of a terminal device; obtaining terminal brand information, terminal memory information and terminal CPU information according to the operation instruction; determining map point loading parameters according to the terminal brand information, terminal memory information and terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a single time and the total number of map points loaded at a single time; controlling the terminal device to load map points and map data according to the map point loading parameters. The present invention controls the loading process by obtaining the number of map points loaded at a single time and the total number of map points loaded at a single time, thereby controlling the number of single loads and the total number of loads for each terminal device, solving the drawbacks of the existing fixed loading number for all terminals, and speeding up the map point loading process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method, system, device and storage medium for loading map point data. Background Art

[0002] Map point loading technology can load a location onto a map within a specified application software, allowing users to intuitively obtain environmental information around the location. For example, loading the location of a real estate project onto a map allows both sales staff and buyers to more conveniently understand the surrounding environment. The current method of loading map point data is based on a fixed total number of map points loaded at a time for each mobile phone, which results in low-performance mobile phones often experiencing loading jams, long loading times, or no response when loading map point data. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a method, system, device and storage medium for loading map point data, which can speed up the map point loading process.

[0004] In a first aspect, an embodiment of the present invention provides a method for loading map point data, comprising the following steps:

[0005] Responding to an operation instruction of a terminal device;

[0006] Acquire terminal brand information, terminal memory information and terminal CPU information according to the operation instruction;

[0007] Determine map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time;

[0008] The terminal device is controlled to load map points and map data according to the map point loading parameters.

[0009] A method for loading map point data provided by an embodiment of the present invention has the following beneficial effects:

[0010] This embodiment obtains the terminal brand information, terminal memory information and terminal CPU information of the terminal device after responding to the operation instruction of the terminal device, and determines the map point loading parameters including the number of map points loaded at one time and the total number of map points loaded at one time according to the terminal brand information, terminal memory information and terminal CPU information, and then controls the terminal device to perform the map point and map data loading process through the map point loading parameters. This embodiment controls the loading process through the obtained number of map points loaded at one time and the total number of map points loaded at one time, thereby controlling the number of single loads and the total number of loads for each terminal device, thereby solving the drawback of the existing fixed loading number for all terminals and speeding up the map point loading process.

[0011] Optionally, determining the map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information includes:

[0012] Acquire a plurality of first map point loading parameters corresponding to the terminal brand information from the database, and save the plurality of first map point loading parameters into a first data set;

[0013] Acquire a first map point loading parameter including the interval to which the terminal memory information belongs from the first data set as a second map point loading parameter, and save the second map point loading parameter to the second data set;

[0014] Acquire, from the second data set, a second map point loading parameter of the interval to which the terminal CPU information belongs as a third map point loading parameter;

[0015] The third map point loading parameter is used as the target map point loading parameter.

[0016] Optionally, controlling the terminal device to load map points and map data according to the map point loading parameters includes:

[0017] Controlling the terminal device to perform map point loading according to the map point loading parameters;

[0018] Control the terminal device to load map data around the map point.

[0019] Optionally, controlling the terminal device to perform map point loading according to the map point loading parameter includes:

[0020] Circularly controlling the terminal device to load map points according to the number of map points loaded at a time;

[0021] When it is determined that the total number of map points loaded multiple times is greater than or equal to the total number of map points loaded in a single time, the cyclic loading process is terminated.

[0022] Optionally, controlling the terminal device to load map data around the map point includes:

[0023] Acquire two longitude and latitude data within the screen display range of the terminal device, wherein the two longitude and latitude data include longitude and latitude data of the upper left corner and the lower right corner within the screen display range;

[0024] Obtaining the map data within the two latitude and longitude data;

[0025] Control the terminal device to load the map data.

[0026] Optionally, the method further comprises the following steps:

[0027] After determining that the map data loading is complete, obtaining the map point and the loading time of the map data;

[0028] The map point loading parameters are optimized according to the loading time.

[0029] Optionally, the acquiring two longitude and latitude data within a screen display range of the terminal device includes:

[0030] An application program interface is used to obtain two longitude and latitude data within the screen display range of the terminal device.

[0031] In a second aspect, an embodiment of the present invention provides a map point data loading system, comprising:

[0032] A response module, used to respond to an operation instruction of a terminal device;

[0033] An acquisition module, used to acquire terminal brand information, terminal memory information and terminal CPU information according to the operation instruction;

[0034] A determination module, used to determine map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time;

[0035] A loading module is used to control the terminal device to load map points and map data according to the map point loading parameters.

[0036] In a third aspect, an embodiment of the present invention provides a map point data loading device, comprising:

[0037] at least one memory for storing a program;

[0038] At least one processor is used to load the program to execute the map point data loading method provided by the embodiment of the first aspect.

[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the map point data loading method provided by the embodiment of the first aspect.

[0040] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:

[0042] Figure 1 A flowchart of a method for loading map point data according to an embodiment of the present invention;

[0043] Figure 2 The present invention is a flowchart of data processing in a specific application process according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0045] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0046] In the description of the present invention, unless otherwise clearly defined, words such as "setting" should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.

[0047] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0048] Reference Figure 1 , an embodiment of the present invention provides a method for loading map point data. Specifically, this embodiment can be applied to a server that interacts with a terminal device, wherein application software is installed on the terminal device, for example, software for viewing housing sources in the real estate field, or software that can open a specified web page.

[0049] During the application process, this embodiment includes the following steps:

[0050] S11. Respond to an operation instruction of the terminal device.

[0051] In the embodiment of the present application, the operation instruction can be the input information in the software specified by the user on the terminal device. For example, when the user needs to view the information of the house for sale, he needs to enter the specified software or web page through the terminal device, and then enter the verification information (account number and password) on the web page before he has the authority to enter and view the specific house for sale information. When the user enters the verification information on the terminal device, the server can respond to the operation process of the verification information, so that the server enters the subsequent operation process.

[0052] S12. Acquire terminal brand information, terminal memory information, and terminal CPU information according to the operation instruction.

[0053] In the embodiment of the present application, the three information of terminal brand information, terminal memory information and terminal CPU information are all hardware information of the terminal device. In some embodiments, it is also necessary to obtain the system version information of the terminal device.

[0054] S13, determining map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time.

[0055] In an embodiment of the present application, a number of first map point loading parameters corresponding to the terminal brand information are first obtained from the database, and the first map point loading parameters are saved in a first data set. Then, the first map point loading parameters including the interval to which the terminal memory information belongs are obtained from the first data set as second map point loading parameters, and the second map point loading parameters are saved in a second data set. Then, the second map point loading parameters including the interval to which the terminal CPU information belongs are obtained from the second data set as third map point loading parameters. Finally, the third map point loading parameters are used as target map point loading parameters. For example, the database contains a number of map point loading parameters corresponding to terminal brand information A1, terminal brand information A2, and terminal brand information A3, respectively. When the terminal brand information determined in the embodiment of the present application is terminal brand information A1, the number of map point loading parameters corresponding to the terminal brand information A1 are saved in the first data set. When the map point loading parameters in the first data set are divided into different memory operation intervals, for example, the memory operation intervals are divided into [1G-6G), [6G-12G), and [12G-32G] intervals, the map point loading parameters in this interval are obtained after determining which interval the acquired memory information belongs to. For example, when the acquired memory information is 12G, it can be determined that 12G belongs to the interval [12G-32G]. Therefore, the map point loading parameters in the interval [12G-32G] are loaded into the second data set corresponding to the acquired memory information 12G. Then, the final map point loading parameters are determined from the second data set based on the acquired terminal CPU information. Among them, the map point loading parameters in the second data set in this embodiment are also divided according to the size of the CPU, and the map point loading parameters can only be obtained from the interval to which the terminal CPU information belongs as the final target map point loading parameters of the terminal device. During the implementation process, if any of the obtained terminal brand information, terminal memory information, and terminal CPU information does not meet the requirements within this range, the map point loading parameters cannot be obtained from this range.

[0056] In other embodiments, the final map point loading parameters may be determined by first determining the interval to which the acquired terminal memory information belongs, then determining the terminal brand information, and then determining the interval to which the terminal CPU information belongs. Specifically, the determination order of the terminal brand information, the terminal memory information, and the terminal CPU information does not affect the real-time process of this embodiment, as long as all the above conditions are met at the same time.

[0057] S14. Control the terminal device to load map points and map data according to the map point loading parameters.

[0058] In this embodiment, the terminal device is first controlled to perform map point loading according to the map point loading parameters, and then the terminal device is controlled to load the map data around the map point. Specifically, the terminal device is controlled to load map points in a loop, and the number of map points loaded at a time is the number of map points loaded at a time determined in the previous step. When the total number of map points loaded in multiple cycles is greater than or equal to the total number of map points loaded at a time, the loading process ends. For example, the predetermined number of map points loaded at a time is 10, and the total number of map points loaded at a time is 100. In this case, the terminal device can only load 10 map points at a time. After 10 cycles, the total number of loaded points is equal to 100, and the cyclic loading process ends. After loading the map points, the map data around each map point is loaded.

[0059] In some embodiments, map data can be loaded synchronously when loading map points. For example, after loading 10 map points for the first time, the terminal device performs a second loading process of map points. When loading map points for the second time, map data is loaded for the first loaded map points. Through this synchronous loading process, the total time of map point and data processing is accelerated.

[0060] In some embodiments, when loading map data, two longitude and latitude data within the screen display range of the terminal device are obtained, and then the map data between the two longitude and latitude data are called and loaded onto the terminal device, so that the called map point data can be effectively displayed on the terminal device. Specifically, the two longitude and latitude data can be the longitude and latitude data of the upper left corner and the lower right corner within the screen display range. The longitude and latitude data can be directly called through the application program interface API.

[0061] In some embodiments, after determining that the map data loading is complete, the loading time of the map point and the map data is obtained; and the map point loading parameters are optimized according to the loading time. Specifically, the shorter the loading time, the higher the loading efficiency, and the higher the efficiency of the corresponding map point loading parameters on the terminal device. By collecting the application relationship between different terminal devices and map point loading parameters, the optimal loading effect can be obtained.

[0062] For example, Figure 2 As shown, the terminal device is a mobile phone, and the mobile phone interacts with the server as an example:

[0063] The mobile phone uploads a map data loading request to the server.

[0064] The server obtains the three hardware information of the mobile phone, namely, the brand information, running memory information and CPU information, and then selects the map point loading parameters corresponding to the mobile phone brand information from the database, that is, the number of map points loaded at a time and the total number of map points loaded at a time are selected. Then, the map point loading parameters corresponding to the running memory information and CPU information are obtained and sent to the mobile phone. At the same time, the map point data classified in advance is called and sent to the mobile phone to control the mobile phone to load the map point data according to the map point loading parameters sent. After the loading is completed, the loading time is fed back to the server so that the server can optimize the corresponding relationship between the map point loading parameters and the terminal according to the loading time received multiple times.

[0065] In summary, the above embodiment controls the loading process by acquiring the number of map points loaded at one time and the total number of map points loaded at one time, thereby controlling the number of single loads and the total number of loads for each terminal device, solving the drawback of the existing fixed loading number for all terminals and speeding up the map point loading process.

[0066] An embodiment of the present invention provides a map point data loading system, comprising:

[0067] A response module, used to respond to an operation instruction of a terminal device;

[0068] An acquisition module, used to acquire terminal brand information, terminal memory information and terminal CPU information according to the operation instruction;

[0069] A determination module, used to determine map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time;

[0070] A loading module is used to control the terminal device to load map points and map data according to the map point loading parameters.

[0071] The contents of the method embodiments of the present invention are all applicable to the system embodiments. The functions specifically implemented by the system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method.

[0072] An embodiment of the present invention provides a map point data loading device, comprising:

[0073] at least one memory for storing a program;

[0074] At least one processor for loading the program to execute Figure 1 The map point data loading method shown.

[0075] The contents of the method embodiments of the present invention are all applicable to the device embodiments. The functions specifically implemented by the device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0076] An embodiment of the present invention provides a computer-readable storage medium, wherein a program executable by a processor is stored, and when the program executable by the processor is executed by the processor, it is used to perform Figure 1 The map point data loading method shown.

[0077] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.

[0078] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the present invention. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

Claims

1. A method for loading map point data, characterized in that: The following steps are involved: Responding to an operation instruction of a terminal device; Acquire terminal brand information, terminal memory information and terminal CPU information according to the operation instruction; Determine map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time; Controlling the terminal device to load map points and map data according to the map point loading parameters; Wherein, determining the map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information includes: Acquire a plurality of first map point loading parameters corresponding to the terminal brand information from the database, and save the plurality of first map point loading parameters into a first data set; Acquire a first map point loading parameter including the interval to which the terminal memory information belongs from the first data set as a second map point loading parameter, and save the second map point loading parameter to the second data set; Acquire, from the second data set, a second map point loading parameter of the interval to which the terminal CPU information belongs as a third map point loading parameter; The third map point loading parameter is used as the target map point loading parameter.

2. A method for loading map point data according to claim 1, characterized in that: The controlling the terminal device to load map points and map data according to the map point loading parameters includes: Controlling the terminal device to perform map point loading according to the map point loading parameters; Control the terminal device to load map data around the map point.

3. A method for loading map point data according to claim 2, characterized in that: The controlling the terminal device to perform map point loading according to the map point loading parameter includes: Circularly controlling the terminal device to load map points according to the number of map points loaded at a time; When it is determined that the total number of map points loaded multiple times is greater than or equal to the total number of map points loaded in a single time, the cyclic loading process is terminated.

4. A method for loading map point data according to claim 2, characterized in that: The controlling the terminal device to load the map data around the map point includes: Acquire two longitude and latitude data within the screen display range of the terminal device, wherein the two longitude and latitude data include longitude and latitude data of the upper left corner and the lower right corner within the screen display range; Obtaining the map data within the two latitude and longitude data; Control the terminal device to load the map data.

5. A method for loading map point data according to claim 1, characterized in that: The method further comprises the following steps: After determining that the map data loading is complete, obtaining the map point and the loading time of the map data; The map point loading parameters are optimized according to the loading time.

6. A method for loading map point data according to claim 4, characterized in that: The acquiring of two longitude and latitude data within the screen display range of the terminal device comprises: An application program interface is used to obtain two longitude and latitude data within the screen display range of the terminal device.

7. A map point data loading system, characterized in that: include: A response module, used to respond to an operation instruction of a terminal device; An acquisition module, used to acquire terminal brand information, terminal memory information and terminal CPU information according to the operation instruction; A determination module, used to determine map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information, wherein the map point loading parameters include the number of map points loaded at a time and the total number of map points loaded at a time; A loading module, used for controlling the terminal device to load map points and map data according to the map point loading parameters; Wherein, determining the map point loading parameters according to the terminal brand information, the terminal memory information and the terminal CPU information includes: Acquire a plurality of first map point loading parameters corresponding to the terminal brand information from the database, and save the plurality of first map point loading parameters into a first data set; Acquire a first map point loading parameter including the interval to which the terminal memory information belongs from the first data set as a second map point loading parameter, and save the second map point loading parameter to the second data set; Acquire, from the second data set, a second map point loading parameter of the interval to which the terminal CPU information belongs as a third map point loading parameter; The third map point loading parameter is used as the target map point loading parameter.

8. A map point data loading device, characterized in that: include: at least one memory for storing a program; At least one processor is used to load the program to execute the map point data loading method as described in any one of claims 1-6.

9. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to execute the map point data loading method as described in any one of claims 1-6 when executed by the processor.

Citation Information

Patent Citations

  • Quick map tile generation method based on CPU+GPU

    CN104267940A