CN104581785A - Wireless network testing method, testing device and mobile terminal - Google Patents

Wireless network testing method, testing device and mobile terminal Download PDF

Info

Publication number
CN104581785A
CN104581785A CN201410849731.3A CN201410849731A CN104581785A CN 104581785 A CN104581785 A CN 104581785A CN 201410849731 A CN201410849731 A CN 201410849731A CN 104581785 A CN104581785 A CN 104581785A
Authority
CN
China
Prior art keywords
mobile terminal
testing apparatus
message
terminal
command messages
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.)
Granted
Application number
CN201410849731.3A
Other languages
Chinese (zh)
Other versions
CN104581785B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201410849731.3A priority Critical patent/CN104581785B/en
Publication of CN104581785A publication Critical patent/CN104581785A/en
Application granted granted Critical
Publication of CN104581785B publication Critical patent/CN104581785B/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/02Arrangements for optimising operational condition

Abstract

The embodiment of the invention provides a wireless network testing method, a testing device and a mobile terminal. The wireless network testing method comprises the following steps: based on the interconnection of operating systems, the testing device establishes a wireless link between the testing device and the mobile terminal; the testing device sends a command message to the mobile terminal through the wireless link, wherein the command message is used for achieving the control over the mobile terminal in the wireless network testing process; after receiving the command message sent by the testing device, the mobile terminal analyzes the command message and calls a bottom layer application programming interface to carry out the operation corresponding to the command message based on an analyzed result. According to the wireless network testing method, the testing device and the mobile terminal, the developing difficulty can be lowered, the developing cycle can be shortened, the testing cost can be reduced, and the concurrent testing of multi-user big data can be stably supported.

Description

Wireless network test method, testing apparatus and mobile terminal
Technical field
The application relates to technical field of measurement and test, particularly relates to a kind of wireless network test method, a kind of testing apparatus and a kind of mobile terminal.
Background technology
Along with the continuous increase that wireless technology uses, the wireless networks such as 3G, 4G are derived a series of application problem to be needed to solve, and it is necessary for therefore carrying out the test of some service features when using wireless network, utilizes service feature to test help and addresses these problems.Such as, in LTE (Long Term Evolution, Long TermEvolution) system testing, need to dial simultaneously with a large amount of mobile terminal, the business such as upload/download, to implement the test to LTE network.
With reference to Fig. 1, show the structural representation of the automatic calling test system of a kind of LTE network of prior art, specifically can comprise: the PC mainboard of base station, measured terminal, test platform and SIM card, wherein, described measured terminal (is leading to by USB and is getting lines crossed, Universal Serial Bus) being connected of PC mainboard of interface and described test platform, the control that PC mainboard realizes described measured terminal by sending AT (Attention) instruction to described measured terminal.
But, due to each manufacturer produce mobile terminal driving be not quite similar, like this, PC mainboard needs the driving according to different terminals, develops different control methods and flow process, and, if there is newtype terminal to join in test macro, often need to develop the control method for this newtype terminal and flow process, this adds the difficulty of exploitation undoubtedly, adds testing cost.
Further, above-mentioned automatic calling test system adopts the mode of USB interface to be connected with PC mainboard by measured terminal, and on the one hand, the length of USB interface line limits test specification, on the other hand, and the restricted number of the USB interface quantity of measured terminal.
In addition, above-mentioned automatic calling test system is when carrying out the business operations such as WEB, all data throughouts all process through described PC mainboard, therefore to the hardware of PC mainboard and the performance requirement of bus higher, and the hardware of described PC mainboard do not reach require time, easily there is unstable problem.
Summary of the invention
The embodiment of the present application technical problem to be solved is to provide a kind of wireless network test method, can reduce development difficulty and construction cycle, reduces testing cost, and can stablize the concurrent test supporting the large data of multi-user.
Accordingly, the embodiment of the present application additionally provides a kind of testing apparatus and a kind of mobile terminal, in order to ensure the implementation and application of said method.
In order to solve the problem, this application discloses a kind of wireless network test method, be applied to testing apparatus, described method comprises:
Described testing apparatus to interconnect the wireless link set up between self and mobile terminal based on operating system;
Described testing apparatus sends command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
Preferably, described testing apparatus sets up the step of the wireless link between self and mobile terminal based on operating system interconnection, comprising:
Described testing apparatus sends broadcast in WLAN (wireless local area network); Wherein, described broadcast comprises: PC mark, IP address information and port information;
Described testing apparatus, after the registration message receiving the transmission of described mobile terminal, verifies the PC mark in described registration message; Wherein, described registration message comprises: terminal UE mark and PC mark;
When PC mark in described registration message is correct, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message;
Described testing apparatus utilizes institute to create wireless connections corresponding to mapping terminal, to described mobile terminal transmission registration reply message; Wherein, carry described UE in described registration reply message to identify.
Preferably, described method also comprises:
The wireless connections that described testing apparatus utilizes described mapping terminal corresponding in wireless network test process, monitor the heartbeat message that described mobile terminal sends;
When the heartbeat message keep-alive that described mobile terminal sends, the wireless connections that described testing apparatus utilizes described mapping terminal corresponding send command messages to described mobile terminal;
When the heartbeat message not keep-alive that described mobile terminal sends, delete described mapping terminal.
Preferably, described method also comprises:
Described testing apparatus utilizes Servelet servlet to respond the WEB request message of described mobile terminal transmission; Wherein, described WEB request message comprises: the information of terminal to report and state information.
Preferably, described method also comprises:
The information of described terminal to report and state information are recorded to the tables of data of database server by described testing apparatus.
On the other hand, disclosed herein as well is a kind of wireless network test method, be applied to mobile terminal, described method comprises:
Described mobile terminal to interconnect the wireless link set up between self and testing apparatus based on operating system;
Described mobile terminal receives the command messages of described testing apparatus transmission by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Described mobile terminal is resolved described command messages, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
Preferably, described mobile terminal sets up the step of the wireless link between self and testing apparatus based on operating system interconnection, comprising:
Described mobile terminal is listening broadcast message in WLAN (wireless local area network);
Described mobile terminal is after listening to the broadcast from described testing apparatus, and send registration message to described testing apparatus, wherein, described registration message comprises: terminal iidentification and PC mark;
Described mobile terminal monitors the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
Preferably, described method also comprises:
Described mobile terminal, after monitoring the registration reply message that returns of described testing apparatus, regularly sends heartbeat message to described testing apparatus.
Preferably, before the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), described mobile terminal sets up the step of the wireless link between self and testing apparatus based on operating system interconnection, also comprises:
Described acquisition for mobile terminal Wireless Fidelity WIFI list;
Described mobile terminal, according to the order of WIFI in described WIFI list, connects corresponding WIFI successively, passes through connected WIFI and receives broadcast;
Listen to the broadcast from described testing apparatus in preset time after, send registration message to described testing apparatus;
When not hearing the broadcast from described testing apparatus in preset time, connect next WIFI in described WIFI list.
Preferably, described method also comprises:
Described mobile terminal sends WEB request message to the Servelet servlet of described testing apparatus; Wherein, described WEB request message comprises: the information of terminal to report and state information.
Again on the one hand, disclosed herein as well is a kind of testing apparatus, comprising:
Link establishment module, for the wireless link set up between self and mobile terminal that interconnects based on operating system; And
Order sending module, for sending command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
Preferably, described link establishment module, comprising:
Radio unit, for sending broadcast in WLAN (wireless local area network); Wherein, described broadcast comprises: PC mark, IP address information and port information;
Verification unit, for after the registration message receiving the transmission of described mobile terminal, verifies the PC mark in described registration message; Wherein, described registration message comprises: terminal iidentification and PC mark;
Creating unit, time correct for the PC mark in described registration message, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message; And
Registration response unit, for utilize creates and maps wireless connections corresponding to terminal, to described mobile terminal transmission registration reply message; Wherein, carry described UE in described registration reply message to identify.
Preferably, described device also comprises:
WEB request sending module, for the WEB request message utilizing Servelet servlet to respond the transmission of described mobile terminal; Wherein, described WEB request message comprises: the information of terminal to report and state information.
Another aspect, disclosed herein as well is a kind of mobile terminal, comprising:
Set up module, for the wireless link set up between self and testing apparatus that interconnects based on operating system;
Receiver module, for receiving the command messages that described testing apparatus sends by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Parsing module, for resolving described command messages; And
Command execution module, performs described command messages respective operations for the application programming interface calling bottom according to analysis result.
Preferably, describedly set up module, comprising:
Broadcast listening unit, for listening broadcast message in WLAN (wireless local area network);
Registration transmitting element, for after listening to the broadcast from described testing apparatus, send registration message to described testing apparatus, wherein, described registration message comprises: terminal iidentification and PC mark; And
Response monitoring unit, for monitoring the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
Preferably, described mobile terminal also comprises: search net module, for before the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), and search Wireless Fidelity WIFI network;
Wherein, described search module comprises:
Acquiring unit, for obtaining WIFI list;
First linkage unit, for the order according to WIFI in described WIFI list, connects corresponding WIFI successively, passes through connected WIFI and receives broadcast; And
Second linkage unit, during for not hearing the broadcast from described testing apparatus in preset time, connects next WIFI in described WIFI list;
Then described registration transmitting element, specifically for listen to the broadcast from described testing apparatus in preset time after, sends registration message to described testing apparatus.
Preferably, described mobile terminal also comprises:
WEB request module, sends WEB request message for the Servelet servlet to described testing apparatus; Wherein, described WEB request message comprises: the information of terminal to report and state information.
Compared with prior art, the embodiment of the present application comprises following advantage:
The testing apparatus of the embodiment of the present application sends command messages, to realize the control to described mobile terminal in wireless network test process by wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the API that foundation analysis result calls bottom performs described command messages respective operations;
First, because the embodiment of the present application make use of the unified API of mobile terminal operating system bottom to realize the communication between testing apparatus and mobile terminal, therefore, the problem that the driving of mobile terminal in prior art difference causes control method different can be avoided, thus mobile terminal that can be compatible all; Further, develop different control methods relative to prior art for different driving, greatly reduce difficulty and the construction cycle of exploitation, thus reduce testing cost;
The second, the embodiment of the present application realizes the communication between testing apparatus and mobile terminal by wireless link, can to break through in prior art the restriction to test specification and command range in usb mode, expand the test specification of wireless network test;
3rd, the embodiment of the present application realizes the communication between testing apparatus and mobile terminal by wireless link, USB interface quantity can be broken through to the quantitative limitation of measured terminal number, increase the quantity of measured terminal therefore, it is possible to the stable concurrent test supporting the large data of multi-user.
Accompanying drawing explanation
Fig. 1 is the structural representation of the automatic calling test system of a kind of LTE network of prior art;
Fig. 2 is a kind of flow chart of steps being applied to the wireless network test embodiment of the method one of testing apparatus of the application;
Fig. 3 is a kind of flow chart of steps being applied to the wireless network test embodiment of the method two of testing apparatus of the application;
Fig. 4 is a kind of flow chart of steps being applied to the wireless network test embodiment of the method one of mobile terminal of the application;
Fig. 5 is a kind of flow chart of steps being applied to the wireless network test embodiment of the method two of mobile terminal of the application;
Fig. 6 is the process step figure of the interacting message of a kind of wireless network test example of the application;
Fig. 7 is the structured flowchart of a kind of testing apparatus embodiment one of the application;
Fig. 8 is the structured flowchart of a kind of testing apparatus embodiment two of the application;
Fig. 9 is the structured flowchart of a kind of mobile terminal embodiment of the application; And
Figure 10 is the structural representation of a kind of test macro of the application.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
Testing apparatus side embodiment of the method one
With reference to Fig. 2, show a kind of flow chart of steps being applied to the wireless network test embodiment of the method one of testing apparatus of the application, specifically can comprise the steps:
Step 201, described testing apparatus to interconnect the wireless link set up between self and mobile terminal based on operating system;
The application can answer the 3G network of mobile terminal, the test of the wireless networks such as 4G network, for reducing the testing cost of wireless network test, here mobile terminal specifically can comprise: android terminal, IOS terminal etc., 3G network specifically can comprise: WCDMA (Wideband-CDMA, Wide band CodeDivision Multiple Access), TD-SCDMA (TD SDMA, Time Division-Synchronous Code Division Multiple Access) etc. network, 4G network specifically can comprise: LTE network, the application is mainly described for the test of android terminal LTE network, other wireless network test is cross-referenced.
In specific implementation, described testing apparatus may operate in PC (personal computer, PersonalComputer) in, and, upper can being provided with of PC supports WIFI (Wireless Fidelity, WIreless-FIdelity) wireless network card, make PC can form WLAN (wireless local area network) with mobile terminal by wireless router, like this, described testing apparatus can utilize described WLAN (wireless local area network) and mobile terminal to set up wireless link based on operating system interconnection, in specific implementation, first the connection between the operating system of testing apparatus and WLAN (wireless local area network) can be set up, and the connection of setting up between the operating system of mobile terminal and WLAN (wireless local area network), then, connect between the operating system and the operating system of mobile terminal of testing apparatus.
In actual applications, described wireless link specifically can comprise: the various wireless link set up based on wireless connections, as based on UDP (user datagram, User Datagram Protocol) SOCKET (socket) connect or TCP (transmission control protocol, Transmission Control Protocol) SOCKET set up wireless link, or, according to HTTP (HTML (Hypertext Markup Language), HypertextTransfer Protocol) wireless link etc. of connection establishment, the wireless link of the application to concrete wireless connections and correspondence is not limited.
In a kind of embodiment of the application, described testing apparatus sets up the step of the wireless link between self and mobile terminal based on operating system interconnection, specifically can comprise:
Sub-step S211, described testing apparatus send broadcast in WLAN (wireless local area network); Wherein, described broadcast specifically can comprise: PC mark, IP address information and port information;
Here, PC mark, IP address information and port information can represent the mark of described testing apparatus place PC, IP address information and port information respectively.In specific implementation, first described testing apparatus can set up UDP SOCKET, and utilizes the UDP SOCKET set up in WLAN (wireless local area network), send above-mentioned broadcast.
Sub-step S212, described testing apparatus, after the registration message receiving the transmission of described mobile terminal, verify the PC mark in described registration message;
Usually, described registration message comprises: PC mark and UE (terminal, User Equipment) mark;
When sub-step S213, PC mark in described registration message are correct, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message;
Sub-step S214, described testing apparatus utilize institute to create wireless connections corresponding to mapping terminal, to described mobile terminal transmission registration reply message; Wherein, carry described UE in described registration reply message to identify.
For mobile terminal, it is after receiving above-mentioned broadcast, and can send registration message to described testing apparatus, wherein, described registration message specifically comprises: terminal iidentification and PC mark.Like this, described testing apparatus is after the registration message receiving the transmission of described mobile terminal, the PC mark in described registration message can be verified, when the PC in described registration message identifies correct (also namely consistent with self PC), corresponding mapping terminal can be created according to the UE mark in described registration message.Above-mentioned mapping terminal can as the mapping object of mobile terminal, and its effect mainly can comprise: manage mapped mobile terminal in OO mode in testing apparatus side.When being appreciated that the PC mark mistake in described registration message, directly can abandon corresponding registration message.
Be appreciated that, by above-mentioned sub-step S211-sub-step S214, testing apparatus can set up the wireless link with each mobile terminal, thus testing apparatus described in step 202 can send command messages, to complete wireless network test by described wireless link to described mobile terminal.
In a kind of embodiment of the application, described testing apparatus place PC can also be connected with database server by Ethernet, and, in this database server, recording wireless network test information, thus facilitating tester to obtain wireless network test information by inquiring about this database server.Such as, after creating corresponding mapping terminal according to the UE mark in described registration message, can by create and map terminal and be written in database terminal table in this database server, simultaneously, can also record in this database terminal table create and map a series of information of terminal in wireless network test process, thus tester can obtain the wireless network test information of specifying and mapping terminal, as test result etc. by searching this database terminal table.Wherein, described testing apparatus can pass through ODBC (Open Database Connection, Open Database Connectivity) mode and this database server carry out data interaction, and certain the embodiment of the present application is not limited the interactive mode between testing apparatus and this database server.
In another embodiment of the application, the connection that described testing apparatus can also carry out mobile terminal detects, and accordingly, described method can also comprise:
The wireless connections that described testing apparatus utilizes described mapping terminal corresponding in wireless network test process, monitor the heartbeat message that described mobile terminal sends;
When the heartbeat message keep-alive that described mobile terminal sends, the wireless connections that described testing apparatus utilizes described mapping terminal corresponding send command messages to described mobile terminal;
When the heartbeat message not keep-alive that described mobile terminal sends, delete described mapping terminal.
In a kind of application example of the application, mobile terminal can send heartbeat message every 5s, can comprise the terminal iidentification of self in this heartbeat message.Testing apparatus then can monitor the heartbeat message of described mobile terminal; if receive heartbeat message in 30s; then can judge the heartbeat keep-alive of described mobile terminal; perform the command interaction process with described mobile terminal; if and do not receive any heartbeat message of described mobile terminal in 30s; then judge terminal disconnection; stop the command interaction process with described mobile terminal; and discharge the resources such as the internal memory shared by it by deleting described mapping terminal, and delete described mapping terminal in above-mentioned database terminal table.
Step 202, described testing apparatus send command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
In the embodiment of the present application, described testing apparatus is mainly used in sending command messages, to realize the control to described mobile terminal in wireless network test process by described wireless link to described mobile terminal; Wherein, described command messages can for dialing, various command messagess that the business such as VOLTE (based on the audio call of LTE network, Voiceover LTE), PS (packet-switching, Packet Switch) is relevant.
In specific implementation, described testing apparatus can provide and the interactive function of tester and script interpreter, wherein, this script interpreter can be used for the script of the language compilation such as Python to resolve to various control command message, described control command specifically can comprise: for controlling the command messages of each physical entity in test macro and network element, as controlled the command messages that community is activated, or the command messages of the business such as control terminal carries out dialing, download etc.
In practical application, described command messages specifically can comprise: command request message and command response message, wherein, and all can the information such as carried terminal mark, command name and command parameter in described command request message and command response message.
To sum up, the testing apparatus of the embodiment of the present application sends command messages, to realize the control to described mobile terminal in wireless network test process by wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the API (application programming interface, Application ProgrammingInterface) that foundation analysis result calls bottom performs described command messages respective operations; Because the embodiment of the present application make use of the unified API of mobile terminal operating system bottom to realize the communication between testing apparatus and mobile terminal, therefore, the problem that the driving difference avoiding mobile terminal in prior art causes control method different, mobile terminal that can be compatible all; Further, develop different control methods relative to prior art for different driving, greatly reduce difficulty and the construction cycle of exploitation, thus reduce testing cost.
Testing apparatus side embodiment of the method two
With reference to Fig. 3, show a kind of flow chart of steps being applied to the wireless network test embodiment of the method two of testing apparatus of the application, specifically can comprise the steps:
Step 301, described testing apparatus to interconnect the wireless link set up between self and mobile terminal based on operating system;
Step 302, described testing apparatus send command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations;
Step 303, described testing apparatus utilize Servelet servlet to respond the WEB request message of described mobile terminal transmission; Wherein, described WEB request message specifically can comprise: the information of terminal to report and state information.
The present embodiment is relative to the main distinction of embodiment one: testing apparatus, except for performing except the business such as the dialing of embodiment one, VOLTE, PS, can also perform WEB service, and wherein, step 303 is the process step performing WEB service.
In specific implementation, WEB server can be set in described testing apparatus, this WEB server can be set up HTTP, TCP, UDP etc. by Ethernet and mobile terminal and be connected, and this WEB server can utilize the servlet of operation to respond the WEB request message of described mobile terminal transmission.Wherein, Servlet (Servelet) is a kind of java application of server end, there is the characteristic independent of platform and agreement, dynamic WEB page can be generated, it can take on the intermediate layer that WEB request responds with server, and therefore, the present embodiment utilizes Servelet servlet to respond the WEB request message of described mobile terminal transmission, the interactive efficiency between mobile terminal and testing apparatus can be improved, thus improve the execution efficiency of WEB service; Further, servlet also has the simple feature of exploitation, therefore, it is possible to save the development time of test macro.
In a kind of embodiment of the application, described method can also comprise: the information of described terminal to report and state information are recorded to the tables of data of database server by described testing apparatus.Above-mentioned record can facilitate tester to pass through to search the WEB request message that this database table obtains designated terminal, such as.Wherein, described testing apparatus place PC can be connected with this database server by Ethernet, and, above-mentioned WEB server can pass through JDBC (java DataBase combining, Java Data BaseConnectivity) mode and this database server carry out data interaction, certainly, the embodiment of the present application is not limited the interactive mode between WEB server and database server.
To sum up, the present embodiment tool has the following advantages:
First, utilize servlet to respond the WEB request message of described mobile terminal transmission, the interactive efficiency between mobile terminal and testing apparatus can be improved, thus improve the execution efficiency of WEB service; Further, servlet also has the simple feature of exploitation, therefore, it is possible to save the development time of test macro;
Secondly, the business throughput all relative to PC mainboard process in prior art, traffic pressure is shared each independently on mobile terminal by the present embodiment, eliminates the bottleneck of PC motherboard hardware performance, therefore, stable test performance is possessed when business throughput is larger.
End side embodiment of the method one
With reference to Fig. 4, show a kind of flow chart of steps being applied to the wireless network test embodiment of the method one of mobile terminal of the application, specifically can comprise the steps:
Step 401, described mobile terminal set up the wireless link between testing apparatus based on operating system interconnection;
The mobile terminal of the application specifically can comprise: android terminal, IOS terminal etc., it can form WLAN (wireless local area network) with testing apparatus by WIFI router, and described WLAN (wireless local area network) and testing apparatus can be utilized to set up wireless link, wherein, described wireless link specifically can comprise: the various wireless link set up based on wireless connections, as based on UDP SOCKET connect or TCP SOCKET set up wireless link, or, wireless link of foundation HTTP connection establishment etc., the wireless link of the application to concrete wireless connections and correspondence is not limited.
In a kind of embodiment of the application, described mobile terminal sets up the step of the wireless link between testing apparatus based on operating system interconnection, specifically can comprise:
Sub-step S411, described mobile terminal listening broadcast message in WLAN (wireless local area network);
Sub-step S412, described mobile terminal are after listening to the broadcast from described testing apparatus, and send registration message to described testing apparatus, wherein, described registration message specifically can comprise: terminal iidentification and PC mark;
Sub-step S413, described mobile terminal monitor the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
In specific implementation, described mobile terminal after powering, can set up UDP SOCKET, and utilizes the UDP SOCKET listening broadcast message set up.Further, after listening to the broadcast from described testing apparatus, first can judge that whether self is registered, if then do not process this broadcast, continue to monitor; Otherwise send registration message to described testing apparatus, wherein, described registration message specifically can comprise: terminal iidentification and PC mark.
In a kind of embodiment of the application, for search network scheme, in order to reduce the operation element of the manual search network caused by environmental change, this application provides a kind of scheme S400 of automatic search network, before the scheme S400 of this automatic search network occurs in the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), the scheme S400 of this automatic search network specifically can comprise:
Step S4001, described acquisition for mobile terminal Wireless Fidelity WIFI list;
Step S4002, described mobile terminal, according to the order of WIFI in described WIFI list, connect corresponding WIFI successively, pass through connected WIFI and receive broadcast;
Step S4003, in preset time, listen to from described testing apparatus broadcast after, send registration message to described testing apparatus;
Step S4004, when not hearing from described testing apparatus broadcast in preset time, connect next WIFI in described WIFI list.
In actual applications, the length T of described preset time realizes by timer.Particularly, listen to the broadcast from described testing apparatus when this timer does not arrive T after, registration message can be sent to described testing apparatus, and cancel this timer; When the timer times out, when also namely not hearing the broadcast from described testing apparatus in preset time, can continue to connect next WIFI in described WIFI list.
In the another kind of embodiment of the application, described method can also comprise: described mobile terminal, after monitoring the registration reply message that returns of described testing apparatus, regularly sends heartbeat message to described testing apparatus.Described heartbeat message can facilitate testing apparatus to detect the connection status with mobile terminal, if heartbeat keep-alive, connects normal, if heartbeat not keep-alive, and connection failure.
In another embodiment of the application, described mobile terminal is after monitoring the registration reply message that returns of described testing apparatus, step regularly to described testing apparatus transmission heartbeat message is specifically as follows, described mobile terminal is after monitoring the registration reply message that returns of described testing apparatus, first whether correctly the terminal iidentification carried in described registration reply message is verified, if correct, then regular to described testing apparatus transmission heartbeat message, otherwise described registration reply message is disregarded.
Step 402, described mobile terminal receive the command messages of described testing apparatus transmission by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Step 403, described mobile terminal are resolved described command messages, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
The operating system of mobile terminal provides the API of various operation at bottom.For android terminal, suppose that android terminal resolves to described command messages that to obtain analysis result be operation of dialing for certain telephone number, so, android terminal describedly can dial operation for certain telephone number by calling following API to perform:
Uri uri=Uri.parse (" tel: "+telephone number);
Intent intent=new Intent(Intent.ACTION_DIAL,uri);
startActivity(intent);
To sum up, the embodiment of the present application make use of the unified API of mobile terminal operating system bottom to realize the communication between testing apparatus and mobile terminal, therefore, the problem that the driving difference avoiding mobile terminal in prior art causes control method different, mobile terminal that can be compatible all; Further, develop different control methods relative to prior art for different driving, greatly reduce difficulty and the construction cycle of exploitation, thus reduce testing cost.
End side embodiment of the method two
With reference to Fig. 5, show a kind of flow chart of steps being applied to the wireless network test embodiment of the method one of mobile terminal of the application, specifically can comprise the steps:
Step 501, described mobile terminal set up the wireless link between testing apparatus based on operating system interconnection;
Step 502, described mobile terminal receive the command messages of described testing apparatus transmission by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Step 503, described mobile terminal are resolved described command messages, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations;
Step 504, described mobile terminal send WEB request message to the Servelet servlet of described testing apparatus; Wherein, described WEB request message specifically can comprise: the information of terminal to report and state information.
The present embodiment is relative to the main distinction of embodiment one: mobile terminal, except for performing except the business such as the dialing of embodiment one, VOLTE, PS, can also perform WEB service, and wherein, step 504 is the process step performing WEB service.
In specific implementation, mobile terminal is set up HTTP, TCP, UDP etc. by Ethernet with the WEB server of testing apparatus side and is connected, and the Servelet servlet to described testing apparatus sends WEB request message.
To sum up, the present embodiment utilizes Servelet servlet to respond the WEB request message of described mobile terminal transmission, can improve the interactive efficiency between mobile terminal and testing apparatus, thus improves the execution efficiency of WEB service; Further, servlet also has the simple feature of exploitation, therefore, it is possible to save the development time of test macro.
And, the business throughput all relative to PC mainboard process in prior art, traffic pressure is shared each independently on mobile terminal by the present embodiment, eliminates the bottleneck of PC motherboard hardware performance, therefore, stable test performance is possessed when business throughput is larger.
The application is understood better for making those skilled in the art, with reference to Fig. 6, show the process step figure of the interacting message of a kind of wireless network test example of the application, this example relates at mobile terminal, carries out interacting message between testing apparatus and database server, and the mutual process step of corresponding message specifically can comprise: endpoint registration stage, heart phase, command interaction stage and data recording stage;
The endpoint registration stage:
Step 601, testing apparatus send broadcast every 1S;
In actual applications, described broadcast specifically can comprise: PC mark, IP address information and port information;
Step 602, mobile terminal listening broadcast message;
Step 603, mobile terminal, after listening to broadcast, judge whether self registers, and if so, then return step 602 and continue to monitor, otherwise, perform step 604;
Step 604, to testing apparatus send registration message;
Wherein, described registration message specifically can comprise: UE mark and PC mark;
Step 605, testing apparatus receive registration message;
Whether step 606, testing apparatus verify PC mark in described registration message correct, if so, then perform step 607, otherwise perform step 608;
Step 607, in described registration message UE mark create virtual terminal;
Step 608, abandon described registration message;
Step 609, send registration reply message to described mobile terminal;
In specific implementation, virtual terminal can start new UDP SOCKET watcher thread, performs the operation sending registration response message, wherein, carries described UE and identify and PC mark in described registration reply message;
Step 610, this virtual terminal is added into terminal database table;
Step 611, mobile terminal monitor registration reply message;
Step 612, whether correct, if so, then perform step 613 if verifying the UE mark of carrying in described registration reply message, otherwise, perform step 614;
Step 614, abandon described registration reply message;
Heart phase:
Step 613, mobile terminal regularly send heartbeat message to described testing apparatus;
Wherein, UE mark can be carried in described heartbeat message;
Heartbeat message monitored by step 615, testing apparatus;
In actual applications, above-mentioned UDP SOCKET watcher thread can be utilized to monitor heartbeat message;
Step 616, judge if not, then to perform the heartbeat whether keep-alive of mobile terminal step 617, otherwise perform step 619;
Step 617, delete this virtual terminal in this locality;
Step 618, in terminal data table, delete this virtual terminal;
The command interaction stage:
Step 619, virtual terminal send command messages to mobile terminal;
Wherein, described command messages specifically can comprise: command request message and command response message, can carry the information such as UE mark, command name, command parameter, execution result in described command request message and command response message;
Step 620, mobile terminal snoop command message;
Data recording stage:
Step 621, mobile terminal send WEB request message;
Wherein, described WEB request message specifically can comprise: the information of terminal to report and state information.
Step 622, testing apparatus utilize servlet to respond WEB request message;
The content of step 623, record WEB request message.
To sum up, the embodiment of the present application tool has the following advantages:
First, because the embodiment of the present application make use of the unified API of mobile terminal operating system bottom to realize the communication between testing apparatus and mobile terminal, therefore, the problem that the driving of mobile terminal in prior art difference causes control method different can be avoided, thus mobile terminal that can be compatible all; Further, develop different control methods relative to prior art for different driving, greatly reduce difficulty and the construction cycle of exploitation, thus reduce testing cost;
The second, the embodiment of the present application realizes the communication between testing apparatus and mobile terminal by wireless link, can to break through in prior art the restriction to test specification and command range in usb mode, expand the test specification of wireless network test;
3rd, the embodiment of the present application realizes the communication between testing apparatus and mobile terminal by wireless link, can break through USB interface quantity to the quantitative limitation of measured terminal number, increases the quantity of measured terminal;
4th, utilize Servelet servlet to respond the WEB request message of described mobile terminal transmission, the interactive efficiency between mobile terminal and testing apparatus can be improved, thus improve the execution efficiency of WEB service; Further, servlet also has the simple feature of exploitation, therefore, it is possible to save the development time of test macro;
5th, the business throughput all relative to PC mainboard process in prior art, traffic pressure is shared each independently on mobile terminal by the present embodiment, eliminates the bottleneck of PC motherboard hardware performance, therefore, stable test performance is possessed when business throughput is larger;
6th, a set of agreement and control program are applicable to the terminal of all lift-launch same operation systems, make test macro more be easy to expansion;
7th, do not need the support of testing instrument hardware, reduce difficulty of test, improve the maintainability of test macro.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present application is necessary.Moreover Fig. 2-combination in any embodiment illustrated in fig. 5 is also feasible.
Testing apparatus embodiment one
With reference to Fig. 7, show the structured flowchart of a kind of testing apparatus embodiment one of the application, specifically can comprise as lower module:
Link establishment module 701, for the wireless link set up between self and mobile terminal that interconnects based on operating system; And
Order sending module 702, for sending command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
In a kind of embodiment of the application, described link establishment module 701, specifically can comprise:
Radio unit, for sending broadcast in WLAN (wireless local area network); Wherein, described broadcast specifically can comprise: PC mark, IP address information and port information;
Verification unit, for after the registration message receiving the transmission of described mobile terminal, verifies the PC mark in described registration message; Wherein, described registration message specifically can comprise: terminal iidentification and PC mark;
Creating unit, time correct for the PC mark in described registration message, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message; And
Registration response unit, for utilize creates and maps wireless connections corresponding to terminal, to described mobile terminal transmission registration reply message; Wherein, described UE can be carried in described registration reply message to identify.
In the another kind of embodiment of the application, described device can also comprise:
Module is monitored in heartbeat, for the wireless connections that described testing apparatus utilizes described mapping terminal corresponding in wireless network test process, monitors the heartbeat message that described mobile terminal sends;
Removing module, for send at described mobile terminal heartbeat message not keep-alive time, delete described mapping terminal;
Then described order sending module 702, can specifically for send at described mobile terminal heartbeat message keep-alive time, the wireless connections that described testing apparatus utilizes described mapping terminal corresponding send command messages to described mobile terminal.
Testing apparatus embodiment two
With reference to Fig. 8, show the structured flowchart of a kind of testing apparatus embodiment two of the application, specifically can comprise as lower module:
Link establishment module 801, for the wireless link set up between self and mobile terminal that interconnects based on operating system;
Order sending module 802, for sending command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations; And
WEB request sending module 803, for the WEB request message utilizing Servelet servlet to respond the transmission of described mobile terminal; Wherein, described WEB request message specifically can comprise: the information of terminal to report and state information.
In a kind of embodiment of the application, described device can also comprise:
Logging modle, for being recorded to the tables of data of database server by the information of described terminal to report and state information.
Mobile terminal embodiment
With reference to Fig. 9, show the structured flowchart of a kind of mobile terminal embodiment of the application, specifically can comprise as lower module:
Set up module 901, for the wireless link set up between self and testing apparatus that interconnects based on operating system;
Receiver module 902, for receiving the command messages that described testing apparatus sends by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Parsing module 903, for resolving described command messages; And
Command execution module 904, performs described command messages respective operations for the application programming interface calling bottom according to analysis result.
In a kind of embodiment of the application, describedly set up module 901, specifically can comprise:
Broadcast listening unit, for listening broadcast message in WLAN (wireless local area network);
Registration transmitting element, for after listening to the broadcast from described testing apparatus, send registration message to described testing apparatus, wherein, described registration message specifically can comprise: terminal iidentification and PC mark; And
Response monitoring unit, for monitoring the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
In the another kind of embodiment of the application, described mobile terminal can also comprise:
Heartbeat transmitting element, for after monitoring the registration reply message that returns of described testing apparatus, regularly sends heartbeat message to described testing apparatus.
In another embodiment of the application, described mobile terminal can also comprise: search net module, for before the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), and search Wireless Fidelity WIFI network;
Wherein, described search module specifically can comprise:
Acquiring unit, for obtaining WIFI list;
First linkage unit, for the order according to WIFI in described WIFI list, connects corresponding WIFI successively, passes through connected WIFI and receives broadcast; And
Second linkage unit, during for not hearing the broadcast from described testing apparatus in preset time, connects next WIFI in described WIFI list;
Then described registration transmitting element, specifically for after listen to the broadcast from described testing apparatus in preset time, can send registration message to described testing apparatus.
In a kind of embodiment of the application, described mobile terminal can also comprise:
WEB request module, sends WEB request message for the Servelet servlet to described testing apparatus; Wherein, described WEB request message specifically can comprise: the information of terminal to report and state information.
For making those skilled in the art understand the application better, with reference to Figure 10, show the structural representation of a kind of test macro of the application, it specifically can comprise: mobile terminal 1001, WIFI wireless router 1002, PC1003 and database server 1004;
Wherein, the upper operation of PC1003 has test platform 1031 and WEB server 1032;
Mobile terminal 1001 and PC1003 form WLAN (wireless local area network) by WIFI router one 002, mobile terminal 1001 is communicated by Socket with test platform 1031, and mobile terminal 1001 carries out WEB with the servlet of WEB server 1032 side based on http protocol and communicates;
PC1003 is connected by Ethernet with database server 1004, and test platform 1031 carries out data interaction by ODBC and database server 1004, and WEB server 1032 carries out data interaction by JDBC and database server 1004;
This test macro build-in test platform 1003 can send command messages by wireless link to described mobile terminal 1001; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations; This test macro can perform the exercisable actual services of any craft, as VOLTE, PS, WEB etc.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
In one typically configuration, described computer equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.Computer-readable medium comprises permanent and impermanency, removable and non-removable media can by any method or technology to realize message stores.Message can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the message can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise the computer readable media (transitory media) of non-standing, as data-signal and the carrier wave of modulation.
The embodiment of the present application describes with reference to according to the flow chart of the method for the embodiment of the present application, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the embodiment of the present application scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above to a kind of wireless network test method, a kind of testing apparatus and a kind of mobile terminal that the application provides, be described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (17)

1. a wireless network test method, is characterized in that, is applied to testing apparatus, and described method comprises:
Described testing apparatus to interconnect the wireless link set up between self and mobile terminal based on operating system;
Described testing apparatus sends command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
2. method according to claim 1, is characterized in that, described testing apparatus sets up the step of the wireless link between self and mobile terminal based on operating system interconnection, comprising:
Described testing apparatus sends broadcast in WLAN (wireless local area network); Wherein, described broadcast comprises: PC mark, IP address information and port information;
Described testing apparatus, after the registration message receiving the transmission of described mobile terminal, verifies the PC mark in described registration message; Wherein, described registration message comprises: terminal UE mark and PC mark;
When PC mark in described registration message is correct, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message;
Described testing apparatus utilizes institute to create wireless connections corresponding to mapping terminal, to described mobile terminal transmission registration reply message; Wherein, carry described UE in described registration reply message to identify.
3. method according to claim 2, is characterized in that, described method also comprises:
The wireless connections that described testing apparatus utilizes described mapping terminal corresponding in wireless network test process, monitor the heartbeat message that described mobile terminal sends;
When the heartbeat message keep-alive that described mobile terminal sends, the wireless connections that described testing apparatus utilizes described mapping terminal corresponding send command messages to described mobile terminal;
When the heartbeat message not keep-alive that described mobile terminal sends, delete described mapping terminal.
4. method according to claim 1, is characterized in that, described method also comprises:
Described testing apparatus utilizes Servelet servlet to respond the WEB request message of described mobile terminal transmission; Wherein, described WEB request message comprises: the information of terminal to report and state information.
5. method according to claim 4, is characterized in that, described method also comprises:
The information of described terminal to report and state information are recorded to the tables of data of database server by described testing apparatus.
6. a wireless network test method, is characterized in that, is applied to mobile terminal, and described method comprises:
Described mobile terminal to interconnect the wireless link set up between self and testing apparatus based on operating system;
Described mobile terminal receives the command messages of described testing apparatus transmission by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Described mobile terminal is resolved described command messages, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
7. method according to claim 6, is characterized in that, described mobile terminal sets up the step of the wireless link between self and testing apparatus based on operating system interconnection, comprising:
Described mobile terminal is listening broadcast message in WLAN (wireless local area network);
Described mobile terminal is after listening to the broadcast from described testing apparatus, and send registration message to described testing apparatus, wherein, described registration message comprises: terminal iidentification and PC mark;
Described mobile terminal monitors the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
8. method according to claim 7, is characterized in that, described method also comprises:
Described mobile terminal, after monitoring the registration reply message that returns of described testing apparatus, regularly sends heartbeat message to described testing apparatus.
9. method according to claim 7, it is characterized in that, before the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), described mobile terminal sets up the step of the wireless link between self and testing apparatus based on operating system interconnection, also comprises:
Described acquisition for mobile terminal Wireless Fidelity WIFI list;
Described mobile terminal, according to the order of WIFI in described WIFI list, connects corresponding WIFI successively, passes through connected WIFI and receives broadcast;
Listen to the broadcast from described testing apparatus in preset time after, send registration message to described testing apparatus;
When not hearing the broadcast from described testing apparatus in preset time, connect next WIFI in described WIFI list.
10. method according to claim 7, is characterized in that, described method also comprises:
Described mobile terminal sends WEB request message to the Servelet servlet of described testing apparatus; Wherein, described WEB request message comprises: the information of terminal to report and state information.
11. 1 kinds of testing apparatuss, is characterized in that, comprising:
Link establishment module, for the wireless link set up between self and mobile terminal that interconnects based on operating system; And
Order sending module, for sending command messages by described wireless link to described mobile terminal; Wherein, described command messages is used for the control realized in wireless network test process described mobile terminal, described mobile terminal is after the command messages receiving the transmission of described testing apparatus, described command messages is resolved, and the application programming interface that foundation analysis result calls bottom performs described command messages respective operations.
12. devices according to claim 11, is characterized in that, described link establishment module, comprising:
Radio unit, for sending broadcast in WLAN (wireless local area network); Wherein, described broadcast comprises: PC mark, IP address information and port information;
Verification unit, for after the registration message receiving the transmission of described mobile terminal, verifies the PC mark in described registration message; Wherein, described registration message comprises: terminal iidentification and PC mark;
Creating unit, time correct for the PC mark in described registration message, described testing apparatus creates corresponding mapping terminal according to the UE mark in described registration message; And
Registration response unit, for utilize creates and maps wireless connections corresponding to terminal, to described mobile terminal transmission registration reply message; Wherein, carry described UE in described registration reply message to identify.
13. devices according to claim 11, is characterized in that, described device also comprises:
WEB request sending module, for the WEB request message utilizing Servelet servlet to respond the transmission of described mobile terminal; Wherein, described WEB request message comprises: the information of terminal to report and state information.
14. 1 kinds of mobile terminals, is characterized in that, comprising:
Set up module, for the wireless link set up between self and testing apparatus that interconnects based on operating system;
Receiver module, for receiving the command messages that described testing apparatus sends by described wireless link; Wherein, the control of described command messages for realizing in wireless network test process described mobile terminal;
Parsing module, for resolving described command messages; And
Command execution module, performs described command messages respective operations for the application programming interface calling bottom according to analysis result.
15. mobile terminals according to claim 14, is characterized in that, describedly set up module, comprising:
Broadcast listening unit, for listening broadcast message in WLAN (wireless local area network);
Registration transmitting element, for after listening to the broadcast from described testing apparatus, send registration message to described testing apparatus, wherein, described registration message comprises: terminal iidentification and PC mark; And
Response monitoring unit, for monitoring the registration reply message that described testing apparatus returns; Wherein, carry described UE in described registration reply message to identify.
16. mobile terminals according to claim 15, is characterized in that, described mobile terminal also comprises: search net module, for before the step of described mobile terminal listening broadcast message in WLAN (wireless local area network), and search Wireless Fidelity WIFI network;
Wherein, described search module comprises:
Acquiring unit, for obtaining WIFI list;
First linkage unit, for the order according to WIFI in described WIFI list, connects corresponding WIFI successively, passes through connected WIFI and receives broadcast; And
Second linkage unit, during for not hearing the broadcast from described testing apparatus in preset time, connects next WIFI in described WIFI list;
Then described registration transmitting element, specifically for listen to the broadcast from described testing apparatus in preset time after, sends registration message to described testing apparatus.
17. mobile terminals according to claim 14, is characterized in that, described mobile terminal also comprises:
WEB request module, sends WEB request message for the Servelet servlet to described testing apparatus; Wherein, described WEB request message comprises: the information of terminal to report and state information.
CN201410849731.3A 2014-12-29 2014-12-29 wireless network test method, test device and mobile terminal Active CN104581785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849731.3A CN104581785B (en) 2014-12-29 2014-12-29 wireless network test method, test device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849731.3A CN104581785B (en) 2014-12-29 2014-12-29 wireless network test method, test device and mobile terminal

Publications (2)

Publication Number Publication Date
CN104581785A true CN104581785A (en) 2015-04-29
CN104581785B CN104581785B (en) 2018-11-06

Family

ID=53096764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849731.3A Active CN104581785B (en) 2014-12-29 2014-12-29 wireless network test method, test device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104581785B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024882A (en) * 2015-07-23 2015-11-04 上海极测信息科技有限公司 C/S structure based WIFI communication testing system and method
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
CN107708223A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 A kind of information interacting method, equipment and computer-readable recording medium
CN108259086A (en) * 2016-12-29 2018-07-06 中兴通讯股份有限公司 On-line monitoring method, apparatus and system
CN108306778A (en) * 2016-09-01 2018-07-20 深圳市中兴微电子技术有限公司 A kind of mobile terminal test method, device and system
WO2018141186A1 (en) * 2017-02-04 2018-08-09 中兴通讯股份有限公司 Method and device for testing volte network performance
CN108924951A (en) * 2018-06-01 2018-11-30 晶晨半导体(上海)股份有限公司 A kind of information interacting method
CN109669084A (en) * 2018-12-13 2019-04-23 歌尔科技有限公司 Equipment ESD test method and system
CN110688319A (en) * 2019-09-30 2020-01-14 RealMe重庆移动通信有限公司 Application keep-alive capability test method and related device
CN111782547A (en) * 2020-07-24 2020-10-16 迈普通信技术股份有限公司 Equipment testing method, device, server and readable storage medium
CN114338490A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Test method and test management module of terminal equipment
CN116669064A (en) * 2022-12-08 2023-08-29 荣耀终端有限公司 Wireless protocol testing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
US20120178378A1 (en) * 2011-01-07 2012-07-12 Hon Hai Precision Industry Co., Ltd. Wireless test server and method for testing electronic devices
CN102870455A (en) * 2010-04-29 2013-01-09 交互数字专利控股公司 Using personal wireless devices for network testing
CN103686774A (en) * 2013-12-12 2014-03-26 北京泰合佳通信息技术有限公司 Wireless network testing method with one controller controlling multiple testing terminals
CN103945443A (en) * 2014-05-09 2014-07-23 江苏鑫软图无线技术有限公司 Test method and system for TD-LTE (Internal Tandem Duplication-Line Termination Equipment) wireless network service performance
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN102870455A (en) * 2010-04-29 2013-01-09 交互数字专利控股公司 Using personal wireless devices for network testing
US20120178378A1 (en) * 2011-01-07 2012-07-12 Hon Hai Precision Industry Co., Ltd. Wireless test server and method for testing electronic devices
CN103686774A (en) * 2013-12-12 2014-03-26 北京泰合佳通信息技术有限公司 Wireless network testing method with one controller controlling multiple testing terminals
CN103970650A (en) * 2014-04-09 2014-08-06 广州杰赛科技股份有限公司 Distributed testing method and device
CN103945443A (en) * 2014-05-09 2014-07-23 江苏鑫软图无线技术有限公司 Test method and system for TD-LTE (Internal Tandem Duplication-Line Termination Equipment) wireless network service performance

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024882A (en) * 2015-07-23 2015-11-04 上海极测信息科技有限公司 C/S structure based WIFI communication testing system and method
WO2016188181A1 (en) * 2015-10-30 2016-12-01 中兴通讯股份有限公司 Test method, mobile terminal, server and computer storage medium
CN106658545A (en) * 2015-10-30 2017-05-10 中兴通讯股份有限公司 Test method, mobile terminal and server
CN108306778A (en) * 2016-09-01 2018-07-20 深圳市中兴微电子技术有限公司 A kind of mobile terminal test method, device and system
CN108259086A (en) * 2016-12-29 2018-07-06 中兴通讯股份有限公司 On-line monitoring method, apparatus and system
CN108401081B (en) * 2017-02-04 2022-03-04 中兴通讯股份有限公司 VOLTE network performance test method and device
WO2018141186A1 (en) * 2017-02-04 2018-08-09 中兴通讯股份有限公司 Method and device for testing volte network performance
CN108401081A (en) * 2017-02-04 2018-08-14 中兴通讯股份有限公司 A kind of VOLTE network performance test methods and device
CN107708223B (en) * 2017-09-28 2021-01-15 努比亚技术有限公司 Information interaction method and device and computer readable storage medium
CN107708223A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 A kind of information interacting method, equipment and computer-readable recording medium
CN108924951A (en) * 2018-06-01 2018-11-30 晶晨半导体(上海)股份有限公司 A kind of information interacting method
CN109669084A (en) * 2018-12-13 2019-04-23 歌尔科技有限公司 Equipment ESD test method and system
CN110688319A (en) * 2019-09-30 2020-01-14 RealMe重庆移动通信有限公司 Application keep-alive capability test method and related device
CN111782547A (en) * 2020-07-24 2020-10-16 迈普通信技术股份有限公司 Equipment testing method, device, server and readable storage medium
CN114338490A (en) * 2021-12-30 2022-04-12 奇安信科技集团股份有限公司 Test method and test management module of terminal equipment
CN116669064A (en) * 2022-12-08 2023-08-29 荣耀终端有限公司 Wireless protocol testing method and electronic equipment
CN116669064B (en) * 2022-12-08 2024-04-05 荣耀终端有限公司 Wireless protocol testing method and electronic equipment

Also Published As

Publication number Publication date
CN104581785B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN109408132A (en) A kind of configuration file processing method and server, user terminal, storage medium
CN103106102A (en) Running method of Web application program and mobile terminal
CN109379742A (en) A kind of cut-in method of WLAN, device and storage medium
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
CN106339273A (en) Application program restoration method, terminal and server
CN108401037A (en) User terminal and the binding method of equipment, device and system
US20190150206A1 (en) Method and Device for Establishing Wireless Connection through First Application on User Equipment
WO2016173349A1 (en) Network access method and mobile communications terminal
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN107070752B (en) Testing method and testing system for long connection capacity
CN104753989A (en) Screen image transmission and playing method and device based on Web-based OS runtime environment
CN106534957A (en) Intelligent electric appliance network setting method and system
CN104636664A (en) Cross-site scripting vulnerability detection method and device based on file object model
CN104954431A (en) Network selection method, device and system
CN105764044B (en) A kind of APN configuration method and device
CN105657781A (en) Method and device for accessing WiFi network
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN104468281A (en) Routing information protocol simulator and routing information protocol communication test method thereof
CN104570967B (en) Long-range control method and system based on android system
WO2023142907A1 (en) All-optical network service testing method and apparatus, computer device and readable medium
CN104284383A (en) Method and device for keeping service continuity
CN103428013A (en) Device managing method and system and gateway device
CN112769845B (en) Vulnerability testing method and device, electronic device and computer equipment
CN114327823A (en) Method, system, terminal and storage medium for calling resources of micro-service cluster

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant