Network test method and device
A technology of network testing and network detection, applied in electrical components, wireless communication, etc., can solve problems such as costing a lot of manpower and material resources, and achieve the effect of reducing the cost of network testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 , the present embodiment provides a network testing method, including:
[0037] Integrate the SDK with the function of scheduled network detection tasks with the APP; the SDK regularly sends a heartbeat request to the server based on the preset cycle to obtain the network detection URL returned by the server; the SDK executes the detection task according to the network detection URL, and feeds back the detection results To the server for statistical analysis of network test results.
[0038] In the network testing method provided in this embodiment, by developing an SDK with a scheduled network detection task function and integrating it into the APP, when the APP is installed on the user's terminal device, the SDK can regularly initiate a test to the server based on a preset period. Heartbeat request, so as to obtain the network detection URL returned by the server, so that the SDK can regularly perform detection tasks through the network detection URL. Af...
Embodiment 2
[0055] This embodiment provides a network testing device, including:
[0056] The SDK setting unit is used to integrate the SDK with the scheduled network detection task function with the APP;
[0057] A heartbeat request unit, used for the SDK to regularly initiate a heartbeat request to the server based on a preset period, so as to obtain the network detection URL returned by the server;
[0058] The network detection unit is used for the SDK to execute the detection task according to the network detection URL, and feed back the detection results to the server for statistical analysis of the network test results.
[0059] Preferably, between the SDK setting unit and the heartbeat requesting unit further includes:
[0060] The timing service unit is used to use the AlarmManager of the SDK to register the timing service of the network detection task after the APP is started.
[0061] Compared with the prior art, the beneficial effect of the network testing device provided in...
Embodiment 3
[0063] This embodiment provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the above-mentioned network testing method are executed.
[0064] Compared with the prior art, the beneficial effect of the computer-readable storage medium provided by this embodiment is the same as the beneficial effect of the network testing method provided by the above technical solution, and will not be repeated here.
[0065] Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned inventive method can be completed by instructing related hardware through a program. The above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it includes: For each step of the method in the above embodiments, the storage medium may be: ROM / RAM, magnetic disk, optical disk, memory card, and the like. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com