Method and system for simulating sending coordinates, and computer equipment

Through the combination of local Web services and point-report services, the simulation problem of point-loss scenarios in online ride-hailing tests is solved, low-cost and efficient acquisition of test data is achieved, and the problems of high testing costs, low efficiency and low accuracy in the existing technology are solved.

CN119512956BActive Publication Date: 2025-08-29BEIJING XINGYUN ONLINE SOFTWARE DEVELOPMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411635391.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-08-29
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

The existing technology cannot effectively simulate the point-loss scenario in the driver position and driving trajectory test of the online ride-hailing industry, resulting in high testing costs, low efficiency and inaccurate data.

Method used

By obtaining test data, using pre-built local web services to judge the behavior of drop/point reporting, storing coordinate points that need to be discarded and calling point reporting services for server reporting, realizing free control of coordinate points.

Benefits of technology

It realizes efficient, low-cost and accurate testing in simulated point-loss scenarios, reducing the waste of manual real-life scenario testing, and improving testing efficiency and data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512956B_ABST
    Figure CN119512956B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, and computer device for simulating the transmission of coordinates, wherein the method comprises: obtaining test data, determining whether the test data is lost or reported using a pre-built local Web service; storing a lost point data set for a second coordinate point that needs to be discarded; and calling a pre-built reporting service for a first coordinate point that does not need to be discarded to report the first coordinate point to the server. The present invention proposes a method for controlling the transmission and stopping of coordinate points based on a web interface call, thereby simulating the reporting of coordinate points in a lost point scenario. This method solves the technical problems of high testing costs, low testing efficiency, and inaccurate test data caused by the inability to freely control the reporting and discarding of coordinate points in a simulated environment when testing online ride-hailing services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software testing, and in particular to a method and system for simulating coordinate sending, and computer equipment. Background Art

[0002] The test scope of the online car-hailing industry includes the test of the driver's location and driving trajectory. The driver's location and driving trajectory are mainly obtained by the app collecting longitude and latitude and sending them to the server. Due to the complexity of the real environment, there are often a small number of reporting failures when reporting coordinate points, that is, lost points. Loss of coordinate points (lost points) refers to the behavior of a mobile device failing to report successful coordinate points due to various reasons (such as device shutdown, passing through a tunnel, network jitter, etc.). The loss of coordinate points directly affects the driver's mileage and driving time, and then affects the income calculation. Currently, there are usually two testing methods for driver loss of points:

[0003] 1) Simulating real-world scenarios: Testers use mobile devices to conduct real-world testing. This method requires testers to attempt to create scenarios where points are lost (e.g., network disconnection, powering off, weak network signal, etc.). However, this method is quite limited. If testers conduct testing only within an office area, the resulting test coordinates will often be duplicated and relatively close together, making them of limited reference value. If testers conduct testing outdoors, the resulting test coordinates, while realistic, are time-consuming and costly, and the data cannot be accurately controlled.

[0004] 2) Simulated reporting tools offer greater flexibility, eliminating the need for mobile devices and allowing for customized reporting strategies, such as reporting coordinates, number of coordinates, reporting time, reporting interval, and driving speed. Different reporting strategies can be used for different scenarios. However, currently available simulated reporting tools can only simulate reporting based on a pre-defined order route and cannot simulate missed delivery points. Summary of the Invention

[0005] To this end, the present invention provides a method and system for simulating the sending of coordinates, and a computer device, aiming to solve the technical problems in the prior art of online ride-hailing vehicles being unable to freely control the reporting and discarding of coordinate points through the HTTP interface during simulated environment testing, resulting in high testing costs, low testing efficiency, and inaccurate test data.

[0006] To achieve the above objectives, the present invention adopts the following technical solutions:

[0007] According to a first aspect of the present invention, the present invention provides a method for simulating sending coordinates, the method comprising:

[0008] Obtain test data and use pre-built local web services to determine the loss / reporting behavior of the test data;

[0009] For the second coordinate point that needs to be discarded, store the lost point data set;

[0010] For the first coordinate point that does not need to be discarded, a pre-built reporting service is called to report the first coordinate point to the server.

[0011] Furthermore, when reporting the first coordinate point, the method further includes:

[0012] Determine whether there is existing data for the first coordinate point in the lost point data set;

[0013] If there is no existing data of the first coordinate point in the lost point data set, continue to report the first coordinate point;

[0014] If there is existing data of the first coordinate point in the lost point data set, the first coordinate point is reported as a recovery reporting point, and historical points that have been lost except the recovery reporting point are counted to generate lost point interval data for test analysis.

[0015] Further, the test data includes a coordinate set;

[0016] The obtaining of test data comprises:

[0017] Freely construct test scenarios and use preset methods to obtain coordinate sets based on the test scenarios;

[0018] The preset method includes manually generating coordinates or automatically generating coordinates using a simulation point reporting tool.

[0019] Furthermore, the use of a pre-built local Web service to determine the loss / reporting behavior of the test data includes:

[0020] Traversing each coordinate element in the coordinate set, and obtaining the point loss / reporting behavior corresponding to each coordinate element according to the " / status" interface provided by the local Web service;

[0021] If the interface return value corresponding to the coordinate element is "True", the coordinate element is used as the second coordinate point to be discarded;

[0022] If the interface return value corresponding to the coordinate element is "False", the coordinate element is used as the first coordinate point that does not need to be discarded.

[0023] Furthermore, the calling of the pre-built reporting service to report the first coordinate point to the server includes:

[0024] The reporting service calls the connect() method of the socket library to establish a long connection with the server;

[0025] Obtain each of the first coordinate points, encapsulate the first coordinate points, and call the Python built-in send() method to report the encapsulated first coordinate point data to the server;

[0026] After all the encapsulated first coordinate point data are sent, the close() method is called to close the long connection established with the server.

[0027] Furthermore, the encapsulating the first coordinate point includes:

[0028] The first coordinate point is parsed to obtain byte types of different lengths, and the point reporting parameters are spliced ​​to obtain standard format coordinate data that meets the acceptance requirements of the server as the encapsulated first coordinate point data.

[0029] Furthermore, before obtaining the test data, the method further includes:

[0030] Create the local web service using the Flask framework;

[0031] The local Web service is used to provide an interface call, and the interface call is used to operate event status change / multi-threaded Event method to obtain event status.

[0032] Furthermore, the method further comprises:

[0033] After completing the point loss / reporting operation for the test data, the point loss data set is cleared.

[0034] According to a second aspect of the present invention, the present invention provides a system for simulating coordinate transmission, the system comprising a simulated point loss module, a point reporting service module, and a Web service module;

[0035] The Web service module is used to provide interface calls and obtain / operate event status;

[0036] The reporting service module is used to establish a long link with the server and perform data analysis / reporting;

[0037] The simulated point loss module is used to obtain test data and use the local Web service provided by the Web service module to determine the loss / reporting behavior of the test data; for the second coordinate point that needs to be discarded, a point loss data set is stored; for the first coordinate point that does not need to be discarded, the point reporting service provided by the reporting service module is called to report the first coordinate point to the server.

[0038] According to the third aspect of the present invention, the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the method for simulating sending coordinates as described in any one of the first aspects of the present invention is implemented.

[0039] The present invention adopts the above technical solution and has at least the following beneficial effects:

[0040] The solution of the present invention acquires test data and uses a pre-built local web service to determine whether the test data is lost or reported. For a second coordinate point that needs to be lost, a lost point data set is stored. For a first coordinate point that does not need to be lost, the pre-built reporting service is called to report the first coordinate point to the server. Thus, by controlling the sending and stopping of coordinate points through a web interface call, a test of simulated coordinate point reporting in a lost point scenario is implemented, thereby resolving the technical issues of high cost, low efficiency, and low accuracy of artificial real-world testing in lost point scenarios.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 A schematic diagram showing a flow chart of a method for simulating coordinate transmission provided by an embodiment of the present invention is shown;

[0044] Figure 2 A diagram showing the working principle of a local Web service provided by an embodiment of the present invention is shown;

[0045] Figure 3 A specific operation flow chart of a method for simulating coordinate transmission provided by an embodiment of the present invention is shown;

[0046] Figure 4 A diagram showing the working principle of the point reporting service provided by an embodiment of the present invention is shown;

[0047] Figure 5 A schematic diagram of the physical structure of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0048] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0049] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0050] The embodiment of the present invention provides a method for simulating sending coordinates, such as Figure 1 As shown, it can at least include the following steps S101~S102:

[0051] Step S101: Acquire test data and use pre-built local Web services to determine whether the test data is lost or reported.

[0052] Step S102: For the second coordinate point that needs to be discarded, a lost point data set is stored; and for the first coordinate point that does not need to be discarded, a pre-built reporting service is called to report the first coordinate point to the server.

[0053] In embodiments of the present invention, test data includes a coordinate set. Test data can be obtained by freely constructing a test scenario and using a preset method to obtain a coordinate set based on the test scenario. Preset methods include manually generating coordinates or automatically generating coordinates using a simulated point reporting tool. In other words, a coordinate set consisting of multiple coordinate elements can be freely constructed based on specific test scenarios, and generated manually or through other methods.

[0054] After obtaining the coordinate set, traverse each coordinate element in the coordinate set to determine the lost / reported point behavior. The embodiment of the present invention determines the event status based on the local Web service. The local Web service is a small Web service created locally, which is used to implement interface calls and query the current event status and operate event status changes. Figure 2 The figure shows the working principle of Web service.

[0055] For the construction of local web services, you can use the Flask framework to create a small web service after starting it locally. The service mainly includes two functions: event operation and interface operation. Specifically, you can complete the operation of events by calling the interface provided by the service. Among them, the event status is completed by calling the multi-threaded Event method (thread.Event()), and there are two states (True, False). The event status will be initialized synchronously when the web service is started, and the default state is False. The interface is mainly used to operate the change of event status or obtain the event status, with a total of three interfaces ( / stop, / status, / clear). The specific calling functions are as follows:

[0056] 1) Call the / stop interface, and the service will call the Event.set() method to set the event status to True;

[0057] 2) Call the / clear interface. The service will call the Event.clear() method internally and set the event status to False.

[0058] 3) Call the / status interface. The service will call the Event.is_set() method to obtain the current status of the event.

[0059] Therefore, when conducting simulation tests for point loss scenarios, you can customize the point loss timing, number of points lost, duration of points lost, and number of points lost through local Web services. You can also query the current time status through the interface to determine the point loss / reporting behavior corresponding to each coordinate element.

[0060] like Figure 3 As shown in the figure, it is a specific operational flow chart of the method for simulating the sending of coordinates proposed in an embodiment of the present invention. For the judgment of the loss / reporting behavior of each coordinate element in the coordinate set, it is possible to obtain each coordinate element in the traversal coordinate set, and obtain the loss / reporting behavior corresponding to each coordinate element according to the " / status" interface provided by the local Web service; if the interface return value corresponding to the coordinate element is "True", the coordinate element is used as the second coordinate point that needs to be discarded; if the interface return value corresponding to the coordinate element is "False", the coordinate element is used as the first coordinate point that does not need to be discarded. In other words, if the obtained interface return value is "True", it is considered that the current coordinate point needs to be discarded, and the reporting method is not called at this time. At the same time, the discarded point is stored in the lost point data set for subsequent logical query. If the obtained interface return value is "False", it is considered that the current coordinate point does not need to be discarded, and the point is reported.

[0061] The embodiment of the present invention reports the first coordinate point to the server based on the reporting service. Figure 4 The figure below shows the working principle of the point reporting service. The point reporting service is mainly responsible for parsing and sending points. All points will be parsed by the point reporting service before being sent, and then packaged and sent.

[0062] Specifically, the reporting service is implemented using Python's built-in socket library. You can call the socket library's connect() method to establish a persistent connection with the server. It's understood that all point transmissions are based on established persistent connections, and the connection must be maintained throughout the reporting / dropping process until the program terminates.

[0063] After the link is established, the reporting operation can be performed. Specifically, each first coordinate point can be obtained, the first coordinate point can be encapsulated, and the built-in send() method of Python can be called to report the encapsulated first coordinate point data to the server. That is, the sending of the coordinate point is completed once; after all the encapsulated first coordinate point data are sent, the close() method is called to close the long link established with the server.

[0064] In an embodiment of the present invention, the first coordinate point is encapsulated. Specifically, the first coordinate point can be parsed to obtain byte types of different lengths, and the point reporting parameters are spliced ​​to obtain standard format coordinate data that meets the server acceptance requirements as the encapsulated first coordinate point data.

[0065] It should also be noted that, to facilitate program calls, embodiments of the present invention can also encapsulate the entire link from data acquisition to final data transmission into a single send_point() function, making the service more integrated. After all the first coordinate point data is sent, the close() method is called to close the long connection established with the server.

[0066] Furthermore, when reporting the first coordinate point, the embodiment of the present invention also needs to determine whether there is existing data for the first coordinate point in the lost point data set; if there is no existing data for the first coordinate point in the lost point data set, then continue to report the first coordinate point; if there is existing data for the first coordinate point in the lost point data set, then report the first coordinate point as a recovery reporting point, and count the historical points that have been lost except for the recovery reporting point to generate lost point interval data for testing and analysis.

[0067] The purpose of the above steps is to determine whether the current point report is a recovery report after a point loss. It can be understood that if there is no existing data for the first coordinate point in the lost point data set, it is considered that the point loss has not yet been triggered and no recovery is required, and reporting can continue. If there is existing data for the first coordinate point in the lost point data set, it is considered that the point loss has already been triggered and the current reporting behavior is a recovery report. In this case, it is necessary to count the lost historical points and print them for subsequent testing and analysis.

[0068] Furthermore, after completing the loss / reporting point operation for the test data, the loss point data set is cleared.

[0069] When all coordinate elements contained in the test data have been reported, the lost point data set can be cleared so that when the lost point operation is performed again, there will be no duplicate data and data pollution.

[0070] An embodiment of the present invention provides a method for simulating coordinate transmission, including obtaining test data and determining whether the test data is lost or reported using a pre-built local Web service; storing a lost point data set for a second coordinate point that needs to be lost; and invoking a pre-built reporting service to report the first coordinate point to the server for a first coordinate point that does not need to be lost. This method eliminates the need to manually construct a real-world lost point scenario for point loss testing. Instead, it controls point reporting / lost point behavior through a custom point set combined with interface control. This significantly reduces labor costs, simplifies operation, and provides more accurate data, resolving the issues of high cost, low efficiency, and low accuracy associated with manual real-world scenario testing.

[0071] Further, as Figure 1 In a specific implementation, an embodiment of the present invention provides a system for simulating the sending of coordinates, which may include: a simulated point loss module, a point reporting service module, and a Web service module.

[0072] Among them, the Web service module can be used to provide interface calls to obtain / operate event status;

[0073] The reporting service module can be used to establish a long connection with the server and perform data analysis / reporting;

[0074] The simulated point loss module can be used to obtain test data and use the local Web service provided by the Web service module to judge the loss / reporting behavior of the test data; for the second coordinate point that needs to be discarded, the point loss data set is stored; for the first coordinate point that does not need to be discarded, the point reporting service provided by the reporting service module is called to report the first coordinate point to the server.

[0075] Furthermore, the point loss simulation module can also be used to determine whether there is existing data of the first coordinate point in the point loss data set;

[0076] If there is no existing data for the first coordinate point in the lost point data set, continue to report the first coordinate point;

[0077] If there is existing data for the first coordinate point in the lost point data set, the first coordinate point will be reported as the recovery point, and the historical points that have been lost except the recovery point will be counted to generate lost point interval data for test analysis.

[0078] Furthermore, the simulated point loss module can also be used to freely construct test scenarios and obtain a coordinate collection based on the test scenario using a preset method;

[0079] Among them, the preset method includes manually generating coordinates or automatically generating coordinates using a simulation point reporting tool.

[0080] Furthermore, the point loss simulation module can also be used to traverse each coordinate element in the coordinate set and obtain the point loss / reporting behavior corresponding to each coordinate element according to the " / status" interface provided by the Web service module;

[0081] If the interface return value corresponding to the coordinate element is "True", the coordinate element will be used as the second coordinate point to be discarded;

[0082] If the interface return value corresponding to the coordinate element is "False", the coordinate element will be used as the first coordinate point that does not need to be discarded.

[0083] Furthermore, the simulated point loss module can also be used to use the reporting service module to call the connect() method of the socket library to establish a long connection with the server;

[0084] Get each first coordinate point, encapsulate the first coordinate point, and call the Python built-in send() method to report the encapsulated first coordinate point data to the server;

[0085] After all the encapsulated first coordinate point data is sent, call the close() method to close the long connection established with the server.

[0086] Furthermore, the simulated point loss module can also be used to utilize the point reporting service module to perform data analysis on the first coordinate point, obtain byte types of different lengths, and splice the point reporting parameters to obtain standard format coordinate data that meets the server acceptance requirements as the encapsulated first coordinate point data.

[0087] Furthermore, the point loss simulation module can also be used to clear the point loss data set after completing the point loss / reporting operation on the test data.

[0088] It should be noted that for other corresponding descriptions of the functional modules involved in the system for simulating sending coordinates provided in the embodiment of the present invention, please refer to Figure 1 The corresponding description of the method shown will not be repeated here.

[0089] Based on the above Figure 1 The embodiment of the method shown in FIG. 1 further provides a physical structure diagram of a computer device, such as Figure 5 As shown, the computer device may include a communication bus, a processor, a memory, and a communication interface. It may also include an input / output interface and a display device. The various functional units may communicate with each other via the bus. The memory stores a computer program, and the processor is configured to execute the program stored in the memory and perform the steps of the method for simulating coordinate transmission described in the above embodiment.

[0090] Those skilled in the art will clearly understand that the specific working processes of the systems, devices, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and for the sake of brevity, they will not be further described here.

[0091] In addition, the functional units in various embodiments of the present invention may be physically independent of each other, or two or more functional units may be integrated together, or all functional units may be integrated into a single processing unit. The above-mentioned integrated functional units may be implemented in the form of hardware, software, or firmware.

[0092] Those skilled in the art will understand that if the integrated functional unit is implemented in the form of software and sold or used as a standalone product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or all or part of it, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes instructions that cause a computing device (such as a personal computer, server, or network device) to execute all or part of the steps of the method described in each embodiment of the present invention when executing these instructions. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0093] Alternatively, all or part of the steps of implementing the aforementioned method embodiments may be accomplished by hardware related to program instructions (such as a computing device such as a personal computer, a server, or a network device), and the program instructions may be stored in a computer-readable storage medium. When the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method described in each embodiment of the present invention.

[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that within the spirit and principles of the present invention, they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not deviate from the scope of protection of the present invention.

Claims

1. A method for simulating sending coordinates, characterized in that: The method comprises: Acquire test data and use a pre-built local web service to determine the loss / reporting behavior of the test data; the local web service is used to customize the loss timing, number of loss points, loss duration, and number of loss points; For the second coordinate point that needs to be discarded, store the lost point data set; For the first coordinate point that does not need to be discarded, calling a pre-built reporting service to report the first coordinate point to the server; The test data includes a coordinate set; The use of the pre-built local Web service to determine the loss / reporting behavior of the test data includes: Traverse each coordinate element in the coordinate set and obtain the lost / reported point behavior corresponding to each coordinate element according to the " / status" interface provided by the local Web service; If the interface return value corresponding to the coordinate element is "True", the coordinate element is used as the second coordinate point to be discarded; If the interface return value corresponding to the coordinate element is "False", the coordinate element is used as the first coordinate point that does not need to be discarded.

2. The method according to claim 1, characterized in that When reporting the first coordinate point, the method further includes: Determine whether there is existing data for the first coordinate point in the lost point data set; If there is no existing data of the first coordinate point in the lost point data set, continue to report the first coordinate point; If there is existing data of the first coordinate point in the lost point data set, the first coordinate point is reported as a recovery reporting point, and historical points that have been lost except the recovery reporting point are counted to generate lost point interval data for test analysis.

3. The method according to claim 1, characterized in that The obtaining of test data comprises: Freely construct test scenarios and use preset methods to obtain coordinate sets based on the test scenarios; The preset method includes manually generating coordinates or automatically generating coordinates using a simulation point reporting tool.

4. The method according to claim 1, wherein The calling of a pre-built reporting service to report the first coordinate point to the server includes: The reporting service calls the connect() method of the socket library to establish a long connection with the server; Obtain each of the first coordinate points, encapsulate the first coordinate points, and call the Python built-in send() method to report the encapsulated first coordinate point data to the server; After all the encapsulated first coordinate point data are sent, the close() method is called to close the long connection established with the server.

5. The method according to claim 4, characterized in that The encapsulating the first coordinate point includes: The first coordinate point is parsed to obtain byte types of different lengths, and the point reporting parameters are spliced ​​to obtain standard format coordinate data that meets the acceptance requirements of the server as the encapsulated first coordinate point data.

6. The method according to claim 1, wherein Before obtaining the test data, the method further includes: Create the local web service using the Flask framework; The local Web service is used to provide an interface call, and the interface call is used to operate event status change / multi-threaded Event method to obtain event status.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: After completing the point loss / reporting operation for the test data, the point loss data set is cleared.

8. A system for simulating the transmission of coordinates, characterized in that: The system includes a simulated point loss module, a point reporting service module and a Web service module; The Web service module is used to provide interface calls and obtain / operate event status; The reporting service module is used to establish a long link with the server and perform data analysis / reporting; The simulated point loss module is used to obtain test data and use the local Web service provided by the Web service module to determine the point loss / reporting behavior of the test data; For the second coordinate point that needs to be discarded, a lost point data set is stored; for the first coordinate point that does not need to be discarded, the reporting service provided by the reporting service module is called to report the first coordinate point to the server; the test data includes a coordinate set; The point loss simulation module is further configured to traverse each coordinate element in the coordinate set and obtain the point loss / reporting behavior corresponding to each coordinate element according to the " / status" interface provided by the local Web service; If the interface return value corresponding to the coordinate element is "True", the coordinate element is used as the second coordinate point to be discarded; If the interface return value corresponding to the coordinate element is "False", the coordinate element is used as the first coordinate point that does not need to be discarded.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for simulating coordinate transmission according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Load capacity test system and method for background service, storage medium and electronic equipment

    CN112799950A

  • Running track simulation processing longitude and latitude point uploading method and device and computer equipment

    CN118938273A