CN102201940A - Test method of dial-up networking stability of wireless apparatus - Google Patents
Test method of dial-up networking stability of wireless apparatus Download PDFInfo
- Publication number
- CN102201940A CN102201940A CN2010101309480A CN201010130948A CN102201940A CN 102201940 A CN102201940 A CN 102201940A CN 2010101309480 A CN2010101309480 A CN 2010101309480A CN 201010130948 A CN201010130948 A CN 201010130948A CN 102201940 A CN102201940 A CN 102201940A
- Authority
- CN
- China
- Prior art keywords
- dial
- wireless device
- telephone
- dials
- test method
- 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.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to a test method of the dial-up networking stability of a wireless apparatus. The method comprises the following steps: (1) a wireless apparatus connects a PC machine, then the PC machine program is started, and other networks of the PC machine are forbidden; (2) the PC machine program starts dial-up networking and starts a test module; (3) the test module acquires a present IP address and judges whether the dial-up networking is success or not, wherein if so, step (4) is executed, if not, step (2) is repeated; (4) the PC machine connects a TCP server in a TCP mode, carries out data interaction and judges whether the transmission is normal or not, wherein if so, step (5) is executed, if not, step (4) is repeated; (5) it is judged that whether the test is completed or not, wherein if so, step (6) is executed, if not, step (3) is repeated; (6) the PC machine calculates the time of dial-up networking and the time of abnormal connection, and analyzes the reason of abnormal transmission. Compared with the prior art, the method provided in the invention has the advantages of strong applicability and good instantaneity.
Description
Technical field
The present invention relates to a kind of network stabilization method of testing, especially relate to a kind of wireless device stability test method that dials up on the telephone.
Background technology
The function that dials up on the telephone of wireless device is a major function of wireless device, because real-time, reasons such as ease for use, than voice, note etc. are more suitable for the mass data transmission in M2M uses.But owing to network reason or wireless device self reason, may after dialing a period of time the network automatic disconnection appear, have only upstream data not have problems such as downlink data, therefore test wireless device with regard to software of needs and after dial-up success, carry out transfer of data for a long time and detect network connection state, to help the hardware and software development of wireless device.
Summary of the invention
Purpose of the present invention is exactly that a kind of applicability is strong, real-time the is good wireless device stability test method that dials up on the telephone is provided in order to overcome the defective that above-mentioned prior art exists.
Purpose of the present invention can be achieved through the following technical solutions:
A kind of wireless device stability test method that dials up on the telephone is characterized in that, may further comprise the steps:
1) wireless device is connected with PC, opens the PC program, and other networks of forbidding PC;
2) the PC program start dials up on the telephone, and starts test module;
3) test module obtains current IP address, and judges whether dialing is successful, if yes, and execution in step 4), if not, return step 2);
4) PC is connected with the TCP server by the TCP mode, carries out data interaction, judges whether transmission is normal, if yes, and execution in step 5), if not, continue execution in step 4);
5) judge whether to finish test, if yes, execution in step 6), if not, return step 3);
6) PC calculates the time and the improper time that is connected of dial-up connection state, and analyzes the reason of improper transmission.
Other networks in the described step 1) comprise local the connection.
Whether success is as follows in judgement dialing in the described step 3):
If the current IP address that obtains is 127.0.0.1, then dialing does not have success or is discharged by network, if the current IP address that obtains is other values, then dial-up success.
Compared with prior art, the present invention has the following advantages:
1, applicability is strong, can be applied to the module dialup test of various standards such as GSM, CDMA, TD-SCDMA, WCDMA;
2, real-time is good.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is a hardware configuration schematic diagram of the present invention.
Embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Embodiment
As shown in Figure 1 and Figure 2, a kind of wireless device stability test method that dials up on the telephone is characterized in that, may further comprise the steps:
Step 105, judge whether to finish test, if yes, execution in step 106 is if not, return step 103;
Whether success is as follows in judgement dialing in the described step 103:
If the current IP address that obtains is 127.0.0.1, then dialing does not have success or is discharged by network, if the current IP address that obtains is other values, then dial-up success.
Claims (3)
1. wireless device stability test method that dials up on the telephone is characterized in that, may further comprise the steps:
1) wireless device is connected with PC, opens the PC program, and other networks of forbidding PC;
2) the PC program start dials up on the telephone, and starts test module;
3) test module obtains current IP address, and judges whether dialing is successful, if yes, and execution in step 4), if not, return step 2);
4) PC is connected with the TCP server by the TCP mode, carries out data interaction, judges whether transmission is normal, if yes, and execution in step 5), if not, continue execution in step 4);
5) judge whether to finish test, if yes, execution in step 6), if not, return step 3);
6) PC calculates the time and the improper time that is connected of dial-up connection state, and analyzes the reason of improper transmission.
2. a kind of wireless device according to claim 1 stability test method that dials up on the telephone is characterized in that, other networks in the described step 1) comprise local the connection.
3. a kind of wireless device according to claim 1 stability test method that dials up on the telephone is characterized in that, whether success is as follows for the judgement dialing in the described step 3):
If the current IP address that obtains is 127.0.0.1, then dialing does not have success or is discharged by network, if the current IP address that obtains is other values, then dial-up success.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101309480A CN102201940A (en) | 2010-03-23 | 2010-03-23 | Test method of dial-up networking stability of wireless apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101309480A CN102201940A (en) | 2010-03-23 | 2010-03-23 | Test method of dial-up networking stability of wireless apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102201940A true CN102201940A (en) | 2011-09-28 |
Family
ID=44662345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101309480A Pending CN102201940A (en) | 2010-03-23 | 2010-03-23 | Test method of dial-up networking stability of wireless apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102201940A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290545A (en) * | 2019-06-19 | 2019-09-27 | 高新兴科技集团股份有限公司 | A kind of online keepalive method of wireless telecom equipment |
-
2010
- 2010-03-23 CN CN2010101309480A patent/CN102201940A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110290545A (en) * | 2019-06-19 | 2019-09-27 | 高新兴科技集团股份有限公司 | A kind of online keepalive method of wireless telecom equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104904309B (en) | A kind of method and mobile terminal sending heartbeat message | |
CN103200314B (en) | A kind of intelligent dormancy method of mobile terminal and device | |
CN101237466B (en) | Network configuration method, device and system for terminal | |
DE102010000466A1 (en) | A method of monitoring paging messages with reduced power consumption and communication devices using the same | |
CN105873013A (en) | Method and device for selecting operator based on e-SIM () card and mobile terminal | |
CN103139307B (en) | A kind of Internet resources download the restoration methods and download system of interrupting | |
CN101859275A (en) | Method, system and mobile terminal for monitoring application program | |
CN102711226A (en) | Method and device for scanning WIFI (wireless fidelity) access point | |
CN102695257A (en) | Terminal and power consumption optimizing method thereof | |
CN105335292A (en) | Application compatibility testing method and system | |
CN107148009A (en) | Multi-standard mobile communications network internet surfing data traffic measurement apparatus and its method | |
US7623856B2 (en) | Method for testing communication protocol having collection of internal information of a mobile communication terminal by an external module | |
CN102148876A (en) | Access point switching method and device on iOS | |
CN102647517B (en) | Mobile phone and low-power alarm method thereof | |
EP2521417A1 (en) | Method and device for counting resident time span ratio in dual network of dual mode single standby terminal user | |
CN111585841B (en) | Automatic test method and related device | |
CN102791045A (en) | Mobile communication terminal and transfer protocol automatic preferentially-selecting method thereof | |
CN103188767A (en) | Method and device for searching for network by mobile terminal with CDMA (Code Division Multiple Access) dual-mode card | |
CN104320792A (en) | Method of processing communication device if anomaly of GPRS (General Packet Radio Service) network occurs | |
CN102201940A (en) | Test method of dial-up networking stability of wireless apparatus | |
CN103582064A (en) | Method and device for ensuring continuity of data service | |
CN112867044A (en) | Base station simulation test terminal, test method and device | |
CN103197665A (en) | Remote control testing device and remote control method for carrying out controlling on electronic equipment | |
CN109474940B (en) | Service quality detection method and device | |
CN110493773A (en) | The acquisition methods and its equipment of mobile device authentication capability |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110928 |