CN107682219B - Android system-based dial testing method and device for testing number - Google Patents

Android system-based dial testing method and device for testing number Download PDF

Info

Publication number
CN107682219B
CN107682219B CN201710827065.7A CN201710827065A CN107682219B CN 107682219 B CN107682219 B CN 107682219B CN 201710827065 A CN201710827065 A CN 201710827065A CN 107682219 B CN107682219 B CN 107682219B
Authority
CN
China
Prior art keywords
test
dial
server
data list
plan data
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
CN201710827065.7A
Other languages
Chinese (zh)
Other versions
CN107682219A (en
Inventor
唐银权
蔡小伟
郭玉旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Jiwei Technology Co ltd
Original Assignee
Xiamen Jiwei Technology Co 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 Xiamen Jiwei Technology Co ltd filed Critical Xiamen Jiwei Technology Co ltd
Priority to CN201710827065.7A priority Critical patent/CN107682219B/en
Publication of CN107682219A publication Critical patent/CN107682219A/en
Application granted granted Critical
Publication of CN107682219B publication Critical patent/CN107682219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method and a device for testing a dialing test number based on an android system. The method comprises the following steps: sending a request to a server, the request including at least a unique identifier; receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier; and processing the dial testing result and uploading the processed dial testing result to the server. The testing method and the testing device provided by the embodiment of the invention do not need to be attended, can automatically dial and test, and save manpower and material resources.

Description

Android system-based dial testing method and device for testing number
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for testing dialing test numbers based on an android system.
Background
With the development of communication services, communication network coverage is rapidly expanded, the number of users and services are continuously increased, and the existing network testing and monitoring means face great challenges. In order to ensure the service quality, the communication network needs to be tested and effectively monitored, and an automatic dial testing system is one of effective means for testing and monitoring the network.
In the prior art, a number is tested, if a communication signal in a certain area is tested, a person in the area needs to assist the test, a worker in the area manually dials the number with a mobile phone, and manually hangs up the number to record the time of dialing the number, the time of connecting the number and the time of hanging up the number, so that the time consumed from the time of dialing the number to the time of connecting the number is calculated. However, both methods are cumbersome to use, and both methods require manual recording to determine the communication situation, and if the environment is harsh or the area is limited, more manpower and material resources are needed.
Therefore, how to provide a method to improve the efficiency of automatic dial testing and save manpower and material resources becomes an urgent problem to be solved.
Disclosure of Invention
Aiming at the defects in the prior art, the embodiment of the invention provides a method and a device for testing a dialing test number based on an android system.
In a first aspect, an embodiment of the present invention provides a method for testing a dialing test number based on an android system, including:
sending a request to a server, the request including at least a unique identifier;
receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
and processing the dial testing result and uploading the processed dial testing result to the server.
In a second aspect, an embodiment of the present invention provides a device for testing a dialing test number based on an android system, including:
a sending module for sending a request to a server, the request comprising at least a unique identifier of a test plan;
the processing module is used for receiving the test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
and the uploading module is used for uploading the dial testing result to the server after processing.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory and a processor, where the processor and the memory complete communication with each other through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
sending a request to a server, the request including at least a unique identifier;
receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
and processing the dial testing result and uploading the processed dial testing result to the server.
In a fourth aspect, an embodiment of the present invention further provides a computer program, which includes program code for performing the following operations:
the processor is used for calling the logic instructions in the memory to execute the following method:
sending a request to a server, the request including at least a unique identifier;
receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
and processing the dial testing result and uploading the processed dial testing result to the server.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is used for storing the method of the computer program as described above.
According to the dial testing method and device based on the android system, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow diagram of a test method for a dial test number based on an android system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a testing apparatus for dialing a test number based on an android system according to an embodiment of the present invention;
fig. 3 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow diagram of a testing method for a dial-test number based on an android system according to an embodiment of the present invention, where as shown in fig. 1, the method includes:
s101, sending a request to a server, wherein the request at least comprises a unique identifier;
s102, receiving a test plan data list returned by the server, analyzing numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain a dial testing result; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
and S103, processing the dialing test result and uploading the dialing test result to the server.
The different test plans have different unique identifiers, the unique identifiers are stored in advance by the application terminal, the application terminal needs to send a request to the server before dialing and testing the number, the request at least comprises the unique identifiers, the application terminal can be a mobile phone, a tablet or other mobile equipment with communication capability and capable of recording call data, and application software is installed on the mobile phone, the tablet or other mobile equipment with communication capability and capable of recording call data.
After receiving a request carrying a unique identifier sent by an application terminal, a server searches a test plan data list corresponding to the unique identifier in a pre-stored database and returns the test plan data list to the application terminal;
the application end receives a test plan data list returned by the server, analyzes the test plan data list, analyzes numbers to be tested in the test plan data list, carries out dial test according to the sequence of the analyzed numbers, and obtains dial test results, wherein a database corresponding to the unique identifier and the test plan data list needs to be established in advance in the server, and after the server receives a request carrying the unique identifier, the corresponding test plan data list is searched in the stored database.
After all numbers to be tested are dialed and tested, the application end records the dialing and testing result of each number to be tested and uploads the dialing and testing result to the server.
According to the dial testing method based on the android system, provided by the embodiment of the invention, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Specifically, the test plan data list includes at least the unique identifier, at least one area code and telephone number of the area to be tested, and an operator attribute.
On the basis of the above embodiment, the test plan data list pre-stored on the server side at least includes a unique identifier, at least one area code and telephone number of the area to be tested, and operator attributes, where each test plan data list corresponds to one unique identifier, one telephone number and at least one area code, where the telephone number may be a mobile phone number or a fixed telephone number, and the operator attributes are used to determine whether an operator corresponding to a SIM card installed in the mobile device at the application end is the same as an operator specified by the test plan. A test plan is created that already specifies which carrier to use for testing, e.g. test plan 1 specifies a telecommunications carrier for testing, then the SIM on the mobile device, e.g. a handset, at the application end does not get test data if it is mobile.
For example, a test plan data list at least includes a unique identifier of serial number 1, a telephone number of 12345678, and specifies a mobile operator to perform a test, the area code may be one or multiple, for example, 011, 012, 013, after the application performs parsing, a list of numbers to be tested is obtained, and the numbers are dialed and tested in sequence, the order of dialing and testing is 011 + 12345678, 012 + 12345678, 013 + 12345678, and after all numbers to be tested are dialed and tested, a dialing and testing result is obtained.
According to the dial testing method based on the android system, provided by the embodiment of the invention, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Optionally, the step of sequentially performing dial testing on the numbers to be tested in the analyzed test plan data list to obtain a dial test result includes:
and respectively combining the telephone number and at least one area code in the analyzed test plan data list, calling a bottom dialing API of the android system to dial and test the combination of the at least one telephone number and the area code one by one in sequence until all dial tests are finished, and obtaining dial test results, wherein the test plan data list corresponds to the attribute matching of the operator.
On the basis of the embodiment, after an application terminal sends a request to a server, the server simultaneously obtains the attribute of an operator to which a sim card of equipment of the application terminal belongs, the server searches a corresponding test plan data list in a database according to a unique identifier and the attribute of the operator corresponding to the obtained test plan data list, then returns the test plan data list to the application terminal, after the application terminal receives the test plan data list returned by the server terminal, analyzes numbers to be tested in the test plan data list corresponding to the attribute matching of the operator to be tested, the numbers to be tested are at least one area number corresponding to one telephone number, calls a bottom dialing API of an android system of the application terminal to combine each area number with one telephone number, and dials and tests according to the combined sequence until all combined numbers are dialed and tested, and obtaining the result of the dial testing.
According to the dial testing method based on the android system, provided by the embodiment of the invention, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Optionally, the dialing test is performed on the combination of at least one phone number and the area code in sequence by calling a bottom-layer dialing API of the android system, and a dialing test result is obtained, specifically:
testing a first number combination in the test plan data list in a dialing mode, if the first number combination tested in the dialing mode is connected, recording the time of dialing time and the time of connecting time, wherein the required consumed time is the interval from the time of dialing time to the time of connecting time;
and if the first number combination is not connected, hanging up the combination within the preset time, wherein the consumed time is the preset time.
On the basis of the above embodiment, the application software is installed on the mobile device, and the installed application software needs to acquire the authorization of the mobile device, particularly the right to make a call and the right to read a communication record.
After the application end receives the test plan data list returned by the server side, the numbers to be tested are analyzed, and dialing test is automatically carried out, wherein the numbers to be tested comprise at least one area code and one telephone number, and one area code and one telephone number are combined to be called a first number combination, wherein the first number combination can be any combination of one area code and one telephone number and is not limited to the sequence of arrangement.
When an application terminal dials a bottom layer dialing API of an android system, if a first number combination to be dialed is connected, recording the time of dialing time and the time of connecting time, wherein the consumed time in the process is the time interval from the time of dialing time to the time of connecting time; in this case, the number to be tested is determined as the number that has been successfully tested.
If the first dial-tested combination is not connected, a time threshold is preset at the application end, the dial-tested time is automatically hung up when reaching the preset time threshold, the consumed time in the process is the preset time threshold, and manual operation is not needed in the process; in this case, the number to be tested is determined as the number that has been successfully tested.
If the first number combination of the dial test is automatically hung up at the beginning of the dial test, the time consumption in the process is recorded as 0. For example, when the first number combination is just dialed and tested, the number is indicated as an empty number, cannot be connected or automatically hung up, and in these cases, the time consumption is recorded as 0, that is, the number to be tested is a number which fails to be tested.
According to the dial testing method based on the android system, provided by the embodiment of the invention, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Optionally, the processing and uploading the dial test result to the server is:
and after the dial testing is finished, calling an API (application program interface) at the bottom layer of the android system to read dial testing results of each number combination in the communication record table, matching the dial testing results with the numbers in the analyzed test plan list of the unique identifier, and uploading the matched results to a server.
On the basis of the embodiment, the application terminal calls all numbers to be tested to the bottom API of the android system for dial testing, the dialed numbers to be tested generate corresponding call records, dial testing results of all the numbers to be tested are recorded, the application terminal matches the dial testing results of the numbers to be tested in the call record storage table to the numbers in the plan list to be tested with unique identifiers, and uploads the testing results of the numbers in the plan list to be tested to the server, wherein the application terminal uploads at least one area code and one telephone number analyzed from the test plan data list, time consumption of the dial testing process and the like to the server.
The application end judges the dialing test result of the numbers in the test plan data list, if a person is connected in the dialing test process or automatically hangs up in the preset time, the consumed time is recorded, and the number is judged to be a successfully tested number; if the test is carried out in the dialing process, the time consumption is recorded to be 0 under the conditions of automatic hanging-up in a short time or direct dialing-up without a signal and the like, and the test is judged to be a number which fails.
And after receiving the dial testing result uploaded by the application terminal, the server stores the dial testing result, and if an abnormality occurs in the process of storing by the server, the number without the stored dial testing result is displayed as that the dial testing is not performed. For example, the application side sends 100 dial testing records to the server, and the server should store 100 dial testing results under normal conditions, but if an exception occurs in the storing process and only 80 dial testing results are stored, the remaining 20 dial testing results are not stored and are displayed as no dial testing.
And returning confirmation information to the application terminal after the server is stored, wherein the test server stores the number of dial test results.
In addition, when the application terminal sends a request to the server, the server simultaneously obtains a test plan data list corresponding to the operator of the sim card matched with the IMSI of the application terminal, for example, if the application terminal is a mobile phone number, the server can only return the mobile test plan data list, and if the application terminal is the test plan data list of other operators, the server returns 0 or no test data.
According to the dial testing method based on the android system, provided by the embodiment of the invention, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the unattended operation is not required at all, and the expenses of manpower and material resources can be saved.
Fig. 2 is a schematic structural diagram of a testing apparatus for dialing a test number based on an android system, as shown in fig. 2, the apparatus includes a sending module 10, a processing module 20, and an uploading module 30, where:
the sending module 10 is configured to send a request to the server, where the request includes at least a unique identifier of the test plan;
the processing module 20 is configured to receive a test plan data list returned by the server, analyze a number to be tested in the test plan data list, and perform dial testing in sequence to obtain a dial testing result; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
the uploading module 30 is configured to upload the dial test result to the server after processing the dial test result.
After receiving a request carrying a unique identifier sent by the sending module 10, the server searches a test plan data list corresponding to the unique identifier in a pre-stored database, and returns the test plan data list to the sending module 10;
the processing module 20 receives a test plan data list returned by the server, analyzes the test plan data list, analyzes numbers to be tested in the test plan data list, performs dial test according to the sequence of the analyzed numbers, and obtains a dial test result, wherein a database corresponding to a unique identifier and the test plan data list needs to be established in advance in the server, and after the server receives a request carrying the unique identifier, the corresponding test plan data list is searched in the stored database.
After all the numbers to be tested are dialed and tested, the processing module 20 records the dialing and testing result of each number to be tested, and the uploading module 30 uploads the dialing and testing result to the server.
According to the device for dialing the testing number based on the android system, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the device does not need to be attended at all, and the expenditure of manpower and material resources can be saved.
Specifically, the test plan data list includes at least the unique identifier, at least one area code of the area to be tested, and a telephone number.
On the basis of the above embodiment, the test plan data list pre-stored on the server side at least includes a unique identifier, at least one area code of the area to be tested, and a telephone number, where each test plan data list corresponds to one unique identifier, one telephone number, and at least one area code, and the telephone number may be a mobile phone number or a fixed telephone number.
For example, a test plan data list at least includes a serial number 1 as the unique identifier, a telephone number 12345678 as the telephone number, and one or more area codes, such as 011, 012, 013, after the application performs parsing, the numbers to be tested are obtained, and the dialing test is performed in sequence, the dialing test sequence is 011-.
According to the dialing test number testing device based on the android system, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the android testing device does not need to be attended at all, and the expenditure of manpower and material resources can be saved.
Optionally, the uploading module 30 is: and after the dial test is finished, calling an API (application program interface) at the bottom layer of the android system to read the communication condition of each number combination in a call record storage table, matching the communication condition with the number in the analyzed test plan list of the unique identifier, and uploading the matched result to a server.
On the basis of the above embodiment, the processing module 20 calls all numbers to be tested to the bottom API of the android system for dial testing, the dialed numbers to be tested generate corresponding call records, and record dial testing results of all numbers to be tested, the processing module 20 matches the dial testing results of the numbers to be tested in the call record storage table to the numbers in the plan list to be tested with unique identifiers, and the uploading module 30 uploads the testing results of the numbers in the plan list to be tested to the server, wherein the application terminal uploads at least one area code and one telephone number analyzed from the test plan data list, time consumed in the dial testing process, and the like to the server.
The processing module 20 judges the dial test result of the number in the test plan data list, records time consumption if a person is connected in the dial test process or automatically hangs up at a preset time, and judges the number as a successfully tested number; if the test is carried out in the dialing process, the time consumption is recorded to be 0 under the conditions of automatic hanging-up in a short time or direct dialing-up without a signal and the like, and the test is judged to be a number which fails.
According to the dialing test number testing device based on the android system, the testing plan is configured through the page, the corresponding parameters are set by the corresponding application installed on the android system, and the automatic testing can be realized by clicking to start the testing, so that the android testing device does not need to be attended at all, and the expenditure of manpower and material resources can be saved.
Fig. 3 is a block diagram of a computer device according to an embodiment of the present invention, and as shown in fig. 3, the computer device includes: a processor (processor)301, a memory (memory)302, and a bus 303;
wherein, the processor 301 and the memory 302 complete the communication with each other through the bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: sending a request to a server, the request including at least a unique identifier; receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier; and processing the dial testing result and uploading the processed dial testing result to the server.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: sending a request to a server, the request including at least a unique identifier; receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier; and processing the dial testing result and uploading the processed dial testing result to the server.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: sending a request to a server, the request including at least a unique identifier; receiving a test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier; and processing the dial testing result and uploading the processed dial testing result to the server.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above-described embodiments of the apparatus and system are only schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

Claims (5)

1. A test method for dialing test numbers based on an android system is characterized by comprising the following steps:
sending a request to a server, the request including at least a unique identifier;
receiving a test plan data list returned by the server, analyzing a number to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain a dial testing result; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
processing the dial testing result and uploading the processed dial testing result to the server;
wherein the test plan data list corresponds to operator attributes;
the test plan data list at least comprises the unique identifier, at least one area code and telephone number of the area to be tested and operator attributes;
the analyzing out the number to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain a dial testing result, specifically:
respectively combining the telephone number and at least one area code in the analyzed test plan data list, calling a bottom dialing API of the android system to dial and test the combination of at least one telephone number and at least one area code one by one in sequence until all dial tests are finished, and obtaining dial test results;
the uploading of the processed dial test result to the server is as follows:
and after the dial testing is finished, calling an API (application program interface) at the bottom layer of the android system to read dial testing results of each number combination in a call record storage table, matching the dial testing results with the numbers in the analyzed test plan list of the unique identifier, and uploading the matched results to a server.
2. The method according to claim 1, wherein the combination of at least one telephone number and an area code is sequentially dial-tested by calling an android system underlying dialing API, and a dial-test result is obtained, specifically:
a first combination of numbers in the test plan data list is tested by dialing,
if the first number combination of the dialing test is switched on, recording the time of the dialing time and the time of the switching-on time, wherein the required consumed time is the interval between the time of the dialing time and the time of the switching-on time;
and if the first number combination is not connected, hanging up the combination within the preset time, wherein the consumed time is the preset time.
3. The utility model provides a test device who dials and surveys number based on tall and erect system of ann, its characterized in that includes:
a sending module for sending a request to a server, the request comprising at least a unique identifier of a test plan;
the processing module is used for receiving the test plan data list returned by the server, analyzing the numbers to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain dial testing results; wherein the test plan data list is found by the server in a pre-established database according to the unique identifier and corresponds to the unique identifier;
the uploading module is used for uploading the dial testing result to the server after processing;
wherein the test plan data list corresponds to operator attributes;
the test plan data list at least comprises the unique identifier, at least one area code and telephone number of the area to be tested and operator attributes;
the analyzing out the number to be tested in the test plan data list, and carrying out dial testing according to the sequence to obtain a dial testing result, specifically:
respectively combining the telephone number and at least one area code in the analyzed test plan data list, calling a bottom dialing API of the android system to dial and test the combination of at least one telephone number and at least one area code one by one in sequence until all dial tests are finished, and obtaining dial test results;
the uploading module is as follows:
and after the dial test is finished, calling an API (application program interface) at the bottom layer of the android system to read the communication condition of each number combination in a call record storage table, matching the communication condition with the number in the analyzed test plan list of the unique identifier, and uploading the matched result to a server.
4. A computer device, comprising a memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 2.
5. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 2.
CN201710827065.7A 2017-09-14 2017-09-14 Android system-based dial testing method and device for testing number Active CN107682219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710827065.7A CN107682219B (en) 2017-09-14 2017-09-14 Android system-based dial testing method and device for testing number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710827065.7A CN107682219B (en) 2017-09-14 2017-09-14 Android system-based dial testing method and device for testing number

Publications (2)

Publication Number Publication Date
CN107682219A CN107682219A (en) 2018-02-09
CN107682219B true CN107682219B (en) 2020-11-10

Family

ID=61135906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710827065.7A Active CN107682219B (en) 2017-09-14 2017-09-14 Android system-based dial testing method and device for testing number

Country Status (1)

Country Link
CN (1) CN107682219B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016012B (en) * 2019-05-30 2023-09-08 中国移动通信集团浙江有限公司 Resource service quality intelligent dial testing method and device
CN114615696A (en) * 2020-12-08 2022-06-10 中国联合网络通信集团有限公司 Automatic dial testing method, device, system, server and storage medium
CN115278649B (en) * 2022-09-26 2022-12-09 深圳市广和通无线通信软件有限公司 Telephone number acquisition method, equipment, system and medium based on machine learning

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559098A (en) * 2013-10-31 2014-02-05 东信和平科技股份有限公司 Smart card test number control method, device and system
CN103888577A (en) * 2012-12-24 2014-06-25 腾讯科技(深圳)有限公司 Method and system calling short number or special number

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244592B (en) * 2010-05-11 2014-10-08 中国移动通信集团公司 Network service quality testing system, method, testing center and testing terminal
CN102572904B (en) * 2011-12-28 2015-02-18 上海禹为通信技术有限公司 System and method for implementing automatic dial test business
US9027049B2 (en) * 2012-02-07 2015-05-05 Turner Braodcasting System, Inc. Method and system for coupons based on automatic content recognition
CN103139400A (en) * 2012-12-28 2013-06-05 上海顶竹通讯技术有限公司 Communication network quality test device and test method
CN104753735B (en) * 2013-12-31 2018-09-07 中国移动通信集团上海有限公司 A kind of call-testing system and method
US9392008B1 (en) * 2015-07-23 2016-07-12 Palantir Technologies Inc. Systems and methods for identifying information related to payment card breaches

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888577A (en) * 2012-12-24 2014-06-25 腾讯科技(深圳)有限公司 Method and system calling short number or special number
CN103559098A (en) * 2013-10-31 2014-02-05 东信和平科技股份有限公司 Smart card test number control method, device and system

Also Published As

Publication number Publication date
CN107682219A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN105611330B (en) Smart television maintenance method and system, server and mobile terminal
CN107819608B (en) VoLTE network cutover automatic evaluation method based on multi-interface software simulation
CN107682219B (en) Android system-based dial testing method and device for testing number
CN111372249B (en) System and method for testing consistency of code number downloading process of eSIM (embedded subscriber identity Module) terminal of Internet of things
CN108376115B (en) Automatic testing method and system across Android platform
US8311535B2 (en) Method for controlling information trace and core network element
CN106060847B (en) The determination method and system of signal blind zone
CN110532305B (en) Service data cutting-over method and system
CN102595455B (en) Method and device for managing test module in automatic road test system
CN107995650B (en) Method and device for acquiring neighbor cell identifier
CN108616870B (en) Method and device for identifying terminal customized preferentially
CN109246282B (en) Call information storage method and device, storage medium and electronic device
CN108234795B (en) Voice alarm method, device, system, storage medium and processor
CN109121137B (en) Method and device for identifying user number use type of double-card terminal
CN108540996B (en) Time delay abnormity analysis method and device
CN103458445A (en) Android-based communication terminal testing method and device
CN102946594B (en) Method for automatically obtaining equipment information in Telematics system during using navigation with one key
CN102209149B (en) Wireless communication equipment and information clearing method
CN111065062B (en) Call signaling processing method, device and storage medium
CN113934552A (en) Method and device for determining function code, storage medium and electronic device
CN103458454A (en) Method and device for call drop test of communication terminal based on Android system
US8249581B2 (en) Method for testing working states of mobile phone
CN112911629A (en) Network testing method and device and computer readable storage medium
US20200084617A1 (en) Communication information hiding realization method and realization system
CN109246244B (en) Message synchronization detection method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A test method and device for dialing test number based on Android system

Effective date of registration: 20220425

Granted publication date: 20201110

Pledgee: China Everbright Bank Limited by Share Ltd. Xiamen branch

Pledgor: XIAMEN JIWEI TECHNOLOGY CO.,LTD.

Registration number: Y2022980004792