Map tile testing method, system and equipment and storage medium

By designing a map tile testing method and system, and using the communication between the server and the client to automatically render and test the map tile, the problems of low efficiency and high cost of manual testing in the prior art are solved, and more efficient and accurate test results are achieved.

CN119847922APending Publication Date: 2025-04-18上海依时派运输有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411903987.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

Existing map tiles testing methods rely on manual rendering, resulting in high labor costs and low testing efficiency.

Method used

Design a map tile testing method and system, and automatically render and test map tile through communication between the server and the client, generate test results, and send abnormal tile identification to the server.

Benefits of technology

The test process of manual participation is reduced, testing efficiency is improved, labor costs are reduced, and abnormal tile data is automatically recorded, improving the accuracy of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847922A_ABST
    Figure CN119847922A_ABST
Patent Text Reader

Abstract

The invention provides a map tile testing method, system and device and a storage medium, the method is applied to the map tile testing system, the system comprises a server and a client which are in communication connection, and the method comprises the steps that the server sends a test task to the client under the condition that the server receives the test task; the test task is used for representing that N map tiles are tested, and N is a positive integer; the client performs a rendering test on each map tile based on the test task; and the client sends the test results corresponding to the N map tiles to the server. In the embodiment of the invention, after the client receives the test task, the rendering test is automatically performed on each map tile based on the test task, and the rendering test does not need to be performed on the map tiles manually, so that the labor cost is reduced, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a map tile testing method, system, device and storage medium. Background Art

[0002] Map Tiles refers to cutting a complete large map or image into several small rectangular tiles, each tile represents a part of the map. With the gradual penetration of mobile Internet in daily life, a large number of traffic and transportation applications need to use maps. The loading of map tiles on the front end has become an indispensable part of various transportation applications.

[0003] In order to ensure the user's functional use and ensure that the map is loaded normally, the tile data needs to be tested before it goes online. At present, the front-end rendering of the map tile test process is completed by manual testing. Faced with a large amount of tile data, testers need to spend a lot of energy on manual rendering, which increases labor costs and reduces test efficiency. Summary of the invention

[0004] The main purpose of this application is to provide a map tile testing method, system, computer device and storage medium, aiming to solve the technical problem that the existing testing methods increase labor costs while reducing testing efficiency.

[0005] To achieve the above object, the present application provides a map tile testing method, which is applied to a map tile testing system, wherein the system includes a server and a client connected in communication, and the method includes:

[0006] When receiving the test task, the server sends the test task to the client; the test task is used to represent the test of N map tiles, where N is a positive integer;

[0007] The client performs a rendering test on each map tile based on the test task;

[0008] The client sends the test results corresponding to the N map tiles to the server.

[0009] Optionally, the test task includes a first task and a second task, and when the server receives the test task, sending the test task to the client includes:

[0010] Upon receiving the first task, the server determines a target area pointed to by the first task;

[0011] The server divides the target area according to a preset latitude and longitude range, obtains N map tiles corresponding to the target area, and sends the first task to the client;

[0012] When receiving the second task, the server obtains N tile identifiers corresponding to the second task from a preset database;

[0013] The server obtains N map tiles corresponding to the N tile identifiers one by one, and sends the second task to the client.

[0014] Optionally, the client performs a rendering test on each map tile based on the test task, including:

[0015] The client performs a rendering test on each map tile, and calculates the rendering time and rendering result corresponding to each map tile;

[0016] The client determines a map tile whose rendering time exceeds a first preset time and / or whose rendering result is abnormal as an abnormal tile;

[0017] The client determines the map tiles whose rendering time does not exceed the first preset time and whose rendering results are normal as normal tiles.

[0018] Optionally, the client sends the test results corresponding to the N map tiles to the server, including:

[0019] The client sends M tile identifiers to the server;

[0020] The M tile identifiers correspond one-to-one to the M abnormal tiles, and the M abnormal tiles are at least part of the N map tiles.

[0021] Optionally, after the client sends the M tile identifiers to the server, the method further includes:

[0022] The server receives the M tile identifiers;

[0023] The server sends a display instruction including the M tile identifiers to the client;

[0024] In response to the display instruction, the client adjusts display parameters of the M abnormal tiles corresponding to the M tile identifiers on the front-end page to display the M abnormal tiles.

[0025] Optionally, after the server receives the M tile identifiers, the method further includes:

[0026] The server generates log files corresponding to the M tile identifiers;

[0027] The server stores the M tile identifiers and the log file.

[0028] Optionally, the method further comprises:

[0029] When the server detects that the communication connection between the server and the client is disconnected, the server calculates the duration of disconnection of the communication connection between the server and the client;

[0030] If the duration of disconnection of the communication connection does not exceed the second preset duration, then when the communication connection is reestablished between the server and the client, the server continues to send the test task to the client;

[0031] If the duration of disconnection of the communication connection exceeds a second preset duration, then when the communication connection is re-established between the server and the client, the server re-sends the test task to the client.

[0032] In addition, to achieve the above purpose, the present application also provides a map tile testing system, including a server and a client connected in communication:

[0033] The server is used to send the test task to the client when receiving the test task; the test task is used to represent the test of N map tiles, where N is a positive integer;

[0034] The client is used to perform a rendering test on each map tile based on the test task;

[0035] The test results corresponding to the N map tiles are sent to the server.

[0036] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0037] The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the map tile testing method described in any one of the embodiments of the present application are implemented.

[0038] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0039] The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the map tile testing method described in any one of the embodiments of the present application are implemented.

[0040] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0041] The present application provides a map tile testing method, system, device and storage medium. The above method is applied to a map tile testing system. The system includes a server and a client connected in communication. The above method includes: when the server receives a test task, it sends the test task to the client; the test task is used to represent the test of N map tiles, N is a positive integer; the client performs a rendering test on each map tile based on the test task; the client sends the test results corresponding to the N map tiles to the server. In an embodiment of the present application, after receiving the test task, the client automatically performs a rendering test on each map tile based on the test task, without the need to manually perform a rendering test on the map tiles, thereby reducing labor costs and improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0044] Figure 2 is a flow chart of a map tile testing method provided in an embodiment of the present application;

[0045] Figure 3 This is a display interface diagram of a front-end page provided in an embodiment of the present application;

[0046] Figure 4 is an application flow chart of the map tile testing method provided in the embodiment of the present application;

[0047] Figure 5 It is a structural schematic diagram of an embodiment of a map tile testing system provided in an embodiment of the present application;

[0048] Figure 6 It is a basic structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The map tile testing method provided in the embodiment of the present application is applied to the map tile testing system. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned figures are used to distinguish different objects, not to describe a specific order.

[0050] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0051] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0052] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0053] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social online platform software, etc.

[0054] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.

[0055] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0056] It should be noted that the map tile testing method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the map tile testing system is generally set in the server / terminal device.

[0057] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0058] Please refer to Figure 2 , shows a flow chart of an embodiment of the map tile testing method proposed in the present application. The embodiment of the present application can acquire and process relevant data based on artificial intelligence technology.

[0059] The map tile testing method provided in the embodiment of the present application is applied to a map tile testing system, the system includes a server and a client connected in communication, and the map tile testing method includes the following steps:

[0060] S210, when the server receives the test task, the server sends the test task to the client.

[0061] An optional implementation method is that the tester performs corresponding operations on the server to generate a test task, and the server sends the test task to the client after receiving the test task.

[0062] Another optional implementation method is that the tester compiles the test package in advance and sets the task parameters. After starting the server, the server automatically executes the test task and sends the test task to the client.

[0063] The test task is used to represent the test of N map tiles, where N is a positive integer.

[0064] S220: The client performs a rendering test on each map tile based on the test task.

[0065] After receiving the test task, the client performs a rendering test on each of the N map tiles.

[0066] Optionally, the client includes a display interface, and the test process of the map tile can be displayed on the display interface.

[0067] S230, the client sends the test results corresponding to the N map tiles to the server.

[0068] When the client performs rendering tests on each map tile, the client sends the test results corresponding to N map tiles to the server.

[0069] Optionally, the relevant information of the abnormal map tile may be used as the test results corresponding to the N map tiles, and the test results may be sent to the server.

[0070] In an embodiment of the present application, after receiving a test task, the client automatically performs a rendering test on each map tile based on the test task, without the need for manual rendering test on the map tiles, thereby reducing labor costs and improving test efficiency.

[0071] Optionally, the test task includes a first task and a second task, and when the server receives the test task, sending the test task to the client includes:

[0072] Upon receiving the first task, the server determines a target area pointed to by the first task;

[0073] The server divides the target area according to a preset latitude and longitude range, obtains N map tiles corresponding to the target area, and sends the first task to the client;

[0074] When receiving the second task, the server obtains N tile identifiers corresponding to the second task from a preset database;

[0075] The server obtains N map tiles corresponding to the N tile identifiers one by one, and sends the second task to the client.

[0076] It should be understood that the test task includes a first task and a second task. Optionally, the first task is a common task, and the second task is a diff task.

[0077] In this embodiment, upon receiving the first task, the server determines the target area pointed to by the first task, wherein the target area can be understood as a city. Optionally, the first task carries an area identifier, and the target area pointed to by the first task is obtained by parsing the area identifier.

[0078] Further, the server divides the target area according to a preset longitude and latitude range to obtain N map tiles corresponding to the target area. Optionally, the server can divide the target area according to a longitude and latitude range of 0.3*0.3 to obtain N map tiles; and sends the first task to the client.

[0079] In this embodiment, upon receiving the second task, the server reads N tile identifiers corresponding to the second task from a preset database, determines N map tiles based on the N tile identifiers, and then sends the second task to the client.

[0080] It should be understood that the tile identifier corresponding to the above-mentioned second task represents the map tile whose data has changed. In this way, during the execution of the second task, only the map tile whose data has changed is run, thereby saving a lot of testing time and improving the testing efficiency of the map tiles.

[0081] Optionally, the client performs a rendering test on each map tile based on the test task, including:

[0082] The client performs a rendering test on each map tile, and calculates the rendering time and rendering result corresponding to each map tile;

[0083] The client determines a map tile whose rendering time exceeds a first preset time and / or whose rendering result is abnormal as an abnormal tile;

[0084] The client determines the map tiles whose rendering time does not exceed the first preset time and whose rendering results are normal as normal tiles.

[0085] In this embodiment, during the process of performing a rendering test on each map tile, the client calculates the rendering time for each map tile to complete the rendering test and the final rendering result.

[0086] An optional implementation is that if the rendering time corresponding to a map tile exceeds a first preset time, the map tile is determined to be an abnormal tile, wherein the first preset time is a custom set value, and optionally, the first preset time is set to 3 seconds.

[0087] Another optional implementation is that if the rendering result corresponding to the map tile is abnormal, indicating that the rendering fails, the map tile is determined to be an abnormal tile.

[0088] Another optional implementation is that if the rendering time corresponding to a map tile exceeds a first preset time and the rendering result corresponding to the map tile is abnormal, the map tile is determined to be an abnormal tile.

[0089] Another optional implementation is that if the rendering time corresponding to the map tile does not exceed the first preset time, and the rendering result corresponding to the map tile is normal, indicating that the map tile is rendered successfully, the map tile is determined to be a normal tile.

[0090] In this embodiment, whether the map tile is rendered successfully is judged from two dimensions: the rendering time and the rendering result of the map tile in the rendering test, so as to ensure accurate test results and improve the accuracy of the map tile rendering test results.

[0091] Optionally, the client sends the test results corresponding to the N map tiles to the server, including:

[0092] The client sends M tile identifiers to the server;

[0093] The M tile identifiers correspond one-to-one to the M abnormal tiles, and the M abnormal tiles are at least part of the N map tiles.

[0094] It should be noted that, during the process of rendering the map tile, if the map tile is determined to be an abnormal tile, the tile identifier of the map tile is sent to the server. That is, during the process of rendering the N map tiles, M tile identifiers are sent to the server, wherein the M tile identifiers correspond one-to-one to the M abnormal tiles, and the M abnormal tiles are at least some of the N map tiles.

[0095] In this embodiment, for abnormal tiles that fail the rendering test, the tile identifier of the abnormal tile is uploaded to the server, and the abnormal tile data is automatically recorded, so that the tester can track the abnormal tile and monitor the rendering process.

[0096] Optionally, after the client sends the M tile identifiers to the server, the method further includes:

[0097] The server receives the M tile identifiers;

[0098] The server sends a display instruction including the M tile identifiers to the client;

[0099] In response to the display instruction, the client adjusts display parameters of the M abnormal tiles corresponding to the M tile identifiers on the front-end page to display the M abnormal tiles.

[0100] In this embodiment, after receiving the tile identifiers corresponding to the M abnormal tiles, the server sends a display instruction to the client, wherein the display indicator includes the tile identifiers corresponding to the M abnormal tiles.

[0101] In response to the display instruction, the client adjusts display parameters of the M abnormal tiles corresponding to the M tile identifiers on the front page. For example, the display colors of the M abnormal tiles may be adjusted. In this way, the M abnormal tiles are displayed on the front page.

[0102] See also Figure 3 ,exist Figure 3 In the front-end page shown, the display color of the abnormal tile is blue, so that the abnormal tile can be clearly distinguished.

[0103] In this embodiment, by adjusting the display parameters of the abnormal tiles, the abnormal tiles are displayed on the front-end page, and the abnormal data is visualized, so as to accurately record the map tiles that failed the test.

[0104] Optionally, after the server receives the M tile identifiers, the method further includes:

[0105] The server generates log files corresponding to the M tile identifiers;

[0106] The server stores the M tile identifiers and the log file.

[0107] In this embodiment, after receiving the tile identifier of the abnormal tile, the server generates a log file based on the transmission path of the above tile identifier, and stores the tile identifier and log file of the abnormal tile. The abnormal data in the map tile testing process is stored in the above manner, which is convenient for the testers to call and analyze the test results later.

[0108] To understand the overall technical solution, please refer to Figure 4 ,like Figure 4 As shown,

[0109] After receiving the test task, the server sends the test task to the client. The client responds to the test task and performs a tile check, i.e., a rendering test, on each map tile represented by the test task. If the current tile fails the rendering test, i.e., the current map tile is abnormal, the tile identifier and log file of the abnormal tile are stored. If the current map tile passes the rendering test, i.e., the current map tile is normal, the rendering test is continued on the next map tile represented by the test task. After the rendering test is performed on each map tile represented by the test task, the current test task is terminated.

[0110] Optionally, the method further comprises:

[0111] When the server detects that the communication connection between the server and the client is disconnected, the server calculates the duration of disconnection of the communication connection between the server and the client;

[0112] If the duration of disconnection of the communication connection does not exceed the second preset duration, then when the communication connection is reestablished between the server and the client, the server continues to send the test task to the client;

[0113] If the duration of disconnection of the communication connection exceeds a second preset duration, then when the communication connection is re-established between the server and the client, the server re-sends the test task to the client.

[0114] In this embodiment, when it is detected that the communication connection between the server and the client is disconnected, the disconnection duration of the communication connection between the server and the client is calculated.

[0115] If the disconnection time of the communication connection between the server and the client does not exceed the second preset time, it means that the map tile test task has been aborted. Then, after the server and the client re-establish the communication connection, the server continues to send the test task to the client.

[0116] If the communication connection between the server and the client is disconnected for longer than a second preset time, indicating that the map tile test task is interrupted, after the server and the client re-establish the communication connection, the server re-sends the test task to the client so that the client re-executes the test task.

[0117] The second preset duration is a custom-set duration. Optionally, the second preset duration is 10 minutes.

[0118] In this embodiment, if the test task is terminated, the server will continue to send the test task to the client after the server and the client re-establish the communication connection; if the test task is interrupted, the server will re-send the test task to the client after the server and the client re-establish the communication connection; this ensures that the map tile test task can run completely in the event of termination and interruption.

[0119] See also Figure 5 , a map tile testing system 500 provided in an embodiment of the present application, the map tile testing system 500 includes a server 510 and a client 520 connected in communication:

[0120] The server 510 is used to send the test task to the client 520 when receiving the test task; the test task is used to represent the test of N map tiles, where N is a positive integer;

[0121] The client 520 is used to perform a rendering test on each map tile based on the test task;

[0122] The test results corresponding to the N map tiles are sent to the server 510 .

[0123] Optionally, the test task includes a first task and a second task;

[0124] The server 510 is further configured to determine a target area pointed to by the first task upon receiving the first task;

[0125] Divide the target area according to a preset latitude and longitude range to obtain N map tiles corresponding to the target area, and send the first task to the client 520;

[0126] When the second task is received, obtaining N tile identifiers corresponding to the second task from a preset database;

[0127] Obtain N map tiles corresponding to the N tile identifiers one by one, and send the second task to the client.

[0128] Optionally, the client 520 is further used to perform a rendering test on each map tile, and calculate the rendering time and rendering result corresponding to each map tile;

[0129] Determine a map tile whose rendering time exceeds a first preset time and / or whose rendering result is abnormal as an abnormal tile;

[0130] The map tiles whose rendering time does not exceed the first preset time and whose rendering results are normal are determined as normal tiles.

[0131] Optionally, the client 520 is further configured to send M tile identifiers to the server 510;

[0132] The M tile identifiers correspond one-to-one to the M abnormal tiles, and the M abnormal tiles are at least part of the N map tiles.

[0133] Optionally, the server 510 is further configured to receive the M tile identifiers;

[0134] Sending a display instruction including the M tile identifiers to the client 520;

[0135] The client 520 is further configured to adjust display parameters of the M abnormal tiles corresponding to the M tile identifiers on the front-end page in response to the display instruction, so as to display the M abnormal tiles.

[0136] Optionally, the server 510 is further configured to generate log files corresponding to the M tile identifiers;

[0137] The M tile identifiers and the log file are stored.

[0138] Optionally, the server is further configured to calculate a disconnection duration of the communication connection between the server and the client when detecting that the communication connection between the server and the client is disconnected;

[0139] If the duration of disconnection of the communication connection does not exceed the second preset duration, then when the communication connection is reestablished between the server and the client, the server continues to send the test task to the client;

[0140] If the duration of disconnection of the communication connection exceeds a second preset duration, then when the communication connection is re-established between the server and the client, the server re-sends the test task to the client.

[0141] To solve the above technical problems, the present application also provides a computer device. Figure 6 , Figure 6 This is a basic structural block diagram of the computer device in this embodiment.

[0142] The computer device 6 includes a memory 61, a processor 62, and a network interface 63 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 6 with components 61-63, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0143] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0144] The memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 61 can be an internal storage unit of the computer device 6, such as a hard disk or memory of the computer device 6. In other embodiments, the memory 61 can also be an external storage device of the computer device 6, such as a plug-in hard disk equipped on the computer device 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 61 can also include both the internal storage unit of the computer device 6 and its external storage device. In this embodiment, the memory 61 is generally used to store the operating system and various application software installed on the computer device 6, such as the program code of the map tile test method, etc. In addition, the memory 61 can also be used to temporarily store various types of data that have been output or are to be output.

[0145] The processor 62 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 62 is generally used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is used to run the program code stored in the memory 61 or process data, such as running the program code of the map tile testing method.

[0146] The network interface 63 may include a wireless network interface or a wired network interface. The network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.

[0147] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores the map tile testing program, and the map tile testing program can be executed by at least one processor so that the at least one processor performs the steps of the map tile testing method as described above.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware online platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0149] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0150] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A map tile testing method, characterized in that: Applied to a map tile testing system, the system includes a server and a client connected in communication, and the method includes: When receiving the test task, the server sends the test task to the client; the test task is used to represent the test of N map tiles, where N is a positive integer; The client performs a rendering test on each map tile based on the test task; The client sends the test results corresponding to the N map tiles to the server.

2. The method according to claim 1, characterized in that The test task includes a first task and a second task. When the server receives the test task, the server sends the test task to the client, including: Upon receiving the first task, the server determines a target area pointed to by the first task; The server divides the target area according to a preset latitude and longitude range, obtains N map tiles corresponding to the target area, and sends the first task to the client; When receiving the second task, the server obtains N tile identifiers corresponding to the second task from a preset database; The server obtains N map tiles corresponding to the N tile identifiers one by one, and sends the second task to the client.

3. The method according to claim 1, characterized in that The client performs a rendering test on each map tile based on the test task, including: The client performs a rendering test on each map tile, and calculates the rendering time and rendering result corresponding to each map tile; The client determines a map tile whose rendering time exceeds a first preset time and / or whose rendering result is abnormal as an abnormal tile; The client determines the map tiles whose rendering time does not exceed the first preset time and whose rendering results are normal as normal tiles.

4. The method according to claim 3, characterized in that The client sends the test results corresponding to the N map tiles to the server, including: The client sends M tile identifiers to the server; The M tile identifiers correspond one-to-one to the M abnormal tiles, and the M abnormal tiles are at least part of the N map tiles.

5. The method according to claim 4, characterized in that After the client sends the M tile identifiers to the server, the method further includes: The server receives the M tile identifiers; The server sends a display instruction including the M tile identifiers to the client; In response to the display instruction, the client adjusts display parameters of the M abnormal tiles corresponding to the M tile identifiers on the front-end page to display the M abnormal tiles.

6. The method according to claim 5, characterized in that After the server receives the M tile identifiers, the method further includes: The server generates log files corresponding to the M tile identifiers; The server stores the M tile identifiers and the log file.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: When the server detects that the communication connection between the server and the client is disconnected, the server calculates the duration of disconnection of the communication connection between the server and the client; If the duration of disconnection of the communication connection does not exceed the second preset duration, then when the communication connection is reestablished between the server and the client, the server continues to send the test task to the client; If the duration of disconnection of the communication connection exceeds a second preset duration, then when the communication connection is re-established between the server and the client, the server re-sends the test task to the client.

8. A map tile testing system, characterized in that: Including the server and client of the communication connection: The server is used to send the test task to the client when receiving the test task; The test task is used to represent the test of N map tiles, where N is a positive integer; The client is used to perform a rendering test on each map tile based on the test task; The test results corresponding to the N map tiles are sent to the server.

9. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the map tile testing method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the map tile testing method according to any one of claims 1 to 7 are implemented.