CA3129986C - Network testing method and device - Google Patents

Network testing method and device

Info

Publication number
CA3129986C
CA3129986C CA3129986A CA3129986A CA3129986C CA 3129986 C CA3129986 C CA 3129986C CA 3129986 A CA3129986 A CA 3129986A CA 3129986 A CA3129986 A CA 3129986A CA 3129986 C CA3129986 C CA 3129986C
Authority
CA
Canada
Prior art keywords
network
sdk
detection
server
url
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CA3129986A
Other languages
French (fr)
Other versions
CA3129986A1 (en
Inventor
Guichen Li
Xin Huang
Ye Wang
Yongyong Shu
Original Assignee
10353744 Canada Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 10353744 Canada Ltd filed Critical 10353744 Canada Ltd
Publication of CA3129986A1 publication Critical patent/CA3129986A1/en
Application granted granted Critical
Publication of CA3129986C publication Critical patent/CA3129986C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method and an apparatus for network testing, and relates to the technical field of network testing. The method involves integrating an SDK capable of cyclically initiating network detection into an APP, so that terminals installed with the APP can cyclically perform network detection tasks, thereby reducing costs for network testing. The method involves integrating the SDK with the APP; having the SDK initiate a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server; and having the SDK perform network-detection tasks according to the network-detection URL, and feed network-detection results to the server for statistical analysis. The apparatus is designed to implement the disclosed method.

Description

NETWORK TESTING METHOD AND DEVICE BACKGROUND OF THE INVENTION Technical Field
[0001] The present invention relates to network testing, and more particularly to a method and an apparatus for network testing. Description of Related Art
[0002] Network testing is usually used by network operators or network-based service provides to check network performance in various environments as a basis for network improvements. Conventionally, implementation of network testing necessitates extensive deployment of numerous nodes that the relevant network operators or service provides have to build or rent, making such deployment labor- and resource-consuming. SUMMARY OF THE INVENTION
[0003] The objective of the present invention is to provide a method and an apparatus for network testing, involving integrating an SDK for cyclically performing network detection tasks into an APP, so that a terminal can cyclically perform network detection tasks in virtue of the SDK, thereby reducing costs for network testing.
[0004] For achieving the foregoing objective, in a first aspect, the present invention provides a method for network testing, comprising: [0005] integrating an SDK capable of cyclically initiating network-detection tasks into an APP; [0006] initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server; and [0007] performing, by the SDK, said network-detection tasks according to the network-detection URL, and feeding network-detection results back to the server for statistical analysis to get network-testing results. 1 Date reQue / Date received 2021-11-03[0008] Preferably, before the step of initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server, the method furth when the APP is activated, registering a timing service about the network¬ detection tasks through AlarmManager of the SDK.
[0009] More preferably, the step of initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server comprises: [0010] after the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
[0011] Exemplificatively, the predetermined conditions include the number of tested terminals, tested areas, and a name of a tested network operator.
[0012] Optionally, when the SDK satisfying the predetermined conditions receives the network¬ detection URL returned by the server, but the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with future said network-detection tasks.
[0013] Preferably, the step of performing, by the SDK, said network-detection tasks according to the network-detection URL, and feeding network-detection results back to the server for statistical analysis to get network-testing results comprises: [0014] accessing, by the SDK, a detected network according to the network-detection URL, so as to acquire the network-detection results returned by the detected network, in which the network-detection results include a network state, a signal strength, and a network operator name; and [0015] packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical 2 Date reQue / Date received 2021-11-03analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
[0016] More preferably, after the step of performing, by the SDK, said network-detection tasks according to the network-detection URL, and feeding the network-detection results back to the server for statistical analysis, the method further comprises: [0017] analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached.
[0018] As compared to the prior art, the method for network testing of the present invention has the following beneficial effects:
[0019] In the method of the present invention, the SDA capable of performing network detection tasks cyclically is developed and integrated into the APP. Thus, when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server. The SDK then can use the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the network-detection tasks to the server. The administrator can according to a large number of network-detection results fed back be the SDK statistically analyze the data, so as to estimate network performance in the area covered by the tests.
[0020] It is thus clear that with the SDK integrated into the APP, the present invention can flexibly test any area of interest in a real-time manner as long as there is a user holding a terminal device installed with the APP in that area. As compare to the existing scheme that needs to build or rent numerous nodes, the scheme disclosed herein can significantly reduce costs for network testing.
[0021] In a second aspect, the present invention provides an apparatus for network testing, wherein the apparatus is used in the method for network testing according to the foregoing. The apparatus comprises: 3 Date reQue / Date received 2021-11-03[0022] an SDK setting unit, for integrating an SDK capable of cyclically initiating network¬ detection tasks into an APP; [0023] a heartbeat requiring unit, for having the SDK initiate a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server; [0024] a network detecting unit, for having the SDK perform said network-detection tasks according to the network-detection URL, and feeding network-detection results back to the server for statistical analysis to get network-testing results.
[0025] Preferably, between the SDK setting unit and the heartbeat requiring unit there is: [0026] a timing service unit, for registering a timing service about the network-detection tasks through the AlarmManager of the SDK when the APP is activated.
[0027] As compared to the prior art, the disclosed apparatus for network testing has beneficial effects that are identical to those of the method for network testing as provided by the foregoing technical scheme, and thus no repeated discussion is made herein.
[0028] In a third aspect, the present invention provides a computer-readable storage medium, storing therein a computer program, wherein the computer program when executed by a processor performs the steps of the foregoing method for network testing.
[0029] As compared to the prior art, the computer-readable storage medium of present invention has beneficial effects that are identical to those of the method for network testing as provided by the foregoing technical scheme, and thus no repeated discussion is made herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings are provided herein for better understanding of the present invention and form a part of this disclosure. The illustrative embodiments and their descriptions are for explaining the present invention and by no means form any improper limitation to the present invention, wherein:
[0031] FIG. 1 is a flowchart of a method for network testing according to one embodiment of the present invention; and
[0032] FIG. 2 is a timing diagram of the method of the embodiment. 4 Date reQue / Date received 2021-11-03DETAILED DESCRIPTION OF THE INVENTION
[0033] To make the foregoing objectives, features, and advantages of the present invention clearer and more understandable, the following description will be directed to some embodiments as depicted in the accompanying drawings to detail the technical schemes disclosed in these embodiments. It is, however, to be understood that the embodiments referred herein are only a part of all possible embodiments and thus not exhaustive. Based on the embodiments of the present invention, all the other embodiments can be conceived without creative labor by people of ordinary skill in the art, and all these and other embodiments shall be embraced in the scope of the present invention.
[0034] Embodiment 1
[0035] Referring to FIG. 1, the present embodiment provides a method for network testing. The method comprises the steps detailed below.
[0036] The first step involves integrating an SDK capable of cyclically initiating network¬ detection tasks into an APP, and having the SDK cyclically initiate heartbeat requests to a server based on predetermined cycle, so as to acquire a network-detection URL returned by the server. The SDK performs detection tasks according to the network-detection URL, and feeds the network-detection results to the server where the network testing results are statistically analyzed.
[0037] In the method of the present embodiment, the SDA capable of performing network detection tasks cyclically is developed and integrated into the APP. Thus, when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server. The SDK then can use the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the network¬ detection tasks to the server. The administrator can according to a large number of network¬ detection results fed back be the SDK statistically analyze the data, so as to estimate network performance in the area covered by the tests. 5 Date reQue / Date received 2021-11-03[0038] It is thus clear that with the SDK integrated into the APP, the present invention can flexibly test any area of interest in a real-time manner as long as there is a user holding a terminal device installed with the APP in that area. As compare to the existing scheme that needs to build or rent numerous nodes, the scheme disclosed herein can significantly reduce costs for network testing. In addition, as compared to the known scheme in which the server actively pushes the network-detection URL to the SDK, the present embodiment can minimize interference with users and its selection of users is more subject-targeting.
[0039] In the foregoing embodiment, before the step of initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server, the method further comprises: [0040] when the APP is activated, registering a timing service of network detection tasks using AlarmManager of the SDK.
[0041] In the foregoing embodiment, the SDK performing the network-detection tasks according to the network-detection URL, and feeding the network-detection results back to the server for statistical analysis of network testing result is achieved by: [0042] accessing, by the SDK, a detected network according to the network-detection URL, so as to acquire the network-detection results returned by the detected network, in which the network-detection results include a network state, a signal strength, and a network operator name; and packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
[0043] Referring to FIG. 2, in a particular implementation, after the APP is activated, it automatically initializes the SDK, so that the SDK registers a network detection service that is provide cyclically based on AlarmManager. For example, it may initiate a heartbeat request every 30 minutes, and inform the terminal system OS of the registered service. When it is the time to act according to cycle, the system OS sends a heartbeat request reminder to 6 Date reQue / Date received 2021-11-03the SDK. After receiving the reminder, the SDK instantly initiates a heartbeat request to the server. A heartbeat request is composed of a header and an entity, wherein the header includes network identification information, such as the network operator used by the terminal, the breakout IP address, etc. The entity includes terminal identification parameters, such as the system version, applications, terminal information, etc. After receiving a heartbeat request from the SDK, the server automatically identifies the network operator the user is using to access the network and the geographical region in which the user is accessing the network according to the heartbeat request, and then according to conditions predetermined for this network test makes determination. Subsequently, when it is determined that the SDK satisfies the testing conditions, the network-detection URL is returned to the SDK. When it is determined that the SDK does not satisfy the testing conditions, a rejection against the request is sent to the SDK. The SDK, after receiving the URL address, accesses the address and performs its network detection task. The URL server sends network-detection results, including the network state, signal strength and the name of the network operator, back to the SDK. Afterward, the SDK packages the network-detection results and the terminal parameters, and uploads the package of a predetermined format to the server, so that the server can generate a landing file according to the packaged data for statistical analysis.
[0044] It is to be understood that when there is a need to update the network testing tasks, the administrator may work with the APP supplier to remotely update the cycle network detection tasks in the SDK through updating the APP, so as to realize remote distribution and updating of network testing tasks.
[0045] In the foregoing embodiment, the step of initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server comprises: [0046] after the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined 7 Date reQue / Date received 2021-11-03conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions. Therein, the predetermined conditions include the number of tested terminals, tested areas, and the name of the network operator of the tested network.
[0047] In the foregoing embodiment, the step of performing, by the SDK, said network-detection tasks according to the network-detection URL, and feeding network-detection results back to the server for statistical analysis to get network-testing results comprises: [0048] accessing, by the SDK, a detected network according to the network-detection URL, so as to acquire the network-detection results returned by the detected network, in which the network-detection results include a network state, a signal strength, and a network operator name; and packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information. It is to be noted that statistical analysis of network testing results is well known in the art therefore detailed description about it is omitted herein.
[0049] In a particular implementation, the administrator may remotely configure the predetermined conditions for network testing in the server. For example, in a case where network testing is to be done against 10,000 terminals operating across the network of China Unicom (China United Network Communications Group Co., Ltd.,) in Nanking, China, when the server receives a heartbeat request initiated by a terminal that is not one held by a Nanking user or operating in the China Unicom network, the server sends a rejection to the SDK of the temal to refuse the request. In addition, if the server has received more than 10,000 heartbeat requests from terminals held by Nanking users and operating in the China Unicom network during the current cycle, the server also sends rejection to all the relevant SDKs. In other words, only when a heartbeat request initiated by a SDK is from a Nanking user using the China Unicom network, and has a sequence in the current cycle is earlier than the 10,000th one, will the server return a network-detection URL to the relevant SDK. With 8 Date reQue / Date received 2021-11-03these predetermined conditions set, a “first-come first-responded, number limited” rule for request handling can be established to make network testing more flexible and subject¬ targeting.
[0050] Preferably, in the foregoing embodiment, when the SDK satisfying the predetermined conditions receives the network-detection URL returned by the server, but the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, the SDK is pulled into a blacklist so that the server excludes the SDK from being assigned with future said network-detection tasks. By using a blacklist, the present invention can mask users who are not willing to participate in network testing. The willing of a user about whether he/she participates in network testing may be set and changed in the APP, and this help prevent unwilling users from disturbance by excluding them from the contact list, so as to not degrade user experience.
[0051] Preferably, after the step of performing, by the SDK, said network-detection tasks according to the network-detection URL, and feeding the network-detection results back to the server for statistical analysis, the method further comprises: [0052] analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached. By setting the alert threshold, the present embodiment can further enhance automation of network testing.
[0053] Embodiment 2
[0054] The present embodiment provides an apparatus for network testing. The apparatus comprises: [0055] an SDK setting unit, for integrating an SDK capable of cyclically initiating network¬ detection tasks into an APP; [0056] a heartbeat requiring unit, for having the SDK initiate a heartbeat request to a server based on a predetermined cycle, so as to acquire a network-detection URL returned by the server; 9 Date reQue / Date received 2021-11-03[0057] a network detecting unit, for having the SDK perform said network-detection tasks according to the network-detection URL, and feeding network-detection results back to the server for statistical analysis to get network-testing results.
[0058] Preferably, between the SDK setting unit and the heartbeat requiring unit there is: [0059] a timing service unit, for registering a timing service about the network-detection tasks through the AlarmManager of the SDK when the APP is activated.
[0060] As compared to the prior art, the apparatus of the present embodiment has beneficial effects that are identical to those of the methods for network testing as provided by the foregoing technical schemes, no repeated discussion is made herein.
[0061] Embodiment 3
[0062] The present embodiment provides a computer-readable storage medium. The computerreadable storage medium stores a computer program. The computer program when executed by a processor, performs the steps of the method for network testing as described above.
[0063] The disclosed computer-readable storage medium is superior to the prior-art devices for having beneficial effects. As these beneficial effects are identical to those of the methods for network testing as provided by the foregoing technical schemes, no repeated discussion is made herein.
[0064] As will be appreciated by people of ordinary skill in the art, implementation of all or a part of the steps of the method of the present invention as described previously may be realized by having a program instruct related hardware components. The program may be stored in a computer-readable storage medium, and the program is about performing the individual steps of the methods described in the foregoing embodiments. The storage medium may be a ROM/RAM, a disk, a compact disk, a memory card or the like.
[0065] The present invention has been described with reference to the preferred embodiments and it is understood that the embodiments are not intended to limit the scope of the present invention. Moreover, as the contents disclosed herein should be readily understood and can be implemented by a person skilled in the art, all equivalent changes or modifications which io Date reQue / Date received 2021-11-03do not depart from the concept of the present invention should be encompassed by the appended claims. Hence, the scope of the present invention shall only be defined by the appended claims. 11 Date reQue / Date received 2021-11-03

Claims (219)

12 Claims: 1. A system for network testing, the system comprising: a processor, the processor comprising: a software development kit (SDK) setting unit, configured to integrate a SDK capable of cyclically initiating network-detection tasks into an application (APP), wherein the network-detection tasks include operations performed by the SDK to assess and report on current state and performance of a network; a heartbeat requiring unit, configured to have the SDK initiate a heartbeat request to a server based on a predetermined cycle, to acquire a network-detection uniform resource locator (URL) returned by the server; a network detecting unit, configured to: pull the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks, when the SDK satisfying predetermined conditions receives the network-detection URL returned by the server, but a number of times that the SDK has ignored the networkdetection tasks has exceeded a frequency threshold; have the SDK perform the network-detection tasks according to the network-detection URL; and feed network-detection results back to the server for statistical analysis to get network-testing results.
2. The system of claim 1, wherein the processor is configured to : return, by the server, the network-detection URL based on the predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions, when the SDK initiates the heartbeat request to the server based on the predetermined cycle.
3. The system of claim 2, wherein the predetermined conditions include a number of tested terminals, tested areas, and a name of a tested network operator. CA 3129986 Date reçue / Received date 2024-09-1313
4. The system of claim 3, wherein the processor is configured to: access, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network, wherein the network-detection results include a network state, a signal strength, and a network operator name.
5. The system of claim 4, wherein the processor is configured to: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs a data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
6. The system of claim 5, wherein the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached.
7. The system of claim 6, wherein the processor is configured to: returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
8. The system of claim 7, wherein the processor is configured to: pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
9. The system of claim 8, wherein the processor is configured to: accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network, in which the network-detection results include the network state, the signal strength, and the network operator name. CA 3129986 Date reçue / Received date 2024-09-1314
10. The system of claim 9, wherein the processor is configured to: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
11. The system of claim 10, wherein the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
12. The system of claim 11, wherein an SDA capable of performing network detection tasks cyclically is developed and integrated into the APP.
13. The system of claim 12, wherein when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
14. The system of claim 13, wherein the SDK uses the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the networkdetection tasks to the server.
15. The system of claim 14, wherein the processor is configured to having the SDK cyclically initiate heartbeat requests to a server based on predetermined cycle to acquire a networkdetection URL returned by the server.
16. The system of claim 15, wherein the SDK performs detection tasks according to the network-detection URL, and feeds the network-detection results to the server where the network testing results are statistically analyzed.
17. The system of claim 16, wherein the SDA is capable of performing network detection tasks cyclically is developed and integrated into the APP. CA 3129986 Date reçue / Received date 2024-09-1315
18. The system of claim 17, wherein when the user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
19. The system of claim 18, wherein the SDK then can use the network-detection URL to perform detection tasks cyclically.
20. The system of claim 19, wherein the SDK sends the network-detection results obtained in the network-detection tasks to the server.
21. The system of claim 20, wherein the administrator can according to a large number of network-detection results fed back be the SDK statistically analyze the data to estimate network performance in the area covered by the tests.
22. The system of claim 21, wherein when the SDK is integrated into the APP, the area of interest can be flexibly tested in a real-time manner when the user holding a terminal device installed with the APP in that area.
23. The system of claim 22, wherein the server actively pushes the network-detection URL to the SDK.
24. The system of claim 23, wherein the system further includes minimizing interference with users and its selection of users is more subject-targeting.
25. The system of claim 24, wherein when the APP is activated, registering a timing service of network detection tasks using AlarmManager of the SDK.
26. The system of claim 25, wherein the processor is configured to accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network.
27. The system of claim 26, wherein the network-detection results include the network state, the signal strength, and the network operator name.
28. The system of claim 27, wherein the processor is configured to packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server. CA 3129986 Date reçue / Received date 2024-09-1316
29. The system of claim 28, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
30. The system of claim 29, wherein the terminal parameters include a system version, an application, and terminal information.
31. The system of claim 30, wherein the when the APP is activated, automatically initializing the SDK, wherein the SDK registers a network detection service to provide cyclically based on AlarmManager.
32. The system of claim 31, wherein the processor is configured to initiating a heartbeat request periodically, and informing the terminal system OS of the registered service.
33. The system of claim 32, wherein at the time to act according to cycle, the system OS sends a heartbeat request reminder to the SDK.
34. The system of claim 33, wherein on receiving the reminder, the SDK instantly initiates a heartbeat request to the server.
35. The system of claim 34, wherein a heartbeat request is composed of a header and an entity.
36. The system of claim 35, wherein the header includes network identification information, including the network operator used by the terminal and a breakout IP address.
37. The system of claim 36, wherein the entity includes terminal identification parameters, including the system version, applications, terminal information.
38. The system of claim 37, wherein on receiving a heartbeat request from the SDK, the server automatically identifies the network operator the user is using to access the network and the geographical region in which the user is accessing the network according to the heartbeat request; and according to conditions predetermined for this network test makes determination.
39. The system of claim 38, wherein when it is determined that the SDK satisfies the testing conditions, the network-detection URL is returned to the SDK.
40. The system of claim 39, wherein when it is determined that the SDK does not satisfy the testing conditions, a rejection against the request is sent to the SDK. CA 3129986 Date reçue / Received date 2024-09-1317
41. The system of claim 40, wherein the SDK, after receiving the URL address, accesses the address and performs its network detection task.
42. The system of claim 41, wherein the URL server sends network-detection results, including the network state, the signal strength and the name of the network operator to the SDK.
43. The system of claim 42, wherein the SDK packages the network-detection results and the terminal parameters, and uploads the package of a predetermined format to the server.
44. The system of claim 43, wherein the server generates a landing file according to the packaged data for statistical analysis.
45. The system of claim 44, wherein the administrator remotely updates the cycle network detection tasks in the SDK through updating the APP to realize remote distribution and updating of network testing tasks.
46. The system of claim 45, wherein when the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
47. The system of claim 46, wherein the processor is configured to accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network.
48. The system of claim 47, wherein the network-detection results include the network state, the signal strength, and the network operator name.
49. The system of claim 48, wherein the processor is configured to packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
50. The system of claim 49, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
51. The system of claim 50, wherein the terminal parameters include a system version, an application, and terminal information. CA 3129986 Date reçue / Received date 2024-09-1318
52. The system of claim 51, wherein the administrator remotely configures the predetermined conditions for network testing in the server.
53. The system of claim 52, wherein when the SDK satisfying the predetermined conditions receives the network-detection URL returned by the server and the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, the SDK is pulled into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
54. The system of claim 53, wherein, the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis; and automatically providing an alert service to the administrator when a predetermined alert threshold is reached .
55. An apparatus for network testing, the apparatus comprising: at least one processor; a memory, connected with the at least one processor; wherein the memory stores an instruction executable by the at least one processor configured to: integrate an SDK capable of cyclically initiating network-detection tasks into an APP, wherein the network-detection tasks include operations performed by the SDK to assess and report on current state and performance of a network; initiate, by the SDK, a heartbeat request to a server based on a predetermined cycle to acquire a network-detection URL returned by the server; pull the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks, when the SDK satisfying predetermined conditions receives the network-detection URL returned by the server, but a number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold; perform, by the SDK, the network-detection tasks according to the networkdetection URL; and CA 3129986 Date reçue / Received date 2024-09-1319 feed network-detection results back to the server for statistical analysis to get network-testing results.
56. The apparatus of claim 55, wherein the processor is configured to: registering a timing service about the network-detection tasks through the SDK when the APP is activated.
57. The apparatus of claim 56, wherein the processor is configured to: returning, by the server, the network-detection URL based on the predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions, when the SDK initiates the heartbeat request to the server based on the predetermined cycle.
58. The apparatus of claim 57, wherein the predetermined conditions include a number of tested terminals, tested areas, and a name of a tested network operator.
59. The apparatus of claim 58, wherein the processor is configured to: accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network, wherein the network-detection results include a network state, a signal strength, and a network operator name.
60. The apparatus of claim 59, wherein the processor is configured to: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs a data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
61. The apparatus of claim 60, wherein the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached. CA 3129986 Date reçue / Received date 2024-09-1320
62. The apparatus of claim 61, wherein the processor is configured to: returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
63. The apparatus of claim 62, wherein the processor is configured to: pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
64. The apparatus of claim 63, wherein the processor is configured to: accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network, in which the network-detection results include the network state, the signal strength, and the network operator name.
65. The apparatus of claim 64, wherein the processor is configured to: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
66. The apparatus of claim 65, wherein the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
67. The apparatus of claim 66, wherein an SDA capable of performing network detection tasks cyclically is developed and integrated into the APP.
68. The apparatus of claim 67, wherein when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server. CA 3129986 Date reçue / Received date 2024-09-1321
69. The apparatus of claim 68, wherein the SDK uses the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the networkdetection tasks to the server.
70. The apparatus of claim 69, wherein the processor is configured to having the SDK cyclically initiate heartbeat requests to a server based on predetermined cycle to acquire a networkdetection URL returned by the server.
71. The apparatus of claim 70, wherein the SDK performs detection tasks according to the network-detection URL, and feeds the network-detection results to the server where the network testing results are statistically analyzed.
72. The apparatus of claim 71, wherein the SDA is capable of performing network detection tasks cyclically is developed and integrated into the APP.
73. The apparatus of claim 72, wherein when the user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
74. The apparatus of claim 73, wherein the SDK then can use the network-detection URL to perform detection tasks cyclically.
75. The apparatus of claim 74, wherein the SDK sends the network-detection results obtained in the network-detection tasks to the server.
76. The apparatus of claim 75, wherein the administrator can according to a large number of network-detection results fed back be the SDK statistically analyze the data to estimate network performance in the area covered by the tests.
77. The apparatus of claim 76, wherein when the SDK is integrated into the APP, the area of interest can be flexibly tested in a real-time manner when the user holding a terminal device installed with the APP in that area.
78. The apparatus of claim 77, wherein the server actively pushes the network-detection URL to the SDK.
79. The apparatus of claim 78, wherein the apparatus further includes minimizing interference with users and its selection of users is more subject-targeting. CA 3129986 Date reçue / Received date 2024-09-1322
80. The apparatus of claim 79, wherein when the APP is activated, registering a timing service of network detection tasks using AlarmManager of the SDK.
81. The apparatus of claim 80, wherein the processor is configured to accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network.
82. The apparatus of claim 81, wherein the network-detection results include the network state, the signal strength, and the network operator name.
83. The apparatus of claim 82, wherein the processor is configured to packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
84. The apparatus of claim 83, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
85. The apparatus of claim 84, wherein the terminal parameters include a system version, an application, and terminal information.
86. The apparatus of claim 85, wherein the when the APP is activated, automatically initializing the SDK, wherein the SDK registers a network detection service to provide cyclically based on AlarmManager.
87. The apparatus of claim 86, wherein the processor is configured to initiating a heartbeat request periodically, and informing the terminal system OS of the registered service.
88. The apparatus of claim 87, wherein at the time to act according to cycle, the system OS sends a heartbeat request reminder to the SDK.
89. The apparatus of claim 88, wherein on receiving the reminder, the SDK instantly initiates a heartbeat request to the server.
90. The apparatus of claim 89, wherein a heartbeat request is composed of a header and an entity.
91. The apparatus of claim 90, wherein the header includes network identification information, including the network operator used by the terminal and a breakout IP address. CA 3129986 Date reçue / Received date 2024-09-1323
92. The apparatus of claim 91, wherein the entity includes terminal identification parameters, including the system version, applications, terminal information.
93. The apparatus of claim 92, wherein on receiving a heartbeat request from the SDK, the server automatically identifies the network operator the user is using to access the network and the geographical region in which the user is accessing the network according to the heartbeat request; and according to conditions predetermined for this network test makes determination.
94. The apparatus of claim 93, wherein when it is determined that the SDK satisfies the testing conditions, the network-detection URL is returned to the SDK.
95. The apparatus of claim 94, wherein when it is determined that the SDK does not satisfy the testing conditions, a rejection against the request is sent to the SDK.
96. The apparatus of claim 95, wherein the SDK, after receiving the URL address, accesses the address and performs its network detection task.
97. The apparatus of claim 96, wherein the URL server sends network-detection results, including the network state, signal strength and the name of the network operator to the SDK.
98. The apparatus of claim 97, wherein the SDK packages the network-detection results and the terminal parameters, and uploads the package of a predetermined format to the server.
99. The apparatus of claim 98, wherein the server generates a landing file according to the packaged data for statistical analysis.
100. The apparatus of claim 99, wherein the administrator remotely updates the cycle network detection tasks in the SDK through updating the APP to realize remote distribution and updating of network testing tasks.
101. The apparatus of claim 100, wherein when the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions. CA 3129986 Date reçue / Received date 2024-09-1324
102. The apparatus of claim 101, wherein the processor is configured to accessing, by the SDK, a detected network according to the network-detection URL, to acquire the networkdetection results returned by the detected network.
103. The apparatus of claim 102, wherein the network-detection results include the network state, the signal strength, and the network operator name.
104. The apparatus of claim 103, wherein the processor is configured to packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
105. The apparatus of claim 104, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
106. The apparatus of claim 105, wherein the terminal parameters include a system version, an application, and terminal information.
107. The apparatus of claim 106, wherein the administrator remotely configures the predetermined conditions for network testing in the server.
108. The apparatus of claim 107, wherein when the SDK satisfying the predetermined conditions receives the network-detection URL returned by the server and the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, the SDK is pulled into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
109. The apparatus of claim 108, wherein, the processor is configured to: analyzing, by the server, the results obtained through the statistical analysis; and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
110. A computer readable physical memory having stored thereon a computer program executed by a computer configured to: integrate an SDK capable of cyclically initiating network-detection tasks into an APP, wherein the network-detection tasks include operations performed by the SDK to assess and report on current state and performance of a network; CA 3129986 Date reçue / Received date 2024-09-1325 initiate, by the SDK, a heartbeat request to a server based on a predetermined cycle to acquire a network-detection URL returned by the server; pull the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks, when the SDK satisfying predetermined conditions receives the network-detection URL returned by the server, but a number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold; perform, by the SDK, the network-detection tasks according to the network-detection URL; and feed network-detection results back to the server for statistical analysis to get networktesting results.
111. The memory of claim 110, wherein the computer is configured to: registering a timing service about the network-detection tasks through the SDK when the APP is activated.
112. The memory of claim 111, wherein the computer is configured to: returning, by the server, the network-detection URL based on the predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions, when the SDK initiates the heartbeat request to the server based on the predetermined cycle.
113. The memory of claim 112, wherein the predetermined conditions include a number of tested terminals, tested areas, and a name of a tested network operator.
114. The memory of claim 113, wherein the computer is configured to: accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network, wherein the network-detection results include a network state, a signal strength, and a network operator name.
115. The memory of claim 114, wherein the computer is configured to: CA 3129986 Date reçue / Received date 2024-09-1326 packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs a data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
116. The memory of claim 115, wherein the computer is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached.
117. The memory of claim 116, wherein the computer is configured to: returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
118. The memory of claim 117, wherein the computer is configured to: pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
119. The memory of claim 118, wherein the computer is configured to: accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network, in which the network-detection results include the network state, the signal strength, and the network operator name.
120. The memory of claim 119, wherein the computer is configured to: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the networkdetection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information. CA 3129986 Date reçue / Received date 2024-09-1327
121. The memory of claim 120, wherein the computer is configured to: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
122. The memory of claim 121, wherein an SDA capable of performing network detection tasks cyclically is developed and integrated into the APP.
123. The memory of claim 122, wherein when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
124. The memory of claim 123, wherein the SDK uses the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the networkdetection tasks to the server.
125. The memory of claim 124, wherein the computer is configured to having the SDK cyclically initiate heartbeat requests to a server based on predetermined cycle to acquire a networkdetection URL returned by the server.
126. The memory of claim 125, wherein the SDK performs detection tasks according to the network-detection URL, and feeds the network-detection results to the server where the network testing results are statistically analyzed.
127. The memory of claim 126, wherein the SDA is capable of performing network detection tasks cyclically is developed and integrated into the APP.
128. The memory of claim 127, wherein when the user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
129. The memory of claim 128, wherein the SDK then can use the network-detection URL to perform detection tasks cyclically.
130. The memory of claim 129, wherein the SDK sends the network-detection results obtained in the network-detection tasks to the server. CA 3129986 Date reçue / Received date 2024-09-1328
131. The memory of claim 130, wherein the administrator can according to a large number of network-detection results fed back be the SDK statistically analyze the data to estimate network performance in the area covered by the tests.
132. The memory of claim 131, wherein when the SDK is integrated into the APP, the area of interest can be flexibly tested in a real-time manner when the user holding a terminal device installed with the APP in that area.
133. The memory of claim 132, wherein the server actively pushes the network-detection URL to the SDK.
134. The memory of claim 133, wherein the memory further includes minimizing interference with users and its selection of users is more subject-targeting.
135. The memory of claim 134, wherein when the APP is activated, registering a timing service of network detection tasks using AlarmManager of the SDK.
136. The memory of claim 135, wherein the computer is configured to accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network.
137. The memory of claim 136, wherein the network-detection results include the network state, the signal strength, and the network operator name.
138. The memory of claim 137, wherein the computer is configured to packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
139. The memory of claim 138, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
140. The memory of claim 139, wherein the terminal parameters include a system version, an application, and terminal information.
141. The memory of claim 140, wherein the when the APP is activated, automatically initializing the SDK, wherein the SDK registers a network detection service to provide cyclically based on AlarmManager. CA 3129986 Date reçue / Received date 2024-09-1329
142. The memory of claim 141, wherein the computer is configured to initiating a heartbeat request periodically, and informing the terminal system OS of the registered service.
143. The memory of claim 142, wherein at the time to act according to cycle, the system OS sends a heartbeat request reminder to the SDK.
144. The memory of claim 143, wherein on receiving the reminder, the SDK instantly initiates a heartbeat request to the server.
145. The memory of claim 144, wherein a heartbeat request is composed of a header and an entity.
146. The memory of claim 145, wherein the header includes network identification information, including the network operator used by the terminal and a breakout IP address.
147. The memory of claim 146, wherein the entity includes terminal identification parameters, including the system version, applications, terminal information.
148. The memory of claim 147, wherein on receiving a heartbeat request from the SDK, the server automatically identifies the network operator the user is using to access the network and the geographical region in which the user is accessing the network according to the heartbeat request; and according to conditions predetermined for this network test makes determination.
149. The memory of claim 148, wherein when it is determined that the SDK satisfies the testing conditions, the network-detection URL is returned to the SDK.
150. The memory of claim 149, wherein when it is determined that the SDK does not satisfy the testing conditions, a rejection against the request is sent to the SDK.
151. The memory of claim 150, wherein the SDK, after receiving the URL address, accesses the address and performs its network detection task.
152. The memory of claim 151, wherein the URL server sends network-detection results, including the network state, the signal strength and the name of the network operator to the SDK.
153. The memory of claim 152, wherein the SDK packages the network-detection results and the terminal parameters, and uploads the package of a predetermined format to the server. CA 3129986 Date reçue / Received date 2024-09-1330
154. The memory of claim 153, wherein the server generates a landing file according to the packaged data for statistical analysis.
155. The memory of claim 154, wherein the administrator remotely updates the cycle network detection tasks in the SDK through updating the APP to realize remote distribution and updating of network testing tasks.
156. The memory of claim 155, wherein when the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
157. The memory of claim 156, wherein the computer is configured to accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network.
158. The memory of claim 157, wherein the network-detection results include the network state, the signal strength, and the network operator name.
159. The memory of claim 158, wherein the memory further includes packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
160. The memory of claim 159, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
161. The memory of claim 160, wherein the terminal parameters include a system version, an application, and terminal information.
162. The memory of claim 161, wherein the administrator remotely configures the predetermined conditions for network testing in the server.
163. The memory of claim 162, wherein when the SDK satisfying the predetermined conditions receives the network-detection URL returned by the server and the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, the SDK is pulled into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks. CA 3129986 Date reçue / Received date 2024-09-1331
164. The memory of claim 163, wherein, the computer is configured to: analyzing, by the server, the results obtained through the statistical analysis; and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
165. A method for network testing, the method comprising: integrating an SDK capable of cyclically initiating network-detection tasks into an APP, wherein the network-detection tasks include operations performed by the SDK to assess and report on current state and performance of a network; initiating, by the SDK, a heartbeat request to a server based on a predetermined cycle to acquire a network-detection URL returned by the server; pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks, when the SDK satisfying predetermined conditions receives the network-detection URL returned by the server, but a number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold; performing, by the SDK, the network-detection tasks according to the network-detection URL; and feeding network-detection results back to the server for statistical analysis to get networktesting results.
166. The method of claim 165, wherein the method further comprises: registering a timing service about the network-detection tasks through the SDK when the APP is activated.
167. The method of claim 166, wherein the method further comprises: returning, by the server, the network-detection URL based on the predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions, when the SDK initiates the heartbeat request to the server based on the predetermined cycle.
168. The method of claim 167, wherein the predetermined conditions include a number of tested terminals, tested areas, and a name of a tested network operator. CA 3129986 Date reçue / Received date 2024-09-1332
169. The method of claim 168, wherein the method further comprises: accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network, wherein the network-detection results include a network state, a signal strength, and a network operator name.
170. The method of claim 169, wherein the method further comprises: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs a data statistical analysis according to the network-detection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
171. The method of claim 170, wherein the method further comprises: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to an administrator when a predetermined alert threshold is reached.
172. The method of claim 171, wherein the method further comprises: returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
173. The method of claim 172, wherein the method further comprises: pulling the SDK into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
174. The method of claim 173, wherein the method further comprises: accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network, in which the network-detection results include the network state, the signal strength, and the network operator name. CA 3129986 Date reçue / Received date 2024-09-1333
175. The method of claim 174, wherein the method further comprises: packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server, so that the server performs the data statistical analysis according to the networkdetection results and the terminal parameters, in which the terminal parameters include a system version, an application, and terminal information.
176. The method of claim 175, wherein the method further comprises: analyzing, by the server, the results obtained through the statistical analysis, and automatically providing an alert service to the administrator when a predetermined alert threshold is reached.
177. The method of claim 176, wherein an SDA capable of performing network detection tasks cyclically is developed and integrated into the APP.
178. The method of claim 177, wherein when a user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server.
179. The method of claim 178, wherein the SDK uses the network-detection URL to perform detection tasks cyclically, and send the network-detection results obtained in the networkdetection tasks to the server.
180. The method of claim 179, wherein the method further comprises having the SDK cyclically initiate heartbeat requests to a server based on predetermined cycle to acquire a networkdetection URL returned by the server.
181. The method of claim 180, wherein the SDK performs detection tasks according to the network-detection URL, and feeds the network-detection results to the server where the network testing results are statistically analyzed.
182. The method of claim 181, wherein the SDA is capable of performing network detection tasks cyclically is developed and integrated into the APP.
183. The method of claim 182, wherein when the user installs the APP into his/her terminal device, the SDK can cyclically initiate the heartbeat request to the server based on the predetermined cycle, thereby acquiring a network-detection URL returned by the server. CA 3129986 Date reçue / Received date 2024-09-1334
184. The method of claim 183, wherein the SDK then can use the network-detection URL to perform detection tasks cyclically.
185. The method of claim 184, wherein the SDK sends the network-detection results obtained in the network-detection tasks to the server.
186. The method of claim 185, wherein the administrator can according to a large number of network-detection results fed back be the SDK statistically analyze the data to estimate network performance in the area covered by the tests.
187. The method of claim 186, wherein when the SDK is integrated into the APP, the area of interest can be flexibly tested in a real-time manner when the user holding a terminal device installed with the APP in that area.
188. The method of claim 187, wherein the server actively pushes the network-detection URL to the SDK.
189. The method of claim 188, wherein the method further includes minimizing interference with users and its selection of users is more subject-targeting.
190. The method of claim 189, wherein when the APP is activated, registering a timing service of network detection tasks using AlarmManager of the SDK.
191. The method of claim 190, wherein the method further comprises accessing, by the SDK, a detected network according to the network-detection URL to acquire the network-detection results returned by the detected network.
192. The method of claim 191, wherein the network-detection results include the network state, the signal strength, and the network operator name.
193. The method of claim 192, wherein the method further comprises packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
194. The method of claim 193, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
195. The method of claim 194, wherein the terminal parameters include a system version, an application, and terminal information. CA 3129986 Date reçue / Received date 2024-09-1335
196. The method of claim 195, wherein the when the APP is activated, automatically initializing the SDK, wherein the SDK registers a network detection service to provide cyclically based on AlarmManager.
197. The method of claim 196, wherein the method further comprises initiating a heartbeat request periodically, and informing the terminal system OS of the registered service.
198. The method of claim 197, wherein at the time to act according to cycle, the system OS sends a heartbeat request reminder to the SDK.
199. The method of claim 198, wherein on receiving the reminder, the SDK instantly initiates a heartbeat request to the server.
200. The method of claim 199, wherein a heartbeat request is composed of a header and an entity.
201. The method of claim 200, wherein the header includes network identification information, including the network operator used by the terminal and a breakout IP address.
202. The method of claim 201, wherein the entity includes terminal identification parameters, including the system version, applications, terminal information.
203. The method of claim 202, wherein on receiving a heartbeat request from the SDK, the server automatically identifies the network operator the user is using to access the network and the geographical region in which the user is accessing the network according to the heartbeat request; and according to conditions predetermined for this network test makes determination.
204. The method of claim 203, wherein when it is determined that the SDK satisfies the testing conditions, the network-detection URL is returned to the SDK.
205. The method of claim 204, wherein when it is determined that the SDK does not satisfy the testing conditions, a rejection against the request is sent to the SDK.
206. The method of claim 205, wherein the SDK, after receiving the URL address, accesses the address and performs its network detection task.
207. The method of claim 206, wherein the URL server sends network-detection results, including the network state, the signal strength and the name of the network operator to the SDK. CA 3129986 Date reçue / Received date 2024-09-1336
208. The method of claim 207, wherein the SDK packages the network-detection results and the terminal parameters, and uploads the package of a predetermined format to the server.
209. The method of claim 208, wherein the server generates a landing file according to the packaged data for statistical analysis.
210. The method of claim 209, wherein the administrator remotely updates the cycle network detection tasks in the SDK through updating the APP to realize remote distribution and updating of network testing tasks.
211. The method of claim 210, wherein when the SDK initiates the heartbeat request to the server based on the predetermined cycle, returning, by the server, the network-detection URL based on predetermined conditions of the current network testing to the SDK if the SDK satisfies the predetermined conditions.
212. The method of claim 211, wherein the method further comprises accessing, by the SDK, a detected network according to the network-detection URL, to acquire the network-detection results returned by the detected network.
213. The method of claim 212, wherein the network-detection results include the network state, the signal strength, and the network operator name.
214. The method of claim 213, wherein the method further includes packaging and sending, by the SDK, the network-detection results and terminal parameters for installing the APP to the server.
215. The method of claim 214, wherein the server performs the data statistical analysis according to the network-detection results and the terminal parameters.
216. The method of claim 215, wherein the terminal parameters include a system version, an application, and terminal information.
217. The method of claim 216, wherein the administrator remotely configures the predetermined conditions for network testing in the server. CA 3129986 Date reçue / Received date 2024-09-1337
218. The method of claim 217, wherein when the SDK satisfying the predetermined conditions receives the network-detection URL returned by the server and the number of times that the SDK has ignored the network-detection tasks has exceeded a frequency threshold, the SDK is pulled into a blacklist so that the server excludes the SDK from being assigned with the network-detection tasks.
219. The method of claim 218, wherein, the method further comprises: analyzing, by the server, the results obtained through the statistical analysis; and automatically providing an alert service to the administrator when a predetermined alert threshold is reached. CA 3129986 Date reçue / Received date 2024-09-13
CA3129986A 2020-09-03 2021-09-03 Network testing method and device Active CA3129986C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010913844.0A CN112218325A (en) 2020-09-03 2020-09-03 Network testing method and device
CN202010913844.0 2020-09-03

Publications (2)

Publication Number Publication Date
CA3129986A1 CA3129986A1 (en) 2022-03-03
CA3129986C true CA3129986C (en) 2025-12-16

Family

ID=74048969

Family Applications (1)

Application Number Title Priority Date Filing Date
CA3129986A Active CA3129986C (en) 2020-09-03 2021-09-03 Network testing method and device

Country Status (2)

Country Link
CN (1) CN112218325A (en)
CA (1) CA3129986C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363221B (en) * 2021-12-29 2024-05-03 武汉烽火信息集成技术有限公司 Heartbeat detection method, storage medium, electronic equipment and system based on micro-service system
CN115460274B (en) * 2022-09-13 2024-12-24 招商银行股份有限公司 Method, device, apparatus and computer-readable storage medium for discovering third-party SDK
CN117135729B (en) * 2023-01-20 2024-05-24 荣耀终端有限公司 Multi-device collaboration method, system and terminal device
CN117639906B (en) * 2024-01-26 2024-04-12 成都星联芯通科技有限公司 Method, device and system for testing performance of broadband gateway for high-orbit satellite

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150067155A1 (en) * 2013-08-29 2015-03-05 Tune, Inc. Systems and methods for measuring approximate engagement of users in a software application
CN107832210A (en) * 2017-10-27 2018-03-23 广州四三九九信息科技有限公司 Access method of testing, device and a server are buried in daily record
CN110659185A (en) * 2019-10-09 2020-01-07 云南电网有限责任公司信息中心 A mobile APP user experience monitoring method based on real user perception

Also Published As

Publication number Publication date
CA3129986A1 (en) 2022-03-03
CN112218325A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CA3129986C (en) Network testing method and device
CN111045944B (en) Regression testing method, device, system and computer-readable storage medium
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
US10122746B1 (en) Correlation and consolidation of analytic data for holistic view of malware attack
EP3013086A1 (en) Method, apparatus and electronic device for connection management
CN108616389B (en) Network evaluation method, equipment, storage medium and device based on cloud server
US20200327045A1 (en) Test System and Test Method
US20160380867A1 (en) Method and System for Detecting and Identifying Assets on a Computer Network
CN108228444B (en) A test method and device
CN111090592A (en) Automatic testing method of buried point, terminal and readable storage medium
CN108235763B (en) Detection system, method and related device
CN105897947B (en) Network access method and device for mobile terminal
EP2985730A1 (en) Method and device for partially-upgrading
CN107172075B (en) Communication method, system and readable storage medium based on network isolation
CN105068935B (en) Method and device for processing software test result
CN114885365B (en) Business rule detection method and device, electronic equipment and storage medium
CN110971478A (en) Pressure measurement method, device and computing device for cloud platform service performance
CN108733545A (en) A kind of method for testing pressure and device
CN111209060A (en) Capability development platform processing method and device
CN105577472A (en) A data collection test method and device
CN113301161B (en) Seamless upgrading method, device, equipment and storage medium of application service
CN107360036B (en) Network fault positioning method, terminal and server
CN105515909A (en) Data collection test method and device
CN108512682B (en) Method and device for determining false terminal identification
CN112019558A (en) Universal baffle testing method, device, equipment and computer storage medium

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20220916

P11 Amendment of application requested

Free format text: ST27 STATUS EVENT CODE: A-2-2-P10-P11-P100 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: AMENDMENT RECEIVED - RESPONSE TO EXAMINER'S REQUISITION

Effective date: 20240913

W00 Other event occurred

Free format text: ST27 STATUS EVENT CODE: A-2-2-W10-W00-W111 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: CORRESPONDENT DETERMINED COMPLIANT

Effective date: 20250117

P11 Amendment of application requested

Free format text: ST27 STATUS EVENT CODE: A-2-2-P10-P11-P102 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: AMENDMENT DETERMINED COMPLIANT

Effective date: 20250128

P13 Application amended

Free format text: ST27 STATUS EVENT CODE: A-2-2-P10-P13-X000 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: APPLICATION AMENDED

Effective date: 20250128

D22 Grant of ip right intended

Free format text: ST27 STATUS EVENT CODE: A-2-2-D10-D22-D128 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: NOTICE OF ALLOWANCE IS ISSUED

Effective date: 20250526

Free format text: ST27 STATUS EVENT CODE: A-2-2-D10-D22-D128 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: ALLOWANCE REQUIREMENTS DETERMINED COMPLIANT

Effective date: 20250526

W00 Other event occurred

Free format text: ST27 STATUS EVENT CODE: A-2-2-W10-W00-W100 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: LETTER SENT

Effective date: 20250526

MFA Maintenance fee for application paid

Free format text: FEE DESCRIPTION TEXT: MF (APPLICATION, 4TH ANNIV.) - STANDARD

Year of fee payment: 4

U00 Fee paid

Free format text: ST27 STATUS EVENT CODE: A-2-2-U10-U00-U101 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: MAINTENANCE REQUEST RECEIVED

Effective date: 20250617

U11 Full renewal or maintenance fee paid

Free format text: ST27 STATUS EVENT CODE: A-2-2-U10-U11-U102 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: MAINTENANCE FEE PAYMENT PAID IN FULL

Effective date: 20250617

D00 Search and/or examination requested or commenced

Free format text: ST27 STATUS EVENT CODE: A-2-2-D10-D00-D164 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: RESPONSE TO NOTICE OF ALLOWANCE

Effective date: 20250918

D22 Grant of ip right intended

Free format text: ST27 STATUS EVENT CODE: A-2-4-D10-D22-D143 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: PRE-GRANT

Effective date: 20251009

W00 Other event occurred

Free format text: ST27 STATUS EVENT CODE: A-2-2-W10-W00-W111 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: CORRESPONDENT DETERMINED COMPLIANT

Effective date: 20251009

Q17 Modified document published

Free format text: ST27 STATUS EVENT CODE: A-4-4-Q10-Q17-Q103 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: DOCUMENT PUBLISHED

Effective date: 20251215

F11 Ip right granted following substantive examination

Free format text: ST27 STATUS EVENT CODE: A-4-4-F10-F11-X000 (AS PROVIDED BY THE NATIONAL OFFICE); EVENT TEXT: GRANT BY ISSUANCE

Effective date: 20251216